- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Syslog is not logging activity
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
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
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
тАО08-07-2002 05:05 AM
тАО08-07-2002 05:05 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2002 05:09 AM
тАО08-07-2002 05:09 AM
Solution# @(#) $Revision: 74.1 $
#
# syslogd configuration file.
#
# See syslogd(1M) for information about the format of this file.
#
mail.debug /var/adm/syslog/mail.log
*.info;mail.none /var/adm/syslog/syslog.log
*.alert /dev/console
*.alert root
*.emerg *
Check the process:
# ps -ef | grep syslog
root 476 1 0 Aug 5 ? 0:00 /usr/sbin/syslogd -D
root 14055 12565 1 14:21:33 ttyp3 0:00 grep syslog
and restart if necessary:
# /sbin/init.d/syslogd
usage: /sbin/init.d/syslogd {start|stop}
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2002 05:15 AM
тАО08-07-2002 05:15 AM
Re: Syslog is not logging activity
Check to see if syslogd is running. get "lsof" (below is link) and check if the syslog.log file is open.
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.64/
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2002 05:17 AM
тАО08-07-2002 05:17 AM
Re: Syslog is not logging activity
You should bounce the syslogd daemon.
Find the PID using
#ps -ef | grep syslog
then kill HUP it
#kill -HUP xxxx
where xxxx is the PID reported in the ps command.
This is not uncommon for the syslog daemon to "hang" like this.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2002 05:19 AM
тАО08-07-2002 05:19 AM
Re: Syslog is not logging activity
Also, you can try using logger to send something to syslog.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2002 05:20 AM
тАО08-07-2002 05:20 AM
Re: Syslog is not logging activity
finance:/etc#cat syslog.conf
# @(#) $Revision: 74.1 $
#
# syslogd configuration file.
#
# See syslogd(1M) for information about the format of this file.
#
mail.debug /var/adm/syslog/mail.log
*.info;mail.none /var/adm/syslog/syslog.log
*.alert /dev/console
*.alert root
*.emerg *
finance:/etc#ps -ef | grep syslog
root 13577 7004 1 09:20:14 pts/tb 0:00 grep syslog
finance:/etc#/sbin/init.d/syslogd
usage: /sbin/init.d/syslogd {start|stop}
finance:/etc#ps -ef | grep syslog
root 13580 7004 1 09:20:45 pts/tb 0:00 grep syslog
finance:/etc#cd
finance:/#/sbin/init.d/syslogd
usage: /sbin/init.d/syslogd {start|stop}
finance:/#ps -ef | grep syslog
root 13583 7004 0 09:21:00 pts/tb 0:00 grep syslog
finance:/#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2002 05:28 AM
тАО08-07-2002 05:28 AM
Re: Syslog is not logging activity
/sbin/init.d/syslogd start
Note the start parameter at the end.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2002 05:31 AM
тАО08-07-2002 05:31 AM
Re: Syslog is not logging activity
Your syslogd is not running. To start it, run:
# /sbin/init.d/syslogd start
Then check with:
# ps -ef | grep syslogd
You should see it up and running.
Your /etc/syslog.conf looks fine.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2002 05:33 AM
тАО08-07-2002 05:33 AM
Re: Syslog is not logging activity
Thank you sooooo much!
finance:/sbin/init.d#/sbin/init.d/syslogd start
System message logger started
finance:/sbin/init.d#ps -ef | grep syslog
root 14214 1 0 09:33:26 ? 0:00 /usr/sbin/syslogd -D
root 14216 7004 0 09:33:31 pts/tb 0:00 grep syslog
finance:/sbin/init.d#more /var/adm/syslog/syslog.log
Aug 7 09:33:26 finance syslogd: restart