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

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 03-04-2010, 04:24 PM
Advanced Member
 
Posts: 192
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?
Reply With Quote
  #2 (permalink)  
Old 03-04-2010, 04:38 PM
Moderator
 
Posts: 1,554
Default

try zmfixperms --extended
Reply With Quote
  #3 (permalink)  
Old 03-04-2010, 05:21 PM
Advanced Member
 
Posts: 192
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.
Reply With Quote
  #4 (permalink)  
Old 12-03-2010, 03:10 PM
Starter Member
 
Posts: 1
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.
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.