Sponsored Content
Operating Systems Solaris Timeout: No Response from localhost Post 302818267 by Neo on Friday 7th of June 2013 08:18:06 AM
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.
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
BINDRESVPORT(3) 					   BSD Library Functions Manual 					   BINDRESVPORT(3)

NAME
bindresvport, bindresvport_sa -- bind a socket to a reserved privileged IP port LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <sys/types.h> #include <rpc/rpc.h> int bindresvport(int sd, struct sockaddr_in *sin); int bindresvport_sa(int sd, struct sockaddr *sa); DESCRIPTION
bindresvport() and bindresvport_sa() are used to bind a socket descriptor to a reserved privileged IP port, that is, a port number in the range 0-1023. The routine returns 0 if it is successful, otherwise -1 is returned and errno set to reflect the cause of the error. If sin is a pointer to a struct sockaddr_in then the appropriate fields in the structure should be defined. Note that sin->sin_family must be initialized to the address family of the socket, passed by sd. If sin->sin_port is '0' then a port (in the range 600-1023) will be cho- sen, and if bind(2) is successful, the sin->sin_port will be updated to contain the allocated port. If sin is the NULL pointer, a port will be allocated (as above). However, there is no way for bindresvport() to return the allocated port in this case. getsockname(2) can be used to determine the assigned port. Only root can bind to a privileged port; this call will fail for any other users. Function prototype of bindresvport() is biased to AF_INET socket. bindresvport_sa() acts exactly the same, with more neutral function proto- type. Note that both functions behave exactly the same, and both support AF_INET6 sockets as well as AF_INET sockets. RETURN VALUES
If the bind is successful, a 0 value is returned. A return value of -1 indicates an error, which is further specified in the global errno. ERRORS
[EPFNOSUPPORT] If second argument was supplied, and address family did not match between arguments. bindresvport() may also fail and set errno for any of the errors specified for the calls bind(2), getsockopt(2), or setsockopt(2). SEE ALSO
bind(2), getsockname(2), getsockopt(2), setsockopt(2), ip(4) BSD
January 27, 2007 BSD
All times are GMT -4. The time now is 07:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy