- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: syslogd hang
Operating System - HP-UX
1753522
Members
11077
Online
108795
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО06-08-2006 08:58 PM
тАО06-08-2006 08:58 PM
syslogd hang
One of processes in my machine called syslog() to log a message in syslog and hanged there. I tried truss on the process and syslogd, both are stucked in write(). Here is the output of some commands:
# ls -lsrt /var/adm/syslog/
total 1472
80 -rw-r--r-- 1 root root 40818 May 27 05:45 OLDsyslog.log
112 -r--r--r-- 1 root root 52737 Jun 8 10:56 mail.log
1280 -rw-r--r-- 1 root root 643013 Jun 8 17:05 syslog.log
# date
Fri Jun 9 04:49:17 IST 2006
# ps -eaf|grep syslogd
root 25950 25914 0 04:49:26 pts/tg 0:00 grep syslogd
root 989 1 0 May 27 ? 0:03 /usr/sbin/syslogd -D
# truss -p 989
( Attached to process 989 ("/usr/sbin/syslogd -D") [32-bit] )
writev(11, 0x7fffa800, 6) [sleeping]
( Detaching from process 989 ("/usr/sbin/syslogd -D") )
# truss -p 14841
( Attached to process 14841 ("/opt/myproc") [32-bit] )
write(10, "J u n 8 1 7 : 0 6 : 0 6 ".., 83) [sleeping]
###Output of another simple program which ###tries to write in syslog
# ./a.out
syslog:: Resource temporarily unavailable
# uname -a
HP-UX sharedhpia12 B.11.23 U ia64 0997230416 unlimited-user license
I am running HP-UX 11.23 (May 05) version.
Is this HP-UX kernel or syslogd bug ?
Thanks in Advance for your help.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2006 09:01 PM
тАО06-08-2006 09:01 PM
Re: syslogd hang
Shalom,
If its a bug, it surely would be handled in the most recent quarterly update. I suggest that, whether or not the cause is a bug.
I would suggest killing the processes manually and then starting syslog again.
Usually, I let the system write to syslog and let my homegrown scripts write their output elsewhere. I consider this a good practice.
SEP
If its a bug, it surely would be handled in the most recent quarterly update. I suggest that, whether or not the cause is a bug.
I would suggest killing the processes manually and then starting syslog again.
Usually, I let the system write to syslog and let my homegrown scripts write their output elsewhere. I consider this a good practice.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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
тАО06-08-2006 09:24 PM
тАО06-08-2006 09:24 PM
Re: syslogd hang
I am sure after restarting syslogd, stuff will start working. But I would like to know if anyone faced this before. dmesg is also showing some error messages:
mem: could not lock: 0x4048833
mem: could not lock: 0x404881e
mem: could not lock: 0x404886e
mem: could not lock: 0x404881e
mem: could not lock: 0x404881e
mem: could not lock: 0x404881e
mem: could not lock: 0x404881e
mem: could not lock: 0x404882a
mem: could not lock: 0x4048853
mem: could not lock: 0x4048802
mem: could not lock: 0x4048848
mem: could not lock: 0x404882a
mem: could not lock: 0x4048853
mem: could not lock: 0x4048802
mem: could not lock: 0x4048848
mem: could not lock: 0x404882a
mem: could not lock: 0x4048853
mem: could not lock: 0x4048802
mem: could not lock: 0x4048871
mem: could not lock: 0x4048871
mem: could not lock: 0x404882a
mem: could not lock: 0x4048853
mem: could not lock: 0x4048802
mem: could not lock: 0x404882a
mem: could not lock: 0x4048853
mem: could not lock: 0x4048802
mem: could not lock: 0x4048868
mem: could not lock: 0x4048864
mem: could not lock: 0x4048821
mem: could not lock: 0x404882e
thanks,
Tarun
mem: could not lock: 0x4048833
mem: could not lock: 0x404881e
mem: could not lock: 0x404886e
mem: could not lock: 0x404881e
mem: could not lock: 0x404881e
mem: could not lock: 0x404881e
mem: could not lock: 0x404881e
mem: could not lock: 0x404882a
mem: could not lock: 0x4048853
mem: could not lock: 0x4048802
mem: could not lock: 0x4048848
mem: could not lock: 0x404882a
mem: could not lock: 0x4048853
mem: could not lock: 0x4048802
mem: could not lock: 0x4048848
mem: could not lock: 0x404882a
mem: could not lock: 0x4048853
mem: could not lock: 0x4048802
mem: could not lock: 0x4048871
mem: could not lock: 0x4048871
mem: could not lock: 0x404882a
mem: could not lock: 0x4048853
mem: could not lock: 0x4048802
mem: could not lock: 0x404882a
mem: could not lock: 0x4048853
mem: could not lock: 0x4048802
mem: could not lock: 0x4048868
mem: could not lock: 0x4048864
mem: could not lock: 0x4048821
mem: could not lock: 0x404882e
thanks,
Tarun
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP