Perplexing Move

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

stump

Perplexing Move

Postby stump » Mon Apr 23, 2007 5:42 am

I had been building a failover machine in the hope of replacing cyrus imap with a Scalix solution and am having all sorts of issues installing scalix with the old mail store.

I have preserved the permissions from the old mail store .. restored with same UID GID on new box, followed all the HOTO's without success this far. So I have done a complete re-check of my work.
uninstall scalix
manually delete all folders
re tar old mail store including permissions
copied the file & checked md5sums
untar the folders
re-install scalix
this time I get :-
2007-04-23 19:31:37,482 INFO JRE is up to date
2007-04-23 19:31:37,737 DEBUG read JAVA_OPTS="-server -Xms256m -Xmx256m" from /etc/opt/scalix-tomcat/scalix-tomcat.conf
2007-04-23 19:32:05,839 DEBUG FunctionThread calling configure_postgres with args (<sxdata.Data instance at 0xb7b657cc>,)
2007-04-23 19:32:05,839 INFO Configuring PostgreSQL...
2007-04-23 19:32:05,936 DEBUG Installed package postgresql details: postgresql 7.4.16-1.RHEL4.1 8091287 i386 linux 1.RHEL4.1
(none) (none)
2007-04-23 19:32:05,937 DEBUG Installed PostgreSQL version is: 7.4.16-1.RHEL4.1
2007-04-23 19:32:05,937 DEBUG Running postgres.configure: ['192.168.2.10']
2007-04-23 19:32:06,240 DEBUG running command '/opt/scalix-postgres/bin/sxpsql-init', exit code 0
2007-04-23 19:32:06,241 DEBUG command output:
2007-04-23 19:32:06,241 DEBUG |
2007-04-23 19:32:06,374 DEBUG running command '/opt/scalix-postgres/bin/sxpsql-setpwd '***'', exit code 2
2007-04-23 19:32:06,375 DEBUG command output:
2007-04-23 19:32:06,375 DEBUG | psql: could not connect to server: No such file or directory
2007-04-23 19:32:06,375 DEBUG | Is the server running locally and accepting
2007-04-23 19:32:06,375 DEBUG | connections on Unix domain socket "/var/opt/scalix/sx/postgres/data/.s.PGSQL.5733"?
2007-04-23 19:32:06,375 ERROR Operation failed: Failed to set password for the 'scalix' database user.

System:
uname -r
2.6.9-42.0.10.plus.c4
## Plus repo currently disabled to maintain postgresql v7.*

rpm -qa postgres*
postgresql-7.4.16-1.RHEL4.1
postgresql-libs-7.4.16-1.RHEL4.1
postgresql-devel-7.4.16-1.RHEL4.1
postgresql-server-7.4.16-1.RHEL4.1

I have done a couple of these, had minor issues and with less chance of success than this it's Centos 4.3 patched to 4.4 to a new 4.4 ServerCd install with updates ?
I am clueless & pulling my hair out, any help greatly appreciated, the old IMAP server died and my mate flies to the US on business day after tomorrow :-(

Thanks in advance

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

Postby ScalixSupport » Mon Apr 23, 2007 6:38 am

Hi!

Follow the link below:
viewtopic.php?t=6219

See if this helps.

Thanks,
Subir

Shredder

Postby Shredder » Mon Apr 23, 2007 12:10 pm

From the error log, it looks like Postgres isn't running. Can you check with

Code: Select all

service postgresql status


If it comes back as not running, start it up with

Code: Select all

service postgresql start

and try the installation again.

Thanks,
Shredder

stump

perplexing move reloaded

Postby stump » Fri Apr 27, 2007 8:32 pm

Thanks for the replies ...
Unfortunately I ran out of time, uninstalled scalix rm -f'd the mailstore & did a fresh install, reload the mail from outlook client pst file backups, which was as horrible as I had thought but eventually got the job done.
The only issue was the fresh install didn't play well with sendmail, but sorted quickly.

I did manage on one of the many re-installs, get it up to & past the tomcat configuration bu that was it. I going to build a VM to go over this again in case of future disaster recovery, so I be revisiting soon, I have the old machine still intact.

Thanks again for your help.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 3 guests