Failed to set password for the 'scalix' database user

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

rudi
Posts: 289
Joined: Mon Nov 22, 2004 6:53 am

Failed to set password for the 'scalix' database user

Postby rudi » Wed Jan 03, 2007 8:22 am

Hi,

I updated a scalixserver version 10.0.5 to version 11. But now I have an error with postgress. When I reconfiure the DB there are these outputs in install log:


2007-01-03 13:10:05,057 INFO Initializing Scalix Installer version 11.0.0.653
2007-01-03 13:10:05,199 DEBUG OS: GNU/Linux
2007-01-03 13:10:05,200 DEBUG Release: SUSE Linux Enterprise Server 10 (i586)
2007-01-03 13:10:05,201 DEBUG Architecture: i386
2007-01-03 13:10:05,201 DEBUG Total memory is 516400 kB, recommended is 524288 kB
2007-01-03 13:10:05,201 DEBUG Total available disk space: 9026828 kB, recommended is 256000 kB
2007-01-03 13:10:05,202 DEBUG System default browser: firefox
2007-01-03 13:10:05,202 INFO Platform is: SUSE Linux Enterprise Server 10 (i586) on i386 : supported.
2007-01-03 13:10:05,203 INFO Starting Scalix Installer in CLI mode
2007-01-03 13:10:05,203 DEBUG Startup property dictionary {'test_mode': False, 'no_syschecks': False, 'cli': True, 'exec': './scalix-installer', 'no_root': F
alse, 'rpm_dir': '/root/scalix-11.0.0-GA/software/scalix_server', 'log_dir': '/var/log', 'start_screen_id': -1, 'debug': True, 'error_on_syscheck_fail': True
, 'cwd': '/root/scalix-11.0.0-GA'}
2007-01-03 13:10:05,368 INFO Current locale is and default is de_DE
2007-01-03 13:10:05,381 DEBUG FunctionThread calling determine_installed_packages with args (<sxdata.Data instance at 0xb78402ec>,)
2007-01-03 13:10:05,511 DEBUG Installed package scalix-res details: scalix-res 11.0.0.653-1 1142723 noarch linux 1 (none) (none)
2007-01-03 13:10:05,635 DEBUG Installed package scalix-platform details: scalix-platform 11.0.0.653-1 6791008 noarch linux 1 (none) (none)
2007-01-03 13:10:05,755 DEBUG Installed package scalix-sac details: scalix-sac 11.0.0.653-1 9359534 noarch linux 1 (none) (none)
2007-01-03 13:10:05,879 DEBUG Installed package scalix-tomcat details: scalix-tomcat 5.5.16-140 4744820 noarch linux 140 (none) (none)
2007-01-03 13:10:06,151 DEBUG Installed package scalix-sis details: scalix-sis 11.0.0.653-1 6720075 noarch linux 1 (none) (none)
2007-01-03 13:10:06,271 DEBUG Installed package scalix-mobile details: scalix-mobile 11.0.0.653-1 2990540 noarch linux 1 (none) (none)
2007-01-03 13:10:06,429 DEBUG Installed package scalix-server details: scalix-server 11.0.0.431-1.sles10 52361618 i586 linux 1.sles10 SLES10 (none)
2007-01-03 13:10:06,550 DEBUG Installed package scalix-tomcat-connector details: scalix-tomcat-connector 11.0.0.130-1.sles10 657 i586 linux 1.sles10 (none)
(none)
2007-01-03 13:10:06,967 DEBUG Installed package scalix-swa details: scalix-swa 11.0.0.653-1 3919230 noarch linux 1 (none) (none)
2007-01-03 13:10:07,087 DEBUG Installed package scalix-postgres details: scalix-postgres 11.0.0.653-1 13411 noarch linux 1 (none) (none)
2007-01-03 13:10:07,089 INFO Packages installed: {'scalix-res': ['11.0.0.653-1', '1142723', 'noarch', 'linux', '1', '(none)', '(none)'], 'scalix-sac': ['11.0
.0.653-1', '9359534', 'noarch', 'linux', '1', '(none)', '(none)'], 'scalix-tomcat': ['5.5.16-140', '4744820', 'noarch', 'linux', '140', '(none)', '(none)'],
'scalix-sis': ['11.0.0.653-1', '6720075', 'noarch', 'linux', '1', '(none)', '(none)'], 'scalix-platform': ['11.0.0.653-1', '6791008', 'noarch', 'linux', '1',
'(none)', '(none)'], 'scalix-server': ['11.0.0.431-1.sles10', '52361618', 'i586', 'linux', '1.sles10', 'SLES10', '(none)'], 'scalix-tomcat-connector': ['11.
0.0.130-1.sles10', '657', 'i586', 'linux', '1.sles10', '(none)', '(none)'], 'scalix-mobile': ['11.0.0.653-1', '2990540', 'noarch', 'linux', '1', '(none)', '(
none)'], 'scalix-swa': ['11.0.0.653-1', '3919230', 'noarch', 'linux', '1', '(none)', '(none)'], 'scalix-postgres': ['11.0.0.653-1', '13411', 'noarch', 'linux
', '1', '(none)', '(none)']}
2007-01-03 13:10:09,535 INFO Obsolete packages installed: {}
2007-01-03 13:10:15,069 INFO Tomcat was running when we started: True
2007-01-03 13:10:17,912 INFO Components to reconfigure: ['scalix-postgres']
2007-01-03 13:10:17,914 DEBUG FunctionThread calling stop_tomcat with args (<sxdata.Data instance at 0xb78402ec>,)
2007-01-03 13:10:20,401 DEBUG Stopping Tomcat serviceUsing CATALINA_BASE: /var/opt/scalix/sl/tomcat
2007-01-03 13:10:20,401 DEBUG Using CATALINA_HOME: /opt/scalix-tomcat
2007-01-03 13:10:20,402 DEBUG Using CATALINA_TMPDIR: /var/opt/scalix/sl/tomcat/temp
2007-01-03 13:10:20,402 DEBUG Using JRE_HOME:
2007-01-03 13:10:20,403 DEBUG ..done
2007-01-03 13:10:20,403 INFO Stopped Tomcat using command /etc/init.d/scalix-tomcat stop
2007-01-03 13:10:24,143 WARNING Tomcat was not stopped properly so forcing it now
2007-01-03 13:10:48,352 DEBUG FunctionThread calling configure_postgres with args (<sxdata.Data instance at 0xb78402ec>,)
2007-01-03 13:10:48,352 INFO Configuring PostgreSQL...
2007-01-03 13:10:48,476 DEBUG Installed package postgresql details: postgresql 8.1.4-1.3 3618247 i586 linux 1.3 SUSE Linux Enterprise 10 (i586) (none)
2007-01-03 13:10:48,477 DEBUG Installed PostgreSQL version is: 8.1.4-1.3
2007-01-03 13:10:48,477 DEBUG Running postgres.configure: ['192.168.0.162']
2007-01-03 13:10:51,916 DEBUG running command '/opt/scalix-postgres/bin/sxpsql-init', exit code 0
2007-01-03 13:10:51,917 DEBUG command output:
2007-01-03 13:10:51,917 DEBUG | Starting scalix-postgres service (snowball): ..failed
2007-01-03 13:10:51,918 DEBUG |
2007-01-03 13:10:52,287 DEBUG running command '/opt/scalix-postgres/bin/sxpsql-setpwd '***'', exit code 2
2007-01-03 13:10:52,288 DEBUG command output:
2007-01-03 13:10:52,288 DEBUG | psql: konnte nicht mit dem Server verbinden: Datei oder Verzeichnis nicht gefunden
2007-01-03 13:10:52,289 DEBUG | Läuft der Server lokal und akzeptiert er Verbindungen
2007-01-03 13:10:52,289 DEBUG | auf dem Unix-Domain-Socket »/var/opt/scalix/sl/postgres/data/.s.PGSQL.5733«?
2007-01-03 13:10:52,289 ERROR Operation failed: Failed to set password for the 'scalix' database user.

anand_joshi
Scalix
Scalix
Posts: 63
Joined: Mon Oct 09, 2006 8:56 am
Contact:

Re: Failed to set password for the 'scalix' database user

Postby anand_joshi » Thu Jan 04, 2007 8:10 am

Hi,
Please let me know:-

1) Is Scalix server 10.0.5 is working fine on Suse Linux Enterprise Server 10 (i586)?
2) Is it running previously on Suse 9 and then you upgrade Suse10 keeping the Scalix server intact?


Thanks
Anand Joshi

rudi
Posts: 289
Joined: Mon Nov 22, 2004 6:53 am

Postby rudi » Thu Jan 04, 2007 10:19 am

Hi,

First scalix 10.0.5 ran on SLES9. Than I updated to scalix 11. But I want use the kerberos auth. with Windows AD. But on SLES9 Kerberos doesn't work. So I updated SLES9 to 10. This occurred the problem that postgres doesn't work anymore.

I don't know what the problem was, because now I have deinstalled the scalix system and installed it again. Now all works fine also Kerberos an AD.

But could you say me what I have to do, before I update SLES9 to 10 and Scalix runs without problems after the update?

Thanks!

ls-al
Scalix Star
Scalix Star
Posts: 510
Joined: Tue Jun 29, 2004 8:28 am
Location: Leipzig, Germany
Contact:

Postby ls-al » Fri Jan 05, 2007 5:53 am

Hi,
just guessing as I dont have the environment to verify:
It might by possible that the database will not start because of the new postgres version.
The logfile

Code: Select all

/var/opt/scalix/sl/postgres/pgstartup.log

may give more informations.

I dont know how to upgrade the database, but a simple re-creation should be the quickest way.
Just delete /var/opt/scalix/sl/postgres/data and recreate the database manually.

Code: Select all

cd /opt/scalix-postgres/bin
./sxpsql-init
./sxpsql-setpwd yourdatabasepassword
./sxpsql-whitelist 192.168.0.162


Reconfiguring the DB with the installer should do the same.
Dirk

rudi
Posts: 289
Joined: Mon Nov 22, 2004 6:53 am

Postby rudi » Fri Jan 05, 2007 6:30 am

Hi,

thanks for answer. When I update the next SLES I try to recreate the database manually. Reconfiuring the DB with the installer didn't work. I tried it before.

Thanks for help!
Best regards,
rudi

ls-al
Scalix Star
Scalix Star
Posts: 510
Joined: Tue Jun 29, 2004 8:28 am
Location: Leipzig, Germany
Contact:

Postby ls-al » Fri Jan 05, 2007 6:43 am

Just to prevent misunderstandings:
The main step in this case is the deletion of the old database from

Code: Select all

/var/opt/scalix/<instance>/postgres/data


Maybe anyone with more Postgres experience knows how to upgrade the database?

anand_joshi
Scalix
Scalix
Posts: 63
Joined: Mon Oct 09, 2006 8:56 am
Contact:

Postby anand_joshi » Fri Jan 05, 2007 6:58 am

Hi,
Best way is to shutdown Scalix server, uninstall the server rpm using “rpm –e scalix-server “ then upgrade the system to SLES-10 , now run Scalix installer and choose yes for using the existing mail store .


Hope this help
Thanks
Anand Joshi

rudi
Posts: 289
Joined: Mon Nov 22, 2004 6:53 am

Postby rudi » Fri Jan 26, 2007 8:52 am

Hi,

ok, when I delete the data directory and after that I reconfiure the DB it works!!!!!

Thanks!! :D


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 11 guests