Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: [SOLVED] Zimbra won't start on bootup

  1. #1
    Mccreations is offline Active Member
    Join Date
    Mar 2008
    Location
    Chicago, IL
    Posts
    49
    Rep Power
    7

    Default [SOLVED] Zimbra won't start on bootup

    I can't seem to get Zimbra to start with my Ubuntu box for the life of me. I've tried everything, it's set to start at all runlevels 1-5 but it just refuses to start with my server.

    I'm running zimbra open source on Ubuntu 7.10:
    Code:
    Release 5.0.2_GA_1975.UBUNTU6 UBUNTU7 FOSS edition
    Any help is appreciated.

    Thanks,
    Matt

  2. #2
    Bill Brock is offline Outstanding Member
    Join Date
    May 2007
    Location
    Oklahoma
    Posts
    703
    Rep Power
    8

    Default

    Check your /etc/init.d/rcX.d (X=run level) folders/directories and see if the zimbra startup script is actually in these folders.

  3. #3
    Mccreations is offline Active Member
    Join Date
    Mar 2008
    Location
    Chicago, IL
    Posts
    49
    Rep Power
    7

    Default

    Quote Originally Posted by Bill Brock View Post
    Check your /etc/init.d/rcX.d (X=run level) folders/directories and see if the zimbra startup script is actually in these folders.
    Thanks for responding.

    Yes I checked every runlevel 1-5 and the startup script was there. In Ubuntu the rc.d scripts are located in /etc/rcX.d, but it's the same thing.

    Anything else I can try?

  4. #4
    Bill Brock is offline Outstanding Member
    Join Date
    May 2007
    Location
    Oklahoma
    Posts
    703
    Rep Power
    8

    Default

    Yes, SuSE tend to do some things differently than other distro's. File locations in one.

    If you manually run the script from the run level folder, does zimbra start ok?

  5. #5
    Mccreations is offline Active Member
    Join Date
    Mar 2008
    Location
    Chicago, IL
    Posts
    49
    Rep Power
    7

    Default

    Quote Originally Posted by Bill Brock View Post
    Yes, SuSE tend to do some things differently than other distro's. File locations in one.

    If you manually run the script from the run level folder, does zimbra start ok?
    What user should I run the script under?

    When I run it under Zimbra, it asks for a password. When I run it under root, it starts just fine.

  6. #6
    Mccreations is offline Active Member
    Join Date
    Mar 2008
    Location
    Chicago, IL
    Posts
    49
    Rep Power
    7

    Default

    I think I may have found the problem.

    I thought in Ubuntu all runlevel scripts would run under root, but they don't.

    They seem to be starting under the user "net" which is the user that automatically logins everytime the server starts. This is a problem because my startup script is this:

    Code:
    case "$1" in
    'start')
            su - zimbra -c "zmcontrol start"
            ;;
    'stop')
            su - zimbra -c "zmcontrol stop"
            ;;
    *)
            echo "Usage: $0 { start | stop }"
            ;;
    esac
    exit 0
    And only root has permission to use su without entering some password (which I don't even know).

    Somehow I either need to disable the password for su or come up with a new startup script.

  7. #7
    Bill Brock is offline Outstanding Member
    Join Date
    May 2007
    Location
    Oklahoma
    Posts
    703
    Rep Power
    8

    Default

    I would thin the scripts in the runlevel folders would run under root. But I couldn't swear to that. I'm fairly new at Linux.

    Let's hope some UBUNTU users will chime in on this issue as I believe it may be an OS issue.

    Can you look at your startup logs to see what may be happening?

  8. #8
    Mccreations is offline Active Member
    Join Date
    Mar 2008
    Location
    Chicago, IL
    Posts
    49
    Rep Power
    7

    Default

    Quote Originally Posted by Bill Brock View Post
    I would thin the scripts in the runlevel folders would run under root. But I couldn't swear to that. I'm fairly new at Linux.

    Let's hope some UBUNTU users will chime in on this issue as I believe it may be an OS issue.

    Can you look at your startup logs to see what may be happening?
    I believe I found the issue, I posted a minute faster than you.

    The issue is that the scripts don't start under root so the script doesn't have the permissions needed to run the commands.

    I think I need someone who knows Ubuntu and possibly how to start the scripts under root.

  9. #9
    Bill Brock is offline Outstanding Member
    Join Date
    May 2007
    Location
    Oklahoma
    Posts
    703
    Rep Power
    8

    Default

    When you manually run su zimbra, does UBUNTU ask for a password? SuSE doesn't when I do this. But now I can tell you it is probably over my head and needs a real Linux guru to help you.

  10. #10
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Quote Originally Posted by Bill Brock View Post
    When you manually run su zimbra, ...
    You should always run that command with the hypen in it i.e. su - zimbra otherwise the environment won't get created correctly.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 9
    Last Post: 03-01-2008, 08:21 PM
  2. Replies: 22
    Last Post: 12-02-2007, 05:05 PM
  3. huge log size
    By rmvg in forum Administrators
    Replies: 5
    Last Post: 01-02-2007, 10:39 AM
  4. 3.1 on FC4 problems
    By cohnhead in forum Installation
    Replies: 8
    Last Post: 05-26-2006, 11:16 AM
  5. Seeming variety of problems on suse-9.1
    By Crexis in forum Installation
    Replies: 52
    Last Post: 03-04-2006, 12:19 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
  •