Results 1 to 5 of 5

Thread: installing posix/samba extensions: tomcat hangs on admin-console

  1. #1
    auanton is offline Intermediate Member
    Join Date
    Mar 2007
    Location
    bz italy
    Posts
    23
    Rep Power
    8

    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

  2. #2
    penguinknight is offline Intermediate Member
    Join Date
    Feb 2007
    Posts
    18
    Rep Power
    8

    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

  3. #3
    penguinknight is offline Intermediate Member
    Join Date
    Feb 2007
    Posts
    18
    Rep Power
    8

    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.

  4. #4
    auanton is offline Intermediate Member
    Join Date
    Mar 2007
    Location
    bz italy
    Posts
    23
    Rep Power
    8

    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.

  5. #5
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    You probably should run the following commands to repair Permissions zimbra-wide:
    Code:
    su - root
    cd /opt/zimbra/libexec
    ./zmfixperms

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. tomcat hangs
    By ekaftan in forum Administrators
    Replies: 0
    Last Post: 06-26-2007, 06:49 AM
  2. Samba extension on existing install?
    By bersrker in forum Administrators
    Replies: 8
    Last Post: 05-17-2007, 10:42 AM
  3. Failure To get Admin Console of Tomcat Server
    By AnilKumarYalla in forum Developers
    Replies: 4
    Last Post: 06-16-2006, 06:54 AM
  4. Zimbra GA-156 Unable to open Admin console
    By phoenix in forum Administrators
    Replies: 2
    Last Post: 02-07-2006, 09:50 AM

Posting Permissions

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