- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: syslog.log not logging
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
02-10-2004 03:27 AM
02-10-2004 03:27 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 03:30 AM
02-10-2004 03:30 AM
Re: syslog.log not logging
eg
kill -HUP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 03:32 AM
02-10-2004 03:32 AM
Re: syslog.log not logging
The -D option will "Prevent the kernel from directly printing its
messages on the system console."
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 03:33 AM
02-10-2004 03:33 AM
Re: syslog.log not logging
OLDsyslog.log won't get created by restarting the syslog process. You might have run /sbin/init.d/syslogd start|stop.
I would simply "kill
your syslog.log.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 03:34 AM
02-10-2004 03:34 AM
Re: syslog.log not logging
Try 'logger test message' to see if it is logging.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 03:39 AM
02-10-2004 03:39 AM
Re: syslog.log not logging
Re-reading your question, I think I mis-read it the first time. You were saying that you stopped syslogd, and then restarted it with the -D option, right?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 04:01 AM
02-10-2004 04:01 AM
Re: syslog.log not logging
"logger message" isn't writing to syslog.log
when i stop and start the process or kill -HUP pid still i get nothing
kill -HUP pid - nothing
/sbin/init.d/syslogd start -D -nothing
kill pid, then start as above - nothing
I didn't some failed su's but they didn't log either.
plan b?
scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 04:05 AM
02-10-2004 04:05 AM
Re: syslog.log not logging
did you change /etc/syslog.conf?
If so, make sure there are *no blanks* in it, only TABs. To make sure copy a default conf from another machine and try to start syslog with that one.
Regards,
Bernhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 04:13 AM
02-10-2004 04:13 AM
Solution1. check the syslogd executable
ll /usr/sbin/syslogd
Make sure it's not zeroe'd out.
2. Kill syslogd
#cat /var/run/syslog.pid
kill 'pid_of_syslogd'
ps -ef|grep syslogd
If it is still running, then note the PID from the above and then kill it
kill 'pid_of_syslog'
3. Copy the default syslog configuration file
#mv /etc/syslog.conf /etc/syslog.conf.old
#cp /usr/newconfig/etc/syslog.conf /etc
4. Start syslogd
/usr/sbin/syslogd -D
5. See if the file /var/adm/syslog/syslog.log is getting messages.
If the above works, then your syslog.conf might have gotten messed up.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 04:19 AM
02-10-2004 04:19 AM
Re: syslog.log not logging
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2004 07:15 AM
02-11-2004 07:15 AM
Re: syslog.log not logging
TABS TABS TABS TABS
make sure you dont use spaces in your syslog.conf file, instead make sure you use tabs.
this is usually the BUG in syslog. to make it stop working