inetd
Derrin Morton
derrin at usa.net
Fri Jan 20 09:23:51 GMT 2006
Hi Geraint
Great to find a Linux flavour that is really well documented and does
what it says on the tin. ;-)
Thanks - makes perfect sense. In true UNIX ethos I have done "what I
wanted", without necessarily knowing what I was doing.
I also want to get into website development, perfect platform to test
on, having had an interesting experience with MS IIS.
The /etc/rc.conf does indeed have sshd_enable = yes, have removed
/etc/inetd.conf entry. Was not aware that you could enable sshd in
separate places.
I should have known the pid issue - have killed many processes in my
time (not inetd though) - Thanks again for the cardboard assistance.
Geraint Edwards wrote:
>Derrin Morton <derrin at usa.net> said
> (on Fri, Jan 20, 2006 at 08:56:17AM +0100):
>
>
>>Newbie here
>>
>>
>
>Welcome to BSD. ;)
>
>
>
>>Used the instructions to install the OS and followed the sysinstall
>>program - created the following inetd entries
>>
>>ftp stream tcp46 nowait root /usr/libexec/ftpd ftpd -l
>>login stream tcp46 nowait root /usr/libexec/rlogind rlogind
>>ntalk dgram udp wait root /usr/libexec/ntalkd ntalkd
>>shell stream tcp46 nowait root /usr/libexec/rshd rshd
>>ssh stream tcp46 nowait root /usr/sbin/sshd sshd -i -6
>>telnet stream tcp46 nowait root /usr/libexec/telnetd telnetd
>>
>>
>
>Did you edit these? If so, why? What are you trying to acheive?
>
>
>
>>But the following mesage pops up on the console every 20 minutes or so
>>inetd config : message [476] ssh/tcp: bind: Address already in use
>>
>>
>
>This suggests that sshd is running as a daemon. If that daemon
>has port 22 open, when inetd tries to grab the port, it will fail.
>
>You know you can't do both (use daemons and inetd) for the same
>service (port), right?
>
>I've not used FreeBSD 6 yet, but if it's anything like previous
>versions ;-) then a look in
> /etc/rc.conf
>will tell you if sshd_enable is set positively - which means sshd
>is running as a daemon, and should be disabled in inetd (comment
>out the 'ssh' line for inetd and kill -HUP inetd).
>
>
>
>>where do I find message details (i.e. 476 )
>>
>>
>
>Sorry, can't answer that. I suspect 476 is either the PID of
>inetd or the offending line in the config file.
>
>
>
More information about the Ukfreebsd
mailing list