On 2007-02-26 10:30, Noah <[EMAIL PROTECTED]> wrote:
> Hi there,
> 
> any clues why sshd is attempting to start twice?
> 
> sshd[836]: error: Bind to port 22 on :: failed: Address already in use.
> sshd[836]: error: Bind to port 22 on 0.0.0.0 failed: Address already in use.
> 
> here is the /etc/rc.conf of the server:
> 
> -- sysinstall generated deltas -- # Fri Jan 26 05:42:42 2007
> # Created: Fri Jan 26 05:42:42 2007
> # Enable network daemons for user convenience.
> # Please make all changes to this file, not to /etc/defaults/rc.conf.
> # This file now contains just the overrides from /etc/defaults/rc.conf.
> linux_enable="YES"
> named_enable="YES"
> moused_enable="YES"
> nfs_client_enable="YES"
> nfs_server_enable="YES"
> rpcbind_enable="YES"
> sshd_enable="YES"
> sshd_program="/usr/local/sbin/sshd"
> sshd_flags="-f /etc/ssh/sshd_config"
> usbd_enable="YES"
> ntpd_enable="YES"
> ntpd_flags="-c /etc/ntp/ntp.conf"
> ntupdate="YES"
> ntpdate_config="/etc/ntp/ntp.conf"
> nfs_client_enable="YES"
> nfs_client_flags="-n 4"
> inetd_enable="YES"
> syslog_ng_enable="YES"
> syslog_ng_pid="/var/run/syslog-ng.pid"

I see you have switched the `rc.conf' path of sshd to point to the
version of sshd in `/usr/local/sbin'.  Make sure that you don't have
*both* this setting *and* an executable script in /usr/local/etc/rc.d :-)

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to