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 05-18-2007, 07:16 AM
Intermediate Member
 
Posts: 22
Default installing posix/samba extensions: tomcat hangs on admin-console

hi all, newbie here

following the instructions in:
http://wiki.zimbra.com/index.php?tit...imbra_Admin_UI

i reached point 8:

8 Reload your Zimbra Admin to initialize the extensions. When the extensions are loaded for the first time, they will check if OUs defined by ldapMachineSuffix and ldapGroupSuffix propertiesin config_template.xml files exist and create these OUs, if they do not exist.

... but i cannot login as admin: it hangs, just "loading..."
this happens only for admin-logins, not for user-logins

in the end i found out:

---deleting the two directories:

/opt/zimbra/apache-tomcat-5.5.15/webapps/service/zimlet/zimbra_posixaccount
/opt/zimbra/apache-tomcat-5.5.15/webapps/service/zimlet/zimbra_samba
and doing "tomcat restart" everything runs smoothly.

the console shows even the two extensions as deployed.

putting them back in place, tomcat hangs on admin-login again.

i am running zimbra 4.5.5 community version on ubuntu 6.0.6

thanks for help

anton
Reply With Quote
  #2 (permalink)  
Old 05-24-2007, 10:18 PM
Intermediate Member
 
Posts: 18
Default

I am getting the exact same behavior on ubuntu 6.10 with zcs 4.5.5.

http://tinyurl.com/yoabyj
That is the guide I went off of, perhaps if you used the same guide there is something incorrect in what they have the user install or the like?

Unfortunately during this freezeup before login being displayed nothing is logged in /opt/zimbra/log

The only error I get during install is there is
no MX record, do you want to change domain name?
This is because my intranet DNS server doesn't have MX records, just A. I didn't think this would matter because I could still email out (but I never did try emailing to another mailbox....hm)

I have tried in IE, no luck
I have tried editing the file in windows (because I saw pico saying "dos format" when I open one of the files), no luck

Any assistance would be greatly appreciated (and probably good since Zimbra + Ubuntu are going to be working together at network edition level).

Thank you for an incredible server

-Jeremy
Reply With Quote
  #3 (permalink)  
Old 05-24-2007, 10:39 PM
Intermediate Member
 
Posts: 18
Default

I got the admin console to load with the extensions working.

I did a:
chmod a+rwx /opt/zimbra/lib/ext/zimbraldaputils/zimbraldaputils.jar
Then restarted the services....
su - zimbra
zmcontrol stop
zmcontrol start

And I think what happened was zimbra saw the admin extensions which referenced a file, zimbraldaputils.jar, which the zimbra user couldn't read because of permissions

Please let me know if you are able to get it working with this, unfortunately I was messing with more than JUST the permissions when I got it working so I can't be sure that the permissions really did the trick.
Reply With Quote
  #4 (permalink)  
Old 05-25-2007, 09:57 AM
Intermediate Member
 
Posts: 22
Default

confirmed !
it was a permission problem

so i did:
chmod a+rwx /opt/zimbra/lib/ext/zimbraldaputils/zimbraldaputils.jar

and also on the directories:
chmod a+rwx /opt/zimbra/apache-tomcat-5.5.15/webapps/service/zimlet/zimbra_posixaccount
chmod a+rwx /opt/zimbra/apache-tomcat-5.5.15/webapps/service/zimlet/zimbra_samba

and also:
chmod a+r /opt/zimbra/apache-tomcat-5.5.15/webapps/service/zimlet/zimbra_posixaccount/*
chmod a+r /opt/zimbra/apache-tomcat-5.5.15/webapps/service/zimlet/zimbra_samba/*

( making permissions identical to those of the other zimlets )

the console loads fine now.

perhaps an expert should judge whether these changes in permissions are safe ??


anton

Last edited by auanton; 05-25-2007 at 10:00 AM..
Reply With Quote
  #5 (permalink)  
Old 05-25-2007, 03:48 PM
Former Zimbran
 
Posts: 5,606
Default

You probably should run the following commands to repair Permissions zimbra-wide:
Code:
su - root
cd /opt/zimbra/libexec
./zmfixperms
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.