Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 13th August 2004, 07:18 PM
PBSLuvr Offline
Registered User
 
Join Date: Aug 2004
Location: Ontario, Canada
Posts: 11
Question Cannot restart ldap service - FC1

Hi folks,

I have been trying to duplicate Bynari's Insight Server (email) LDAP structure on my FC1 box. I have been having troubles and have been stopping the ldap service with "service ldap stop" and then removing all files from "/var/lib/ldap" then restarting ldap and trying different things.

The OpenLDAP.org site indicates to stop the server with a "kill ..." statement. However the Redhat docs indicate that "service ldap stop" is the correct way.

I may have done this too many times and now my ldap won't start again. Have I inadvertently corrupted something? I have restored the original slapd.conf but that did not help.

Anyone know how I can correct this? Anyone with experience with Bynari's Insight Server?

Regards
PBSLuvr
Ontario, Canada
Reply With Quote
  #2  
Old 13th August 2004, 10:37 PM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 27
Posts: 7,909
Any errors or interesting things in the logs?

I recommend using the service tool to start and stop things. It's easy.
Reply With Quote
  #3  
Old 16th August 2004, 02:07 PM
PBSLuvr Offline
Registered User
 
Join Date: Aug 2004
Location: Ontario, Canada
Posts: 11
Thanks for responding.

Nothing unusual in the logs, just the records success and failure.

I have been using the service ldap stop/start commands.

I was also using the slap commands extensively (always when ldap was stopped) when I should have perhaps been using the "safer" ldapmodify / add etc. I was stopping the server and deleting the db files several times and the ldap started up ok until it did not restart. I did nothing different than what I had been doing.

I tried slapindex but that did not fix anything. I restored the original slapd.conf but again no luck - it 'should' have worked. It worked originally.

I have the 'gut' feeling that my ldap is all messed up. I suspect that I have to rebuild the ldap. Does this mean rpm hell for me? Haven't rebuilt before Shall I refer this issue to another forum group?

Regards,
PBSLuvr

Last edited by PBSLuvr; 16th August 2004 at 02:18 PM.
Reply With Quote
  #4  
Old 16th August 2004, 03:12 PM
PBSLuvr Offline
Registered User
 
Join Date: Aug 2004
Location: Ontario, Canada
Posts: 11
Tried rpm -ivh --replacepkgs openldap.... the openldap package from the original CD's. That did not fix anything.

Last edited by PBSLuvr; 16th August 2004 at 03:13 PM. Reason: did not freshen
Reply With Quote
  #5  
Old 16th August 2004, 11:18 PM
PBSLuvr Offline
Registered User
 
Join Date: Aug 2004
Location: Ontario, Canada
Posts: 11
Well, of course my newbie approach was to re-install all. Went up to core 2!
Will be more gentle on my LDAP server.
Pray for me.
Reply With Quote
  #6  
Old 16th August 2004, 11:24 PM
PBSLuvr Offline
Registered User
 
Join Date: Aug 2004
Location: Ontario, Canada
Posts: 11
Realized too late after re-installing that I had forgotten to specify the -f slapd.conf for the slapindex command when I was trying to fix my ldap db. Who knows it might've been just the trick.
Reply With Quote
Reply

Tags
fc1, ldap, restart, service

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump


Current GMT-time: 19:17 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat