- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: syslog.log not updating
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
Discussions
Forums
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
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
тАО11-03-2003 08:20 PM
тАО11-03-2003 08:20 PM
One of our HPUX11 servers has not updated the syslog.log since 13th Oct 2003. Can anyone point me as to which script outputs to this log and to why it is not updating ?
Thks
Jeff
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2003 08:24 PM
тАО11-03-2003 08:24 PM
Re: syslog.log not updating
check if the syslog daemon is running, e.g.:
# ps -ef | grep syslog
root 842 1 0 Sep 19 ? 0:07 /usr/sbin/syslogd -D
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2003 08:27 PM
тАО11-03-2003 08:27 PM
Re: syslog.log not updating
Have done this and the syslog daemon is running :-
ps -ef | grep syslog
root 518 1 0 Oct 1 ? 0:43 /usr/sbin/syslogd -D
root 17212 7690 1 09:26:44 pts/3 0:00 grep syslog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2003 08:31 PM
тАО11-03-2003 08:31 PM
Re: syslog.log not updating
the try to execute this:
# logger new entry in log
and check if it is written to the syslog.
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2003 08:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2003 08:38 PM
тАО11-03-2003 08:38 PM
Re: syslog.log not updating
I have stopped / started syslog daemon and the logger command logged OK to syslog.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2003 08:41 PM
тАО11-03-2003 08:41 PM
Re: syslog.log not updating
then try to make an ftp connection and check if that is written to the log.
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2003 08:44 PM
тАО11-03-2003 08:44 PM
Re: syslog.log not updating
Yes that was also logged in syslog OK
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2003 08:49 PM
тАО11-03-2003 08:49 PM
Re: syslog.log not updating
well, in that case I would think that it should now be working ok, but I suggest that you keep an eye on it.
I do not know if this is a patch problem, but Olympians are rarely wrong!
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2003 09:14 PM
тАО11-03-2003 09:14 PM
Re: syslog.log not updating
Coincidence ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2003 10:02 PM
тАО11-03-2003 10:02 PM
Re: syslog.log not updating
I have seen forum threads reporting on failing writes to both logs. However, without finding any perfectly satifying explanation. A far out theory could be that someone has cleaned up by removing the "live" logfiles and afterwards created new files. He may then have seen that nothing was written to the files and has therefore regretted by copying back the old files into the original place. In that case there will not be written to the files until the daemon has been restarted.
But I admit it is far out...
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2003 10:04 PM
тАО11-03-2003 10:04 PM
Re: syslog.log not updating
What is the daemon called which re-starts the logging to the mail.log ?
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2003 10:38 PM
тАО11-03-2003 10:38 PM
Re: syslog.log not updating
Stop and restart the sendmail daemon:
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2003 12:43 AM
тАО11-04-2003 12:43 AM
Re: syslog.log not updating
/sbin/init.d/syslogd stop
/sbin/init.d/syslogd start
sendmail sends its logging to the syslog daemon which in turn sends it to the corresponding log files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2003 12:44 AM
тАО11-04-2003 12:44 AM
Re: syslog.log not updating
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2003 12:50 AM
тАО11-04-2003 12:50 AM
Re: syslog.log not updating
I've seen the syslogd daemon hang because /var filled up & was then cleaned up.
Problem with determining this is that the log entry stating that /var filled up doesn't get written to syslog.log....BECAUSE...it filled up.
This is one of those cases where an external syslog server is good to have.
My 2 cents,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2003 12:52 AM
тАО11-04-2003 12:52 AM
Re: syslog.log not updating
Thanks for all the replies.
Both log files are now initialised and updating once again.
Jeff