- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /var/adm/syslog/syslog never being written to
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
10-18-2004 07:43 AM
10-18-2004 07:43 AM
What might be missing that is not allowing/creating syslog entries on this one machine??
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2004 07:46 AM
10-18-2004 07:46 AM
Re: /var/adm/syslog/syslog never being written to
ps -ef | grep syslog
should yeild
/usr/bin/syslog -D
/sbin/init.d/syslogd start
Check the permissions on the syslog file and make sure it can be written to.
SEP
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
10-18-2004 07:47 AM
10-18-2004 07:47 AM
Re: /var/adm/syslog/syslog never being written to
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2004 07:48 AM
10-18-2004 07:48 AM
Re: /var/adm/syslog/syslog never being written to
ps -ef |grep syslog
root 899 1 0 Sep 28 ? 00:01 /usr/sbin/syslogd -D
Check for /sbin/init.d/syslogd
and link in /sbin/rc2.d
lrwxr-xr-x 1 root root 20 Sep 23 2002 S220syslogd -> /sbin/init.d/syslogd
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2004 07:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2004 08:48 AM
10-18-2004 08:48 AM
Re: /var/adm/syslog/syslog never being written to
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2004 12:45 PM
10-18-2004 12:45 PM
Re: /var/adm/syslog/syslog never being written to
logger -p kern.emerg "Testing syslogd"
With a standard /etc/syslog.conf, you'll get the message in syslog and also a message on every terminal that is logged in.
If nothing happens, find syslog's PID:
ps -e | grep syslogd
If there are none, then start syslogd with:
/sbin/init.d/syslogd start
If there is one copy running, use the command:
kill -HUP
Check also that the file /var/rub/syslogd.pid has the same number as ps reports. If it does not, syslogd was probably killed accidently by a root user. Restart syslogd with:
/sbin/init.d/syslogd start
If there are multiple copies running, kill all the syslogs with:
ps -e | grep syslogd
kill -HUP
Check ps again to make sure all copies are gone then restart syslogd again.
You may not be up to date on patches.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2004 06:50 PM
10-18-2004 06:50 PM
Re: /var/adm/syslog/syslog never being written to
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2004 07:06 PM
10-18-2004 07:06 PM
Re: /var/adm/syslog/syslog never being written to
#ps -aef |grep syslogd
root 393 1 0 Sep 29 ? 0:01 /usr/sbin/syslogd -D
2)Pls review /etc/syslog.conf file
it should look like
# @(#) $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 *
3)check for the permission of the syslog.log
# ll /var/adm/syslog/syslog.log
-rw-r--r-- 1 root root 514756 Oct 19 11:47 /var/adm/syslog/syslog.log
regards
SK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2004 01:36 AM
10-19-2004 01:36 AM
Re: /var/adm/syslog/syslog never being written to
Thanks!