Is something already running on port 389?  Use netstat with the
following options; it will tell you what program is using 389:

[root@rh71test ~]# netstat -anp | less

You get something that looks like the following:

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address
State       PID/Program name
tcp        0      0 0.0.0.0:512             0.0.0.0:*
LISTEN      723/xinetd
tcp        0      0 0.0.0.0:32768           0.0.0.0:*
LISTEN      536/rpc.statd
tcp        0      0 0.0.0.0:513             0.0.0.0:*
LISTEN      723/xinetd
tcp        0      0 0.0.0.0:514             0.0.0.0:*
LISTEN      723/xinetd
tcp        0      0 0.0.0.0:515             0.0.0.0:*
LISTEN      739/lpd Waiting
tcp        0      0 0.0.0.0:389             0.0.0.0:*
LISTEN      5163/slapd
tcp        0      0 0.0.0.0:901             0.0.0.0:*
LISTEN      723/xinetd
tcp        0      0 0.0.0.0:3306            0.0.0.0:*
LISTEN      26109/mysqld
tcp        0      0 0.0.0.0:139             0.0.0.0:*
LISTEN      1692/smbd

The last column shows what PID and program name has the port open.

Hope this helps,
Andy.


-----Original Message-----
From: Hugo Tavares [mailto:htavares@;vianetworks.pt] 
Sent: Wednesday, October 23, 2002 5:01 AM
Cc: Forum RED-HAT; Forum LDAP
Subject: Can't bind LDAP port 389


Greetings

I can't bind the 389 LDAP port.
when I start slapd, it shows this message:

daemon: socket() failed errno=97 (Address family not supported by
protocol)

but if I start "slapd -h "ldap://127.0.0.1:3000";, it works :| !!!!!

what's wrong?

thnks



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to