- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: syslog not updating
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
тАО06-25-2010 11:48 PM
тАО06-25-2010 11:48 PM
I have PA-RISC rp4440 server with hp-ux 11.11
in /var/adm/syslog/syslog.log log is not updating the syslog.log file is empty
pls suggestion how to solve this problem
Regds
Rajesh
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2010 11:50 PM
тАО06-25-2010 11:50 PM
Re: syslog not updating
see the below output
$ more /var/adm/syslog/syslog.log
$
Regds
Rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2010 11:58 PM
тАО06-25-2010 11:58 PM
SolutionCheck syslogd is running. Is there any errors in rc.log
when it is noticed for the firsttime?
use #logger command and just try to log something manually
Regards,
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2010 11:58 PM
тАО06-25-2010 11:58 PM
Re: syslog not updating
You can find a factory default version of the configuration file at /usr/newconfig/etc/syslog.conf. To see the differences, use this command:
diff /usr/newconfig/etc/syslog.conf /etc/syslog.conf
Is the syslogd daemon running? If it has died (for example, because the system has been completely out of memory for a while, then recovered without rebooting), syslog messages won't be stored anywhere.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2010 12:02 AM
тАО06-26-2010 12:02 AM
Re: syslog not updating
by
/sbi/init.d/syslogd stop
/sbi/init.d/syslogd start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2010 12:41 AM
тАО06-26-2010 12:41 AM
Re: syslog not updating
Check below syslog file permissions and demon alive or dead.
# cd /var/adm/syslog/
# ll
total 20112
-rw-r--r-- 1 root root 9083 May 28 00:26 OLDsyslog.log
-r--r--r-- 1 root root 10236438 Jun 26 11:09 mail.log
-rw-r--r-- 1 root root 19059 Jun 26 01:04 syslog.log
# ps -ef |grep syslog*
# ps -ef |grep syslogd
root 631 1 0 May 28 ? 0:01 /usr/sbin/syslogd -D
#
Rgd's
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2010 01:10 AM
тАО06-26-2010 01:10 AM
Re: syslog not updating
thank you very much for your support
i think my syslogd file is correpted i copy the syslogd file from another same server configuration after re start the syslog now it is working
is this correct way?
Thank & Regds
Rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2010 01:27 AM
тАО06-26-2010 01:27 AM
Re: syslog not updating
cp /var/adm/syslog/syslog.log /var/adm/syslog/syslog.log.old
empty the syslog file by
>/var/adm/syslog/syslog.log
tail -100 /var/adm/syslog/syslog.log.old >> /var/adm/syslog/syslog.log
/sbin/init.d/syslogd start
then you can delete /var/adm/syslog/syslog.log.old
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2010 02:30 AM
тАО06-26-2010 02:30 AM
Re: syslog not updating
SSJ
sorry i did it rplace the syslogd thankyou
Regds
Rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2010 02:31 AM
тАО06-26-2010 02:31 AM