- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Difference between OLDsyslog.log and syslog.log
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
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-19-2005 01:17 PM
тАО11-19-2005 01:17 PM
What is the difference between OLDsyslog.log and syslog.log in /var/adm/syslog/ directory ?
Thanks,
Shiv
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2005 01:24 PM
тАО11-19-2005 01:24 PM
SolutionBoth of them are system logs. syslog.log is the current system log and all the system events will be reported in it since last reboot.
OLDsyslog.log is the system log for all system events prior to previous reboot.
In Fact syslog.log get moved to OLDsyslog.log during reboot.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2005 02:06 PM
тАО11-19-2005 02:06 PM
Re: Difference between OLDsyslog.log and syslog.log
When ever a system is rebooted the syslog.log file will be saved as OLDsyslog.log and the syslog.log will be flushed out. The syslog.log will be then logged with those events, after the reboot.
The OLDsyslog can be reviwed in case if the system reboots abruptly or u are forced to take a reboot after system panic. etc..
Regards,
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2005 02:26 AM
тАО11-20-2005 02:26 AM
Re: Difference between OLDsyslog.log and syslog.log
1.
/var/adm/syslog/syslog.log is the current syslog.log file.
If a system reboots , this file moved as OLDsyslog.log , and after reboot new syslog.log resides there.
2. So for for than 1 reboot , if one want the log file to be preserved , one should manually copy the OLDsyslog.log file to some other place , else it will be over written
Hope this will help.
Enjoy ,
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 05:51 PM
тАО12-19-2005 05:51 PM
Re: Difference between OLDsyslog.log and syslog.log
May I know which scripts that will move the syslog.log to OLDsyslog.log during reboot?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 06:20 PM
тАО12-19-2005 06:20 PM
Re: Difference between OLDsyslog.log and syslog.log
syslogd: mv /var/adm/syslog/syslog.log /var/adm/syslog/OL
Dsyslog.log
# pwd
/sbin/init.d
# cd ..
# ll rc*.d/*syslogd
lrwxr-xr-x 1 root root 20 Dec 17 2004 rc1.d/K780syslogd -> /
sbin/init.d/syslogd
lrwxr-xr-x 1 root root 20 Dec 17 2004 rc2.d/S220syslogd -> /
sbin/init.d/syslogd
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 06:42 PM
тАО12-19-2005 06:42 PM
Re: Difference between OLDsyslog.log and syslog.log
/sbin/init.d/syslogd which will move syslog.log to OLDsyslog.log file.
-Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 06:42 PM
тАО12-19-2005 06:42 PM
Re: Difference between OLDsyslog.log and syslog.log
Dear Shiv,
It is ,
/sbin/init.d/syslogd
go thru the above,
With Regards,
Siva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 06:56 PM
тАО12-19-2005 06:56 PM
Re: Difference between OLDsyslog.log and syslog.log
# /sbin/init.d/syslogd
usage: /sbin/init.d/syslogd {start|stop}
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 08:46 PM
тАО12-19-2005 08:46 PM
Re: Difference between OLDsyslog.log and syslog.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2005 02:43 AM
тАО12-20-2005 02:43 AM
Re: Difference between OLDsyslog.log and syslog.log
All the things about syslogd seem are said!!!
Ok..what can i do?
hmmmmm...i can give some links about syslogd
Here are they;
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=184579
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=741077
Good luck,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2005 05:19 AM
тАО12-20-2005 05:19 AM
Re: Difference between OLDsyslog.log and syslog.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2005 06:03 AM
тАО12-20-2005 06:03 AM
Re: Difference between OLDsyslog.log and syslog.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2005 06:35 AM
тАО12-20-2005 06:35 AM
Re: Difference between OLDsyslog.log and syslog.log
Syslogd collects messages from the UNIX domain socket /dev/log.un, an
Internet domain socket specified in /etc/services, the named pipe
/dev/log, and from the kernel log device /dev/klog. By default, local
programs calling syslog() send log messages to the UNIX domain socket
(see syslog(3C)). If UNIX domain sockets are not configured on the
system, they write to the named pipe instead. If INET domain sockets
are not configured, syslogd does not receive messages forwarded from
other hosts, nor does it forward messages (see below).
Each message is one line. A message can contain a priority code and
facility code as the second field of the line.
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2005 06:39 AM
тАО12-20-2005 06:39 AM
Re: Difference between OLDsyslog.log and syslog.log
Here are the facilities from syslogd daemon:
-------------------------------------------
--kernel messages.
--random user-level messages.
--mail systems.
--system daemons.
--security/authorization messages.
--messages generated internally by syslogd.
--line printer subsystem messages .
--------------------------------------------
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2005 06:42 AM
тАО12-20-2005 06:42 AM
Re: Difference between OLDsyslog.log and syslog.log
It also depends on how your /etc/syslogd.conf is configured.
In there you can specify where and what you want to log.
GoodLuck
Darrel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2005 07:07 AM
тАО12-20-2005 07:07 AM
Re: Difference between OLDsyslog.log and syslog.log
Shiv , here how a syslog.conf should be look like ,
------------------------------------------
# cat /etc/syslog.conf
# @(#)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 *
*.debug @gudvadm
# Tivoli logfile adapter entry, ID=
*.emerg;*.alert;*.crit;*.err;*.warning;*.notice;*.info /tmp/.tivoli/.tecad_logfile.fifo.ddsapd02.
# End of logfile adapter entry, ID=
------------------------------------------
you can configure as per your need.
hth,
Raj.