- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: syslog - loghost
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-21-2009 08:25 AM
09-21-2009 08:25 AM
I get this:
#telnet localhost 514
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
/etc/services looks good.
/etc/syslog.conf looks good.
not sure what else to check. I am using tcp wrappers....
Solved! Go to Solution.
- Tags:
- syslog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2009 08:40 AM
09-21-2009 08:40 AM
Re: syslog - loghost
#netstat -anf inet | grep 514
*.514 Idle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2009 09:52 AM
09-21-2009 09:52 AM
Re: syslog - loghost
Only TCP services can be tested with telnet.
Use the "logger" command to test syslog transmission over the network.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2009 09:56 AM
09-21-2009 09:56 AM
Re: syslog - loghost
I've been working on this all day.
On one box Iget this:
#telnet localhost 514
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection to localhost closed by foreign host.
on the problem box, I get this:
# telnet localhost 514
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
I just cant figure it out, whats stopping it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2009 01:07 AM
09-22-2009 01:07 AM
SolutionApparently your problem host has remshd service completely disabled, while the other has it enabled (although possibly protected with a tcpwrapper: a connection that closes immediately after opening is the signature of tcpwrapper rejecting a connection).
The (in-)ability to telnet to port 514/TCP is completely unrelated to the functioning of syslog at 514/UDP.
The TCP and UDP protocols don't share a port number space: both protocols have completely independent sets of 65535 port numbers, although some protocols have been assigned both types of ports for historical reasons (see /etc/services for examples).
The most critical log messages are often something like "HELP! I'm crashing because of X". In a situation like that, the most important thing is to get the message out as quickly as possible, while the system still can do it.
TCP requires a three-way handshake for establishing a connection, which is less than ideal for logging. Syslog is a connectionless "fire-and-forget" protocol, which requires the use of UDP.
MK