manual backup

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

olotech
Posts: 42
Joined: Fri Nov 03, 2006 11:02 am

manual backup

Postby olotech » Wed Apr 04, 2007 5:58 am

Hi everyone
after big problem with operating system, we decid to install a fresh new fc5 in a new hd.
now i have reinstalled scalix server, but i don't know how to restore the old data.

the old hd contains all of mailbox, calendar ecc.

what can i do?

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed Apr 04, 2007 6:38 am

Hi!

Before re-installing Scalix on the new server, you should have restored the backup
from the old server and restored on the new server, and then tried to install Scalix, now
to help to your situation, I would suggest you to do the following:
1. Create a tar of /var/opt/scalix folder on the old server restoring their ownership and
permissions,
2. Uninstall Scalix from the new server,
3. Restore the tar on the new server at /var/opt/scalix i.e. same location,
4. Create user and group for Scalix with same UID and GID as the one in old system,
5. Start Scalix installer on new server and let it pick the existing message store.

This would restore all users and message store. Feel free to reply with your concerns.

Thanks,
Subir

olotech
Posts: 42
Joined: Fri Nov 03, 2006 11:02 am

Postby olotech » Wed Apr 04, 2007 6:51 am

many thanks for your quick reply

i'm going to try following your instructions.

;)

olotech
Posts: 42
Joined: Fri Nov 03, 2006 11:02 am

Postby olotech » Wed Apr 04, 2007 8:48 am

ok i followed your instructions and tryed with the creation of a single user
but after loggin the inbox mail is empty

there's something wrong
what can i do?

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed Apr 04, 2007 9:08 am

Hi!

What is the result for the command "omshowu -m all", try logging in for any of the user
that you see from the result. I would request you to check the permissions for scalix files
using the command "omcheck -s -d", to actually fix the problem if any of permissions, you
should run omcheck to generate a shell script - on standard output - that, when run, fixes
the problem for permission issues.

Code: Select all

omcheck -s -d >fix_perms.sh
bash ./fix_perms.sh

You might want to review what the script is planning to do before actually executing
the second command.

Thanks,
Subir

olotech
Posts: 42
Joined: Fri Nov 03, 2006 11:02 am

Postby olotech » Wed Apr 04, 2007 9:24 am

Code: Select all

[root@fedmail ~]# omshowu -m all
sxadmin /fedmail/CN=sxadmin
sxqueryadmin /fedmail/CN=sxqueryadmin
user name /fedmail/CN=user name


it seems to can't found all of the old users.

olotech
Posts: 42
Joined: Fri Nov 03, 2006 11:02 am

Postby olotech » Wed Apr 04, 2007 9:45 am

up this fresh new installation we changed the hostname, it can cause the problem?

Kris
Posts: 247
Joined: Tue Jul 04, 2006 7:24 am

Postby Kris » Wed Apr 04, 2007 9:57 am

Changing the hostname causes problems.

From the Scalix wiki:
Don't change the hostname of your server. Changing a server's hostname is a bad idea. If it's a Scalix Server, then it's a really bad idea.


You can try using this howto: http://www.scalix.com/wiki/index.php?title=HowTos/ChangeFQDN to change the hostname, or uninstall Scalix again, change hostname to the old hostname and reinstall Scalix again.

olotech
Posts: 42
Joined: Fri Nov 03, 2006 11:02 am

Postby olotech » Wed Apr 04, 2007 10:59 am

ok now i :
removed previous scalix installation
changed hostname

now i'm trying to reinstall scalix but at the point of setting hostname and password for Postgre db, after i click foward it say to me:
" Web application encoured an error " etc etc. View the log. how? where's the log?

( incredible the first time i installed the scalix beta i didn't find all of these problems ) :)

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed Apr 04, 2007 12:31 pm

Ok, you would find the installer logs at /var/log/scalix-installer*.log :), also uninstall the
complete Scalix whatever is installed currently, remove the folders /var/opt/scalix,
/etc/opt/scalix* and /opt/scalix*.

Now, try to recover the /var/opt/scalix folder from the tar file of old server, and continue the
steps told earlier. What this would do is restore the complete message store of previous
server. Run omcheck steps and then try finding the users by executing the command
"omshowu -m all".

Please feel free to clarify your confusions.

Thanks,
Subir

olotech
Posts: 42
Joined: Fri Nov 03, 2006 11:02 am

Postby olotech » Thu Apr 05, 2007 2:13 am

ScalixSupport wrote:Ok, you would find the installer logs at /var/log/scalix-installer*.log :), also uninstall the
complete Scalix whatever is installed currently, remove the folders /var/opt/scalix,
/etc/opt/scalix* and /opt/scalix*.

Now, try to recover the /var/opt/scalix folder from the tar file of old server, and continue the
steps told earlier. What this would do is restore the complete message store of previous
server. Run omcheck steps and then try finding the users by executing the command
"omshowu -m all".

Please feel free to clarify your confusions.

Thanks,
Subir


that's the error from log file:

Code: Select all

2007-04-04 18:34:21,770 ERROR Operation failed: Starting Scalix server failed: /opt/scalix/bin/omrc: (1) ['ERROR: Inconsistency found between version files in sys and lib', 'directories. This means that the patch levels of the Scalix shared', 'library and binary areas do not match. Scalix cannot be started until', 'this is resolved.', '']
2007-04-04 18:34:22,149 ERROR Aborting...!
2007-04-04 18:34:22,150 CRITICAL Operation failed: Web apps config function configure_res failed: Failed to add "query admin" user sxqueryadmin@fedora.olomedia.eu. /opt/scalix/bin/omaddu reported the following error: omaddu : [OM 8114] Could not get a license to configure this user.
.Please check that the domain olomedia.eu is licensed.
2007-04-04 18:34:22,150 ERROR Operation failed: Aborting web apps configuration


Now i try to:
- completely remove recent scalix installation and folder
- restore from old server /var/opt/scalix ( can i restore directly the folder, by copy/paste or it's necessary a compressed format ?)

and God bless me :D

olotech
Posts: 42
Joined: Fri Nov 03, 2006 11:02 am

Postby olotech » Thu Apr 05, 2007 3:19 am

nothing to do, i tried with a new installation but i receive the same error posted previously

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Thu Apr 05, 2007 3:31 am

Hi!

What is the result for "rpm -qa | grep scalix"?
What is the result for "cat /var/opt/scalix/s4/s/sys/version"?
What is the result for "omvers"?

Thanks,
Subir

olotech
Posts: 42
Joined: Fri Nov 03, 2006 11:02 am

Postby olotech » Thu Apr 05, 2007 7:06 am

Code: Select all

[root@fedora] rpm -qa | grep scalix
scalix-tomcat-connector-11.0.0.181-1.fc5
scalix-platform-11.0.2.23-1
scalix-sis-11.0.2.23-1
scalix-tomcat-5.5.16-195
scalix-postgres-11.0.2.23-1
scalix-res-11.0.2.23-1
scalix-sac-11.0.2.23-1
scalix-mobile-11.0.2.23-1
scalix-server-11.0.2.17-1.fc5
scalix-swa-11.0.2.23-1




Code: Select all

# cat /var/opt/scalix/s4/s/sys/version
cat: /var/opt/scalix/s4/s/sys/version: No such file or directory


i cant submit the omvers.....its very long as text and when i try to submit on this board i got error

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Thu Apr 05, 2007 8:01 am

Hi!

I meant result for command "cat /var/opt/scalix/??/s/sys/version".
Note: instead of ?? you should replace the instance folder on your Scalix Server.

Submit the result for just a few, or just confirm if the version of each is same, if so what is
the value, ideally this value should be the one in the file /var/opt/scalix/??/s/sys/version.

Thanks,
Subir


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 7 guests

cron