Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-14-2008, 08:13 AM
New Member
 
Posts: 3
Exclamation Restore Using tgz files gives tomcat start error

Hi All,

I'm trying to test a backup of my live zimbra server. I did the following:

1. Installed the same os (Centos 4.5 with all updates)
2. copied the install binary from my zimbra server (ZCS 4.5.10) to the test machine
3. ran ./install -s to install zimbra without configuring it.
4. untar the backup file ( tar -zxvf zimbrabck.tgz) while on /opt
5. ran as root chown -R zimbra:zimbra zimbra
6. ran as root /opt/zimbra/libexec/zmfixperms
7. started zimbra server using su - zimbra -c "zmcontrol start"

After starting the server I did a zmcontrol status and gave the following output:

[zimbra@mail ~]$ zmcontrol status
Host mail.xxx.net
antispam Running
antivirus Running
ldap Running
logger Running
mailbox Stopped
tomcat is not running
mta Running
snmp Running
spell Running
stats Running
[zimbra@mail ~]$

Seeing this I looked out around the zimbra forums and wiki, but I haven't found anything that will help me fix this problem.

Attached is the following log:

catalina.out.txt from /opt/zimbra/tomcat/logs/catalina.out

Plz, can you give me some pointers to fix this.

Best Regards,

Javier Almillategui

P.D: I tried doing an update using the same binary, but it didin't work. I mean it started everything but I could not log using any account. (it also became imposible to log in with).

P.D2: Also I have noticed that when I do the backup, the tar program wont include the sockect files.... does this affect the restore?
Attached Files
File Type: txt catalina.out.txt (326.2 KB, 38 views)
Reply With Quote
  #2 (permalink)  
Old 02-14-2008, 08:34 AM
tgx tgx is offline
Elite Member
 
Posts: 291
Default

Looks like you have a permissions problem on the restored files.
I see a lot of entries like this:
/opt/zimbra/log/mailbox.log (Permission denied)
Reply With Quote
  #3 (permalink)  
Old 02-14-2008, 08:55 AM
New Member
 
Posts: 3
Default

Quote:
Originally Posted by tgx View Post
Looks like you have a permissions problem on the restored files.
I see a lot of entries like this:
/opt/zimbra/log/mailbox.log (Permission denied)
I thought so too... Right now I'm reinstalling and I'm going to try the following:

1. run ./install.sh
2. untar the bck file
3. run zmfixperms -extended -verbose
4 zmcontrol start

and se what happens.

I scratched the previus install doing an update from 4.5.10 to 4.5.10.....

thx for the help,

Javier
Reply With Quote
  #4 (permalink)  
Old 02-14-2008, 12:23 PM
Senior Member
 
Posts: 66
Default

Two things I would do:

Make sure Zimbra is stopped completely when creating the tar archive. You might have to kill the logger process. I do.

Use the 'p' flag (keep permissions flag) when creating and extracting the tar archive. tar xvzpf zimbrabck.tgz That might help with the permission problem.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.