- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: syslog directory empty
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
02-06-2006 11:49 PM
02-06-2006 11:49 PM
/var/adm/syslog not found!!!
How i can recreate or reactivate /var/adm/syslog/syslog.log and anything event automatic is registered.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 11:53 PM
02-06-2006 11:53 PM
Re: syslog directory empty
bdf /var
If you get an answer with only /
/var is not mounted.
Immediately halt your system and boot to single user mode.
Empty the /var folder and then
mount /var
All should be present. If so boot and make sure everything mounts.
If there is an error in dmesg/syslog, you still have problems. Check hardware for missing disk. ioscan -fnC disk
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
02-06-2006 11:56 PM
02-06-2006 11:56 PM
Solution# ll -d /var/adm/syslog
dr-xr-xr-x 2 bin bin 96 Feb 1 13:48 /var/adm/syslog
Then check that you have an /etc/syslog.conf file with contents similar to this:
# @(#)B.11.11_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 *
Then make sure that syslogd is running:
# ps -ef |grep syslog
root 451 1 0 Feb 1 ? 0:00 /usr/sbin/syslogd -D
You can force syslogd to reread it's configuration file by sending it a HANGUP (HUP) signal.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2006 12:07 AM
02-07-2006 12:07 AM
Re: syslog directory empty
All it's correct!
#ps -ef |grep syslog
root 839 1 0 11:49:10 ? 0:00 /usr/sbin/syslogd -D
root 29546 25264 0 09:07:28 pts/tb 0:00 grep syslog
# @(#) $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 *
how i can forced ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2006 12:11 AM
02-07-2006 12:11 AM
Re: syslog directory empty
Ready!!!
#/etc> grep -e syslog rc.log
Output from "/sbin/rc2.d/S220syslogd start":
#/etc> cd /sbin/rc2.d/
#/sbin/rc2.d> ./S220syslogd stop
syslogd stopped
#/sbin/rc2.d> ./S220syslogd start
System message logger started
Thanks!!!
MC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2006 12:15 AM
02-07-2006 12:15 AM
Re: syslog directory empty
bdf -i /var
touch /var/adm/syslog/test
ll -d / /var /var/adm /var/adm/syslog
Give results
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2006 12:17 AM
02-07-2006 12:17 AM
Re: syslog directory empty
Are you SURE /var is mounted?
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
02-07-2006 12:24 AM
02-07-2006 12:24 AM
Re: syslog directory empty
Regards,
Miguel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2006 12:25 AM
02-07-2006 12:25 AM
Re: syslog directory empty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2006 12:27 AM
02-07-2006 12:27 AM
Re: syslog directory empty
also check your syslogd file in /etc/rc.config.d/
should contain line:
SYSLOGD_OPTS="-D"
hope this helps too!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2006 12:38 AM
02-07-2006 12:38 AM
Re: syslog directory empty
In /etc/rc.config.d/syslogd
Value is correct!
SYSLOGD_OPTS="-D"
MC