- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: syslog.log file is not working
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
тАО11-12-2009 12:54 AM
тАО11-12-2009 12:54 AM
Iam facing an issue in my 11.11 production box.
The syslog.log file is not growing!!
-rw-r--r-- 1 root root 0 Nov 9 05:20 syslog.log
dmsworp1-root # more /var/adm/syslog/syslog.log
dmsworp1-root #
But the daemon is running:
-root # ps -ef | grep -i syslog
root 558 1 0 Nov 9 ? 0:00 /usr/sbin/syslogd -D
root 1792 1 0 Nov 9 ? 0:00 /bin/sh ./init.tecad_logfile start syslog
root 25717 12399 0 09:45:50 pts/te 0:00 grep -i syslog
-root #
root # cat -t /etc/syslog.conf
# Tivoli logfile adapter entry, ID=syslog
*.emerg;*.alert;*.crit;*.err;*.warning;*.notice;*.info^I/tmp/.tivoli/.tecad_logfile.fifo.dmsworp1.syslog
# End of logfile adapter entry, ID=syslog
-root # find / -name "syslogd" -type f -exec ll {} \;
-r--r--r-- 1 bin bin 492 Feb 23 2001 /etc/rc.config.d/syslogd
-r-xr-xr-x 1 bin bin 2712 Nov 14 2000 /var/adm/sw/save/PHCO_23413/UX-CORE/sbin/init.d/syslogd
---x--x--- 1 root sys 0 Aug 26 2003 /var/adm/sw/save/PHCO_23413/UX-CORE/usr/newconfig/etc/rc.config.d/syslogd
-r-xr-xr-x 1 bin bin 28672 Nov 14 2000 /var/adm/sw/save/PHCO_23413/UX-CORE/usr/sbin/syslogd
-r-xr-xr-x 1 bin bin 3002 Feb 23 2001 /sbin/init.d/syslogd
-r-xr-xr-x 1 bin bin 28672 Feb 23 2001 /usr/sbin/syslogd
-r--r--r-- 1 bin bin 492 Feb 23 2001 /usr/newconfig/etc/rc.config.d/syslogd
-root #
Pls advice me whether can I restart the syslogd using:
/usr/sbin/syslogd -D stop
/usr/sbin/syslogd -D start
is it OK?
else pls guide me to solve this issue.
thanks in advance.
sree
Solved! Go to Solution.
- Tags:
- syslog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2009 01:02 AM
тАО11-12-2009 01:02 AM
Re: syslog.log file is not working
/sbin/init.d/syslogd start
Example :-
# /sbin/init.d/syslogd stop
syslogd stopped
# /sbin/init.d/syslogd start
System message logger started
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2009 01:03 AM
тАО11-12-2009 01:03 AM
Re: syslog.log file is not working
# tail -50 /var/adm/syslog/syslog.log
Nov 12 16:09:52 uxt02 syslogd: restart
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2009 01:04 AM
тАО11-12-2009 01:04 AM
SolutionYou do not have anything in /var/adm/syslog/syslog.log becouse you did not instructed syslogd to place anything there.
In order to do that,
*.info;mail.none /var/adm/syslog/syslog.log
Your current syslogd configuration put the
*.emerg;*.alert;*.crit;*.err;*.warning;*.notice;*.info information in the
/tmp/.tivoli.tecad_logfile.fifo.dmsworp1.syslog
file.
cat/more on this file would reveal the information.
Best regards,
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2009 01:16 AM
тАО11-12-2009 01:16 AM
Re: syslog.log file is not working
Thanks alot for your valuable replies.
I will do the changes suggested by Horia.
Earlier the mentioned info was not routed to syslog.log.
Once again thanks alot all!!!
rgds Sree
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2009 01:19 AM
тАО11-12-2009 01:19 AM
Re: syslog.log file is not working
You can check the syslog function by using "logger".
try this:-
#logger "Test message";tail -n 2 /var/adm/syslog/syslog.log
regards,
Aneesh