11.4.2.4620 Server Re-Install Gone Awry

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

dresdn
Posts: 92
Joined: Wed Apr 05, 2006 5:11 pm

11.4.2.4620 Server Re-Install Gone Awry

Postby dresdn » Wed Nov 26, 2008 10:35 pm

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

fkienker
Posts: 79
Joined: Sat Nov 18, 2006 1:08 pm
Location: Atlanta GA USA

Postby fkienker » Thu Nov 27, 2008 10:39 am

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.
Fred Kienker
AT4B

dresdn
Posts: 92
Joined: Wed Apr 05, 2006 5:11 pm

Postby dresdn » Fri Nov 28, 2008 12:23 am

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.

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Fri Nov 28, 2008 1:25 am

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.


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 7 guests

cron