Results 1 to 5 of 5

Thread: Jetty webapps not starting after server move

  1. #1
    Hivos's Avatar
    Hivos is offline Advanced Member
    Join Date
    Aug 2009
    Location
    The Hague -- The Netherlands
    Posts
    214
    Rep Power
    6

    Unhappy Jetty webapps not starting after server move

    Today I copied a complete backup of /opt/zimbra from a production server (ZCS 6.0.5 FOSS on Debian Etch 32bit) to a testserver, where I had first installed a dummy copy of ZCS 6.0.5 FOSS on Debian Etch 32bit. Somehow I can't get the webapps running. After a zmcontrol start they all (zimbra, zimbraAdmin, zimlet and service webapps) get stuck at the same point as shown in /opt/zimbra/log/zmmailboxd.out :

    Code:
    1834 WARN  [main] log - Failed startup of context org.mortbay.jetty.webapp.WebAppContext@1f4bcf7{/zimlet,/opt/zimbra/jetty-6.1.22.z6/webapps/zimlet}
    java.io.FileNotFoundException: /opt/zimbra/jetty-6.1.22.z6/webapps/zimlet/WEB-INF/web.xml (Permission denied)
    The web.xml file permissions are not OK apparently. Whenever I set these to 777 and then restart zmmailboxdctl the permissions are reset to 440 before the webapps start, etc etc.

    All other services are running fine by the way. What I've already tried:
    Code:
    chown -R zimbra:zimbra /opt/zimbra
    /opt/zimbra/libexec/zmfixperms
    Which doesn't solve the problem. Anyone has a clue on where to start to get this loop sorted out?

  2. #2
    bdial's Avatar
    bdial is offline Moderator
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    try zmfixperms --extended

  3. #3
    Hivos's Avatar
    Hivos is offline Advanced Member
    Join Date
    Aug 2009
    Location
    The Hague -- The Netherlands
    Posts
    214
    Rep Power
    6

    Default

    Quote Originally Posted by bdial View Post
    try zmfixperms --extended
    Thanks, but unfortunately it didn't resolve the issue.

    I've just checked the production server, and the permissions there are exactly the same, so there must be something else preventing jetty from starting the webapps. Can't find much in the logfiles either. I purged all logfiles before starting zimbra, and these are the logfiles that show up after a zmcontrol start:

    clamd.log
    freshclam.log
    httpd_access.log
    httpd_error.log
    Code:
    [Fri Mar 05 02:57:03 2010] [notice] Apache/2.2.14 (Unix) PHP/5.2.12 configured -- resuming normal operations
    myslow.log
    mysql_error.log
    Code:
    100305 02:55:48  mysqld started
    100305  2:55:50  InnoDB: Started; log sequence number 0 545686891
    100305  2:55:50 [Note] /opt/zimbra/mysql/libexec/mysqld: ready for connections.
    Version: '5.0.87-log'  socket: '/opt/zimbra/db/mysql.sock'  port: 7306  Source distribution
    zmlogswatch.out
    zmmtaconfig.log

    FYI: the httpd_error.log and mysql_error.log contain only notices, no errors. The rest appears to contain nothing useful as well.

  4. #4
    legopost is offline Starter Member
    Join Date
    Oct 2010
    Posts
    1
    Rep Power
    4

    Default

    The problem is that the UID and GID of "zimbra" user on new server are not the same as on old server. Just fix it.

  5. #5
    conny is offline Intermediate Member
    Join Date
    May 2008
    Location
    Germany
    Posts
    21
    Rep Power
    7

    Default

    Quote Originally Posted by legopost View Post
    The problem is that the UID and GID of "zimbra" user on new server are not the same as on old server. Just fix it.
    I know this is an old thread, but I just wanted to say Thank You! I had the same problem and that hint solved it! Thanks!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Move mailbox server
    By hrch in forum Administrators
    Replies: 9
    Last Post: 01-21-2010, 09:14 AM
  2. Server stops responding every Monday morning
    By cpalsgrove in forum Administrators
    Replies: 1
    Last Post: 08-24-2009, 08:37 AM
  3. Replies: 9
    Last Post: 02-25-2009, 04:39 AM
  4. Can Move Old Stats From Old Server to New?
    By LMStone in forum Administrators
    Replies: 1
    Last Post: 04-08-2008, 11:27 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
  •