Perplexing Move
Posted: 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
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