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

Re: help me



Quoting rajashekar rajashekar <shekar_crp@yahoo.com>:

> 
> hi,
> thank u.
>  I executed 
> /usr/local/openldap/libexec/slapd -d 255
> 
> I got
> @(#) $OpenLDAP: slapd 2.1.17(Apr 26 2003 10:21:30) $
> 
> krishna@aryabhatta:/home/krishna/tmp/openldap-2.1.17/servers/slapd
> 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=13 (permission denied)
> slap_open_listener: failed on ldap:///
> slapd stopped.
> connections_destroy: nothig to destroy.
> 
> rajashekar
> bye
> 
> --- Cécile Leyman <cecile.leyman@gfi.be> wrote:
> > Quoting rajashekar rajashekar
> > <shekar_crp@yahoo.com>:
> > 
> > > hi, 
> > > I downloaded the open ldap s/w version 2.2.17 , 
> > >  for that  I am using berkeley db version 4.1.25.
> > > I configured db and installed ber-db successfully.
> > > 
> > > while configuring ldap it gave me error
> > (specifically
> > > about incompatible db version error ).
> > > so that I gave command asfollows
> > > $: en
> > CPPFLAGS="-I/usr/local/BerkeleyDB.4.1/inlcude"
> > > LDFLAGS="-L/usr/local/BerkeleyDB.4.1/lib"
> > ./configure
> > > --prefix=/usr/local/openldap
> > > 
> > > I am able to configure  ldap successfully. And 
> > > compiled and installed too.
> > > 
> > > I updated "slapd.conf" file at the end as follows
> > > ###############################################
> > > # ldb database definitions
> > > ###############################################
> > > 
> > > database         bdb
> > > suffix           "dc=melonfire,dc=com"
> > > rootdn            "cn=root, dc=melofire,dc=com"
> > >  
> > > At the beginning I added two lines
> > > # include  
> > >
> >
> /usr/local/openldap/etc/openldap/schema/cosine.schema
> > > 
> > > # include
> > > /usrlocal/openldap/schema/inetorgperson.schema
> > 
> > include
> > /usr/local/openldap/etc/openldap/schema/core.schema
> > include
> >
> /usr/local/openldap/etc/openldap/schema/cosine.schema
> > include
> > /usr/local/openldap/schema/inetorgperson.schema
> > 
> > > 
> > > But the thing is when I am tried to execute 
> > > slapd by path /usr/local/openldap/libexec/slapd
> > > 
> > > it is going to exit immediately without any
> > indication
> > > 
> > > or fault.
> > 
> > /usr/local/openldap/libexec/slapd -d 255
> > send the result (error message) to the list.
> > 
> > > So please give me suggestion to overcome this
> > problem.
> > > it's very urgent.
> > > 
> > > 
> > > __________________________________
> > > Do you Yahoo!?
> > > The New Yahoo! Search - Faster. Easier. Bingo.
> > > http://search.yahoo.com
> > > 
> > 
> > 
> > 
> > Regards,
> > 
> > Cecile.
> > 
> > 
> > -------------------------------------------------
> > Mail sent through GFI Mailserver1.0
> > info: ava@gfi.be
> 
> 
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
> 

Here is the error message :

.....
daemon: bind(6) failed errno=13 (permission denied)
slap_open_listener: failed on ldap:///
slapd stopped.
connections_destroy: nothig to destroy.
...

Become root to execute slapd (not recommended)

OR

Change permission (chown -R krishna /usr/local/openldap) and start slapd with -u
flags.
=> /usr/local/openldap/libexec/slapd -d 255 -u krishna 


Regards,

Cecile.

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