- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Syslog not getting updated
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
Discussions
Discussions
Forums
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
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
тАО03-24-2010 07:34 AM
тАО03-24-2010 07:34 AM
Syslog is not getting updated on my server.
bash-4.0# uname -a
HP-UX aph067a0 B.11.23 U ia64 2204346225 unlimited-user license
bash-4.0#
bash-4.0# ls -l syslog.log
-rw-r--r-- 1 root sys 0 Mar 3 14:05 syslog.log
bash-4.0# cat /etc/syslog.conf
# @(#)B.11.31_LR
#
# 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
Please help.
Thanks
Ajith
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2010 07:39 AM
тАО03-24-2010 07:39 AM
Re: Syslog not getting updated
Try stopping / starting syslog.
# /sbin/init.d/syslogd stop
# /sbin/init.d/syslogd start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2010 07:44 AM
тАО03-24-2010 07:44 AM
Re: Syslog not getting updated
Can you please guide me how to test whether syslogd is working fine or not.
Whether logger command can be used for testing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2010 07:56 AM
тАО03-24-2010 07:56 AM
Re: Syslog not getting updated
For example, this command will create a message using priority "info", so it should be recorded to syslog.log file:
logger -t logtest -p local3.info "Kripa is testing syslogd"
But first, see if the /var filesystem is full.
When a filesystem is full, it may be possible to create new 0-sized files, but not write anything into them. This is because the filesystem metadata structures may still have free slots for files, although there are no more free blocks for storing data.
You might also want to run "dmesg" to view the kernel message buffer: if the device that holds the /var filesystem produces SCSI errors, there might be a hardware problem preventing the system from writing to the log file.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2010 08:07 AM
тАО03-24-2010 08:07 AM
SolutionWhile I don't necessarily think that this is your problem, remember that selector/action pairs in '/etc/syslog.conf' use *tabs* as separator characters. A post of:
# cat -etv /etc/syslog.conf' would be more revealing than a simple 'cat'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2010 08:21 AM
тАО03-24-2010 08:21 AM
Re: Syslog not getting updated
THe issue is with spaces on the /etc/syslog.conf file.
I have corrected it and now it is working fine