Sep 1 21:52:44 solar sshd[28003]: log: Closing connection to
163.70.127.240
Sep 1 21:52:47 solar sshd[28502]: log: Connection from 163.70.127.240
port 1425
Sep 1 21:52:47 solar sshd[28502]: log: Could not reverse map address
163.70.127.240.
Sep 1 21:52:47 solar sshd[28502]: error: getpeername failed: Bad file
descriptor
Sep 1 21:52:48 solar sshd[28502]: log: Password authentication for
root accepted.
Sep 1 21:52:48 solar sshd[28502]: log: ROOT LOGIN as 'root' from
163.70.127.240
9/ Tried to login again from the window98, same error appears again.
10/ Tried to login from another window95, same error appears again.
Please help, what is the getpeername failed: Bad file descriptor?
How to fix this error?
Do I have to fix this error or just leave it?
Thanks in advance...
Regards,
Johnny
Sent via Deja.com http://www.deja.com/
Before you buy.
>
> Fix your DNS so that nslookup returns a name for that IP from the
reverse
> lookup zone, or at least make sure that you have names for your Win95
and
> 98 IPs in /etc/hosts.
>
> --
> David Efflandt effl...@xnet.com http://www.de-srv.com/
> http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
> http://hammer.prohosting.com/~cgi-wiz/ http://cgi-
help.virtualave.net/
>
>
Thank you for your reply.
Actually, this redhat server with sshd has been up and run for more
then 3 months without DNS server nor the ip address for window98 and 95
in its /etc/hosts file.
It works fine in the last 3 months, it just could not reverse map
address. The sshd works ok until I type in the wrong password two times
yesterday. The error start appears in /var/log/message - error:
getpeername failed: Bad file descriptor.
Although it looks like DNS+/etc/hosts error, but actually it is not.
Since I have another set of server with same redhat+sshd, but it works
well.
Sorry for my bad english : ), and thank you for your time.
> 6/ Login as root from window 98
> 7/ Everything works fine, memory usage ok, cpu usage ok.
> 8/ But an error appear in the /var/log/message file.
> Sep 1 21:52:47 solar sshd[28502]: log: Could not reverse map address
> 163.70.127.240.
looks like an dns problem:
--> ssh seems to make an reverse lookup for this ip, which fails
if you use dns:
does the ip 163.70.127.240 have any name (eg. host.mydomain.com)??
if yes, make an nslookup for 163.70.127.240
--> guess it will print something like "non-existent host/domain)
out...
--> make an entry in hosts.rev in your dns server
if you donot use dns, for this host,
add the host to your /etc/hosts table
hope it helps
michael pfennich