Re: [SOGo] On both VMWare and VirtualBox appliance, ldap's don't work.

2011-12-15 Thread Francis Lachapelle
Hi Thomas

On 2011-12-13, at 8:50 AM, Thomas wrote:

> Hi,
> 
> Regarding the demos appliance available on the website, i'm unable to
> get the local ldap daemon working

It was a configuration error. It's fixed with the new release (1.3.11) of the 
ZEG :

http://www.sogo.nu/english/downloads/zeg.html

Can you also simply fix it if you want to stick to 1.3.10 :

sudo mv /etc/ldap/slapd.d/cn\=config/olcBackend\=\{1\}hdb.ldif 
/etc/ldap/slapd.d/cn\=config/olcBackend\=\{0\}hdb.ldif

> Dec  2 17:28:54 sogo slapd[573]: @(#) $OpenLDAP: slapd 2.4.23 (Nov 14
> 2011 20:36:29) 
> $#012#011buildd@yellow:/build/buildd/openldap-2.4.23/debian/build/servers/slapd
> Dec  2 17:28:54 sogo slapd[574]: slapd starting
> Dec  2 17:31:40 sogo slapd[574]: hdb_db_open: database
> "dc=example,dc=com": unclean shutdown detected; attempting recovery.
> Dec  2 17:31:40 sogo slapd[574]: connection_read(16): no connection!
> Dec  2 17:31:40 sogo slapd[574]: connection_read(16): no connection!
> Dec  2 17:54:11 sogo slapd[574]: conn=1002 op=0 do_extended:
> unsupported operation "1.3.6.1.4.1.1466.20037"
> Dec  2 17:54:22 sogo slapd[574]: conn=1004 op=0 do_extended:
> unsupported operation "1.3.6.1.4.1.1466.20037"
> Dec  2 17:54:43 sogo slapd[574]: conn=1006 op=0 do_extended:
> unsupported operation "1.3.6.1.4.1.1466.20037"
> Dec  2 17:55:04 sogo slapd[574]: conn=1008 op=0 do_extended:
> unsupported operation "1.3.6.1.4.1.1466.20037"
> Dec  2 17:58:54 sogo slapd[574]: bdb(dc=nodomain): PANIC: fatal region
> error detected; run recovery
> Dec  2 18:28:54 sogo slapd[574]: bdb(dc=nodomain): PANIC: fatal region
> error detected; run recovery
> Dec 13 07:12:39 sogo slapd[875]: @(#) $OpenLDAP: slapd 2.4.23 (Nov 14
> 2011 20:36:29) 
> $#012#011buildd@yellow:/build/buildd/openldap-2.4.23/debian/build/servers/slapd
> Dec 13 07:12:39 sogo slapd[875]: olcSuffix: value #0: 
> namingContext "dc=example,dc=com" already served by a preceding hdb
> database serving namingContext "dc=example,dc=com"
> Dec 13 07:12:39 sogo slapd[875]: config error processing
> olcDatabase={2}hdb,cn=config:  namingContext
> "dc=example,dc=com" already served by a preceding hdb database
> Dec 13 07:12:39 sogo slapd[875]: slapd stopped.
> Dec 13 07:12:39 sogo slapd[875]: connections_destroy: nothing to destroy.
> 
> 
> it seems that on the 2 of December, when the virtual appliance was
> created, the ldap database was out of order, so when we download the
> applicance we can't make it work.
> 
> are there any backup of the ldap directory somewere ?
> 
> thanks
> 
> T

--
flachape...@inverse.ca :: +1.514.755.3640 :: http://www.inverse.ca
Inverse :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)

-- 
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] On both VMWare and VirtualBox appliance, ldap's don't work.

2011-12-13 Thread Thomas
Hi,

Regarding the demos appliance available on the website, i'm unable to
get the local ldap daemon working

Dec  2 17:28:54 sogo slapd[573]: @(#) $OpenLDAP: slapd 2.4.23 (Nov 14
2011 20:36:29) 
$#012#011buildd@yellow:/build/buildd/openldap-2.4.23/debian/build/servers/slapd
Dec  2 17:28:54 sogo slapd[574]: slapd starting
Dec  2 17:31:40 sogo slapd[574]: hdb_db_open: database
"dc=example,dc=com": unclean shutdown detected; attempting recovery.
Dec  2 17:31:40 sogo slapd[574]: connection_read(16): no connection!
Dec  2 17:31:40 sogo slapd[574]: connection_read(16): no connection!
Dec  2 17:54:11 sogo slapd[574]: conn=1002 op=0 do_extended:
unsupported operation "1.3.6.1.4.1.1466.20037"
Dec  2 17:54:22 sogo slapd[574]: conn=1004 op=0 do_extended:
unsupported operation "1.3.6.1.4.1.1466.20037"
Dec  2 17:54:43 sogo slapd[574]: conn=1006 op=0 do_extended:
unsupported operation "1.3.6.1.4.1.1466.20037"
Dec  2 17:55:04 sogo slapd[574]: conn=1008 op=0 do_extended:
unsupported operation "1.3.6.1.4.1.1466.20037"
Dec  2 17:58:54 sogo slapd[574]: bdb(dc=nodomain): PANIC: fatal region
error detected; run recovery
Dec  2 18:28:54 sogo slapd[574]: bdb(dc=nodomain): PANIC: fatal region
error detected; run recovery
Dec 13 07:12:39 sogo slapd[875]: @(#) $OpenLDAP: slapd 2.4.23 (Nov 14
2011 20:36:29) 
$#012#011buildd@yellow:/build/buildd/openldap-2.4.23/debian/build/servers/slapd
Dec 13 07:12:39 sogo slapd[875]: olcSuffix: value #0: 
namingContext "dc=example,dc=com" already served by a preceding hdb
database serving namingContext "dc=example,dc=com"
Dec 13 07:12:39 sogo slapd[875]: config error processing
olcDatabase={2}hdb,cn=config:  namingContext
"dc=example,dc=com" already served by a preceding hdb database
Dec 13 07:12:39 sogo slapd[875]: slapd stopped.
Dec 13 07:12:39 sogo slapd[875]: connections_destroy: nothing to destroy.


it seems that on the 2 of December, when the virtual appliance was
created, the ldap database was out of order, so when we download the
applicance we can't make it work.

are there any backup of the ldap directory somewere ?

thanks

T
-- 
users@sogo.nu
https://inverse.ca/sogo/lists