check apache log files in linux
January 14th, 2010 by ayadfor customer side, he need to SSh to his account and use the following command
vi access-logs
for administrator side use the follwoing command
vi /etc/httpd/conf/httpd.conf
Thank you.
for customer side, he need to SSh to his account and use the following command
vi access-logs
for administrator side use the follwoing command
vi /etc/httpd/conf/httpd.conf
Thank you.
coooooooooooool
if you got the above error, you need to add the following code
session_start()
in your index.php in the beginging
for example
<?php
session_start()
…..
…..
….
…
?>
References
http://bytes.com/topic/php/answers/664779-warning-session_start-function-session-start-cannot-send-session-cache-limiter
1- ssh to the source linux server
2- cd /home
3- package the account using the following command:
/scripts/pkgacct domainname
4- transfer the account to the distenation server using the following command
scp -P Distenation port pakagename root@distenationIP:/root
for example : scp -P 55000 cpmove-alzweac.tar.gz root@124.217.241.131:/root
then will ask you yes or not then after that ask you about the distenation password
now SSH to the distenation server
cd /root
then you will find the pakage in the root , you will find cpmove-alzweac.tar.gz
then extract the pakage using the following command:
/scripts/restorepkg cpmove-alzweac.tar.gz
you can test the website if working or not using the following commad
124.217.242.210/~alzweac if working then do the next step
5- That as all,, done the migration, now you need to go to the old server WHM and change the DNS pointing to the distenation server.
Thank you.
RESOLUTION
|
|
Refer to this URL
file:///C:/Program%20Files/Persits%20Software/AspJpeg/Documentation/manual_01.html
if customer want to send email using asp form, first of all we need to check in his code what type of component he using to send email ( CDONTS.dll , CDOSYS.dll) then after that go to c:/ windows / system32 and check is the component there, if there check the permission for the component make sure everyone permission, if not you need to bring component from other server and register the component in the Dos using the following command:..
regsvr32 name.dll
then we can test the email is working or not.
if you want to register component .dll in windows/system32
after you add the component in windows/system32 then you need to register the component in Dos
use the following comand
regsvr32 name.dll
and do not forget to change the permission for the component that you add in side system32 to everyone full permission
Thank you
this CFmail testing in cold fusion
save the file like this test_email.cfm then to test u use
www.alzwea.com/test_email.cfm?email=ayad@shinjiru.com then you can see the email in your inbox
<html>
<head>
<title>Sending a simple e-mail</title>
</head>
<body>
<h1>Sample e-mail</h1>
<cfmail
from=”Sender@Company.com”
to=”#URL.email#”
subject=”Sample e-mail from ColdFusion MX”>
This is a sample e-mail message to show basic e-mail capability.
</cfmail>
The e-mail was sent.
</body>
</html>
if you got the above error,
you need to check the disk space for example tmp/
use the following command to check the disk space
df-lah
Thank you.