Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2001 05:34:25 -0800 (PST)
From:      Benjamin Ossei <ben@cahostnet.net>
To:        Edwin Groothuis <mavetju@chello.nl>, 
Cc:        questions@freebsd.org
Subject:   Re: Help with errors
Message-ID:  <20010129133425.4F7C136F9@sitemail.everyone.net>

next in thread | raw e-mail | index | archive | help
I will try using sockstat to find out.  I installed xinetd I suppose during my initial install of this machine from the ftp site.  I chose ports and selected the programs there.  This is what I get.

USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     sshd      1213    5 tcp4   24.180.132.54:22      162.6.224.88:2405
nobody   httpd      281   16 tcp4   *:8080                *:*
nobody   httpd      281   17 tcp4   *:80                  *:*
nobody   httpd      280   16 tcp4   *:8080                *:*
nobody   httpd      280   17 tcp4   *:80                  *:*
nobody   httpd      258   16 tcp4   *:8080                *:*
nobody   httpd      258   17 tcp4   *:80                  *:*
nobody   httpd      257   16 tcp4   *:8080                *:*
nobody   httpd      257   17 tcp4   *:80                  *:*
nobody   httpd      256   16 tcp4   *:8080                *:*
nobody   httpd      256   17 tcp4   *:80                  *:*
nobody   httpd      255   16 tcp4   *:8080                *:*
nobody   httpd      255   17 tcp4   *:80                  *:*
nobody   httpd      254   16 tcp4   *:8080                *:*
nobody   httpd      254   17 tcp4   *:80                  *:*
root     httpd      204   16 tcp4   *:8080                *:*
root     httpd      204   17 tcp4   *:80                  *:*
root     sshd       155    4 tcp4   *:22                  *:*
root     sendmail   151    3 tcp4   *:25                  *:*
root     sendmail   151    5 tcp4   *:587                 *:*
root     inetd      146    4 tcp4   *:21                  *:*
root     inetd      146    5 tcp4   *:23                  *:*
root     inetd      146    6 udp4   *:512                 *:*
root     inetd      146    7 udp4   *:518                 *:*
root     ypserv     126    3 udp4   *:*                   *:*
root     ypserv     126    4 udp4   *:1021                *:*
root     ypserv     126    5 tcp4   *:1023                *:*
daemon   portmap    124    3 udp4   *:111                 *:*
daemon   portmap    124    4 tcp4   *:111                 *:*
root     timed      122    3 udp4   *:525                 *:*
root     ntpd       120    4 udp4   *:123                 *:*
root     ntpd       120    5 udp4   192.168.1.1:123       *:*
root     ntpd       120    6 udp4   24.180.132.54:123     *:*
root     ntpd       120    7 udp4   127.0.0.1:123         *:*
root     named      117    4 udp4   *:1024                *:*
root     named      117   20 udp4   192.168.1.1:53        *:*
root     named      117   21 tcp4   192.168.1.1:53        *:*
root     named      117   22 udp4   24.180.132.54:53      *:*
root     named      117   23 tcp4   24.180.132.54:53      *:*
root     named      117   24 udp4   127.0.0.1:53          *:*
root     named      117   25 tcp4   127.0.0.1:53          *:*
root     syslogd    114    4 udp4   *:514                 *:*
root     routed     103    4 icm4   *:*                   *:*
root     routed     103    5 udp4   *:520                 *:*
root     natd        94    3 div4   *:8668                *:*
root     natd        94    4 icm4   *:*                   *:*

USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     sshd       155    3 tcp46  *:22                  *:*
root     inetd      146    8 tcp6   *:21                  *:*
root     inetd      146    9 tcp6   *:23                  *:*

I do see sshd twice on here but I don't know why.  I wil check my rc.conf file.

--- Edwin Groothuis <mavetju@chello.nl>
> wrote:
>On Mon, Jan 29, 2001 at 05:06:17AM -0800, Benjamin Ossei wrote:
>> Jan 28 23:02:24 cafw sshd[221]: error: Bind to port 22 on :: failed: Address already in use.
>> Jan 28 23:02:24 cafw sshd[221]: error: Bind to port 22 on 0.0.0.0 failed: Address already in use.
>
>this means that sshd is trying to open port 22 to listen for incoming
>connections, but that an other program is already listening to that
>port. Use sockstat(1) to see what program that is.
>
>> Jan 28 23:02:24 cafw xinetd[241]: open( /etc/xinetd.conf ) failed: No such file
>
>You've installed xinetd, but you didn't provide it with a configuration
>file. Did you install it via the ports-collection?
>
>Edwin
>
>-- 
>Edwin Groothuis   |           Interested in MUDs? Visit Fatal Dimensions:
>mavetju@chello.nl |                     http://fataldimensions.nl.eu.org/
>------------------+               telnet://fataldimensions.nl.eu.org:4000

_____________________________________________________________
========GET YOUR FREE E-MAIL============
http://freemail.cahostnet.net
Web Hosting http://www.cahostnet.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010129133425.4F7C136F9>