- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- syslog.log staying 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
07-23-2003 06:29 AM
07-23-2003 06:29 AM
syslog.log staying empty
Thank you,
Randy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 06:30 AM
07-23-2003 06:30 AM
Re: syslog.log staying empty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 06:31 AM
07-23-2003 06:31 AM
Re: syslog.log staying empty
check /etc/rc.config.d/syslogd for anything unusual.
Don't make a backup copy in /etc/rc.config.d it will mess things up.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 06:33 AM
07-23-2003 06:33 AM
Re: syslog.log staying empty
I think Patrick's probably on the right track, but what about permissions? And, does OLDsyslog.log contain anything?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 06:33 AM
07-23-2003 06:33 AM
Re: syslog.log staying empty
kill -HUP
on the syslogd process - this should force it to re-read the config file.
Also, you should confirm that you have free space in /var
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 06:34 AM
07-23-2003 06:34 AM
Re: syslog.log staying empty
my working /etc/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 *
To have the system re-read it,
just issue
To make syslogd, re-read its configuration file, send it a HANGUP
signal:
kill -HUP `cat /var/run/syslog.pid`
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 06:36 AM
07-23-2003 06:36 AM
Re: syslog.log staying empty
Check the content of /etc/syslog.conf to see if it has been modified.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 06:40 AM
07-23-2003 06:40 AM
Re: syslog.log staying empty
Sounds like syslogd is hung. You need to determine the PID
ps -ef | grep syslog
Then kill -HUP it
kill -HUP XXXX #where XXXX=syslogd_PID
If a new ps -ef | grep syslog does not show a new PID, then kill XXXX & run
/usr/sbin/syslogd -D
to restart it.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 06:46 AM
07-23-2003 06:46 AM
Re: syslog.log staying empty
Sometimes it's a problem with you file in use as well (corrupt).
- Stop syslog
- mv your current syslog.log file
- touch a new one.
- and start sylogd
It should work fine now. kill -HUP
Make sure your syslog.conf has all permissions and does not conatain any weird characters.
Regs David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 06:46 AM
07-23-2003 06:46 AM
Re: syslog.log staying empty
Enter the following command
logger "This is a test log entry"
Then check the syslog.log file. If it doesn't appear then syslogd is definitely hung & you'll have to bounce it.
Also I'd check /etc/rc.log to see if S220syslogd had trouble starting in run-level 2.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 06:49 AM
07-23-2003 06:49 AM
Re: syslog.log staying empty
Here is some more info:
-rw-r--r-- 1 root sys 0 Jul 23 07:54 syslog.log
-rw-r--r-- 1 root sys 0 Jul 23 07:46 OLDsyslog.log
# @(#) $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 *
#Log to a log host too. BSM - 10/2/00
*.info @watcher
The file system has space on it (plenty). I did just find tabs in the last entry of the syslog.conf file. I removed them and stopped and started syslogd but still have 0 bytes in syslog.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 06:57 AM
07-23-2003 06:57 AM
Re: syslog.log staying empty
Can you post the output of this command:
# ll /dev/klog /dev/log /dev/log.un
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 07:04 AM
07-23-2003 07:04 AM
Re: syslog.log staying empty
Start system message logging daemon
Output from "/sbin/rc2.d/S220syslogd start":
----------------------------
System message logger started
This is stumping me completely. I moved the syslog.log file and touched a new one too and still nothing. Hmmmmm.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 07:10 AM
07-23-2003 07:10 AM
Re: syslog.log staying empty
/dev/log.un not found
crw------- 1 bin bin 189 0x000000 Aug 2 1999 /dev/klog
prw-rw-rw- 1 root root 0 Jul 23 11:08 /dev/log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 07:17 AM
07-23-2003 07:17 AM
Re: syslog.log staying empty
jabs-hpl # ll /dev/klog /dev/log /dev/log.un
crw------- 1 bin bin 189 0x000000 Dec 10 1999 /dev/klog
prw-rw-rw- 1 root root 0 Jul 23 11:11 /dev/log
srw-rw-rw- 1 root root 0 Jul 17 14:20 /dev/log.un
Your output should look similar to the above. The missing /dev/log.un is needed (it is a socket file). Let me research on how to recreate it. Then I'll get back to you.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 07:25 AM
07-23-2003 07:25 AM
Re: syslog.log staying empty
Can you try this:
# echo "this is a test" > /dev/log
# cat /var/adm/syslog/syslog.log
You should see the line "this is a test" in the syslog.log.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 09:49 AM
07-23-2003 09:49 AM
Re: syslog.log staying empty
Your configuration looks ok.
Hope it helps
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 09:56 AM
07-23-2003 09:56 AM
Re: syslog.log staying empty
Randy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 10:58 AM
07-23-2003 10:58 AM
Re: syslog.log staying empty
regards
Wout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 02:10 PM
07-23-2003 02:10 PM
Re: syslog.log staying empty
Just a thought.
GL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 05:52 PM
07-23-2003 05:52 PM
Re: syslog.log staying empty
That watcher entry in the syslog.conf file is not standard. Why not comment it out, restart syslogd and see if it makes a difference.
Cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2003 10:37 AM
07-24-2003 10:37 AM
Re: syslog.log staying empty
Regards,
Randy