FirstServed Tech Blog - FirstServed and the Art of Server Tuning

Archive for March, 2009

XenServer 5.0 Hotfix 2 – SNMP issue

Tuesday, March 3rd, 2009

After installing hotfix 2 on your Citrix XenServer 5.0 host, you might notice some problems with the package net-snmpd…

service snmpd start
Starting snmpd: /usr/sbin/snmpd: symbol lookup error: /usr/lib/libnetsnmpagent.so.10: undefined symbol: boot_DynaLoader
[FAILED]
 

Citrix knows of this problem, but for those who cannot wait for a fix, here’s a solution:

  • Enable the CenOS yum repositories, in /etc/yum.repos.d/CentOS-Base.repo
  • Remove the snmp packages and install the new CentOS packages:
    (for the sake of safety, keep a backup)

    • rpm -qa | grep snmp
      net-snmp-libs-5.3.1-19.3.xs361
      net-snmp-5.3.1-24.2.xs367
    • rpm -e --repackage net-snmp-5.3.1-24.2.xs367 net-snmp-libs-5.3.1-19.3.xs361
      warning: /etc/snmp/snmpd.conf saved as /etc/snmp/snmpd.conf.rpmsave
    • yum install net-snmp
    • service snmpd start

 

Your repackaged rpms are in /var/spool/repackage/ .
These packages can be reinstalled using:

rpm -i --nomd5 package.rpm

(Note: you need 2 hyphens before nomd5: --nomd5)

Please keep in mind that deploying thirth party rpms and changing the domain controller (dom0) is not supported by Citrix!