Page 1 of 1
Upgrade 11.4.3 -> 11.4.5 all webapps lost
Posted: Tue Sep 01, 2009 8:53 am
by rlshepard
Hi,
So I attempted to upgrade from 11.4.3 to 11.4.5 everything went smooth until I tried to log into the SWA or the SAC!! I kept getting 404 errors.... I look around abit and found that there was nothing in /var/opt/scalix/<instance>/tomcat/webapps/ there was nothing there except the ROOT directory. this should have had ./caa ./api ./sac /webapps etc.... where did they go?
how where do these get created? I did some poking at the RPM's but couldn't find anything. at this point I have restored the missing files from backup, but I'm sure that means I'm in some sort of halfway upgraded place....
Thanks in advance for any advice.
Ralph
Re: Upgrade 11.4.3 -> 11.4.5 all webapps lost
Posted: Tue Sep 01, 2009 12:08 pm
by ls-al
If the RPMs are installed and have the correct version you will have the most luck by running the scalix-installer and use the reconfigure for the webapps.
Re: Upgrade 11.4.3 -> 11.4.5 all webapps lost
Posted: Tue Sep 01, 2009 1:05 pm
by rlshepard
ls-al wrote:If the RPMs are installed and have the correct version you will have the most luck by running the scalix-installer and use the reconfigure for the webapps.
Hi Thanks for the response, I have tried running the installer and reconfiguring webmail, tomcat and the SAC but with no luck
Re: Upgrade 11.4.3 -> 11.4.5 all webapps lost
Posted: Tue Sep 01, 2009 4:23 pm
by ls-al
The applications in the webapps directory are deployed by the symlinks to the <app>.xml files in /var/opt/scalix/??/tomcat/conf/Catalina/localhost/.
Usually the installer will take care that the symlinks exist by calling /opt/scalix-tomcat/bin/sxtomcat-webapps ....
Was the first installer run successful or are there errors in /var/log/scalix-installer-<date>.log?
Re: Upgrade 11.4.3 -> 11.4.5 all webapps lost
Posted: Tue Sep 01, 2009 7:04 pm
by rlshepard
And then there was light....
2009-08-31 23:08:10,474 INFO Modifying Tomcat's scalix-tomcat.conf
2009-08-31 23:08:11,113 INFO Configuring SAC in /var/opt/scalix/m1/caa ...
2009-08-31 23:08:11,238 INFO Mailnode is mail01
2009-08-31 23:08:11,239 INFO Server's existing mailnode is mail01
2009-08-31 23:08:11,522 INFO Configuring / upgrading SAC
2009-08-31 23:08:11,630 INFO Configuring RES in /var/opt/scalix/m1/res/config ...
2009-08-31 23:08:11,631 CRITICAL Operation failed: Web apps config function configure_res failed: determine_server_host() takes exactly 1 argument (0 given)
2009-08-31 23:08:11,631 ERROR Operation failed: Aborting web apps configuration
How do I fix this?
Re: Upgrade 11.4.3 -> 11.4.5 all webapps lost
Posted: Wed Sep 02, 2009 3:49 am
by ls-al
would check that "hostname -fqdn", /etc/opt/scalix/instance.cfg, /etc/hosts and DNS are talking about the same host.
some of the "best-guess" functions in the installer dont like what they see on your system.
Re: Upgrade 11.4.3 -> 11.4.5 all webapps lost
Posted: Wed Sep 02, 2009 7:25 am
by rlshepard
ls-al wrote:would check that "hostname -fqdn", /etc/opt/scalix/instance.cfg, /etc/hosts and DNS are talking about the same host.
some of the "best-guess" functions in the installer dont like what they see on your system.
Okay so they disagree.... as scalix is installed on a virtual IP addresss of this host.... is there a way to provide the information to the installer so it isn't guessing?
Re: Upgrade 11.4.3 -> 11.4.5 all webapps lost
Posted: Wed Sep 02, 2009 8:31 am
by dirk
If Scalix is not to be installed on the IP that belongs to "hostname" the installer can care of it by using a cli switch.
Code: Select all
Usage: scalix-installer [--cli] [--debug] [--rpmdir=rpm-dir] [--logdir=log-dir] [--instance=inst-name] [--hostname=hostname] [--override-release=id] [--show-release-ids] [--version]
Re: Upgrade 11.4.3 -> 11.4.5 all webapps lost
Posted: Fri Sep 04, 2009 10:58 am
by rlshepard
Thanks Dirk... that was quite helpful... things seem to be working better after that however things still aren't correct.
The items in /var/opt/scalix/<instance>/tomcat/webapps/ still were not created and I ended up restoring them from backup again. while everything appears to be working they it is still broken.
I am seeing these in the SWA log:
Code: Select all
2009-09-04 09:54:08,080 ERROR [SoapMail.getFolderListRevision:807] Error in getFolderTreeRevision!
java.net.ConnectException: Connection refused
2009-09-04 09:57:35,911 ERROR [SoapMail.fetchMessageHeaders:1428] Reverting to IMAP to fetch headers for for folder INBOX because of an exception:
java.net.ConnectException: Connection refused
and my account keeps getting locked every 10 min or so

Re: Upgrade 11.4.3 -> 11.4.5 all webapps lost
Posted: Fri Sep 04, 2009 11:32 pm
by rlshepard
rlshepard wrote:Thanks Dirk... that was quite helpful... things seem to be working better after that however things still aren't correct.
The items in /var/opt/scalix/<instance>/tomcat/webapps/ still were not created and I ended up restoring them from backup again. while everything appears to be working they it is still broken.
I am seeing these in the SWA log:
Code: Select all
2009-09-04 09:54:08,080 ERROR [SoapMail.getFolderListRevision:807] Error in getFolderTreeRevision!
java.net.ConnectException: Connection refused
2009-09-04 09:57:35,911 ERROR [SoapMail.fetchMessageHeaders:1428] Reverting to IMAP to fetch headers for for folder INBOX because of an exception:
java.net.ConnectException: Connection refused
and my account keeps getting locked every 10 min or so

Ha figured out the account lock out issue, stupid 'test' PC under my desk with Outlook running
