- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- what are messages and diaglog used for on HP-UX
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
11-01-2004 07:32 AM
11-01-2004 07:32 AM
I need to turn off clean_adm in the config file /etc/rc.config.d/clean to keep the curent version of sulog in place when I reboot. The problem is that /sbin/init.d/clean_adm also rotates diaglog and messages to OLDlogname.
I can't find any occurences on my systems of /var/adm/messages or /var/adm/diaglog.
I want to know what they do before I can disable clean_adm.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 07:40 AM
11-01-2004 07:40 AM
Re: what are messages and diaglog used for on HP-UX
/sbin/init.d/clean_adm
the line:
for LOG in sulog diaglog messages
to
for LOG in diaglog messages
The other two depend on how you configure syslog.conf
If you don't have them, then you don't need to worry - just go ahead and disable /etc/rc.config.d/clean
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 07:41 AM
11-01-2004 07:41 AM
Re: what are messages and diaglog used for on HP-UX
My guess now is that your /etc/syslog.conf file has been custom configured to put certain logging information in those files.
That means you need to look at the syslog.conf file or whatever conf file is pointing data at those files. Then you may be able to deduce the purpose.
I do not believe that those files are standard, at least not on the Base HP-UX OS.
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
11-01-2004 07:42 AM
11-01-2004 07:42 AM
Re: what are messages and diaglog used for on HP-UX
diaglogd is the support tool manager logging daemon cf man (1M) diaglogd.
It logs messages in /var/adm/syslog/syslog.log
They look like
DIAGNOSTIC SYSTEM WARNING:
The diagnostic logging facility is no longer receiving excessive
errors from the I/O subsystem. 39 I/O error entries were lost.
DIAGNOSTIC SYSTEM WARNING:
The diagnostic logging facility has started receiving excessive
errors from the I/O subsystem. I/O error entries will be lost
until the cause of the excessive I/O logging is corrected.
If the diaglogd daemon is not active, use the Daemon Startup command
in stm to start it.
If the diaglogd daemon is active, use the logtool utility in stm
to determine which I/O subsystem is logging excessive errors.
DIAGNOSTIC SYSTEM WARNING:
The diagnostic logging facility is no longer receiving excessive
errors from the I/O subsystem. 24 I/O error entries were lost.
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 07:45 AM
11-01-2004 07:45 AM
Solution/var/adm/messages is generally the place holder for the output of 'dmesg' command. Generally sysadmins enable a cronjob to periodically redirect the output of 'dmesg' into this file so that won't lose any messages.
I believe 'diaglog' was used in old days of HP-UX where the OnlineDiagnostics were were not there. It's outdated and not used anymore. All the diagnostic logs go into /var/stm directory now.
It's not a good idea to modify /sbin/init.d script as they may get replaced during patch installs. So, turn off the switch in /etc/rc.config.d/clean file.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 08:10 AM
11-01-2004 08:10 AM
Re: what are messages and diaglog used for on HP-UX
# NOTE: This script is not configurable! Any changes made to this
# scipt will be overwritten when you upgrade to the next
# release of HP-UX.
#
# WARNING: Changing this script in any way may lead to a system that
# is unbootable. Do not modify this script.
#
#
# Move old log files out of the way.
I know that on other unix systems (old ones)they used to use messages instead of syslog. And your suspuscions on diaglog are the same as mine (its the old way they use to log diaglogd).
I just would have like to know for sure what they were used for.
Thank you all I will disable it know. I will also assign points :-).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 08:14 AM
11-01-2004 08:14 AM