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

Re: Fwd: RedHat 7.3, OpenLadp and DB Berkeley



I found no usable attachment.

the very old openldap packaging wasn't supplied by Red Hat and obviously
had someone else's vision for installing and running as user, and I
seriously doubt that it's worth the effort to make working at this
stage.

If you are looking to make a working openldap server, you should
probably just forget that ancient stuff and work on setting up current
openldap/db4/openssl/kerberos/cyrus-sasl as outlined on Quanah's
information page...

http://www.stanford.edu/services/directory/openldap/configuration/index.html

Craig

ps - yes, it would make sense to create a user/group ldap and have the
slapd server run as that user

On Wed, 2006-03-08 at 11:01 +0100, Toni Menendez Lopez wrote:
> I dont have any user ldap, look :
> 
> [root@sebas104 platform]# cat /etc/passwd | grep ldap
> [root@sebas104 platform]#  cat /etc/group | grep ldap
> 
> And I donÂt have the script /etc/init.d/ldap but I have the
> /etc7init.d/slapd. I send you attached.
> 
> May be I have to create the user for ldap ?
> 
> I think problem is something about permissions because look the file created
> in the directoy target :
> 
> [root@sebas104 openldap]# ls -la /var/lib/ldap
> total 12
> drwxrwxrwx    2 root     root         4096 Mar  7 17:40 .
> drwxr-xr-x   14 root     root         4096 Mar  7 17:01 ..
> -rw-------    1 root     root            0 Mar  7 17:40 __db.001
> 
> 
> 
> 
> 
> 2006/3/7, Craig White <craigwhite@azapple.com>:
> >
> > On Tue, 2006-03-07 at 16:27 +0100, Toni Menendez Lopez wrote:
> > > can you explain me how this is done , the DB_CONFIG?
> > ----
> > http://www.openldap.org/faq/data/cache/738.html
> > ----
> > >  Which is the LDAP user
> > ----
> > generally on an RH system, there is a user/group 'ldap' but this is all
> > controlled by the method which ldap daemon is started - generally, a Red
> > Hat system would use SysV initialization script which sets that and this
> > would generally be /etc/init.d/ldap (that sets the user name)
> >
> > Craig
> > ----
> > > ?
> > >
> > > Thanks,
> > >
> > > Toni.
> > >
> > > 2006/3/7, Craig White <craigwhite@azapple.com>:
> > > >
> > > > just a guess...that the files (including log files) in your data
> > > > directory aren't owned by your ldap user. Looks like you might need a
> > > > DB_CONFIG for your data directory.
> > > >
> > > > Those are very old and unsupported versions of db4 and openldap you
> > are
> > > > using.
> > > >
> > > > Craig
> > > >
> > > > On Tue, 2006-03-07 at 09:18 +0100, Toni Menendez Lopez wrote:
> > > > > This are packages that I have :
> > > > >
> > > > > BerkeleyDB-4.1.25-20050311.7.3.i686.rpm
> > > > > openldap-clients-servers-2.1.30-20050311.7.3.i686.rpm
> > > > > openldap-configuration-2.1.30-15.7.3.noarch.rpm
> > > > >
> > > > > And this is the error that I have :
> > > > >
> > > > > bdb_initialize: Sleepycat Software: Berkeley DB 4.1.25: (December
> > 19,
> > > > > 2002)
> > > > > bdb_db_init: Initializing BDB database
> > > > > bdb_db_init: Initializing BDB database
> > > > > bdb(ou=CONTENT,o=alcatel,c=fr): write: 0xbfffd720, 8192: Invalid
> > > > > argument
> > > > > bdb_db_open: dbenv_open failed: Invalid argument (22)
> > > > > backend_startup: bi_db_open failed! (22)
> > > > > bdb(ou=CONTENT,o=alcatel,c=fr): txn_begin interface requires an
> > > > > environment configured for the transaction subsystem
> > > > > => bdb_tool_entry_put: txn_begin failed: Invalid argument (22)
> > > > > slapadd: could not add entry dn="ou=CONTENT,o=alcatel,c=fr"
> > (line=4):
> > > > > txn_begin failed: Invalid argument (22)
> > > > > bdb(ou=CONTENT,o=alcatel,c=fr): txn_checkpoint interface requires an
> > > > > environment configured for the transaction subsystem
> > > > > bdb_db_destroy: txn_checkpoint failed: Invalid argument (22)
> > > > > bdb_initialize: Sleepycat Software: Berkeley DB 4.1.25: (December
> > 19,
> > > > > 2002)
> > > > >
> > > > > Any suggestion ?
> > > > >
> > > > > Toni.
> > > > >
> > > > >
> > > > > 2006/3/6, Craig White <craigwhite@azapple.com>:
> > > > >         On Mon, 2006-03-06 at 15:19 +0100, Toni Menendez Lopez
> > wrote:
> > > > >         > Sorry about my previous messages,
> > > > >         >
> > > > >         > I need any king of tutorial or something similar to
> > instalar
> > > > >         OPenLdap, Db
> > > > >         > Berkeley over RedHat7.3. Because I am having lots of
> > > > >         problems and I am not
> > > > >         > able to start the openladp server.
> > > > >         >
> > > > >         ----
> > > > >         stock packages? If so, they are so far out of date that it
> > > > >         doesn't make
> > > > >         much sense to bother with.
> > > > >
> > > > >         Craig
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
> 
>