- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- syslogd terminated
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
05-11-2011 04:37 AM
05-11-2011 04:37 AM
syslogd terminated
When i am trying to start the syslogd on my HP UX B.11.31 server it start and terminated immediately. I have tried to replace the /etc/syslog.conf file with /usr/newconfig/etc/syslog.conf.
# ps -ef |grep -i syslog
root 9925 11167 1 06:33:40 pts/0 0:00 grep -i syslog
# /sbin/init.d/syslogd stop
syslogd stopped
# /sbin/init.d/syslogd start
System message logger started
# tail /var/adm/syslog/syslog.log
May 11 06:33:58 whqwm03 syslogd: restart
May 11 06:33:58 whqwm03 syslogd: the kernel messages are already disabled: No such device or address
# cat /var/run/syslog.pid
10171
# ps -ef |grep -iE "10171|syslog"
root 10914 11167 0 06:35:01 pts/0 0:00 grep -iE 10171|syslog
#
- Tags:
- syslogd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2011 06:12 AM
05-11-2011 06:12 AM
Re: syslogd terminated
when you said you copied the newconfig file, you just cat'ed the file and do a screen-scraping (click and drag highlight and copy) then paste into your editor session, what you might end up doing is introducing whitespaces.
If I were you, even if you did not do what I said, I'd check for the existence of whitespaces in this file. Just for precaution if nothing else.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2011 08:56 AM
05-11-2011 08:56 AM
Re: syslogd terminated
Question: Did you update the default syslog.conf file or just copy it in?
b) try this
grep -v "^[[:blank:]]*$" syslog.conf > work_file
ls -la both files
cksum both files
Any difference? If so then use the work_file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2011 12:07 AM
05-12-2011 12:07 AM
Re: syslogd terminated
# cd /etc
# grep -v "^[[:blank:]]*$" syslog.conf > work_file
# ls -la syslog.conf
-r--r--r-- 1 bin bin 250 May 12 01:30 syslog.conf
# ls -la work_file
-rw-r----- 1 root sys 250 May 12 01:47 work_file
# cksum syslog.conf work_file
3145885767 250 syslog.conf
3145885767 250 work_file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2011 12:14 AM
05-12-2011 12:14 AM
Re: syslogd terminated
# cd /etc
# grep -v "^[[:blank:]]*$" syslog.conf > work_file
# ls -la syslog.conf
-r--r--r-- 1 bin bin 250 May 12 01:30 syslog.conf
# ls -la work_file
-rw-r----- 1 root sys 250 May 12 01:47 work_file
# cksum syslog.conf work_file
3145885767 250 syslog.conf
3145885767 250 work_file...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2011 01:48 AM
05-12-2011 01:48 AM
Re: syslogd terminated
is there a core?
you can also try a tusc on it to see what it is doing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2011 02:03 AM
05-12-2011 02:03 AM
Re: syslogd terminated
>> grep -v "^[[:blank:]]*$" syslog.conf > work_file
I don't think that regexp is working as you expected - I just added some spaces to a copy of my syslog.conf file and ran it through it, and it didn't pick them up...
atgupta,
Maybe a simpler one, does:
grep ' ' /etc/syslog.conf
(that's a space between the quote ' symbols)
return anything that's not on a comment line?
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2011 04:47 AM
05-12-2011 04:47 AM
Re: syslogd terminated
Duncan@ grep " " /etc/syslog.conf i already tried and there was no space...
# grep ' ' /etc/syslog.conf
# @(#)B.11.31_LR
# syslogd configuration file.
# See syslogd(1M) for information about the format of this file.
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2011 05:04 AM
05-12-2011 05:04 AM
Re: syslogd terminated
vgscan -p -v -a
lvlnboot -R
...and post syslog.log afterwards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2011 05:41 AM
05-12-2011 05:41 AM
Re: syslogd terminated
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2011 06:19 AM
05-12-2011 06:19 AM
Re: syslogd terminated
What are the error messages on the console?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2011 07:24 AM
05-12-2011 07:24 AM
Re: syslogd terminated
/usr/sbin/syslogd
without putting it in background (i.e. daemon mode) is it staying up or dying down immediately ?
Open another terminal window to the same system and run:
while true; do
ps -ef | grep syslogd
done
continuously. This will impact the performance more than likely. So, if this is a production system, you might want to do it after hours. Also capture the terminal session as the output will most probably flow too fast for your eyes to catch anything meaningful.
This may give you a bit more insight and won't hurt anything just by trying.
Just a thought
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2011 11:41 AM
05-12-2011 11:41 AM
Re: syslogd terminated
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2011 10:47 PM
05-12-2011 10:47 PM
Re: syslogd terminated
when it dies its creating the core file..
# what core
core:
$ PATCH_11.31/PHCO_39177 May 21 2009 06:51:02 $
$ PATCH_11.31/PHCO_40292 Jul 6 2010 09:44:47 $
92453-07 linker dld HP Itanium(R) B.12.55
92453-07 linker uld HP Itanium(R) B.12.55
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2011 04:40 AM
05-13-2011 04:40 AM
Re: syslogd terminated
Under syslog dir mail.log file size was 2Gb. i have trimmed the same and after that start the syslogd daemon and running fine..
Atul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2011 09:32 AM
05-13-2011 09:32 AM
Re: syslogd terminated
Well I guess the moral of this scenario turns out to be trimming certain stuff once in a while on the /var filesystem... Be it the syslog, or let's say the wtmps or btmps file. That's why on a server that you consider important it's momentous to check if the /var is reaching let's say 98% with very less free space left.
Regards
Ismail Azad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2011 10:46 PM
05-15-2011 10:46 PM
Re: syslogd terminated
there is a bug in 11.31 Syslogd is checking or calling mail.log. That’s the reason need to trim down some files with near or greater than 2GB or modifying the LOG_SIZE=NOLIMIT in /etc/defaults/syslogd file.