Web services not working after upgrade to Scalix 11

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

dr_c

Web services not working after upgrade to Scalix 11

Postby dr_c » Sun Nov 22, 2009 10:06 am

Hello,

I am attempting to migrate from my trusty (but very outdated) Suse 10.2 / Scalix 10 configuration to a Centos 5.4 / Scalix 11.4.5 configuration. Same FQDN, same IP address.

I rsync'd my /var/opt/scalix directory over to the new drive, changed GID/UIDs on the files and directories to reflect the new configuration and installed Scalix. After some initial complaining about sys and lib versions not matching, I ran omcheck (and the resulting script) followed by ompatchom, and scalix appeared to start -- but my web services did not!

omrc tells me that scalix appears to be running, but visiting /sac/ or /webmail/ results in a 404 error, regardless of the host name used (127.0.0.1, 192.168.1.x, localhost, fqdn, etc. -- for example, http://fqdn/webmail/)

In my /var/log/httpd/error_log, I get two errors specifically related to these problems:

[Sun Nov 22 08:05:35 2009] [error] [client 192.168.1.110] File does not exist: /var/www/html/webmail
[Sat Nov 21 16:47:15 2009] [error] [client 192.168.1.4] File does not exist: /var/www/html/sac
[Sat Nov 21 16:47:18 2009] [error] [client 192.168.1.4] File does not exist: /var/www/html/sac

Along with this message, continuously repeated, that I'm hoping means that everything is running -- apache and tomcat are just not playing nice:
[Sun Nov 22 08:10:36 2009] [error] [client 192.168.1.4] File does not exist: /var/www/html/sis
[Sun Nov 22 08:10:46 2009] [error] [client 192.168.1.4] File does not exist: /var/www/html/sis
[Sun Nov 22 08:08:16 2009] [error] [client 192.168.1.4] File does not exist: /var/www/html/sis

My groggy-eyed hypothesis is that I am missing 'instance' files in /etc/opt/scalix-tomcat/connector/ajp/:

[root@host scalix]# grep Include /etc/httpd/conf.d/scalix-tomcat-connector.conf
Include /etc/opt/scalix-tomcat/connector/ajp/instance-*.conf
[root@host scalix]# ls /etc/opt/scalix-tomcat/connector/ajp/
app-www.api.conf app-www.m.conf app-www.sac.conf app-www.webmail.conf
app-www.caa.conf app-www.res.conf app-www.sis.conf

Why would the 'instance' files not be installed (there isn't one under /etc/opt/scalix-tomcat/connector/jk, either)? Is there an 'om' script that will properly create/recreate the instance files? Is there something else (worse) going on here? I considered re-running the post-install script for scalix-tomcat, but decided to ask on the forum, first.

Thanks,

-Dr. C.

ltward
Posts: 309
Joined: Tue Jan 15, 2008 1:54 pm
Contact:

Re: Web services not working after upgrade to Scalix 11

Postby ltward » Mon Nov 30, 2009 11:07 am

When you rsync, you need to rsync between same versions of Scalix. i.e you can't rsync the Scalix 10 files onto a Scalix 11.4.5 server and expect it to work.

I'd recommend:

1) Upgrade the SuSE server to Scalix 11.4.5 (check the release notes and make sure 11.4.5 is supported on Suse 10.2)
2) Install Scalix 11.4.5 on the Centos 5.4 server
3) Rsync the data from SuSE server to Centos server
4) Install Scalix 11.4.5 on the Centos server again

You might get away with rsyncing to an "empty" box and then installing Scalix but I've always done the installation, then the rsync, then the installation again. The second installation will actually be a "reconfigure" of all Scalix components.


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 11 guests

cron