- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: syslog failed to log error message ......???
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
09-16-2002 11:22 PM
09-16-2002 11:22 PM
syslog failed to log error message ......???
I am using "logger" command within the scripts to send error and notification messages to the local syslog file as well as the syslog file in an remote machine.
Recently, I encountered a strange problem that some of the notification messages were missed out in the remote machine but not the local one.
It should be noted that the remote machine is the centralized logging server that collect all the logs from all Unix servers.
I am wondering what the reason(s) is/are? Is the packet lost or the logger command cannot handle in some situations?
I have used testing machines to simulate the sending messages through loggers command continuous within a period of time. The result was that some of the notification error messages were missed.
What I can conclude so far is that the logger command is not that reliable.
I am thinking to add delays to my script file so that no messages will be sent out concurrently.
All Genius, any idea to address this issue? Appreciated for any additional recommendations!!
Many thanks,
Chris,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2002 11:31 PM
09-16-2002 11:31 PM
Re: syslog failed to log error message ......???
afaik: are you using UDP or TCP pakets to transport the log messages to your log host?
Using tcp: in case of heavy network traffic and receiving a lot of logmessages your loghost possibly isn't able to receive all messages.
Using UDP: with UDP there is no control for successful transport for each paket. So if a paket is lost the sending system doesn't notify it and doesn't send the paket once more.
regards
Dirk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2002 11:32 PM
09-16-2002 11:32 PM
Re: syslog failed to log error message ......???
Does the syslog of the remote machine got any error ? Is the syslog.log an updated one that ensure the syslogd daemon is not hang up ?
Regards,
Patrick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2002 02:56 AM
09-17-2002 02:56 AM
Re: syslog failed to log error message ......???
Further to Dirk's response, check /etc/services - syslog uses UDP.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2002 03:28 AM
09-17-2002 03:28 AM
Re: syslog failed to log error message ......???
in a standard installation you're right, UDP ist the default. But it's also possibel to replace the standard syslogd with another tool like syslog-ng, which also can use TCP instead of UDP.
regards
Dirk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2002 10:10 AM
09-17-2002 10:10 AM
Re: syslog failed to log error message ......???
how do you use logger on the remote machine?
What about 'remsh remote_node logger Hello' or 'on remote_node logger Hello'?
In the first case you have to have an appropriate entry in ~/.rhosts (logger may not run by root). In the second case you should run the rexd from /etc/inetd.conf. An appropriate entry in /var/adm/inetd.sec should be made to allow rexd on the remote node.