1831228 Members
2914 Online
110021 Solutions
New Discussion

Re: Syslog.log file

 
SOLVED
Go to solution
Manuales
Super Advisor

Syslog.log file

Hi, how can i active syslog file , i mean, i do not have nothing registered there ...

/var/adm/syslog/syslog.log
Thanks ...
6 REPLIES 6
Mel Burslan
Honored Contributor
Solution

Re: Syslog.log file

your syslog daemon must have been not running.

start it up as follows

/sbin/init.d/syslogd start

hope this helps
________________________________
UNIX because I majored in cryptology...
DCE
Honored Contributor

Re: Syslog.log file


If your syslog daemon is running, you will have to stop and restart it.

/sbin/init.d/syslogd stop
/sbin/init.d/syslogd start

The most common causes of the syslog daemon not logging:

/var fills up. this will caise the daemon to no longer write to the log - even after /var has space freed up

the syslog.log file was *moved* or *deleted* without first stopping the daemon.

HTH
Dave
spex
Honored Contributor

Re: Syslog.log file

Manuales,

It's also possible, though not likely, that you're using a non-standard name and/or path for syslog. Have a look at '/etc/syslog.conf'. Note where '*.info' messages are being sent.

PCS
Mridul Shrivastava
Honored Contributor

Re: Syslog.log file

The other way to start syslogd if it is running alreay is to syslogd restart

I would also recommend you to check the patch level as sometimes it gets killed if system patches are not updated.

You can check the logging by using logger as well.
Time has a wonderful way of weeding out the trivial
S.Rider
Regular Advisor

Re: Syslog.log file

We've seen a few instances where if /var/fills up, and you then free up space in /var, syslog.log will not be written to again untill you stop/start the daemon.
Ride Boldly Ride, but watch out for El Dorado's
SGUX
Valued Contributor

Re: Syslog.log file

another reason that the syslog.log is not filling is that there is a "syntax-error" in your /etc/syslog.conf. This would not be reported when you start the syslogd only syslog.log won't be filled.
Check if tabs or used in stead of spaces between the selectors and the files you want them to be written.
Check if semicolon is used as separator instead of colon.