Snmpd service failed to start on Red Hat 6


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Snmpd service failed to start on Red Hat 6
# 1  
Old 02-13-2017
Snmpd service failed to start on Red Hat 6

Dear community,

I got the following error when I try to start the snmpd service:
Code:
# service snmpd start
Starting snmpd: [FAILED]

Log say:
Quote:
2017-02-13T13:09:54.473284+01:00 bitwiz1 snmpd[3395]: getaddrinfo("bitwiz1-oam", NULL, ...): Temporary failure in name resolution
2017-02-13T13:09:54.473361+01:00 bitwiz1 snmpd[3395]: Error opening specified endpoint "bitwiz1-oam:161"
2017-02-13T13:09:54.473390+01:00 bitwiz1 snmpd[3395]: Server Exiting with code 1
Could someone help please?
Thank you
Lucas

---------- Post updated at 08:07 AM ---------- Previous update was at 07:50 AM ----------

DAMN!!!! Solved my self.... Smilie

In /etc/hosts I had:
Code:
127.0.0.1    bitwiz1-oam

Changed to:
Code:
192.168.65.149     bitwiz1-oam

(192.168.65.149 is the Local Server IP address)

And then:
Code:
# service snmpd start
Starting snmpd:                                            [  OK  ]

I hope, at least, this can be useful to someone! :-)

Last edited by Lord Spectre; 02-13-2017 at 02:09 PM..
These 2 Users Gave Thanks to Lord Spectre For This Post:
# 2  
Old 02-13-2017
Hello Lord Spectre,

Definitely it will be useful for people, could you please add that which configuration file you have made the changes so that a non-unix admin person(eg--> me) could also understand it more clearly. Will be grateful to you.


Thanks,
R. Singh
# 3  
Old 02-13-2017
Quote:
Originally Posted by RavinderSingh13
Hello Lord Spectre,

Definitely it will be useful for people, could you please add that which configuration file you have made the changes so that a non-unix admin person(eg--> me) could also understand it more clearly. Will be grateful to you.


Thanks,
R. Singh
Yes sure, first post edited with related info.

Last edited by Lord Spectre; 02-13-2017 at 02:12 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

[HA] Red Hat 7, pacemaker and start/stop scripts

Hi there, I am wondering if I could add start/stop ksh scripts provided by 3rd party to cluster... I read that script must be ocf/lsb compliant, however, in AIX I can just set up two separate scripts for starting and stopping application. Can similar be done under RH Linux cluster? Cheers, c (1 Reply)
Discussion started by: cyjan
1 Replies

2. Red Hat

Red Hat Cluster Luci Authentication Failed

Hello everyone, I'm setting up a cluster with 2 nodes using Red Hat enterprise 6.2 x86_64, 1 luci and 1 ricci for education purpose. Ricci is installed and already running and luci is installed and running but at the time of add and create the cluster through the web gui it give me a error... (1 Reply)
Discussion started by: typeav
1 Replies

3. UNIX for Dummies Questions & Answers

how to know if i use "Red Hat Enterprise Linux" or "Red Hat Desktop" ?

how to know if i use "Red Hat Enterprise Linux" or "Red Hat Desktop" ? (2 Replies)
Discussion started by: ahmedamer12
2 Replies

4. Red Hat

"ERROR : failed to mount nfs source" Red Hat Kickstart

Hi There, I have been googling for this error and try solution provided but still not avail to resolve Kickstart Issue. Any expert have encounter this problem? Thanks. Regards, Regmaster (4 Replies)
Discussion started by: regmaster
4 Replies

5. Red Hat

VSFTPD Service Failed to Start

Today I have installed VSFTPD but service is failing to start. We have been using standard FTP successful but need to introduce an FTPS option. I have run YUM install VSFTPD and everything appeared to load ok. (If I run rpm - qa | grep vsftpd I get vsftpd-2.0.5-16.el5_4.1 which I... (4 Replies)
Discussion started by: PaulComins
4 Replies

6. Red Hat

vsftpd service failed to start

hi, i am using RHEL 5 and i am not able to on the vsftp i have tried to on the vsftp service using command service vsftpd start Starting vsftpd for vsftpd: i am posting the content of my /etc/xinetd.d/vsftpd file # description: The vsftpd FTP... (2 Replies)
Discussion started by: u.n.i.x
2 Replies

7. Red Hat

Red-hat

Hello, How do I see what IP addresses are connected to my machine? thanks (2 Replies)
Discussion started by: sonomao
2 Replies

8. AIX

Q: how to start a service when system start

As topic, assume we have a service called "blahservice" and we can start it by: startsrc -s blahservice what is the best practice to run such command when system start? - directly use mkitab to add it into /etc/inittab or - drop startup scripts in /etc/rc.d/rcX.d I know they... (4 Replies)
Discussion started by: acerlinux
4 Replies

9. UNIX for Dummies Questions & Answers

Red Hat 7.2.....

I just installed red hat 7.2 on my laptop. it's dual booted with xp and red hat. when i boot in to linux it boots up to the screen to ask me my name and pass....i put in root and my password. after this it goes to a blue screen and sits there. the after about 2 minutes it comes up with a fatal... (1 Reply)
Discussion started by: muzscman
1 Replies
Login or Register to Ask a Question