Sponsored Content
Full Discussion: Snmpd dying on centos7.1
Operating Systems Linux Red Hat Snmpd dying on centos7.1 Post 302957541 by shekar777 on Monday 12th of October 2015 02:43:16 PM
Old 10-12-2015
Snmpd dying on centos7.1

Hello All,

SNMPD dying after 2 mins once it started. Here is the configuration
Code:
Oct 12 04:43:00 localhost systemd: Starting Simple Network Management Protocol (SNMP) Daemon.... 
Oct 12 04:43:00 localhost snmpd[14942]: dlopen failed: /usr/lib64/libcmaX64.so: cannot open shared object file: No such file or directory 
Oct 12 04:43:00 localhost snmpd[14942]: NET-SNMP version 5.7.2 
Oct 12 04:43:00 localhost systemd: Started Simple Network Management Protocol (SNMP) Daemon.. 
Oct 12 04:44:11 localhost snmpd[14942]: Connection from UDP: [172.28.64.207]:29968-][96.119.181.30]:161 
Oct 12 04:44:12 localhost snmpd[14942]: Connection from UDP: [172.28.64.207]:29968-][96.119.181.30]:161 
Oct 12 04:45:09 localhost kernel: snmpd[14942]: segfault at 0 ip 00007f2c2b814e4b sp 00007ffc4f2766f8 error 4 in libc-2.17.so[7f2c2b6e1000+1b6000] 
Oct 12 04:45:09 localhost systemd: snmpd.service: main process exited, code=killed, status=11/SEGV 
Oct 12 04:45:09 localhost systemd: Unit snmpd.service entered failed state.
 
[root@localhost log]# rpm -qa | grep snmp 
net-snmp-agent-libs-5.7.2-20.el7_1.1.x86_64 
companyname_net-snmp-1.0.1-0.noarch 
net-snmp-libs-5.7.2-20.el7_1.1.x86_64 
net-snmp-devel-5.7.2-20.el7_1.1.x86_64 
net-snmp-utils-5.7.2-20.el7_1.1.x86_64 
net-snmp-5.7.2-20.el7_1.1.x86_64 
[root@localhost log]# uname -as 
Linux localhost 3.10.0-229.11.1.el7.x86_64 #1 SMP Thu Aug 6 01:06:18 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux 
[root@localhost log]# cat /etc/redhat-release 
CentOS Linux release 7.1.1503 (Core)

can you help me on this, I tried to search in google, didnt find anything.

Thanks and Regards
Shekar
 

9 More Discussions You Might Find Interesting

1. Ubuntu

Internet dying in Debian?

For some reason after a while my internet connection dies. I just moved on to Debian from Ubuntu and I can't find the dhclient-program to reconfigure dhcp. Pretty new to *nix's. ONe thing I noticed while rebooting (do get my connection back) is that it configures dhcp and says: reconfigure (or... (1 Reply)
Discussion started by: riwa
1 Replies

2. Programming

Java application dying randomly

Hi, (First post, please be gental!) I have a java app that I am running on unix (centos) But it keeps dying randomly. The times seem random from anything between 3 hours and 3 days. I have a cronjob running to restart it when ever it dies but I would rather this happened less often. ... (2 Replies)
Discussion started by: sm9ai
2 Replies

3. Shell Programming and Scripting

Utilities not dying after script run

Hi folks, Friendly router geek wanting to be a programmer here... So I worked with another guy here and came up with this to capture Unix admin data: #!/bin/ksh # # # Set Default Paths # PATH=/usr/apps/client/bin:$PATH; export PATH... (4 Replies)
Discussion started by: Marc G
4 Replies

4. Linux

CentOS7 systemd-timer

hi moring everyone, i has used systemd-timer running the task, i set every 5 second execute 1 times,but the systemd-timer don't by that also random times execute. what's reason. testest.timer configure ------------------------------------------------------------------------ ... (2 Replies)
Discussion started by: shean
2 Replies

5. UNIX for Advanced & Expert Users

Move NIS Server Solaris 10 to CentOS7

Hi, I hope somebody can help me. I wand to Move my NIS server on Solaris 10 (there are 2 Slaves on Linux) to CentOS7. Do you have any procedures or experience to do this? Thanking in anticipation! (2 Replies)
Discussion started by: Penguin99
2 Replies

6. UNIX for Advanced & Expert Users

Smb & nmb not starting at boot - CentOS7

I would like the smb and nmb to start on boot. In the terminal (as root) I did: /sbin/chkconfig smb --addor chkconfig --add sambaor chkconfig --add /sbin/smbdresault is message like below : error reading information on service smb: No such file or directory Please use CODE tags as... (2 Replies)
Discussion started by: momed131
2 Replies

7. What is on Your Mind?

Are the BSDs dying?

Source a quick google search making clear that this isn't really new, and if we look at our bsd Forum we see that its the only operation systems forum with the last comment dated to June last year, whereas all the others have more recent comments. One comment dated to 2014 is exactly what I... (10 Replies)
Discussion started by: dodona
10 Replies

8. UNIX for Advanced & Expert Users

CentOS7 restoring file capabilities

Quite an obscure question I think. We have a rebuild process for remote sites that allows us to PXE rebuild a till (actually a PC with a touch screen and various fancy bits) running CentOS. The current CentOS5 tills work just fine with a tar image restore and some personalisation. Sadly,... (4 Replies)
Discussion started by: rbatte1
4 Replies

9. UNIX for Beginners Questions & Answers

Stop http service, yum still work CentOS7

Can anyone explain me why yum still working when I stop http service on my localmachine. If I'm not wrong, yum repository use port 80 and 443, so stop http service should technicly stop possibility to install packages ? (6 Replies)
Discussion started by: veloxcbr
6 Replies
snmp_config(4)							   File Formats 						    snmp_config(4)

NAME
snmp_config - overview of Net-SNMP configuration files SYNOPSIS
snmp_config DESCRIPTION
This page gives an overview of the various configuration files used by the Net-SNMP software that is shipped with the Solaris operating system. In a configuration file, lines beginning with a hash character (#) are treated as a comment and are not parsed. Search Order By default, the Net-SNMP applications look for configuration files in the following directories in the order listed: 1. /etc/sma/snmp 2. /usr/sfw/lib 3. $HOME/.snmp In each of these directories, the Net-SNMP applications look for files with the extensions .conf and local.conf, in that order. The default search path described above can be overridden by setting the environment variable SNMPCONFPATH to a colon-separated list of directories. SNMPCONFPATH is used to allow users to place configuration files in specific directories for their application needs. Cur- rently defaulted to /etc/sma/snmp and /usr/local/share/snmp. Applications that store persistent data will also look in the /var/net-snmp directory for configuration files. Switching Configuration Types in Mid-File You can switch in mid-file the configuration type that the parser is supposed to be reading. For example, assume you want to turn on packet dumping output for the agent by default, but you do not want to turn on packet dumping for the rest of the applications (such as snmpget and snmpwalk). Normally, to enable packet dumping, you would enter a line such as the one below in the snmp.conf file: dumpPacket true Such a line turns on packet dumping for all of the applications. Instead, you can put the same line in the snmpd.conf file so that it applies only to the snmpd daemon. However, you need to tell the parser to expect this line. You do this by putting a special, type-specifi- cation token inside square brackets. For example, inside your snmpd.conf file you can enter: [snmp] dumpPacket true This tells the parser to parse the line as if it were inside a snmp.conf file instead of an snmpd.conf file. If you want to parse multiple lines rather than just one, you can make the context switch apply to the remainder of the file or until the next context switch directive by putting the special token on a line by itself: # make this file handle snmp.conf tokens: [snmp] dumpPacket true logTimestamp true # return to our original snmpd.conf tokens: [snmpd] rocommunity mypublic ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWsmcmd | +-----------------------------+-----------------------------+ |Interface Stability |External | +-----------------------------+-----------------------------+ SEE ALSO
snmpd.conf(4), attributes(5), sma_snmp(5) SunOS 5.10 16 Jan 2004 snmp_config(4)
All times are GMT -4. The time now is 08:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy