HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: OLD.syslog.log error
Operating System - HP-UX
1837078
Members
2540
Online
110112
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
07-29-2009 07:05 AM
07-29-2009 07:05 AM
OLD.syslog.log error
Hai to all
I am facing with a strange problem whenever my server undergoes reboot old syslog gets refreshed from that time .that means i am getting only the log data from the last reboot only (both logs oldsyslog.log and syslog.log are showing the same data rather than being updated by the time stamp)
Can i find the same syslogs generated in any other locations other than this so that i can identify any critical changes happened to the server os.
I am facing with a strange problem whenever my server undergoes reboot old syslog gets refreshed from that time .that means i am getting only the log data from the last reboot only (both logs oldsyslog.log and syslog.log are showing the same data rather than being updated by the time stamp)
Can i find the same syslogs generated in any other locations other than this so that i can identify any critical changes happened to the server os.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2009 07:22 AM
07-29-2009 07:22 AM
Re: OLD.syslog.log error
Check you /sbin/init.d/syslogd script. The relevant portion should look like this:
'start')
#
# Set SYSLOGD_OPTS.
#
if [ -f /etc/rc.config.d/syslogd ]; then
. /etc/rc.config.d/syslogd
else
echo "ERROR: /etc/rc.config.d/syslogd defaults file MISSING"
fi
if [ -x /usr/sbin/syslogd -a -f /etc/syslog.conf ]; then
if [ -f /var/adm/syslog/syslog.log ]; then
mv /var/adm/syslog/syslog.log /var/adm/syslog/OLDsyslog.
log
mask=`umask`
umask 022
> /var/adm/syslog/syslog.log
umask $mask
Pete
Pete
'start')
#
# Set SYSLOGD_OPTS.
#
if [ -f /etc/rc.config.d/syslogd ]; then
. /etc/rc.config.d/syslogd
else
echo "ERROR: /etc/rc.config.d/syslogd defaults file MISSING"
fi
if [ -x /usr/sbin/syslogd -a -f /etc/syslog.conf ]; then
if [ -f /var/adm/syslog/syslog.log ]; then
mv /var/adm/syslog/syslog.log /var/adm/syslog/OLDsyslog.
log
mask=`umask`
umask 022
> /var/adm/syslog/syslog.log
umask $mask
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2009 07:44 AM
07-29-2009 07:44 AM
Re: OLD.syslog.log error
Dear peter ,
Thanks for your quick reply
I had checked the the scripts it looks some what similar,what i have to do next so that i can recover my old logs??
Thanks for your quick reply
I had checked the the scripts it looks some what similar,what i have to do next so that i can recover my old logs??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2009 08:04 AM
07-29-2009 08:04 AM
Re: OLD.syslog.log error
unless you can recover them from a backup, then "gone" is "gone"
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP