Koozali.org: home of the SME Server

ldap-start: waiting for slapd to start up

Offline fgra00

  • *
  • 18
  • +0/-0
ldap-start: waiting for slapd to start up
« 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

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: ldap-start: waiting for slapd to start up
« Reply #1 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

Offline fgra00

  • *
  • 18
  • +0/-0
Re: ldap-start: waiting for slapd to start up
« Reply #2 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


Offline fgra00

  • *
  • 18
  • +0/-0
Re: ldap-start: waiting for slapd to start up
« Reply #4 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:

guest22

Re: ldap-start: waiting for slapd to start up
« Reply #5 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.