Cannot Change PSQL Password During Installation
Posted: Mon Jan 15, 2007 11:04 pm
Hi All,
I'm building a Scalix VM using Ubuntu 6.06. The system is headless and therefore no X.
I'm following the Manual Installation procedure here: http://www.scalix.com/wiki/index.php?ti ... _Selection
Everything was going very well (great instructions!) until I hit the section on " Setting up Scalix-Postgres (Scalix 11 only)" (Yes, I am installing Scalix 11.)
There are three script commands in this section:
The first and last commands work as expected, but attempting to set the database password (the second command) fails.
If I attempt to run it as root I get the following error:
If I attempt to execute the script as a normal user, I get this error:
I am attempting to run the command from the /opt/scalix-postgres/bin directory as:
Anyone have any idea what's going on?
Thanks!
I'm building a Scalix VM using Ubuntu 6.06. The system is headless and therefore no X.
I'm following the Manual Installation procedure here: http://www.scalix.com/wiki/index.php?ti ... _Selection
Everything was going very well (great instructions!) until I hit the section on " Setting up Scalix-Postgres (Scalix 11 only)" (Yes, I am installing Scalix 11.)
There are three script commands in this section:
Code: Select all
cd /opt/scalix-postgres/bin
./sxpsql-init
./sxpsql-setpwd mypassword # This is a database password you select
./sxpsql-whitelist 127.0.0.1
The first and last commands work as expected, but attempting to set the database password (the second command) fails.
If I attempt to run it as root I get the following error:
Code: Select all
psql: could not connect to server: Permission denied.
Is the server running locally and accepting
connections on the Unix domain socket "/var/opt/scalix/ml/postgresql/data/.s.PSGQL.5.7.33"?
If I attempt to execute the script as a normal user, I get this error:
Code: Select all
chown changing ownership of '/var/opt/scalix/ml/postgres': Operation not permitted.
su: must be run from a terminal.
I am attempting to run the command from the /opt/scalix-postgres/bin directory as:
Code: Select all
./sxpsql-setpwd mungedpassword
Anyone have any idea what's going on?
Thanks!