Postgres log is reporting PG_VERSION file missing

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

deyjvu
Posts: 175
Joined: Tue Oct 25, 2005 6:48 am
Location: Australia

Postgres log is reporting PG_VERSION file missing

Postby deyjvu » Mon Apr 02, 2007 10:40 pm

FATAL. file /var/opt/scalix/sx/postgres/data/PG_VERSION is missing. This is not a valid data directory
initdb: invalid option --auth=ident sameuser

This is the error occurring on our server and I was wondering what should be in this PG_VERSION file? Can it just be created and if so what is in it? Is this something more serious that the data directory isn't considered to be a 'data' directory?

This is on Version 11.0.2.1

deyjvu
Posts: 175
Joined: Tue Oct 25, 2005 6:48 am
Location: Australia

Found a PG_VERSION in different location?

Postby deyjvu » Mon Apr 02, 2007 10:47 pm

Kept looking in to this and found reference to a /var/opt/scalix-postgres directory but didn't have this however there is a /var/opt/postgres directory and in there is a data directory and a PG_VERSION file with 7.3 in that file.

Should I edit a configuration file... somewhere and point to the /var/opt/postgres directory as opposed to the /var/opt/scalix/sx/postgres directory?

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Tue Apr 03, 2007 6:42 am

Hi!

What's the result for "rpm -qa | grep post" the supported postgres version for Scalix 11
is 7.4 or greater. I would suggest you to re-configure Scalix-DB and Scalix Messaging
Services components by running Scalix installer.

Thanks,
Subir

deyjvu
Posts: 175
Joined: Tue Oct 25, 2005 6:48 am
Location: Australia

Postgres 8.0

Postby deyjvu » Wed Apr 04, 2007 10:12 pm

I installed the following:

rpm -qa |grep post
postgresql-8.0.12-1PGDG
postgresql-libs-8.0.12-1PGDG
postgresql-server-8.0.12-1PGDG
rh-postgresql-libs-7.3.18-1

previously 7.3.18 was installed and I uninstalled it and installed 8.0 but the version of Apache that is on this server required the 7.3 libs, it wouldn't start up without this installed, so I reinstalled those.

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Thu Apr 05, 2007 1:46 am

Hi!

Apache needs to be upgraded to suit PostgreSQL 7.4.x or above. What OS you are using?

Thanks,
Subir


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 12 guests

cron