Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

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 07-12-2010, 07:30 AM
Junior Member
 
Posts: 5
Default [SOLVED] Stop Zimbra form restarting.

Hi all,

I recently installed Zimbra on my server for, initially, testing purposes and am already been faced with a difficulty.

How do I stop Zimbra from automatically restarting itself?

I've tried "zmcontrol stop" and "zmcontrol shutdown" but after a while zimbra always restart itself.

Thanks for your help.

Kadu
Reply With Quote
  #2 (permalink)  
Old 07-12-2010, 07:43 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Quote:
Originally Posted by kadu View Post
How do I stop Zimbra from automatically restarting itself?
Zimbra doesn't 'restart itself' so what exactly do you mean by restarting? Is this a real server or VM, have you checked your server for RAM or HD problems? How much RAM do you have installed on this server?
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 07-12-2010, 07:50 AM
Junior Member
 
Posts: 5
Default

Phoenix, thanks for your reply.

Zimbra does restart itself, or some of the crontab entries it adds do it.

the server's power is of no relevance to the problem, when I issue a zmcontrol stop (or shutdown) all zimbra services stop successfully, but later on they are automatically restarted.

Now what is calling the zimbra to restart? is it the crontab entries under zimbra user? if so what is the standard way to completelly stop zimbra on a server? do I have to comment out all these crontab entries?

thanks
Reply With Quote
  #4 (permalink)  
Old 07-12-2010, 07:53 AM
Special Member
 
Posts: 139
Default

Zimbra gets started from service.In Redhat there is this

setup that we run , where autostart is required to be unticked for zimbra service.

For Your Flavour of Linux u need to make corresponding Changes.
Reply With Quote
  #5 (permalink)  
Old 07-12-2010, 07:58 AM
Junior Member
 
Posts: 5
Default

Himanshu,

by "from service" you mean you type something like "service start zimbra" or "service stop zimbra", correct?

this is same as init.d script which is what I use to start/stop my zimbra.

Now when you say autostart, do you mean that it starts automatically when the server boots? this is not really my problem, this is something I can tacle by changing rc.d script. The problem I have is that even without a restart of the server zimbra restarts itself, which leads me to belive this is happening on a cron script.

thanks
Reply With Quote
  #6 (permalink)  
Old 07-12-2010, 08:44 AM
Advanced Member
 
Posts: 205
Default

kadu,
check the logrotate scripts for zimbra. I had zimbra start-up on a "backup server" over the weekend and it appears to be in part due to zimbra logrotate script. I'm still checking for other possible reasons.
Reply With Quote
  #7 (permalink)  
Old 07-12-2010, 08:48 AM
Special Member
 
Posts: 139
Default

on Redhat there is a setup program when executed it would list all the services that are registered. The one that are ticked start automatically , the one that are unticked do not start automaticaly.
Reply With Quote
  #8 (permalink)  
Old 07-12-2010, 09:53 AM
Junior Member
 
Posts: 5
Default

HI Jrefl,

Interesting point, I have moved the Zimbra logrotate scripts away. Let's see if that does the trick.

Kadu
Reply With Quote
  #9 (permalink)  
Old 07-12-2010, 10:27 AM
Advanced Member
 
Posts: 205
Default

Further rearch, it not a full zimbra trigered by the logrotate script, but zmlogswatchctl, zmswatchctl, and zmmtaconfigctl are all run with a "restart" paramater. (zimbra 6.06 NE).
Reply With Quote
  #10 (permalink)  
Old 07-12-2010, 10:36 AM
Special Member
 
Posts: 139
Default

Quote:
Originally Posted by kadu View Post
HI Jrefl,

Interesting point, I have moved the Zimbra logrotate scripts away. Let's see if that does the trick.

Kadu
Check following . I understand you are using Ubuntu.

How To Disable Unwanted Services In Ubuntu Linux

Disable a startup of service in Ubuntu | Unix Tutorial
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.