- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- syslog.log empty
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
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-07-2006 02:21 AM
06-07-2006 02:21 AM
syslog.log empty
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2006 02:25 AM
06-07-2006 02:25 AM
Re: syslog.log empty
# /sbin/init.d/syslogd stop
# /sbin/init.d/syslogd start
# ps -ef |grep syslog
to verify that it is now running.
To see if it is working you can do:
# logger This is a test message to syslog.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2006 02:25 AM
06-07-2006 02:25 AM
Re: syslog.log empty
is the syslog daemon (syslogd) running ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2006 02:25 AM
06-07-2006 02:25 AM
Re: syslog.log empty
*.info;mail.none /var/adm/syslog/syslog.log
there should be a tabs between the columns.
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2006 03:50 AM
06-07-2006 03:50 AM
Re: syslog.log empty
run
/sbin/init.d/syslog stop
/sbin/init.d/syslog start
to recycle the syslog daemon.
The most common cause I have come across for this problem is a new sysadmin wants to reset the syslog.log file because it has gotten to big. They either move or delete the syslog.log file without shutting down the daemon
if it moved and an empty syslog.log file is created, the logging will continue to the moved file, not the new file.
if it deleted and a new syslog.log file created. the daemon continues to atempt to send to deleted files disk location (but does not write as the file does not exist there anymore) the new file remains empty
SAM will prune the syslog if you want to decrease its size
you can also COPY the syslog.log to another file with the daemon running and cat /dev/null > /var/adm/syslog/syslog/log to zero out the syslog.log file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2006 05:14 AM
06-07-2006 05:14 AM