Zentyal Forum, Linux Small Business Server
Zentyal Server => Installation and Upgrades => Topic started by: johanlb on September 20, 2012, 11:34:36 am
-
Hi,
When I tried to install Users module, I got this alert from zentyal :
"The following packages are not properly installed. You need to fix this before trying to use them or install new modules."
I tried :
sudo dpkg --configure -a
It asked me to choose LDAP Admin password. OK.
But it failed again :
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 :
sudo dpkg --configure -a
and obtain these errors :
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
-
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 (http://forum.zentyal.org/index.php/topic,11917.0.html)) that took me four days to resolve.
-
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
-
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!
-
Can you also confirm creating fileshares and accessing them works after purging and re-installing them?
-
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