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 09-08-2009, 09:15 AM
Intermediate Member
 
Posts: 21
Default [SOLVED] cannot restart mailboxd properly

i have a single server setup

to test something, i have removed the checkbox beside "mailbox" in the services page of the AdminConsole

i know have trouble restarting the mailbox process
try 1: 'zmmailboxdctl start' says it starts the process but i don't see it in 'zmcontrol status'
try 2: 'zmcontrol stop / start' does not seem to start the mailbox process and results in :
antivirus Running
convertd Running
imapproxy Running
ldap Running
logger Running
mta Running
spell Running
stats Stopped

i cannot connect to the adminconsole nor to an account eventhough zmmailboxdctl says that it is running

I think i have to somehow restore a parameter saying that mailbox should start automatically somewhere but i don't know where/how ?!
Reply With Quote
  #2 (permalink)  
Old 09-09-2009, 02:04 AM
Intermediate Member
 
Posts: 21
Default

anyone can help ?
Reply With Quote
  #3 (permalink)  
Old 09-09-2009, 04:36 AM
Zimbra Consultant & Moderator
 
Posts: 19,639
Default

Why did you uncheck the 'Mailbox' setting? Why are you running the proxy on a single server (hint: you shouldn't be)?

What does the output of the following show:
Code:
zmprov gs `zmhostname` | grep mailbox
__________________
Regards


Bill

Last edited by phoenix; 09-09-2009 at 06:43 AM..
Reply With Quote
  #4 (permalink)  
Old 09-09-2009, 06:22 AM
Intermediate Member
 
Posts: 21
Default

this is a test system that's why all the functions are on the same box for now

i wanted to check what happened should the store fail and i thought this checkbox was doing the same as "zmmailboxdctl start/stop" which it clearly does not...

the result of the
zmprov gs `zmhostname`|grep mailbox
command is :
zimbraServiceInstalled: mailbox


thanks for your help
Reply With Quote
  #5 (permalink)  
Old 09-09-2009, 06:52 AM
Zimbra Consultant & Moderator
 
Posts: 19,639
Default

Quote:
Originally Posted by hocky View Post
this is a test system that's why all the functions are on the same box for now
You do not install the proxy on a single server install, it will cause you problems.

Quote:
Originally Posted by hocky View Post
i wanted to check what happened should the store fail and i thought this checkbox was doing the same as "zmmailboxdctl start/stop" which it clearly does not...

the result of the
zmprov gs `zmhostname`|grep mailbox
command is :
zimbraServiceInstalled: mailbox
To enable the service do the following:

Code:
zmprov ms `zmhostname` zimbraServiceEnabled TRUE
To get rid of the proxy run the following commands to check if the proxy is installed/running:

Code:
zmproxyctl status
zmprov gs server.domain.com | grep zimbraServiceEnabled
zmprov gs server.domain.com | grep zimbraServiceInstalled
If it's in, then run this:

Code:
zmproxyctl stop
zmprov ms `zmserverhostname` -zimbraServiceEnabled imapproxy
zmcontrol stop
zmcontrol start
To reset the ports run the following (on one line):

Code:
zmprov -l ms server.domain.com zimbraPop3BindPort 110 zimbraPop3SSLBindPort 995 zimbraPop3ProxyBindPort 7110 zimbraPop3SSLProxyBindPort 7995 zimbraImapBindPort 143 zimbraImapSSLBindPort 993 zimbraImapProxyBindPort 7143 zimbraImapSSLProxyBindPort 7993
then restart
__________________
Regards


Bill
Reply With Quote
  #6 (permalink)  
Old 09-09-2009, 07:03 AM
Intermediate Member
 
Posts: 21
Default

I did as you suggest :
Code:
zmprov ms `zmhostname` zimbraServiceEnabled TRUE
and then
Code:
zmcontrol status
says:
Code:
        TRUE                    Stopped


i guess there was something missing in the ms command ?!
Reply With Quote
  #7 (permalink)  
Old 09-09-2009, 07:09 AM
Zimbra Consultant & Moderator
 
Posts: 19,639
Default

Quote:
Originally Posted by hocky View Post
i guess there was something missing in the ms command ?!
There certainly was, it should have been the following:

Code:
zmprov ms `zmhostname` zimbraServiceEnabled mailbox
__________________
Regards


Bill
Reply With Quote
  #8 (permalink)  
Old 09-09-2009, 07:35 AM
Intermediate Member
 
Posts: 21
Default

it is better now, when i run
zmcontrol stop
zmcontrol start
i get
Code:
        Starting ldap...Done.
        Starting mailbox...Done.
i know now how to re-enable the missing services


a big thanks to you
Reply With Quote
  #9 (permalink)  
Old 09-09-2009, 07:38 AM
Zimbra Consultant & Moderator
 
Posts: 19,639
Default

Glad you've fixed it.
__________________
Regards


Bill
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.