Upgrade experience: 10.x to 11.0.3

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

jcaudell
Posts: 73
Joined: Tue Jul 18, 2006 9:56 am

Upgrade experience: 10.x to 11.0.3

Postby jcaudell » Mon Apr 23, 2007 3:12 pm

I thought I might write this down while it was still fresh in my head. Only 7 hours after and 4 cups of coffee later, I finally got a happy v10 installation to a (decently) happy 11.0.3. I just hope I took care of installation issues, and that the upgrade to 11.0.(3+n) won't be as hard.

I had a number of issues similar to other posts, pieces of config files that didn't update, and lots of configuration I had to do my self. Most of what is here will not be for Linux faint of heart, so if trying to figure out how to quit out of psql seems like a daunting task, I don't take blame for heart attacks.

System stats: 2xXeon 2.8, 2GB ram, RHEL4, 28GB /var/opt/scalix directory. Scalix 10.0.1 community, 30 users(25 premium), postgresql-server-8.1.8-1PGDG.x86_64.rpm (and client).

The basic issue when it came down to it, was that the Scalix DB install component failed. Since that failed, the install couldn't continue, so almost none of the other v11 components installed. I had to bypass the DB component, install everything else, then come back and configure postgresql by hand. I apologize if the following seems disjointed, but trial and error with suggestions from this board touched on alot of things.

Before the DB/Postgresql component was successfully configured, SWA/Webmail was Extremely slow, searching in it didn't work, and the mobile client was unusable (gave unknown username/password error). Also, I had to run sxmkindex manually as the install script didn't run it, even when told to.

During the install, I received the "Unable to configure Web components" error (similar to viewtopic.php?t=7015 ). When I tried just configuring the DB component, I got an error that the Scalix user password couldn't be changed.

(For the following portion: I had gotten scalix-postgres to start ok, but psql couldn't connect to it:

Code: Select all

postgres $ psql -p 5733
psql: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/tmp/.s.PGSQL.5733"?

So I

Code: Select all

ln -s /var/opt/scalix/<xx>/postgres/data/.s.PGSQL.5733 /tmp


Following the Manual Installation Postgres install scripts ( http://www.scalix.com/wiki/index.php?ti ... x-Postgres ) I was able to get the essential sxpsql-init portions loaded into my postgres. Then I went in and manually set the scalix user password for the scalix database in /var/opt/scalix/<xx>/postgres/data ( alter user scalix with password 'PASSWORD'; ). Make sure that password is in the /var/opt/scalix/<instance>/platform/platform.properties under hibernate.connection.password = <Postgres-password> .

Things to check:
That "host scalix scalix 192.168.0.242/32 md5" (with your ip) is in the pg_hba.conf file.
/var/opt/scalix/<xx>/postgres/data/pg_hba.conf

That "-Djava.net.preferIPv4Stack=true" is in your scalix-tomcat.conf file (helpful, just in case).
viewtopic.php?t=7061

If anyone has any questions about specifics, I'd be glad to answer, and maybe make your upgrade a little easier.

I still haven't discovered why the installer didn't work. Perhaps because the /tmp/.s.PGSQL.5733 wasn't there, and the psql command in sxpsql-setpwd couldn't complete.

Well, that was my upgrade experience. Best of luck to anyone else that hasn't upgraded from v10 (or, gasp, v9) yet. Seems ok so far, still haven't started on outlook connectors yet.

John
Last edited by jcaudell on Mon Apr 23, 2007 3:46 pm, edited 1 time in total.

Shredder

Postby Shredder » Mon Apr 23, 2007 3:22 pm

Just out of curiousity, which OS were you using?

Thanks,
Shredder

jcaudell
Posts: 73
Joined: Tue Jul 18, 2006 9:56 am

Postby jcaudell » Mon Apr 23, 2007 3:47 pm

Oops, thought I had everything in there. Edited to include RHEL4.


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 12 guests