Page 1 of 1

Update 11.0.4 -> 11.1 on Debian Etch

Posted: Tue Sep 04, 2007 5:14 pm
by neobiker
Hi all,

i documented my update ifrom Scalix 11.0.4 on debian Etch (XEN-DomU) in my wiki here.

I had/found an error in the Startscript /etc/init.d/scalix-postgres, due to two facts:
* the homedir for user postgres was missing (in scalix 11.0.4 installation), thus the command output of su - postgres xyz has additional: "No directory, logging in with HOME=/"
* syntax error in awk statement
Both result in an incorrect $PGVERSION variable.

I fixed it for me like

Code: Select all

[ -e ~postgres ] || $(mkdir ~postgres; chown postgres:postgres ~postgres)

vi /etc/init.d/scalix-postgres
Zeile 262:     #PGVERSION=`$SU postgres -c "$PGENGINE/pg_ctl --version" | awk '{ print \$NF }'`
                PGVERSION=`$SU postgres -c "$PGENGINE/pg_ctl --version" | awk '{ print $NF }'`


HTH,
regards neobiker
http://www.neobiker.de/wiki

Posted: Sun Sep 09, 2007 5:14 pm
by gren
Thanks for reporting this.
I've raised the following bug to track it:
https://bugzilla.scalix.com/show_bug.cgi?id=15753

Regards,
Gren.