snmpd fails to start after installing GroupWise High Availability (GWHA)

  • 3736743
  • 08-Jan-2007
  • 05-Jun-2013


Novell GroupWise 7 Support Pack 1
Novell GroupWise 7 Support Pack 1 High Availability
Novell Open Enterprise Server (Linux based) Support Pack 2

GroupWise 7 Support Pack 1 High Availability components are installed on an OES or SUSE Linux server to provide High Availability service for an existing GroupWise Agents on that server.


error: /usr/lib/ undefined symbol: dbg_tokens from GroupWise breaks snmpd binary
the snmp daemon will not start and gives an undefined symbol error on systems that have the Groupwise HA installed


This is not an issue with SLES 10 and later.

The following steps provide a workaround at this time for SLES 9 systems.

Edit the file /etc/sysconfig/net-snmp file and add a LD_LIBRARY_PATH variable at the end of the file so the
correct working library is found by the linker

1. open the file /etc/sysconfig/net-snmp in an editor of your choice

2. add the following two lines to the end of the file


3. save the file and exit the editor

4. restart snmpd

/etc/init.d/snmpd restart

Additional Information

root cause:
The dynamic linker is finding the library /opt/novell/groupwise/agents/lib/ instead of /usr/lib/

steps to duplicate:
1. install GroupWise High Availability packages on a working OES Linux server
2. restart snmpd - example:

server:~ # /etc/init.d/snmpd restart
Shutting down snmpd:
Starting snmpd/usr/sbin/snmpd: symbol lookup error: /usr/lib/ undefined symbol: dbg_tokens
startproc: exit status of parent of /usr/sbin/snmpd: 127

alternate workaround steps:
Another workaround to start the snmpd process to without an error is:

1. comment out the line "/opt/novell/groupwise/agents/lib" in the file /etc/
2. run the ldconfig command to re-generate the linker cache
3. then start or restart snmpd again
4. uncomment the line again in case the gwha processes need to be restarted

This process is manual and requires intervention each time the server is restarted.