[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: help me



Quoting rajashekar rajashekar <shekar_crp@yahoo.com>:

> hi,
> ok I made correct in slapd.config file
> and tried to start(with root perm) slapd again it is
> showing as follows
> 
> daemon_init: <null>
> daemon_init: listen on ldap:///
> daemon_init: 1 listeners to open...
> ldap_url_parse_ext(ldap:///)
> daemon: socket() failed errno=97 (Address family not
> supported by protocol)
> daemon: bind(6) failed errno=98 (Address already in
> use)
> slap_open_listener: failed on ldap:///
> slapd stopped.
> connections_destroy: nothing to destroy.
> 
> thank u, 
> bye
> 
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
> 


Slapd already running...

type these commands :

"netstat -ant | grep 389" and see if this port is open.

"ps -ef | grep slapd" and view the slapd processes

result:
--------
user     number 15811  0 13:46 pts/1    00:00:00 [slapd]
user     number 19308  0 13:46 pts/1    00:00:00 [slapd]
user     number 19310  0 13:46 pts/1    00:00:00 [slapd]
--------
     
stop slapd => kill -INT `cat /path/to/openldap/slapd.pid` 

Verify that slapd not running (ps -ef | grep slapd) and then start slapd again.


If you want start slapd as an another user, change the permission on
/path/to/openldap/installation.
If you had built OpenLDAP with --perfix=/usr/local, you should change permission
on /usr/local/var/openldap/* ; /usr/local/openldap-data/* ;
/usr/local/etc/openldap/* ; .......
=> (chown -R user /path/to/openldap/directory)

Then you'll be able to start slapd as user.
=> slapd -u user

See the documentation => 

http://www.openldap.org/doc/admin21/guide.html


Regards,

Cecile. 






-------------------------------------------------
Mail sent through GFI Mailserver1.0
info: ava@gfi.be