Author Topic: [SOLVED] Problem installing Users and Groups module  (Read 2508 times)

johanlb

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
[SOLVED] Problem installing Users and Groups module
« on: September 20, 2012, 11:34:36 am »
Hi,

When I tried to install Users module, I got this alert from zentyal :
Quote
"The following packages are not properly installed. You need to fix this before trying to use them or install new modules."

I tried :

Code: [Select]
sudo dpkg --configure -a
It asked me to choose LDAP Admin password. OK.
But it failed again :

Quote
sudo dpkg --configure -a
Paramétrage de slapd (2.4.28+51~precise1) ...
  Moving old database directory to /var/backups:
  - directory unknown... done.
  Creating initial configuration... done.
  Creating LDAP directory... done.
 * Starting OpenLDAP slapd                                                                                               [fail]
invoke-rc.d: initscript slapd, action "start" failed.
dpkg : erreur de traitement de slapd (--configure) :
 le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
dpkg : des problèmes de dépendances empêchent la configuration de zentyal-users :
 zentyal-users dépend de slapd (>= 2.4.15) ; cependant :
 Le paquet slapd n'est pas encore configuré.
dpkg : erreur de traitement de zentyal-users (--configure) :
 problèmes de dépendances - laissé non configuré
dpkg : des problèmes de dépendances empêchent la configuration de slapd-smbk5pwd :
 slapd-smbk5pwd dépend de slapd (= 2.4.28+51~precise1) ; cependant :
 Le paquet slapd n'est pas encore configuré.
dpkg : erreur de traitement de slapd-smbk5pwd (--configure) :
 problèmes de dépendances - laissé non configuré
dpkg : des problèmes de dépendances empêchent la configuration de zentyal-mail :
 zentyal-mail dépend de zentyal-users ; cependant :
 Le paquet zentyal-users n'est pas encore configuré.
dpkg : erreur de traitement de zentyal-mail (--configure) :
 problèmes de dépendances - laissé non configuré
dpkg : des problèmes de dépendances empêchent la configuration de zentyal-samba :
 zentyal-samba dépend de zentyal-users ; cependant :
 Le paquet zentyal-users n'est pas encore configuré.
dpkg : erreur de traitement de zentyal-samba (--configure) :
 problèmes de dépendances - laissé non configuré
dpkg : des problèmes de dépendances empêchent la configuration de zentyal-zarafa :
 zentyal-zarafa dépend de zentyal-mail ; cependant :
 Le paquet zentyal-mail n'est pas encore configuré.
dpkg : erreur de traitement de zentyal-zarafa (--configure) :
 problèmes de dépendances - laissé non configuré
dpkg : des problèmes de dépendances empêchent la configuration de zentyal-printers :
 zentyal-printers dépend de zentyal-samba ; cependant :
 Le paquet zentyal-samba n'est pas encore configuré.
dpkg : erreur de traitement de zentyal-printers (--configure) :
 problèmes de dépendances - laissé non configuré
Des erreurs ont été rencontrées pendant l'exécution :
 slapd
 zentyal-users
 slapd-smbk5pwd
 zentyal-mail
 zentyal-samba
 zentyal-zarafa
 zentyal-printers


I tried again :

Code: [Select]
sudo dpkg --configure -a
and obtain these errors :

Quote
Paramétrage de slapd (2.4.28+51~precise1) ...
  Moving old database directory to /var/backups:
  - directory unknown... done.
  Creating initial configuration... done.
  Creating LDAP directory... done.
 * Starting OpenLDAP slapd                                                                                               [fail]
invoke-rc.d: initscript slapd, action "start" failed.
dpkg : erreur de traitement de slapd (--configure) :
 le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1

Please can someone help me to fix this ? I'm really new to zentyal and linux… so really lost :(

Thanks !

Johan

 
« Last Edit: September 21, 2012, 09:03:52 am by johanlb »

jjm1982

  • Zen Warrior
  • ***
  • Posts: 200
  • Karma: +7/-0
    • View Profile
Re: Problem installing Users and Groups module
« Reply #1 on: September 20, 2012, 01:55:02 pm »
I recommend purging the users and group modules and the LDAP modules to remove all configuration files; only because you said you were new to Zentyal and linux.

Otherwise, you can attempt to install Eclipse with LDAP support to connect to the LDAP database. The user name and password should be listed in a submenu under Users and Groups in Zentyal I believe. (I don't have Zentyal in front of me at the moment so I'm unsure of the exact location).

The issue most likely revolves around the inability to connect to the LDAP database. You can increase verbosity of the LDAP logs and watch syslog for errors; located in /etc/LDAP/cn=config/cn=config; I think?

This is where Google becomes your best friend.

I was unable to Enable the Users module after a failed upgrade from Zentyal 2.0 to 2.2 (thread http://forum.zentyal.org/index.php/topic,11917.0.html) that took me four days to resolve.

johanlb

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: [SOLVED] Problem installing Users and Groups module
« Reply #2 on: September 21, 2012, 09:07:46 am »
Quote
I recommend purging the users and group modules and the LDAP modules to remove all configuration files; only because you said you were new to Zentyal and linux.

I want to really thank you for your help !

I purged users and group module but also needed to purge DHCP module + DNS conf, and after that, users module + file sharing installs and works now like a charm :)

Johan

jjm1982

  • Zen Warrior
  • ***
  • Posts: 200
  • Karma: +7/-0
    • View Profile
Re: [SOLVED] Problem installing Users and Groups module
« Reply #3 on: September 21, 2012, 09:11:45 pm »
Quote
I recommend purging the users and group modules and the LDAP modules to remove all configuration files; only because you said you were new to Zentyal and linux.

I want to really thank you for your help !

I purged users and group module but also needed to purge DHCP module + DNS conf, and after that, users module + file sharing installs and works now like a charm :)

Johan

You're Welcome!

robb

  • Guest
Re: [SOLVED] Problem installing Users and Groups module
« Reply #4 on: September 22, 2012, 12:24:17 am »
Can you also confirm creating fileshares and accessing them works after purging and re-installing them?

johanlb

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: [SOLVED] Problem installing Users and Groups module
« Reply #5 on: September 24, 2012, 11:39:33 pm »
Yes, file sharing works. Only one problem for now, I had to set access rights for this share to "Administrator" to be able to browse file share from Mac OS X 10.8 clients. ?!

If I only give Read or Read&Write privileges, Mac OS X complains :"You don't have rights to access this server", and mounting the folder shared failed.

I didn't have time yet to check if the problem is the same with Windows clients.

Johan