Results 1 to 4 of 4

Thread: Restore Using tgz files gives tomcat start error

  1. #1
    Join Date
    Dec 2007
    Location
    Panama
    Posts
    3
    Rep Power
    7

    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 Attached Files

  2. #2
    Join Date
    Mar 2006
    Posts
    300
    Rep Power
    9

    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)

  3. #3
    Join Date
    Dec 2007
    Location
    Panama
    Posts
    3
    Rep Power
    7

    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

  4. #4
    Join Date
    Nov 2005
    Location
    Beloit, Wisconsin
    Posts
    71
    Rep Power
    10

    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.

Similar Threads

  1. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 01:42 AM
  2. [SOLVED] Debian Etch 32 / 64: MTA not working
    By xflip in forum Installation
    Replies: 2
    Last Post: 01-18-2008, 04:58 AM
  3. Error Installing Outlook Connector
    By DanO in forum Zimbra Connector for Outlook
    Replies: 17
    Last Post: 08-28-2007, 10:35 AM
  4. 3.0 to 4.5.3 Upgrade failed (mysql error)
    By dealt in forum Installation
    Replies: 35
    Last Post: 03-19-2007, 11:30 PM
  5. M3 problem with shares
    By titangears in forum Users
    Replies: 4
    Last Post: 01-12-2006, 01:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •