[SOLVED] Installer fails with Postgres error

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

elliot01
Posts: 55
Joined: Wed May 06, 2009 6:35 am
Location: West Midlands, England

[SOLVED] Installer fails with Postgres error

Postby elliot01 » Wed Aug 05, 2009 1:04 pm

Hi,

I am installing Scalix v11.4.4 onto CentOS v5.3.

All dependency checks etc are fine, but towards the end of the install I receive:

Code: Select all

Configuring PostgreSQL...
Fatal error occured: Msg: An error occurred configuring Web applications -- check the log for errors.
Scalix Installer - cleaning up...
Scalix Installer - done.


Checking /var/log/scalix-installer-20090805.log reveals:

Code: Select all

2009-08-05 17:57:48,112 INFO Obsolete packages installed: {}
2009-08-05 17:57:52,361 INFO Tomcat was running when we started: False
2009-08-05 17:57:54,613 INFO Components to reconfigure: ['scalix-postgres']
2009-08-05 17:57:54,676 WARNING Could not determine PostgreSQL whitelist, OK.
2009-08-05 17:58:26,119 INFO Configuring PostgreSQL...
2009-08-05 17:58:26,253 ERROR Operation failed: Failed to initialize the PostgreSQL database.


This trashed the install.

Some services are up, but trying to to reach the webmail site (for instance) fails. I can't even view the Postgres log as the file doesn't exist (ie: not been created yet).

I have tried uninstalling Scalix and retrying - same problem.
I have tried uninstalling Scalix and Postgres (and re-installing Postgres), then retrying - same problem.

I installed this onto a very, very similar (actually it should have been identical) server running CentOS v5.3 and didn't have this problem so I am very confused.
My hosts file looks fine (same format and layout as the server which it installed successfully on - and it passes the installer check).

Please help!
Last edited by elliot01 on Thu Aug 06, 2009 5:07 am, edited 1 time in total.
CentOS v5.3, Scalix v11.4.6 Community Edition, 300+ users

elliot01
Posts: 55
Joined: Wed May 06, 2009 6:35 am
Location: West Midlands, England

Re: Installer fails with Postgres error

Postby elliot01 » Thu Aug 06, 2009 5:06 am

Sorted the problem.

I read a post from Florian advising to run the scalix installer with a '--debug' option.

As this was a 'backup' server, I was trying to create a 'scalix' user identical to the one on my primary server. In doing so I was failing to provide an '-r' switch to inform CentOS it was a system user.

The following was necessary to create my user correctly:

groupadd –g 104 scalix
useradd -d /var/opt/scalix -g 104 -s /bin/true -c "Scalix User" –r -u 101 scalix
CentOS v5.3, Scalix v11.4.6 Community Edition, 300+ users


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 6 guests