Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21

Thread: Start services on boot

  1. #11
    Join Date
    May 2006
    Location
    England.
    Posts
    927
    Rep Power
    10

    Default

    Ok, so I've used that script and made the zimbra-init file. It's stored in the right place and I've chmodded it to 755 to match the rest of the scripts in there.

    I used chkconfig zimbra-init on to make it run on start and that should be it.

    I've tried just executing it from the command line with ./zimbra-init but it errors on the line . /etc/rc.d/init.d/functions

    I've not rebooted the machine yet as I'm working remotely and I'd rather perform the reboot in a few hours when I can be standing infront of it!

  2. #12
    Join Date
    May 2006
    Location
    Espírito Santo - Brasil
    Posts
    39
    Rep Power
    9

    Default

    In the case of script that I passed, using the Fedora Core 4, it is alone to type:

    #service zimbra stop

    or

    #service zimbra start

    or

    #service zimbra restart

  3. #13
    Join Date
    May 2006
    Location
    England.
    Posts
    927
    Rep Power
    10

    Default

    Well, the services started on reboot !

    It errored at that same line, but went on to start up anyway, so that;s great. Thanks for the help.

    I am left wondering why it doesnt do this 'out of the box' so to speak.

  4. #14
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Quote Originally Posted by Dirk
    I am left wondering why it doesnt do this 'out of the box' so to speak.
    It does. There was a bug the the script was not getting installed in the right place, but you can get a copy in /opt/zimbra/libexec
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  5. #15
    Join Date
    May 2006
    Location
    England.
    Posts
    927
    Rep Power
    10

    Default

    Quote Originally Posted by KevinH
    It does. There was a bug the the script was not getting installed in the right place, but you can get a copy in /opt/zimbra/libexec
    There's a few files in that folder, could you tell me which one I need to copy to /etc/init.d ?

    Also, you mention this bug in the past tense, and indeed the bugzilla entry claims it's closed and does mention that the code is 'in libexec' but offers no further info.... Was it fixed in 3.1.4 and if so, why didnt installing 3.1.4 fix the problem?

    Cheers.

  6. #16
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    It's fixed in 3.2 (not 3.1.4), the script is called 'zimbra'.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  7. #17
    Join Date
    Jul 2006
    Posts
    17
    Rep Power
    9

    Default

    i did this and running automatically after boot on redhat

    - edit file rc.local in /etc/rc.d
    - add this line :-

    su - zimbra -c "zmcontrol start"

    - it'll work in HAL Daemon if look during startup

  8. #18
    Join Date
    Dec 2005
    Location
    Peterborough, UK
    Posts
    140
    Rep Power
    9

    Default

    Sorry for the extremely slow response - I've been tied up with all sorts of un-fun stuff.

    I have been having the same issue SUSE10 and ZCS3.1.4, and out of curiosity I checked to see what chkconfig reported. Low and behold zimbra was set to an off state!

    Solution: chkconfig zimbra on

    For some reson this simple check slipped through my problem solving process.

  9. #19
    Join Date
    May 2006
    Location
    England.
    Posts
    927
    Rep Power
    10

    Default

    I think I'm going to cry!!

    I remove the user script offered further up in this thread, and copied the official on in it's place, I later noticed that zimbra was not starting on boot, while it worked ok with the other script.

    I gave up for a while and yesterday installed 4.0, which I've not tested on a reboot yet, but I'm assuming it will work fine.

    Then I discover it was simply turned off!!! Arghhhhh.

    Well, good to know, thanks for finding that one

  10. #20
    Join Date
    Dec 2005
    Location
    Peterborough, UK
    Posts
    140
    Rep Power
    9

    Default There's a moral to the story

    I always look for the complicated solution before the simple one - desperatly trying to change that way of thinking, but fail miserably.

    Glad it helps you out though

Similar Threads

  1. Replies: 7
    Last Post: 02-03-2011, 06:01 AM
  2. Zimbra .pids / service monitoring
    By bin2hex in forum Administrators
    Replies: 24
    Last Post: 04-03-2010, 09:12 PM
  3. Unable to start services.
    By Russellstrei in forum Installation
    Replies: 5
    Last Post: 06-15-2007, 02:34 PM
  4. start on boot problem
    By vaneck in forum Administrators
    Replies: 6
    Last Post: 05-03-2006, 01:40 PM
  5. Is it started or not
    By kwelipatton in forum Installation
    Replies: 10
    Last Post: 03-28-2006, 10:11 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
  •