PDA

View Full Version : ldirectord.cf and logfiles


Randy
20th November 2006, 11:37
Hi people,

I have apache setup in a cluster as explained in your howto.
In the ldirectord.cf you have to put a request for a html file:
request="ldirector.html"
receive="Test Page"
If I've also installed ispconfig on the servers, should I change the path to ldirector.html to a full absolute path (since the root of the sites won't be /var/www) like /var/www/web2/web/ldirector.html or to a html request like : http://testsite.nl/ldirector.html. This is because errors in my apache access log files stating that the server is requesting a file which is not available (don't have the exact statement with me at the moment).

Could you please advise me (point me to a howto if necessary) on how to automaticcaly rotate my sylog en messages log files. These things are growing very large at the moment

Thanks in advance

Randy

falko
21st November 2006, 16:02
If I've also installed ispconfig on the servers, should I change the path to ldirector.html to a full absolute path (since the root of the sites won't be /var/www) like /var/www/web2/web/ldirector.html or to a html request like : http://testsite.nl/ldirector.html.
No, if ldirector.html is in the web site's document root. If it's in a subdirectory of the document root, you must specify the relative path to it.


This is because errors in my apache access log files stating that the server is requesting a file which is not available (don't have the exact statement with me at the moment).Please find out about the exact error message and post it here.

Could you please advise me (point me to a howto if necessary) on how to automaticcaly rotate my sylog en messages log files. These things are growing very large at the moment

What's in /etc/logrotate.conf, and what's the output of ls -l /etc/logrotate.d?

Randy
24th November 2006, 01:15
Ok, thanks,

I've noticed that the cron jobs are sceduled to run at 6 in the morning.Obviously, the testservers aren't running at that time since the boss (me) is a sleep normally at six. That's why they never got rotated. Also I followed your hint and left the ldirec... in the root of the server (I had already moved it to a root of my main site, which I shouldn't have done).
Thanks,

Randy