ErrorLog

duke28

Verified User
Joined
Oct 30, 2005
Messages
302
Location
Montreal - Canada
why on my new server, each account i create , its put it on the httpd.conf of all users..

#ErrorLog /var/log/httpd/domains/mondoweb.net.error.log

its put an # before the line so all errorlog not working ...


is it possible for next client i create .. to go normal..???

sorry for my english
 
i'm a stupid guys .. so i dont understand what to do for repair it..

i want errorlog activated when i create a new user..
 
Its not that hard just follow the commands on the link I provided.

Code:
cd /usr/local/directadmin/data/templates
cp virtual_host*.conf custom
cd custom

Then edit the virtual host config:

Code:
nano virtual_host.conf

Look for the line you want to remove the # from and change it.

Save the file.

Overwrite the users configs:

Code:
echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue

Restart the apache webserver after the job has ran:

Code:
/sbin/service httpd restart

or restart via directadmin
 
So has the default changed? On recently checked servers (last few days) we went in the opposite direction; we commented out the lines after moving the masters to custom.

Why?

Because each open error file is always open as long as apache runs.

Which uses a lot of memory, and which limits how many domains apache can run, based on how many files can be open.

Jeff
 
Back
Top