Page 1 of 1

Scalix 11 on Debian

Posted: Thu Jan 04, 2007 10:35 am
by fireking
Hi Guys!

I was trying to install Scalix 11 on Debain with Scalix CE Wiki...

I am at the step scalix-postgres

I have made the fllowinf steps

1.) I have installed postgresql 8.1
2.) i have installed scalix-postgres

there was no error

3.) I have changed

/etc/postgresql/8.1/main/pgdata -> /var/lib/postgresql/8.1/main from
to /etc/postgresql/8.1/main/pgdata -> /var/opt/scalix/z1/postgres/data

and restart the postgres-8.1 server

then i have made these steps too

/opt/scalix-postgres/bin# ./sxpsql-init
/opt/scalix-postgres/bin# ./sxpsql-setpwd qwerty
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/opt/scalix/z1/postgres/data/.s.PGSQL.5733"?

what is the problem?

;)

Posted: Thu Jan 04, 2007 4:03 pm
by fireking
Hi Guys!

So I have made some try....

I have set up postgres with the following settings

1.)
pg_hba.conf
local all all trust

so all user can operate without any authentication

2.)
Then i have try to make scalix-postgres steps from CE RAW Wiki

zeusn1:/opt/scalix-postgres/bin# ./sxpsql-init

zeusn1:/opt/scalix-postgres/bin# ./sxpsql-setpwd qwerty
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/opt/scalix/z1/postgres/data/.s.PGSQL.5733"?

but

zeusn1:/etc/postgresql/8.1/main# ps ax|grep postgres
5930 pts/1 S+ 0:00 /usr/lib/postgresql/8.1/bin/postmaster -D /var/opt/scalix/z1/postgres/data -c config_file=/var/opt/scalix/z1/postgres/data/postgresql.conf
5932 pts/1 S+ 0:00 postgres: writer process
5933 pts/1 S+ 0:00 postgres: stats buffer process
5934 pts/1 S+ 0:00 postgres: stats collector process

then i have tested postgres db for authless connection...and it was ok...

zeusn1:/opt/scalix-postgres/bin# psql -U postgres
Welcome to psql 8.1.5, the PostgreSQL interactive terminal.

Type: \copyright for distribution terms
\h for help with SQL commands
\? for help with psql commands
\g or terminate with semicolon to execute query
\q to quit

postgres=# \q


So what should i do to correct my problem (i dont know what's wrong)

Posted: Wed Jan 17, 2007 1:53 am
by Colsar
I gave up.

It all seemed to go wrong with Postgres for me as well and all got too hard.

I had to revert to FC6 (with a minor tweak, it works great!).

Count me as another on the "Debian supported" wish list.

Posted: Wed Jan 17, 2007 6:08 am
by christoph.lukas
Hi,

I have successfully installed scalix 11 on debian etch:

viewtopic.php?t=5352

The installation is documented on the wiki page:

http://www.scalix.com/wiki/index.php?ti ... ebian_Etch

Hope this helps,
Christoph

Posted: Wed Jan 17, 2007 8:02 am
by fireking
Thx Guys!

I am gona try it soon as i can...I hope in this week...