- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: syslog.log suddenly 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
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
01-18-2009 07:41 PM
01-18-2009 07:41 PM
syslog.log suddenly not updating
Normally what is the possible causal that can stop syslogd from running . Thank you guys ..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2009 10:48 PM
01-18-2009 10:48 PM
Re: syslog.log suddenly not updating
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2009 11:29 PM
01-18-2009 11:29 PM
Re: syslog.log suddenly not updating
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2009 11:44 PM
01-18-2009 11:44 PM
Re: syslog.log suddenly not updating
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol10 512000 104814 382595 22% /var
~~~~~~~~~~~~~~~~
and this is the late entry in the syslog . I even tested with Logger .. but it wont be appended untill i restart the syslogd daemon . The weird thing is the syslog is stopped at the same time everyday .
Jan 17 06:57:56 sg1sys02 sshd[27414]: Received disconnect from 145.240.153.36: 11: Terminating connection
Jan 17 07:00:00 sg1sys02 syslog: su : + tty?? root-oracle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2009 11:50 PM
01-18-2009 11:50 PM
Re: syslog.log suddenly not updating
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2009 11:53 PM
01-18-2009 11:53 PM
Re: syslog.log suddenly not updating
(the message above is from disconnecting ssh and a "su" session).
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2009 11:55 PM
01-18-2009 11:55 PM
Re: syslog.log suddenly not updating
~~~~~~~~~~~~~~~~~~~~~~~~~~~
root@sg1sys02/etc # more 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 *
root@sg1sys02/etc # pwd
/etc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2009 11:58 PM
01-18-2009 11:58 PM
Re: syslog.log suddenly not updating
i'm asking about /etc/rc.config.d/syslogd file configuration which is responsible for running the daemon.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2009 12:25 AM
01-19-2009 12:25 AM
Re: syslog.log suddenly not updating
~~~~~~~~~~~~~~~~~~~~~~
root@XXXX/ # ls /etc/rc.config.d/syslogd
/etc/rc.config.d/syslogd not found
root@XXXX/ # cd /etc/rc.config.d
root@XXXX/etc/rc.config.d # ls | grep log
root@XXXX/etc/rc.config.d # ls | grep syslog
root@XXXX/etc/rc.config.d # uname -an
HP-UX XXXX B.10.20 A 9000/889 263814391 two-user license
root@XXXX/etc/rc.config.d # model
9000/889/K460
root@XXXX/etc/rc.config.d #
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2009 02:37 AM
01-19-2009 02:37 AM
Re: syslog.log suddenly not updating
I said only syslogd file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2009 06:00 PM
01-19-2009 06:00 PM
Re: syslog.log suddenly not updating
The only sane way to find processes by name is to use the -C option, which requires the UNIX95 variable. To find just the process IDs for sh, use this:
UNIX95=1 ps -C sh -o pid=
Compare the output of the above command with the typical grep method:
ps -ef | grep -v grep | grep sh | awk '{print $1}'
which fails miserably by finding unhashdaemon, sshd, ksh, bash, csh, etc, none of which were intended.
Replace all of your kill-by-name scripts with the UNIX95 feature of ps.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2009 02:28 AM
01-20-2009 02:28 AM
Re: syslog.log suddenly not updating
I have the same problem. So I will summarize waht you need to do to solve the problem.
Note: I am suppose that you don't have any "strang" configuration on your syslog.conf
Check the permissions on the files:
ll /var/run/syslog.pid must be -rw-r--r-- 1 root root
ll /var/adm/syslog/syslog.log must be -rw-r--r-- 1 root root
Check the size of ll /dev/log must be zero if not # > /dev/log
Then restart of the syslog:
# kill -HUP $(cat /var/run/syslog.pid)
Check if the syslog restart
#ps -ef | grep syslog
If this do not solve your problem. You can put the defaults of the O.S.
Do the following:
# mv /etc/syslog.conf /etc/oldsyslog.conf
# cp /usr/newconfig/etc/syslog.conf /etc/syslog.conf
# kill -HUP $(cat /var/run/syslog.pid)
Regards,
Angelo Sousa.