Page 1 of 1

11.4.2.4620 Server Re-Install Gone Awry

Posted: Wed Nov 26, 2008 10:35 pm
by dresdn
Hi All!

Tonight I had a client get a new mail server, not a huge deal, but I ran into some weird issues with the installer. I've done this before, so I'm pretty sure I understand what's going on ... =)

Here's what I've done:

1) Installed base system (CentOS 5) using same hostname, ip, etc. and restored *JUST* /var/opt/scalix/ml (since node is "mail")
2) Installed Scalix 11.4.2.4620
3) Ran into problems!

The install went okay and log shows the following:

Code: Select all

 ~]# grep 'ERROR' /var/log/scalix-installer-20081126.log
2008-11-26 19:24:43,896 ERROR Restarting Apache using /etc/init.d/httpd restart -- failed with error code 1; results:
2008-11-26 19:24:43,896 ERROR Stopping httpd:              [  OK  ]
2008-11-26 19:24:43,896 ERROR Starting httpd: httpd: Syntax error on line 210 of /etc/httpd/conf/httpd.conf: Could not open configuration file /etc/httpd/conf.d/scalix-web-client.conf: No such file or directory


What's weird is that several files are missing from the install. This is what I've found so far:

* /etc/opt/scalix/config
* Entire /opt/scalix/global

If I try to login to SAC, I get the infamous "Could not fetch server list" message.

So I've restored /opt/scalix/global and re-created the symlink to /etc/opt/scalix/config and restarted everything, and am still unable to login.

Lastly, I was getting version mismatch errors, so I corrected that by updating /var/opt/scalix/ml/s/sys/version to say "11.4.2.12068"

Did I go about restoring this server incorrectly? I did this on an 11.3 install for a different client not too long ago and didn't run into any issues.

Any other ideas?

Thanks!

-Mike

Posted: Thu Nov 27, 2008 10:39 am
by fkienker
See this thread for your problem with the SAC. It might solve your problem.

viewtopic.php?t=11520

At this point, maybe the best thing to do would be to:
1) Completely uninstall Scalix but NOT remove the message store.
2) Remove the /etc/opts folder.
3) Remove the ./opt folder.
4) Reinstall Scalix.

Posted: Fri Nov 28, 2008 12:23 am
by dresdn
Hi Fred,

Thanks for the reply. I did exactly that after posting the original thread and still didn't have any luck.

For now, I have SAC up and running, but I'm not sure if I 100% trust the upgrade. What I did was actually move over the /etc/opt/scalix and /opt/scalix/global directories to get everything back up and running.

I'm going to do some more testing to see if there's an install bug or something, but can someone confirm whether or not what I did was correct? At this point, I'm more worried about a DR re-install and not having the luxury of having all the original files.

Posted: Fri Nov 28, 2008 1:25 am
by Valerion
What I would do in a case like this is the following:

1) Install Scalix completely, and create an empty mailstore
2) Veryify the empty mailstore works
3) Make a backup of the empty /var/opt/scalix directory
4) Restore /var/opt/scalix/??/s
5) ompatchom
6) Start scalix and verify it still works
7) sxmkindex, omtidyallu -M

After this, you can go so far as to run a rsync from the primary to the secondary server, which will give you an immesiate cold standby for the mailstore. Leave Scalix off and only start it if the primary fails.