LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-18-2008, 11:59 AM   #1
ciphyre
Member
 
Registered: Aug 2008
Distribution: FEDORA, RHEL, SLES
Posts: 51

Rep: Reputation: 15
Cool Openldap issue


When I start slapd in a shell I don't get control of the shell back:

/sbin/service ldap start
Checking configuration files for : config file testing succeeded
Starting slapd: [ OK ]

The process is running:

root 15610 15598 0 11:23 pts/4 00:00:00 initlog -q -c /usr/sbin/slapd -u ldap -h ldap:/// -d 5
ldap 15611 15610 0 11:23 pts/4 00:00:00 /usr/sbin/slapd -u ldap -h ldap:/// -d 5

As expected, closing the shell kills the process.

The log out looks like this:

Sep 18 11:02:52 Hostname slapd[15337]: @(#) $OpenLDAP: slapd 2.2.13 (Apr 24 2006 23:00:46) $ root@hs20-bc1-3.build.redhat.com:/usr/src/build/738770-i386/BUILD/openldap-2.2.13/openldap-2.2.13/build-servers/servers/slapd
Sep 18 11:02:52 Hostname slapd[15337]: daemon: IPv6 socket() failed errno=97 (Address family not supported by protocol)
Sep 18 11:02:53 Hostname slapd[15337]: bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December 3, 2003)
Sep 18 11:02:53 Hostname slapd[15337]: bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December 3, 2003)
Sep 18 11:02:53 Hostname slapd[15337]: bdb_db_init: Initializing BDB database
Sep 18 11:02:53 Hostname slapd[15337]: slapd starting

Looks like slpd is not fully started?

Any idea what is going on?

Thanks.
 
Old 09-18-2008, 12:03 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,681

Rep: Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971
Quote:
Originally Posted by ciphyre View Post
When I start slapd in a shell I don't get control of the shell back:

/sbin/service ldap start
Checking configuration files for : config file testing succeeded
Starting slapd: [ OK ]

The process is running:

root 15610 15598 0 11:23 pts/4 00:00:00 initlog -q -c /usr/sbin/slapd -u ldap -h ldap:/// -d 5
ldap 15611 15610 0 11:23 pts/4 00:00:00 /usr/sbin/slapd -u ldap -h ldap:/// -d 5

As expected, closing the shell kills the process.

The log out looks like this:

Sep 18 11:02:52 Hostname slapd[15337]: @(#) $OpenLDAP: slapd 2.2.13 (Apr 24 2006 23:00:46) $ root@hs20-bc1-3.build.redhat.com:/usr/src/build/738770-i386/BUILD/openldap-2.2.13/openldap-2.2.13/build-servers/servers/slapd
Sep 18 11:02:52 Hostname slapd[15337]: daemon: IPv6 socket() failed errno=97 (Address family not supported by protocol)
Sep 18 11:02:53 Hostname slapd[15337]: bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December 3, 2003)
Sep 18 11:02:53 Hostname slapd[15337]: bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December 3, 2003)
Sep 18 11:02:53 Hostname slapd[15337]: bdb_db_init: Initializing BDB database
Sep 18 11:02:53 Hostname slapd[15337]: slapd starting

Looks like slpd is not fully started?

Any idea what is going on?

Thanks.
Is this the same thing posted in another thread?
 
Old 09-18-2008, 12:11 PM   #3
ciphyre
Member
 
Registered: Aug 2008
Distribution: FEDORA, RHEL, SLES
Posts: 51

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by TB0ne View Post
Is this the same thing posted in another thread?
Yes some of the info is the same as I realized my original post was regarding a request for information on the configuration of Openldap and not on an issue running Openldap. I apologize for posting some of the information twice, I figured it was better in a new thread then buried somewhere else.
 
Old 09-18-2008, 12:20 PM   #4
ciphyre
Member
 
Registered: Aug 2008
Distribution: FEDORA, RHEL, SLES
Posts: 51

Original Poster
Rep: Reputation: 15
From my other post - http://www.linuxquestions.org/questi...n-rhel-670839/

Quote:
Originally Posted by TB0ne View Post
Hmm...are things working as long as you DON'T kill the shell? If so, you can try to do a "nohup /sbin/service ldap start 2>&1&", which will create another process, letting you close the shell without killing what you just started.

I see that sldapd is bound to port 389, but I don't see the logs indicating that sldapd has started, only that it is still "starting".
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: OpenLDAP Weekly News Issue 7 LXer Syndicated Linux News 0 01-03-2008 10:20 AM
LXer: OpenLDAP Weekly News Issue 5 LXer Syndicated Linux News 0 11-28-2007 06:40 AM
cyrus-sasl & openldap issue jiawj Slackware 2 09-18-2005 12:53 AM
Linux Netmeeting and OpenLDAP Issue Scooty Linux - Software 0 04-17-2003 12:18 AM
Linux Netmeeting and OpenLDAP Issue Scooty Linux - Networking 0 04-17-2003 12:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration