Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: fgra00 on December 06, 2015, 02:31:10 AM

Title: ldap-start: waiting for slapd to start up
Post by: fgra00 on December 06, 2015, 02:31:10 AM
Hallo,
habe unabsichtlich als root   chmod -R 770 /   eingegeben (pfad vergessen).
nun bekomme ich  beim booten nach dem   "ldap" start OK
einige
waiting for  slapd to start up
Meldungen
ausserdem
HAL -Daemon starten  [fehlgeschlagen]
und einige:
loading xxx into mysql    [fehlgeschlagen]

Der Zugriff auf die Daten via über Samba läuft nicht mehr (Netzwerkpfad nicht gefunden)
Im server-manager... Konfiguration/ Software-instrallation wird lediglich angezeigt: Please Wait - Yum Running (postreposetup)
Was tun??

Es geht um einen SME-server 8.2

Danke im Voraus Franz
Title: Re: ldap-start: waiting for slapd to start up
Post by: Stefano on December 06, 2015, 09:55:14 AM
Hi
Welcome here
I saw you posted in german language forum too
Here you have to write in english
Could you please translate it?
Thank You
Title: Re: ldap-start: waiting for slapd to start up
Post by: fgra00 on December 06, 2015, 11:42:17 AM
Hello, sorry for wrote in german language, you are right.
I'ts me who need help!

I'm using   SME 8.2 

While changing the rights to a directory I forgot to write the path to the directory:

logged in as root:
chmod -R 770 /       (forgotto type the path)

Now the windows user have no access to the SME-datas.  (samba  is not working)

While rebooting the SME  I receive following information

  "ldap"  start   [OK]
then
waiting for  slapd to start up     (several times , then continuing)

finaly: HAL -Daemon  start     [fehlgeschlagen]    (not OK)    followed by several:

loading xxx into mysql    [fehlgeschlagen]    [not ok]

In the server-manager Konfiguration/ Software-instrallation     I see permanent: Please Wait - Yum Running (postreposetup)

What is to do to repair the system?

Thanks  Franz
Title: Re: ldap-start: waiting for slapd to start up
Post by: Stefano on December 06, 2015, 11:50:27 AM
try this one:

http://wiki.contribs.org/Useful_Commands#Restore_all_permissions_and_ownership
Title: Re: ldap-start: waiting for slapd to start up
Post by: fgra00 on December 06, 2015, 11:35:44 PM
Yippie, thank you Stefano
The steps I followed to solve the problem:

1) for f in $(rpm -qa); do echo $f; rpm --setugids $f; done
2) for f in $(rpm -qa); do echo $f; rpm --setperms $f; done

3) yum reinstall openldap
4) signal-event post-upgrade; signal-event reboot

In advance I had to modifie the  etc/resove.conf   with the line:    nameserver 8.8.8.8
because Names weren't resolved.
Now the modification is removed.

thanks a lot
Franz  :lol:
Title: Re: ldap-start: waiting for slapd to start up
Post by: guest22 on December 07, 2015, 01:12:44 AM
Don't forget to start your planning to upgrade to SME Server 9.x

Don't forget to add [solved] in front of your topic title.