SOLVED Repeating inetd error in messages

Glorious1

Guru
Joined
Nov 23, 2014
Messages
1,211
In /var/log/messages, every 10 minutes I'm getting this:

Code:
Nov  7 06:43:59 Tabernacle inetd[29811]: tftp/udp: bind: Can't assign requested address
Nov  7 06:53:59 Tabernacle inetd[29811]: tftp/udp: bind: Can't assign requested address
Nov  7 07:03:59 Tabernacle inetd[29811]: tftp/udp: bind: Can't assign requested address


I guessed correctly that 29811 was a process id:
Code:
Tabernacle:/var/log$ ps -auxw | grep 29811

USER     PID  %CPU %MEM     VSZ     RSS TT  STAT STARTED         TIME COMMAND

root     29811   0.0   0.0    6496    2504  -  Is   Sun17        0:00.14 /usr/sbin/inetd -wW -C 60 -a 192.0.168.100


I'm guessing Sun17 means it started Sunday at 5 pm, about a week ago. The IP address is the local IP of the laptop I use (successfully) to access the server.

What's going on?
 
Last edited:

Glorious1

Guru
Joined
Nov 23, 2014
Messages
1,211
Investigating further, I see that inetd is some kind of port/socket daemon. It uses a config file /etc/inetd.conf. The only (uncommented) entry I have there is:
tftp dgram udp wait root /usr/libexec/tftpd tftpd -l -s /mnt/Ark/iocage/jails/transmission -u nobody -U 0022 -w
This is setting up the Trivial File Transfer Protocol using udp, directing the user to the transmission jail.

So now I see this is related to my broken FTP settings and my attempts to FTP into the server by any protocol I could. Since I can't set any FTP settings, I eventually got in with SFTP (which actually uses SSH, not FTP).

I killed that inetd process and of course the error messages stopped. That line remained in inetd.conf though. I will delete that so it doesn't come back when I reboot or something.

So, although not completely understood, the problem is solved, except my broken FTP.
 
Top