[Obm] Feedback on use of obm-admin command on CentOS
Sylvain Garcia
sylvain.garcia at obm.org
Fri Jul 17 00:04:35 CEST 2009
Tim Verhoeven wrote:
> 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 :
First, obm-admin was wrote fast, and we must rewrite this.
>
> 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.
Ok, you are reason, but the main goal of externalurl is into
/etc/obm/obm_conf.ini to set many settings like funambol. EXTERNALURL
represent the unique way ( and the UNIQUE) to access to OBM. Because
there are many problem with funambol (syncml).
in rpm, you are reason, obm-ui use externalurl to configure the vhost.
but, exteranl is not just to the hostname or ip adress of your server,
you can configure your DNS with alias to use an other name that your
hostname.
>
> 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 ?
Maybe... :D
> Related, is obm-satellite actually needed on a singe system install ?
obm-satellite is used too generate postfix maps and when, you create
your obm mail domain, obm-satellite create cyrus partition( mkdir
partition and configuration imapd.conf)
>
> 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".
we will check this, thanks
>
> 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 :
yes i know, i have the correct package. i forgotten to upload
php-pecl-imagick obm version on obm.org.. oups :D , i will upload this.
>
> 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.
it's ok, is just a notice ;); you can configure your php.ini to hide notice
>
> 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
>
yes it's good
> 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.
lol, "a political question" i'm english :D...
Th default configuration is not in obm_conf.ini. the language in
obm_conf.ini is used to set default language on install of database; so
you can set in database in preference table.
>
> 8) Just for my information, how save is it to rerun the "obm-admin"
> command afterwards to change things ?
the conf is cleaned :D, you can test.
>
>
> 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 ?
of courseeeeeee!!!
http://www.obm.org/doku.php?id=obmmail:createdomain
>
> Kind regards,
> Tim
>
thanks for your interest about OBM
--
Sylvain Garcia
sylvain.garcia at obm.org
OBM - The opensource groupware - http://www.obm.org
More information about the Obm
mailing list