- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Syslogd records same message repeatedly
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2006 12:47 AM
06-27-2006 12:47 AM
Syslogd records same message repeatedly
1. syslogd running at 100% cpu
2. The same messages repeated endlessly in syslog, with the same timestamp. New messages coming in are added to this loop.
3. All syslog messages from remote servers are marked as coming from the syslog server itself (the fourth field is always the hostname of the syslog server, not the remote server as it was on the V1 server).
Does anyone have any ideas?
Thanks in advance...
- Tags:
- syslog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2006 01:16 AM
06-27-2006 01:16 AM
Re: Syslogd records same message repeatedly
Have you stopped and restarted the syslogd? It sounds like a runaway process at this point.
/sbin/init.d/syslog stop
/sbin/init.d/syslog start
After restarting does it still use 100% CPU?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2006 01:35 AM
06-27-2006 01:35 AM
Re: Syslogd records same message repeatedly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2006 01:45 AM
06-27-2006 01:45 AM
Re: Syslogd records same message repeatedly
You might try the most recent syslogd cumulative - here:
https://www6.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_34253&sel={hpux:11.23,}&BC=main|search|
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2006 02:10 AM
06-27-2006 02:10 AM
Re: Syslogd records same message repeatedly
Is the system fully patched? There could be an issue with the syslogd that is resolved in the current ptaches.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2006 02:15 AM
06-27-2006 02:15 AM
Re: Syslogd records same message repeatedly
Steven,
Tell Lucky :-) that we got it working the following manner:
We started this syslog server project on HPUX and ended up running it on Linux, with no problems. It accepts messages from all the other flavors of Unix equally well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2006 04:40 AM
06-27-2006 04:40 AM
Re: Syslogd records same message repeatedly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 02:45 AM
06-28-2006 02:45 AM
Re: Syslogd records same message repeatedly
I have the March 2006 11iV2 patch bundle loaded. I can look into the latest patch for syslog.
The problem starts at midnight according to the performance graphs (the CPU load suddenly gets very high).
I have a script that moves the syslog into a log archive directory that runs at that time. This is what the script is doing:
# Stop syslogd for a moment...
/sbin/init.d/syslogd stop > /dev/null
if [ $? -ne 0 ];
then
echo "Problem stopping syslog."
exit
fi
# Move system-wide syslog to log archive
if [ -r /var/adm/syslog/syslog.log ];
then
mv /var/adm/syslog/syslog.log ${SYSLOG}
fi
# Move system-wide mail log to log archive
if [ -r /var/adm/syslog/mail.log ];
then
mv /var/adm/syslog/mail.log ${MAILLOG}
fi
# Start syslog up again.
/sbin/init.d/syslogd start > /dev/null
if [ $? -ne 0 ];
then
echo "Problem starting syslog."
exit
fi
I could rewrite this to not shut down syslog, but instead copy the syslog.log to the log archive directory then zero out the existing syslog, but I am still curious why the current script is not working...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 02:52 AM
06-28-2006 02:52 AM
Re: Syslogd records same message repeatedly
In order for the script to work you may have to stop the syslog daemons on all of the client servers at midnight as well (one of them could be attempting to write to it at midnight). Try it with the copy and zeroing out of the file instead of the move.........