- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP-UX 11.31: net-snmp no longer works after recen...
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
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
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
08-28-2017 11:44 AM
08-28-2017 11:44 AM
HP-UX 11.31: net-snmp no longer works after recent patches
We had configured net-snmp and had it working OK.
Over this past weekend we applied a package of suggested patches.
Now net-snmp is not working.
The error message is
Error opening specified endpoint "udp:W.X.Y.Z:161"
Changing to "tcp:W.X.Y.Z:161" in the config file gets it running again, and it shows up on both tcp and udp port 161
We are running as root. I don't see any other processes on the 161 port.
What's up with the udp/tcp issue?
- Tags:
- hp-ux snmp net-snmp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2017 03:22 AM
09-04-2017 03:22 AM
Re: HP-UX 11.31: net-snmp no longer works after recent patches
How are you checking the port?
Since SNMP normally runs on top of UDP, it won't look like the usual TCP listener.
This is how the standard OpenView SNMP agent of HP-UX looks like in netstat output:
# netstat -anf inet |grep 161 udp 0 0 *.161 *.*
Note that there is no "LISTEN" keyword in the rightmost column.
Using the lsof command, it might be easier to find the process:
# lsof -i udp:161 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME snmpdm 1457 root 6u IPv4 0x43959900 0t0 UDP *:snmp (Idle)
Depending on exactly how you've stopped the HP-UX standard SNMP agent, it is possible that patching might have replaced the file you had modified to replace the standard agent with net-snmp and thus caused the standard agent to activate again, grabbing the UDP/161 port for itself.
If /etc/rc.config.d/SnmpMaster file contains setting SNMP_MASTER_START=1, or if the setting does not exist at all, the standard agent will start at boot.