Operating System - HP-UX
1834796 Members
3262 Online
110070 Solutions
New Discussion

Re: Each syslog mssg repeats 3 times!

 
Shane Reber
Occasional Advisor

Each syslog mssg repeats 3 times!

I am running HPUX 11, and my syslog is sick. Each mssg that hits syslog is shown 3 times. Restarting syslog won't fix it, though I haven't ruled out rebooting as a fix. Any ideas, patch suggestions, clues, etc?
Shane
5 REPLIES 5
Steven Sim Kok Leong
Honored Contributor

Re: Each syslog mssg repeats 3 times!

Hi,

Check your /etc/syslog.conf for duplicate lines.

Hope this helps. Regards.

Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com

Shane Reber
Occasional Advisor

Re: Each syslog mssg repeats 3 times!

Yeah, I checked that, and there were only a hadful of lines, none of which were repeated.
Shane
Shane Reber
Occasional Advisor

Re: Each syslog mssg repeats 3 times!

Yeah, I checked that, and there were only a handful of lines, none of which were repeated.
Shane
Steven Sim Kok Leong
Honored Contributor

Re: Each syslog mssg repeats 3 times!

Hi,

Try running the syslog daemon in debug mode ie.

# syslogd -d

Subsequently test using the logger command.

Hope this helps. Regards.

Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
James R. Ferguson
Acclaimed Contributor

Re: Each syslog mssg repeats 3 times!

Shane:

Check your /etc/syslog.conf file to make sure that you don't have multiple message levels configured. For instance, if you had:

user.debug /tmp/logfile
user.info /tmp/logfile

then you would cause the logfile to get TWO copies of all user messages at level 'info'
and above.

See also: "man 1M syslogd".

...JRF...