- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: syslogd is 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
09-02-2007 11:27 PM
09-02-2007 11:27 PM
syslogd is not logging
prw-rw-rw- 1 root root 8192 Aug 29 05:38 /dev/log
This doesn't look like a valid device file. Further, the timestamp on the file coincides with the time and date syslogd stopped working.
I'm running HP-IX 10.20. What would be the correct command for recreating a valid /dev/log entry?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2007 11:40 PM
09-02-2007 11:40 PM
Re: syslogd is not logging
the /dev/log is a named pipe for the syslogd.
(10.20)
clear the /dev/log file
# > /dev/log
check if the /dev/klog file is correct.
# ll /dev/klog crw------- 1 bin bin 189 0x000000 Jun 26 2001 /dev/klog
Restart the syslogd.
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2007 11:43 PM
09-02-2007 11:43 PM
Re: syslogd is not logging
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2007 11:44 PM
09-02-2007 11:44 PM
Re: syslogd is not logging
You need to returns this file to "zero" by sending a null value to it.
#> /dev/log
If the file reaches again the 8192 you will get the issue again, please check the console, probably your console is set to CM mode, if you want to correct the issue return the console mode to CO.
Hope this helps,
Regards,
Marco
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2007 11:57 PM
09-02-2007 11:57 PM
Re: syslogd is not logging
root@hpas40:/dev > cat /dev/null > /dev/log
root@hpas40:/dev > ls -la log
prw-rw-rw- 1 root root 2048 Sep 3 04:53 log
root@hpas40:/dev > > log
root@hpas40:/dev > ls -la log
prw-rw-rw- 1 root root 2048 Sep 3 04:53 log
As you can see, no luck.
BTW:
root@hpas40:/dev > ls -la klog
crw------- 1 bin bin 189 0x000000 Oct 5 1999 klog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2007 11:59 PM
09-02-2007 11:59 PM
Re: syslogd is not logging
This issue is related with it.
Regards,
Marco
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2007 12:00 AM
09-03-2007 12:00 AM
Re: syslogd is not logging
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2007 12:02 AM
09-03-2007 12:02 AM
Re: syslogd is not logging
try to stop the syslogd first.
# /sbin/init.d/syslogd stop
# > /dev/log
# ll /dev/log
# /sbin/init.d/syslogd start
# tail -f /var/adm/syslog/syslog.log
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2007 12:04 AM
09-03-2007 12:04 AM
Re: syslogd is not logging
2. Not sure what ssh has to to with the issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2007 12:10 AM
09-03-2007 12:10 AM
Re: syslogd is not logging
root@hpas40:/sbin/init.d > > dev/log
sh[2]: dev/log: Cannot create the specified file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2007 12:11 AM
09-03-2007 12:11 AM
Re: syslogd is not logging
Check the console keyboard. If using a dump terminal, such as a 700/96 etc.. ensure that 'remote mode' (F4) has an * -- ie. on.
If need be, reset the console, by holding down the d key while powering on.
If using remote console, then make sure it's not in some mode like CM>. Change it so CO(console mode).
The procedure to change the console is :
http://www.pimpworks.org/hp/hpuxtips.html#10
Let us know your results,
Regards,
Marco
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2007 12:15 AM
09-03-2007 12:15 AM
Re: syslogd is not logging
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2007 12:18 AM
09-03-2007 12:18 AM
Re: syslogd is not logging
Marco
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2007 12:43 AM
09-03-2007 12:43 AM