- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Syslog not working even after restarting
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-14-2006 03:34 PM
09-14-2006 03:34 PM
Syslog not working even after restarting
I am Facing a issue with syslog , which is not getting updated , even after rebooting the server .
I have tried restarting the daemon , Sending HUP signal to the PID & also tried restarting the server. Only while restarting the daemon the date & time on the syslog.log is changed . No information is logging in the syslog .
Is there any patchig to be dont on the server Help me to resolve the issue ,
# model
9000/800/A180c
#
#ll syslog.log
-rw-r--r-- 1 root root 0 Sep 15 08:38 syslog.log
# more syslog.log
#ps -ef |grep syslog
root 20359 1 0 08:38:03 ? 0:00 /usr/sbin/syslogd -D -v
#
#
# kill -s HUP 20359
#
# ll syslog.log
-rw-r--r-- 1 root root 0 Sep 15 08:38 syslog.log
# logger -t TEST "Test Message to syslog"
#
# ll syslog.log
-rw-r--r-- 1 root root 0 Sep 15 08:38 syslog.log
# more syslog.log
#
#
#
# /sbin/init.d/syslogd stop
syslogd stopped
#
#ps -ef |grep syslog
root 20635 17467 1 08:43:33 ttyp2 0:00 grep syslog
#
# /sbin/init.d/syslogd start
System message logger started
#
#ll syslog.log
-rw-r--r-- 1 root root 0 Sep 15 08:48 syslog.log
#
#uname -a
HP-UX inddns02 B.11.00 U 9000/800 2007484315 unlimited-user license
And my Syslog config file looks like this
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 *
Looking for your valuable suggestions
Thanks in advance
Sathish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2006 04:34 PM
09-14-2006 04:34 PM
Re: Syslog not working even after restarting
In the mean while i done some investigation
One disk on the vg00 is not visible
# strings /etc/lvmtab
/dev/vg00
=fTS
/dev/dsk/c1t6d0
/dev/dsk/c1t5d0
/dev/vg01
/dev/dsk/c0t6d0
---
vgdisplay -v vg00 |egrep 'LV Name|LV Status'
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c1t6d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
LV Name /dev/vg00/lvol1
LV Status available/stale
LV Name /dev/vg00/lvol2
LV Status available/stale
LV Name /dev/vg00/lvol3
LV Status available/stale
LV Name /dev/vg00/lvol4
LV Status available/stale
LV Name /dev/vg00/lvol5
LV Status available/stale
LV Name /dev/vg00/lvol6
LV Status available/stale
LV Name /dev/vg00/lvol7
LV Status available/stale
LV Name /dev/vg00/lvol8
LV Status available/stale
LV Name /dev/vg00/lvol9
LV Status available/stale
LV Name /dev/vg00/lvol10
LV Status available/stale
LV Name /dev/vg00/lvol11
LV Status available/stale
-------------------------------------
Since the server is rebooted the disk is not showing in the ioscan .
Is the disk issue causing the syslog not to work , ( Even with Mirror disk syslog should work )
Thanks
Sathish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2006 04:40 PM
09-14-2006 04:40 PM
Re: Syslog not working even after restarting
Looks like your syslog.conf file is corrupt. From the message above you have space as field separator, but you will need tab as filed separator. Instead of editing the file please follow the step below.
Save your /etc/syslog.conf to a different name:
mv /etc/syslog.conf /etc/syslog.conf.old
Copy the file /usr/newconfig/etc/syslog.conf to /etc/syslog.conf:
cp /usr/newconfig/etc/syslog.conf /etc/syslog.conf
Restart syslogd:
# kill -HUP $(cat /var/run/syslog.pid)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2006 04:58 PM
09-14-2006 04:58 PM
Re: Syslog not working even after restarting
Your suggesstion has worked up for me
Thanks a lot
Regards
Sathish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2006 05:08 PM
09-14-2006 05:08 PM
Re: Syslog not working even after restarting
the syslog.conf file was corrupt
copied the new syslog file from
/usr/newconfig/etc/syslog.conf
to
/etc/syslog.conf
& restarted the daemon