HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Console Message
Operating System - HP-UX
1833431
Members
3235
Online
110052
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
Go to solution
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
09-01-2001 10:14 PM
09-01-2001 10:14 PM
Hi
I have a D class server with terminal console. My problem is some warning/error messages are keep on coming on console. Can I see this messages in some other log files? If yes which is that file. I checked in syslog.log, but it is not getting logged there. How to arrest this console messages?
Thanks in advance
Shahul
I have a D class server with terminal console. My problem is some warning/error messages are keep on coming on console. Can I see this messages in some other log files? If yes which is that file. I checked in syslog.log, but it is not getting logged there. How to arrest this console messages?
Thanks in advance
Shahul
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2001 10:31 PM
09-01-2001 10:31 PM
Solution
Shahul,
Check your /etc/syslog.conf file. All the alert messages will go to console as well to the root mail. The default configuration will not send the alert messages to syslog.log If you don't want them to appear in the console modify your /etc/syslog.conf file to point to some other file. Modify the line that says "*.alert console" to "*.alert /var/adm/syslog.log" or someother file.
It is not recommended to turn off the alert messages appearing on the console. But it's your decision.
-Sri
Check your /etc/syslog.conf file. All the alert messages will go to console as well to the root mail. The default configuration will not send the alert messages to syslog.log If you don't want them to appear in the console modify your /etc/syslog.conf file to point to some other file. Modify the line that says "*.alert console" to "*.alert /var/adm/syslog.log" or someother file.
It is not recommended to turn off the alert messages appearing on the console. But it's your decision.
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2001 11:30 AM
09-02-2001 11:30 AM
Re: Console Message
Start by making sure /etc/syslog.conf has an entry like this:
*.info;mail.none /var/adm/syslog/syslog.log
The mail.none entry keeps all mail messages out of syslog.log. Then signal syslogd to reread it's configuration file:
kill -HUP $(cat /var/run/syslog.pid)
The setting *.info will cause all messages sent to syslogd (at the info level and higher) to be logged into syslog.log. You can test this with the logger command as in:
logger -t LoggerTest -p kern.info -i Testing
You'll see the message logged into syslog.log. and to see the same message logged to the console, there must be a line such as:
*.info;mail. /dev/console
NOTE: some programs ignore Unix convention to report status and errors through syslog and instead, write directly to /dev/console. These messages will not be logged to syslog. The writer of the program needs to change the program.
Bill Hassell, sysadmin
*.info;mail.none /var/adm/syslog/syslog.log
The mail.none entry keeps all mail messages out of syslog.log. Then signal syslogd to reread it's configuration file:
kill -HUP $(cat /var/run/syslog.pid)
The setting *.info will cause all messages sent to syslogd (at the info level and higher) to be logged into syslog.log. You can test this with the logger command as in:
logger -t LoggerTest -p kern.info -i Testing
You'll see the message logged into syslog.log. and to see the same message logged to the console, there must be a line such as:
*.info;mail. /dev/console
NOTE: some programs ignore Unix convention to report status and errors through syslog and instead, write directly to /dev/console. These messages will not be logged to syslog. The writer of the program needs to change the program.
Bill Hassell, sysadmin
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