Operating System - HP-UX
1834324 Members
3213 Online
110066 Solutions
New Discussion

Re: Syslog deamon problem

 
M. Tariq Ayub
Regular Advisor

Syslog deamon problem

Hi,

I have made a change a minir change in syslog.conf file and restarted the deamon it was working fine. After that i have removed the line and again restart the syslog deamon. It is showing me that the deamon is started but no logs are comming in the syslog.log
5 REPLIES 5
Sridhar Bhaskarla
Honored Contributor

Re: Syslog deamon problem

Hi Tariq,

Post your syslog.conf. It is a good idea to keep a backup copy of any configuration file you modify so that in case of issues, you can easily revert back to last known good configuration. Either compare your syslog.conf with another system or post it here so that one will have a look at it. To verify if syslog is logging, try the following command

logger "some test message". This should get logged into your syslog.log

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Steven E. Protter
Exalted Contributor

Re: Syslog deamon problem

There may be an invisible character in the syslog.conf file.

The best bet now is to punt and restore an old one from backup or a working system.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Robert True
Frequent Advisor

Re: Syslog deamon problem

Don't know about HPUX, but spaces instead of tabs in a Solaris /etc/syslog.conf file can screw it up.

Rt.
Prashant Zanwar_4
Respected Contributor

Re: Syslog deamon problem

Try restarting from console, some error will pop-up.
And also test with logger if syslog is getting updated. If required copy a backed up file back. Or some other server may help you in dignosis.

Thanks
Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
Jeff Schussele
Honored Contributor

Re: Syslog deamon problem

Hi,

The syslog.conf file can be very sensitive to it's contents & format.
You may want to copy /usr/newconfig/etc/syslog.conf down to /etc to get a good clean restart on this file & then *carefully* add your mods - one at a time w/restarts - to see just what/where the problem lies.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!