Results 1 to 10 of 10

Thread: Ubuntu 6.06LTS init script isn't starting Zimbra completely

  1. #1
    CarputerTech is offline Member
    Join Date
    Apr 2008
    Posts
    10
    Rep Power
    7

    Exclamation Ubuntu 6.06LTS init script isn't starting Zimbra completely

    Hello. I've been researching this quite a bit on the forums. I see some similar threads, but none of the solutions worked for me.

    I have Zimbra 5.0.4 running on Ubuntu 6.06LTS Desktop, which is running inside a virtual server application. Zimbra works in this configuration (with the exception of the anti-virus/anti-spam deferring all mail when enabled, but thats a separate problem), but I am having trouble with the boot script. When Ubuntu boots, Zimbra starts ldap and logger. I can su root, su zimbra, then zmcontrol status and see the two running. The rest of the services are not running. However, if I zmcontrol stop and zmcontrol start, everything works fine.

    If, while logged in as zimbra, I run /etc/init.d/zimbra status, it replies with "Password: ". My root password won't work, the account I logged in doesn't work, nor does the password "zimbra". The same happens for the /etc/init.d/zimbra start and /etc/init.d/zimbra stop commands. When I enter the wrong password, it says
    Code:
    zimbra@zimbra:/$ /etc/init.d/zimbra status
    Password:
    su: Authentication failure 
    Sorry.
    zimbra@zimbra:/$
    I think it's a permissions problem. It seems like this init script cannot be run entirely with it's current permissions, which is why only certain services start. I am not really familiar with Ubuntu and I have been unable to figure it out yet. It was doing this for a while, so I decided to uninstall and try again. I ran ./install.sh -u, deleted the /opt/zimbra directory, and reinstalled. It's still not booting automatically though. As of right now, I've just completed a fresh install of Zimbra. Any idea on how I can proceed?

    Thanks!

  2. #2
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    11

    Default

    hi

    the init script is meant to be run as root. it essentially switches to zimbra user and runs zmcontrol, so if you're already zimbra user, do:

    zmcontrol status

  3. #3
    CarputerTech is offline Member
    Join Date
    Apr 2008
    Posts
    10
    Rep Power
    7

    Default

    I realize that zmcontrol status will work when logged in as zimbra, but I need the init to work fully at boot.

    Are the init's always run by root?

  4. #4
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    what does
    Code:
    find /etc/rc* -name zimbra
    produce ? just want to ensure that the RC files are actually in place. If you run /etc/init.d/zimbra as root does it start everything up okay ?

  5. #5
    CarputerTech is offline Member
    Join Date
    Apr 2008
    Posts
    10
    Rep Power
    7

    Default

    It doesn't produce anything at all. Yes, /etc/init.d/zimbra does work fine as root when run manually.

    How can I get this into the RC list?

  6. #6
    CarputerTech is offline Member
    Join Date
    Apr 2008
    Posts
    10
    Rep Power
    7

    Default

    I should add that I notice now when I run /etc/init.d/zimbra as root (or with su root in front of it) it doesn't show any information. It DOES work though. For example, if user zimbra is logged in and runs su root /etc/init.d/zimbra status, it looks like it is going to show something, and it takes a while, but then goes to the next command line as shown below:

    Code:
    zimbra@zimbra:/$ su root /etc/init.d/zimbra status
    Password:
    zimbra@zimbra:/$
    If I run start or stop they will either start or stop zimbra, but they don't itemize each service like zmcontrol does.

  7. #7
    CarputerTech is offline Member
    Join Date
    Apr 2008
    Posts
    10
    Rep Power
    7

    Default

    I've realized that Zimbra is actually starting properly. It's just taking a very long time (about 8 minutes from power on) before the web interface is running... Is this normal? It's running with 440MB of ram and Dual PIII 1GHz processors for testing.

  8. #8
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    20

    Default

    Welcome to the forums,
    Quote Originally Posted by CarputerTech View Post
    It's running with 440MB of ram
    Testing/Devel/Demo Environments:
    For a 5.0.x box 512MB should be considered the hard minimum - it just isn't prudent to go any smaller.
    For all intensive purposes 1GB is the basic recommended minimum as outlined in our system requirements doc.
    Believe it or not, by increasing that to 1.5GB many have noticed a difference.

    Production Environments:
    Minimum - 2GB RAM
    Recommend - 4GB

    While by removing some services you might be able to run with 440MB - as this person did for 256MB with 4.5.x: Making Zimbra run on minimal RAM - Zimbra :: Wiki I would suggest you upgrade/allot the VM a bit more memory

    Here's another discussion: System Requirements - Small Systems
    Last edited by mmorse; 04-09-2008 at 05:32 PM. Reason: link to system requirements doc

  9. #9
    CarputerTech is offline Member
    Join Date
    Apr 2008
    Posts
    10
    Rep Power
    7

    Default

    Hi Mike!

    Thanks for the great information! I will definitely do so.

  10. #10
    SamTzu's Avatar
    SamTzu is offline Loyal Member
    Join Date
    Jan 2006
    Location
    Finland
    Posts
    83
    Rep Power
    9

    Default

    SamTzu
    -----------------------------------------------
    "I keep hitting the esc key, why am I still here?"

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. zmperditionctl start asking for password
    By k7sle in forum Administrators
    Replies: 32
    Last Post: 02-20-2008, 11:13 AM
  2. Replies: 31
    Last Post: 12-15-2007, 09:05 PM
  3. zmtlsctl give LDAP error
    By sourcehound in forum Administrators
    Replies: 5
    Last Post: 03-11-2007, 03:48 PM
  4. huge log size
    By rmvg in forum Administrators
    Replies: 5
    Last Post: 01-02-2007, 10:39 AM
  5. FC3 Install and no zimbra ?
    By aws in forum Installation
    Replies: 10
    Last Post: 10-09-2005, 04:19 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
  •