Operating System - HP-UX
1833804 Members
2613 Online
110063 Solutions
New Discussion

Bind: Address already in use

 
SOLVED
Go to solution
Jonathan Caplette
Regular Advisor

Bind: Address already in use

Hi guys...

I've got a fast one for u!!! :) Every 10 minutes I got this 8 messages in my syslog.log file:

Aug 2 15:03:32 henry inetd[26127]: dtspc/tcp: bind: Address already in use

Aug 2 15:03:32 henry inetd[26127]: printer/tcp: bind: Address already in use

Aug 2 15:03:32 henry inetd[26127]: fs/tcp: bind: Address already in use

Aug 2 15:03:32 henry inetd[26127]: chargen/tcp: bind: Address already in use

Aug 2 15:03:32 henry inetd[26127]: daytime/tcp: bind: Address already in use

Aug 2 15:03:32 henry inetd[26127]: discard/tcp: bind: Address already in use

Aug 2 15:03:32 henry inetd[26127]: echo/tcp: bind: Address already in use

Aug 2 15:03:32 henry inetd[26127]: time/tcp: bind: Address already in use

Do you know what is the cause of this errors???

Regards
Jonathan
2 REPLIES 2
rick jones
Honored Contributor

Re: Bind: Address already in use

the inetd is trying to allocate the linsten endpoints for those services and is unable to do so because something else already has those port numbers allocted.

you might check the netstat -an output and look for those port numbers (or just netstat -a if you want to see the names instead of the numbers) and possibly consider running a copy of lsof (from the net) to see which process(es) have those port numbers allocated.

i've no idea if this is involved, but is there any chance you are running tcpwrappers?
there is no rest for the wicked yet the virtuous have no pillows
Kevin Wright
Honored Contributor
Solution

Re: Bind: Address already in use

You probably have multiple inetd services running. kill them all and restart one.