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#
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)
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)
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)
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)
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)
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)
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)
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)
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)