[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] /var/cobalt logs.. all empty?
- Subject: Re: [cobalt-users] /var/cobalt logs.. all empty?
- From: Joi <joi@xxxxxxxx>
- Date: Sun Feb 11 07:11:02 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
At 10:50 PM 2/11/01 +1000, you wrote:
> /etc/httpd/conf/httpd.conf and make sure httpd is writing to the files
> you're looking at.
the logs in /var/cobalt .. they are not all httpd logs??
My bad... I've been playing in the httpd logs all night. These appear to
be created by cron jobs for the benefit of seeing server status. The ones
for services I'm not running are empty, because the server has no need to
check the status of the service. For those that are running, you should
have content similar to this (from my /var/cobalt/www.log):
<FONT COLOR="green">Web Server, 05:30 A.M. on Sun Feb 11 2001: The Web
Server server has been running normally since 7:30 P.M. on Wed Feb 7
2001</FONT><!-- www (0)-->
<FONT COLOR="green">Web Server, 05:45 A.M. on Sun Feb 11 2001: The Web
Server server has been running normally since 7:30 P.M. on Wed Feb 7
2001</FONT><!-- www (0)-->
<FONT COLOR="green">Web Server, 06:00 A.M. on Sun Feb 11 2001: The Web
Server server has been running normally since 7:30 P.M. on Wed Feb 7
2001</FONT><!-- www (0)-->
These appear to be written to every 15 minutes, so I checked /etc/crontab
and found the following near the bottom of the file:
# Monitor services to make sure everything is still okay.
0,15,30,45 * * * * root /usr/local/sbin/monitor
When I did a grep for "cobalt" on this file, I got:
my $MonDBDir = '/var/cobalt';
Check your crontab file first to make sure the monitor is running. If so,
check that script and your cron log in /var/log/
I've got a RAQ2, but it should be mostly the same. Hope this helps.
Joe Colburn
-------------------------------------------------------------------------------------------------------------------------------
Free web space and email, profiles, postcards, auctions, etc:
http://www.GotBlack.com