scalix-postgres failed after upgrade to 11.4.2

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

daniel
Posts: 17
Joined: Thu Jul 20, 2006 12:29 pm

scalix-postgres failed after upgrade to 11.4.2

Postby daniel » Sun Nov 09, 2008 5:19 pm

Hello,

After upgrade to version 11.4.2 scalix-postgres failed by startup and manually. In the pgstartup.log I get the following error:

FATAL: unbekannter Konfigurationsparameter Ä>>redirect_stderrÄ<<

Any idea what's wrong here?

schmoe90
Scalix
Scalix
Posts: 900
Joined: Mon May 07, 2007 11:51 am

Postby schmoe90 » Mon Nov 10, 2008 12:07 pm

What did you upgrade from?

Babelfish makes the error "unknown quantity configuration parameter", so I'd make sure that you have the right /etc/init.d/scalix-postgres file - I have:

# Version 8.1 Devrim Gunduz <devrim@PostgreSQL.org>

in the header.

It seems to be complaining about redirecting stderr, but the only redirects I can find are to /dev/null and $PGLOG

PGLOG=$INST_DIR/pgstartup.log

so I don't think that's quite right. Any more information in the log?

daniel
Posts: 17
Joined: Thu Jul 20, 2006 12:29 pm

Postby daniel » Tue Nov 11, 2008 3:06 am

I upgrade from SUSE 10.2 to SUSE 11.0 and then from scalix 11.2.0 to 11.4.2.



That is all, what is written to the /var/opt/scalix/ml/postgres/pgstartup.log:

FATAL: unbekannter Konfigurationsparameter »redirect_stderr«

For every startup test one line.



That is all, what is written at this date to the /var/opt/scalix/ml/s/logs/fatal:

SERIOUS ERROR CDA Server (CDA Server ) Sun Nov 9 20:29:04 2008
[OM 28664] There is already a CDA server process running
Pid of logging process: 3055


ERROR Administration(Scalix Admin C) Sun Nov 9 21:42:02 2008
[SYS 2] No such file or directory
Pid of logging process: 12580
Current errno value: 2


ERROR Administration(Scalix Admin C) Sun Nov 9 21:44:38 2008
[SYS 2] No such file or directory
Pid of logging process: 13717
Current errno value: 2



Show the following output of the commands omstat -a and omstat -s:

mail:~ # omstat -a
PC Monitor Started NON-STOP 0
Directory Relay Server Started 11:52:50
Notification Server Started 11:52:50 0
Shared memory daemon Started NON-STOP
Notification Monitor Started NON-STOP
Session Monitor Started NON-STOP
Indexer Started NON-STOP
Stats Daemon Started NON-STOP
Container Access Monitor Started NON-STOP
Item Structure Server Stopped 11.09.08
Database Monitor Started 11:52:50
Licence Monitor Daemon Started NON-STOP
LDAP Daemon Started 11:52:50
Queue Manager Started NON-STOP
Item Delete Daemon Started NON-STOP
IMAP Server Daemon Started 11:52:50
SMTP Relay Started 11:52:50
Mime Browser Controller Started 11:52:50
Event Server Started 11:52:50


mail:~ # omstat -s
Service Router Started 11:52:51 0
Local Delivery Started 11:52:51 0
Internet Mail Gateway Started 11:52:51 0
Local Client Interface Enabled 11:52:51 0
Remote Client Interface Enabled 11:52:51 2
Test Server Started 11:52:51 0
Request Server Started 11:52:51 0
Print Server Started 11:52:52 0
Bulletin Board Server Started 11:52:52 0
Background Search Service Started 11:52:52 0
CDA Server Started 11:52:52 0
POP3 interface Started 11:52:52 0
Omscan Server Started 11:52:52 0
Proxy Folder Service Started 11:52:52 0


Any idea?

LeslieW
Scalix
Scalix
Posts: 239
Joined: Thu Jun 19, 2008 10:03 am
Contact:

Postby LeslieW » Thu Nov 13, 2008 3:50 pm

That error message is not very helpful, unfortunately :(

I'd first check to see if postgres is running:
service postgres status

If it is, I'd shut down Scalix:
omshut

Then I'd run the scalix-installer and remove the DB component.

Then I'd remove
/var/opt/scalix/??/postgres
if it is still there

Then re-install the DB component.

marcust

Postby marcust » Mon Nov 17, 2008 11:20 am

Hello,

I had the same error when upgrading scalix, the redirect_stderr directive is no longer valid with postgres 8.3, also the data store cannot be used any further. I would think a migration of the data from postgres 8.1 to 8.3 would be needed.

Does the removal of the database component have any impact on the mailstore or any other components? Then this would be a good idea.

Regards,

Marcus

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Mon Nov 17, 2008 12:01 pm

The PostgreSQL database stores cache data used by SWA, Scalix Mobile Client and CalDAV. You should be able to recreate it without a issue, the system can rebuild the contents over time. Not having it installed does affect the components mentioned earlier.

daniel
Posts: 17
Joined: Thu Jul 20, 2006 12:29 pm

Postby daniel » Tue Nov 18, 2008 5:55 am

Scalix support deinstalls and installs the datebase with scalix installer and recreates the database data with sxapiprep.py.


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 6 guests

cron