FN17753 - Net-SNMP restarts and is generating core files

From TBwiki
Revision as of 11:39, 27 May 2015 by Lucas Trottier (Talk | contribs)
Jump to: navigation, search


Contents

Reference Number

FN17753


Affected Products

  • TMG800, TMG3200, TMG7800-CTRL
  • Tdev Linux server with (CentOS, RedHat, etc) running Toolpack software


Problem Description

  • snmpd process continuously restarts in a loop.
  • System which are shipped before April 2015 requires this fix.
  • This fix is applicable if you have an older net-snmp version than below. To verify:
[root@TB011107 tbsnmpagent]# rpm -qa | grep snmp
net-snmp-libs-5.3.2.2-25.el5.tb
net-snmp-utils-5.3.2.2-25.el5.tb
net-snmp-5.3.2.2-25.el5.tb


Problem Symptoms

  • core files are observed in tbsnmpagent directory:
/mnt/.0/tb/toolpack/setup/12358/2.8/apps/tbsnmpagent


Solution

Online Procedures

Applicable if the system has internet access with proper DNS configuration and is able to reach the TelcoBridges repositories server.

  • Stop Toolpack
tbtoolpack stop
  • Make sure your system is pointing to the TelcoBridges repositories. Verify the following TelcoBridges repository file:
vim /etc/yum.repos.d/TB-Base.repo
# TelcoBridges-Base.repo
#
# This repository is using TelcoBridges frozen version of CentOS
# to help client installing the required version of the
# applications required to run Toolpack
#

[tb-base]
name=TelcoBridges-$releasever - Base
baseurl=http://repo.telcobridges.com/centos/5/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#released updates
[tb-updates]
name=TelcoBridges-$releasever - Updates
baseurl=http://repo.telcobridges.com/centos/5/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5-tb

  • Get TelcoBridges repository key. If you don't already have them.
cd /etc/pki/rpm-gpg/
wget http://repo.telcobridges.com/centos/RPM-GPG-KEY-CentOS-5
wget http://repo.telcobridges.com/centos/RPM-GPG-KEY-CentOS-5-tb 
  • Update your system to the latest version
yum update
  • Verify the updated net-snmp version. You should see:
[root@TB011107 tbsnmpagent]# yum list net-snmp
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * tb-base: repo.telcobridges.com
 * tb-updates: repo.telcobridges.com
Excluding Packages in global exclude list
Finished
Installed Packages
net-snmp.x86_64                   1:5.3.2.2-25.el5.tb                         installed
  • Start Toolpack
tbtoolpack start

Offline Procedures

Applicable for systems which are behind the firewall in a private network without internet access.

  • Stop Toolpack
tbtoolpack stop
  • Remove net-snmp. Confirm removal with "Y" when prompted.
yum remove net-snmp
  • Manually install below RPMs:
rpm -ivhU net-snmp-libs-5.3.2.2-25.el5.tb.x86_64.rpm
rpm -ivhU net-snmp-5.3.2.2-25.el5.tb.x86_64.rpm
rpm -ivhU net-snmp-utils-5.3.2.2-25.el5.tb.x86_64.rpm
  • Above files can be found at:
http://repo.telcobridges.com/centos/5.5/updates/x86_64/RPMS/
  • Verify the updated net-snmp version. You should see:
[root@TB011107 tbsnmpagent]# yum list net-snmp
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * tb-base: repo.telcobridges.com
 * tb-updates: repo.telcobridges.com
Excluding Packages in global exclude list
Finished
Installed Packages
net-snmp.x86_64                   1:5.3.2.2-25.el5.tb                         installed
  • Start Toolpack
tbtoolpack start
Personal tools