[Obm] Feedback on use of obm-admin command on CentOS

Tim Verhoeven tim.verhoeven.be at gmail.com
Thu Jul 16 16:33:42 CEST 2009


Hi,

I have just done the reinstall of my test server and after the install
I used to "obm-admin" command to finish the install. I've found a
couple of issues and have a couple of questions about it :

1) The first question asked by the command is "Please enter external
url (IP):". This reads as that I need to give a IP address, but
afterwards it looks like this is used to configure the virtual host
for OBM. Isn't it therefore better to use this sentence "Please enter
the hostname that will be used to access OBM" ? Or something else in
that style.

2) For the question "Plese enter LDAP server name :" (there is a typo
in there, btw), I used localhost since everything will be on the same
machine. But obm-satellite does not like this. I get this error at the
end of the process "Starting obm-Satellite : Vous devez renseigner
l'adresse du serveur LDAP !". I've looked at the Perl code in question
and if I read the regex used correctly it only allows fqdn's or IP
addresses. Maybe localhost should be allowed to ?
Related, is obm-satellite actually needed on a singe system install ?

3) Related, there also seems to be a error in the script that creates
the obm-satellite config. This is what I got :

# Adresse du serveur LDAP référent (IP ou URI)
# Ex:ldap_server         nom.server.ldap
# Ex:ldap_server         ldap://nom.server.ldap
ldap_server     localhost
# LDAP use TLS [none|may|encrypt]
ldap_server     localhost

The second "ldap_server localhost" line should actually be
"ldap_server_tls may".

4) There seems to be a problem with the compatibility between
php-pecl-imagick-2.2.1-3.el5 rpm package from EPEL and the PHP
packages you provide :

PHP Warning:  PHP Startup: imagick: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP    compiled with module API=20060613, debug=0, thread-safety=0
These options need to match

I guess you will need to recompile the src.rpm from EPEL using the PHP
you build and also distribute that version yourselfs instead of using
the EPEL one.

5) I get a bunch of PHP Notices during the process, are these known
and ok ? If not you can find them on the wiki page I'm creating.

6) After the process has finished not all daemons are running and most
daemon are not set to start at boot using the chkconfig command. What
daemon should be set to start on boot ? Then I can check it manually
for now until this is added to the obm-admin script.

My guess of daemons that need to start is this :
cyrus-imapd
httpd
ldap
obm-tomcat
obmSatellite
postfix
postgresql
saslauthd

7) After the installed has finished and surfed to the OBM wesbite I
noticed that everything is in French. This is a simple setting in
"/etc/obm/obm_conf.ini" to change, but it is cleaner to also ask this
during the obm-admin run. Also the admin0 user had French as default
language, would this also be corrected if the language was set to
English in obm_conf.ini before the database was filled ? It might also
even be better to set the default language to English, but I
understand that is a bit of a political question.

8) Just for my information, how save is it to rerun the "obm-admin"
command afterwards to change things ?


So, so for so good. I'm guessing the next step is to login as admin0
and create a domain and then some users inside the domain and start
using it ?

Kind regards,
Tim

-- 
Tim Verhoeven - tim.verhoeven.be at gmail.com - 0479 / 88 11 83

Hoping the problem  magically goes away  by ignoring it is the
"microsoft approach to programming" and should never be allowed.
(Linus Torvalds)


More information about the Obm mailing list