Timeout: No Response from localhost


 
Thread Tools Search this Thread
Operating Systems Solaris Timeout: No Response from localhost
# 1  
Old 06-07-2013
Timeout: No Response from localhost

Hi All!

I having an issue when trying to run snmpwalk, so the following command it returns an error:

Code:
bash-3.00# /usr/sfw/bin/snmpwalk -v 2c -c public localhost sysDescr.0
Timeout: No Response from localhost
bash-3.00#

I have checked also:

Code:
bash-3.00# svcs -a | grep sma
online         Mar_24   svc:/application/ssmagent:default
online         13:51:11 svc:/application/management/sma:default
bash-3.00# svcs -a | grep snmp
online         13:36:20 svc:/application/management/snmpdx:default
bash-3.00#


But I am still getting the same error.

On the logs I have:

Code:
bash-3.00# tail /var/log/snmpd.log
Turning on AgentX master support.
Error opening specified endpoint "udp:161"
Server Exiting with code 1
bash-3.00#


Code:
bash-3.00# tail /var/svc/log/application-management-snmpdx:default.log
[ May 17 01:35:02 Executing stop method ("/lib/svc/method/svc-snmpdx stop 85") ]
[ May 17 01:35:07 Method "stop" exited with status 0 ]
[ Jun  7 11:54:08 Enabled. ]
[ Jun  7 11:54:08 Executing start method ("/lib/svc/method/svc-snmpdx start") ]
[ Jun  7 11:54:08 Method "start" exited with status 0 ]
[ Jun  7 13:36:14 Stopping because service restarting. ]
[ Jun  7 13:36:14 Executing stop method ("/lib/svc/method/svc-snmpdx stop 5531") ]
[ Jun  7 13:36:19 Method "stop" exited with status 0 ]
[ Jun  7 13:36:20 Executing start method ("/lib/svc/method/svc-snmpdx start") ]
[ Jun  7 13:36:20 Method "start" exited with status 0 ]

my config file: /etc/sma/snmp/snmpd.conf is:

# rocommunity: a SNMPv1/SNMPv2c read-only access community name
#   arguments:  community [default|hostname|network/bits] [oid]

rocommunity  public

##########################################################################
# SEA subagents dynamically register with the master agent via port 161,
--More--(42%)


So please can someone help?

---------- Post updated at 02:06 PM ---------- Previous update was at 01:59 PM ----------

from this command :

Code:
bash-3.00# /usr/local/bin/lsof -i udp:161
COMMAND PID USER   FD   TYPE        DEVICE SIZE/OFF NODE NAME
java    927 root    5u  IPv4 0x60030049940      0t0  UDP *:snmpd
bash-3.00#

Shouldn´t I have
Code:
snmpd

in the place of
Code:
java

?
# 2  
Old 06-07-2013
Yes, you may have accidentally binded another process (the java process in your lsof output) to port 161. So, when you try to run snmpd, it will fail because it cannot bind to the port.
# 3  
Old 06-07-2013
Timeout: No Response from localhost

So how do I correct that?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Cannot find localhost

I get a "not found" error from this localhost/choice.php ethan@meow:~$ ping 127.0.0.1 PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data. 64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.025 ms 64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.036 m and this ethan@meow:~$ mysql -u... (4 Replies)
Discussion started by: Meow613
4 Replies

2. Debian

Waiting for localhost.

I am getting the message - waiting for localhost. Here are some diagnostic steps I have tried .... root@meow:/home/ethan# cat /var/www/cgi-bin/httpd.conf ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/jkj ServerName 127.0.0.1:80 Listen xx.xx.xx.xx:80 Listen 127.0.0.1:80 ... (1 Reply)
Discussion started by: Meow613
1 Replies

3. UNIX for Advanced & Expert Users

DIG uses localhost

Hi, I have these entries in the /etc/esolv.conf: ------------ domain xxxxxx search yyyyyy nameserver 127.0.0.1 nameserver aaaaaaaaaaaaaaaa nameserver bbbbbbbbbbbbbbbb ------------- When I use 'dig' or 'nslookup' command, like 'dig yahoo.com' it uses the localhost as the server. I... (2 Replies)
Discussion started by: chaandana
2 Replies

4. UNIX for Dummies Questions & Answers

How can I ftp to localhost from terminal ?

How can I ftp to localhost from terminal ? I want to test my localhost user and password.. > ftp localhost Trying ::1... ftp: connect to address ::1: Connection refused Trying fe80::1%lo0... ftp: connect to address fe80::1%lo0: Unknown error: 0 Trying 127.0.0.1... ftp: connect:... (2 Replies)
Discussion started by: aneuryzma
2 Replies

5. Shell Programming and Scripting

SNMP Timeout: No Response from server

When I tried to connect snmp from one server to another server Timeout: No Response from server is comming Pls suggest (0 Replies)
Discussion started by: madhusmita
0 Replies

6. UNIX for Advanced & Expert Users

localhost problem!

hello guys, this morning when I start my pc (gentoo) I get some strange errors about localhost. "Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName" ... Apache the same for my aplications, I have to use the full address of my pc instead of... (1 Reply)
Discussion started by: georgeplus
1 Replies

7. UNIX for Dummies Questions & Answers

AIX localhost error

I have a AIX box. When i ping localhost, it is pinging to some other IP address. When I remove resolv.conf it is working fine. ? What could be the reason ? I have netsvc.conf file with the below given entry hosts=local,bind Many Thanks !! (1 Reply)
Discussion started by: pramodvr
1 Replies

8. Linux

apache@localhost.localdomain

Hello, I am ltrying to find the config file to modify a parameter for apache (I guess). Here, when sending mail using php web form I get a copy of all mail sent from that form, but here is a sample of what I get : From : apache@localhost.localdomain To : myemail@host.com Subject : Mail ... (2 Replies)
Discussion started by: qfwfq
2 Replies

9. UNIX for Dummies Questions & Answers

Finding LocalHost IP Address

I am writing a program that need to be run on several machines. I am running UNIX and wanted to know if there is a command similar to ipconfig (in DOS) that would return the IP Address of the machine that I am working on. (Not just the loopback address of 127.0.0.1). (1 Reply)
Discussion started by: hazard0007
1 Replies

10. UNIX for Dummies Questions & Answers

Unix, Netscape and Localhost

I have configured local host (127.0.0.1) in the hosts file, and the Apache conf file. Why does Netscape take me to a search page when I attempt to go to Http://localhost ?? (4 Replies)
Discussion started by: scruffeone
4 Replies
Login or Register to Ask a Question