2010/10/20 Laurent <[email protected]> > Bonjour, > > Je cherche depuis plusieurs jours, en vain, à faire fonctionner OBM 2.3.12 > sur freebsd 7.3, PHP 5.3, nginx 0.7.67 et postgresql 9. > > J'ai fait un checkout des sources de la version 2.3.12 depuis le svn > anonyme dans /usr/local/www/data/obm. J'ai créé conf/obm_conf.ini et > conf/obm_conf.inc en les copiant depuis les versions .sample. Puis j'ai > modifié conf/obm_conf.ini comme suit: > > external-url = obm.mondomaine.tld > external-protocol = http > obm-prefix = / > > ; Database infos > host = localhost > dbtype = PGSQL > ;dbtype = MYSQL > db = obm > user = obm > ; Password must be enclosed with " > password = "obm" > > ; Default language > lang = fr > > ; Enabled OBM module > obm-ldap = false > obm-mail = false > obm-samba = false > obm-web = false > obm-contact = true > > ; singleNameSpace mode is anaivalable from OBM 2.3 > ; Read /'etc/imapd.conf' and '/etc/saslauthd.conf' file for migration > instructions > singleNameSpace = true > > ; backupRoot is the directory used to store backup data > backupRoot = "/data/obm/backup" > > ; documentRoot is root of document repository > documentRoot="/data/obm/documents" > documentDefaultPath="/" > > ; LDAP Authentification for obm-sync & ui > ; ldap authentication server (specify :port if different than default) > auth-ldap-server = localhost > ; base dn for search (search are performed with scope sub, of not > specified, use the server default) > auth-ldap-basedn = "dc=local" > ; filter used for the search part of the authentication > ; See http://www.faqs.org/rfcs/rfc2254.html for filter syntax > ; - %u will be replace with user login > ; - %d will be replace with user OBM domain name > ; ie: [email protected] : %u=toto, %d=domain.foo > auth-ldap-filter = "(&(uid=%u)(obmDomain=%d))" > auth-ldap-binddn = "uid=ldapadmin,ou=sysusers,dc=local" > auth-ldap-bindpw = "mdp3PaAL" > > J'ai rajouté l'entrée "singleNameSpace = true" et décommenté tout ce > correspond à LDAP (j'ai aussi corrigé les 2 "uid=" et l'absence de > double-quotes devant "uid" et après "local" sur la ligne auth-ldap-binddn) à > cause d'erreurs lors du parsing de conf/obm_conf.ini dans mes logs lorsque > j'accède à l'URL d'obm configuré dans nginx. >
maintenant la directive singleNameSpace n'est plus utilisé. Elle servait a gérer le multidomaine et le mono domaine. Le support du monodomaine a été suprimer car cela causé beaucoup de soucis en particulier avec la synchro ( problème de login....) Si jamais il y a des réfrences à la variable singleNameSpace, vouus pouvez rentrer un bug et raphael se fera une joie de le corrigé ;). > La création de la base de données via le script "scripts/2.3/ > install_obmdb_pgsql_2.3.sh" en full installation s'est déroulé sans > problèmes. > > Mais quand je tente d'accéder à obm.mondomaine.tld j'ai celà dans les logs > d'erreurs de nginx: > > 2010/10/19 16:20:16 [error] 54544#0: *1341 FastCGI sent in stderr: "PHP > Notice: Undefined variable: cme_both in > /usr/local/www/data/obm/obminclude/global.inc on line 417 > PHP Notice: Undefined variable: cda_dmy in > /usr/local/www/data/obm/obminclude/global.inc on line 421 > PHP Notice: Undefined variable: cda_iso in > /usr/local/www/data/obm/obminclude/global.inc on line 422 > PHP Notice: Undefined variable: cco_chro in > /usr/local/www/data/obm/obminclude/global.inc on line 423 > PHP Notice: Undefined index: obm in > /usr/local/www/data/obm/obminclude/global.inc on line 466 > PHP Notice: Undefined index: company_address3 in > /usr/local/www/data/obm/obminclude/global.inc on line 518 > PHP Notice: Undefined index: company_expresspostal in > /usr/local/www/data/obm/obminclude/global.inc on line 524 > PHP Notice: Undefined index: contact in > /usr/local/www/data/obm/obminclude/global.inc on line 530 > PHP Notice: Undefined variable: params in > /usr/local/www/data/obm/obminclude/global.inc on line 1330 > PHP Notice: Undefined index: action in > /usr/local/www/data/obm/obminclude/global.inc on line 1411 > PHP Notice: Undefined index: popup in > /usr/local/www/data/obm/obminclude/global.inc on line 1416 > PHP Notice: Undefined property: DB_OBM::$Port in > /usr/local/www/data/obm/obminclude/phplib/db_pgsql.inc on line 64 > PHP Notice: Undefined index: OBM_Session in > /usr/local/www/data/obm/php/obm.php on line 39 > PHP Notice: Undefined variable: auth in > /usr/local/www/data/obm/obminclude/of/of_session.inc on line 230 > PHP Notice: Undefined index: exp in > /usr/local/www/data/obm/obminclude/of/of_session.inc on line 327 > PHP Notice: Undefined index: login in > /usr/local/www/data/obm/obminclude/phplib/obmlib.inc on line 170 > PHP Notice: Undefined index: password in > /usr/local/www/data/obm/obminclude/phplib/obmlib.inc on line 171 > PHP Notice: Undefined index: domain_id in > /usr/local/www/data/obm/obminclude/phplib/obmlib.inc on line 176 > PHP Notice: Undefined variable: where_domain in > /usr/local/www/data/obm/obminclude/phplib/obmlib.inc on line 210 > > et dans les logs d'accès de nginx j'ai une erreur 401: > > [19/Oct/2010:16:20:16 +0200] "GET / HTTP/1.1" 401 5 "-" "Mozilla/5.0 (X11; > U; FreeBSD i386; en-US; rv:1.9.2.3) Gecko/20100620 Firefox/3.6.3" > > Est-ce que mon problème peut venir de toutes ces erreurs "Undefined > variables" ? Quels sont les tests que je peux effectuer afin d'identifier le > problème ? > > J'ai aussi essayé de lancer "auto/update.pl --domain-global --global" > après avoir installé les dépendances nommées dans > "auto/libperl-OBM/README.txt" puis fait un "perl Makefile.PL" puis "make && > make install" qui se sont déroulés sans erreurs. Le soucis étant que la > commande "update.pl --domain-global --global" se contente d'afficher le > texte d'aide et n'exécute rien. > > Bref, je suis à cours d'idées. > > Je remercie d'avance tout ceux qui auront une idée à me soumettre. > > Bonne journée, > > Laurent Cligny > > > _______________________________________________ > Obm mailing list > [email protected] > http://list.obm.org/mailman/listinfo/obm > > -- Sylvain Garcia 06 72 08 69 64 [email protected]
_______________________________________________ Obm mailing list [email protected] http://list.obm.org/mailman/listinfo/obm
