Scalix services won't restart after restore using rsync

Discuss the Scalix Messaging Services

Moderator: ScalixSupport

katlas

Scalix services won't restart after restore using rsync

Postby katlas » Thu Sep 27, 2007 4:24 pm

Why doesn't it restart?

jaime.pinto
Scalix Star
Scalix Star
Posts: 709
Joined: Fri Feb 23, 2007 6:50 pm
Location: Toronto - Canada

Postby jaime.pinto » Thu Sep 27, 2007 11:03 pm

How did you use the rsync command (the exact syntax)?
Did you stop all the scalix services first, including the database?
Did you rename the "compromised" /var/opt/scalix first?
Image Jaime
||||||||||||||||||||||||||||||||||||||||

katlas

Postby katlas » Tue Nov 06, 2007 3:48 pm

jaime.pinto wrote:How did you use the rsync command (the exact syntax)?
Did you stop all the scalix services first, including the database?
Did you rename the "compromised" /var/opt/scalix first?


Sorry to take so long to get back. Had to wait on the technician.

Here is what I
did....
This is the
backup....
service scalix
stop
service
scalix-postgres
stop
service
scalix-tomcat stop

rm
-Rf /home/scalixbackup
mkdir /home/scalixbackup
rsync -av
--delete /var/opt/scalix /home/scalixbackup

# restart scalix
services
service
scalix-tomcat
start
service
scalix-postgress
start
service scalix
start

exit 0

and this is the
restore...
#!/bin/sh
## Backup Scalix
for Netstream


service scalix
stop
service
scalix-postgres
stop
service
scalix-tomcat stop

rm
-Rf /var/opt/scalix.old
mv /var/opt/scalix /var/opt/scalix.old
rsync -av
--delete /home/scalixbackup /var/opt/scalix

# restart scalix
services
service
scalix-tomcat
start
service
scalix-postgress
start
service scalix
start





Scalix will not restart...

Any ideas?

jaime.pinto
Scalix Star
Scalix Star
Posts: 709
Joined: Fri Feb 23, 2007 6:50 pm
Location: Toronto - Canada

Postby jaime.pinto » Tue Nov 06, 2007 9:29 pm

In theory it should work. I couldn't see anything wrong on your sequence of events. But in practice something is bothering one of more of the startup daemons.

Give the command "omstat -s and omstat -a" and verify what is running and what is not, if any. You may need to stop everything again and reinstall scalix over the restored /var/opt/scalix, in order to fix what is missing.
Image Jaime
||||||||||||||||||||||||||||||||||||||||

kanderson

Postby kanderson » Wed Nov 07, 2007 3:53 pm

Does it spin an error when you try to start it with omrc?

Or is there anything in /var/opt/scalix/??/s/logs/fatal?

My first guess here will be permissions.

Kev.


Return to “Scalix Messaging Services”



Who is online

Users browsing this forum: No registered users and 2 guests