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

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-23-2009, 01:04 PM
New Member
 
Posts: 4
Exclamation Zimbra Services don't start

hi all!

I'm having a problem with my Zimbra Server, (Release 5.0.11_GA_2695.UBUNTU8 UBUNTU8 FOSS edition) I had Installed almost a year ago amd everything had worked fine so far. But now i'm having problems.

Right now only : one service seems to be running.

zimbra@mail:/var/log$ zmcontrol status
Host xxx.xxxxx.xxx
imapproxy Running


when I make a zmcontrol stop

Stopping stats...Done
Stopping mta...Done
Stopping spell...Done
Stopping snmp...Done
Stopping archiving...Done
Stopping antivirus...Done
Stopping antispam...Done
Stopping imapproxy...Done
Stopping mailbox...Done
Stopping logger...Done
Stopping ldap...Done

It seems to stop all services.

But, when executing zmcontrol start
I get only:

zimbra@mail:/var/log$ zmcontrol start
Host xxx.xxxxx.xxx

Starting ldap...Done.
Starting imapproxy...Done.

How can I star the rest of the services, or how can I check why rest of them are not working?

I'll appreciate any help
Reply With Quote
  #2 (permalink)  
Old 09-23-2009, 01:09 PM
New Member
 
Posts: 4
Default Additional Information

By the way:

My problem started inmediatly I typed this command:

zmprov ms mail.xxxx.xxx zimbraServiceEnabled imapproxy

I don't know if there is a relation or not.


Quote:
Originally Posted by ramugu View Post
hi all!

I'm having a problem with my Zimbra Server, (Release 5.0.11_GA_2695.UBUNTU8 UBUNTU8 FOSS edition) I had Installed almost a year ago amd everything had worked fine so far. But now i'm having problems.

Right now only : one service seems to be running.

zimbra@mail:/var/log$ zmcontrol status
Host xxx.xxxxx.xxx
imapproxy Running


when I make a zmcontrol stop

Stopping stats...Done
Stopping mta...Done
Stopping spell...Done
Stopping snmp...Done
Stopping archiving...Done
Stopping antivirus...Done
Stopping antispam...Done
Stopping imapproxy...Done
Stopping mailbox...Done
Stopping logger...Done
Stopping ldap...Done

It seems to stop all services.

But, when executing zmcontrol start
I get only:

zimbra@mail:/var/log$ zmcontrol start
Host xxx.xxxxx.xxx

Starting ldap...Done.
Starting imapproxy...Done.

How can I star the rest of the services, or how can I check why rest of them are not working?

I'll appreciate any help
Reply With Quote
  #3 (permalink)  
Old 09-23-2009, 01:11 PM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Why do you have the proxy running? If this is a single server installation you should not have it installed or running. Search the forums for details on how to disable the proxy (there are several posts by me and other members(.
__________________
Regards


Bill
Reply With Quote
  #4 (permalink)  
Old 09-23-2009, 01:27 PM
New Member
 
Posts: 4
Default

I followed instructions according to this page: Disabling Imapproxy - Zimbra :: Wiki

But problem still persists!


Quote:
Originally Posted by phoenix View Post
Why do you have the proxy running? If this is a single server installation you should not have it installed or running. Search the forums for details on how to disable the proxy (there are several posts by me and other members(.
Reply With Quote
  #5 (permalink)  
Old 09-23-2009, 02:33 PM
New Member
 
Posts: 4
Default

Hello. I have disabled the proxy:

Now, when doing the zmcontrol status, I get:

zimbra@mail:/$ zmcontrol status
Unable to determine enabled services from ldap.
Enabled services read from cache. Service list may be inaccurate.
Host mail.xxxxx.xx.xx
imapproxy Stopped
nginx is not running
memcached is not running
zimbra@mail:/$


When doing, zmcontrol start, I get:

zimbra@mail:/$ zmcontrol start
Host mail.conicit.go.cr
Starting ldap...Done.
zimbra@mail:/$

The only service starting up, is ldap.

DNS and Hostname, are ok since the server was previously running...


Any help, I'll appreciate it.

Thanks.







Quote:
Originally Posted by phoenix View Post
Why do you have the proxy running? If this is a single server installation you should not have it installed or running. Search the forums for details on how to disable the proxy (there are several posts by me and other members(.
Reply With Quote
  #6 (permalink)  
Old 04-16-2010, 12:27 PM
Junior Member
 
Posts: 7
Default

Anyone ever come up with a solution to this?

I disabled the impa proxy after other threads suggested it to restore plain text imap logins, but removing the imap proxy killed all imap connections, now server doesn't work at all.

Very bad Zimbra day, all started with clamav. Upgrades. New certs. Fails.
Reply With Quote
  #7 (permalink)  
Old 04-16-2010, 12:39 PM
Zimbra Employee
 
Posts: 184
Default

Most likely, the other services are disabled.

zmprov gs `zmhostname` | grep zimbraService*

Normally you should see the following

zimbraServiceEnabled: antivirus
zimbraServiceEnabled: antispam
zimbraServiceEnabled: logger
zimbraServiceEnabled: mailbox
zimbraServiceEnabled: mta
zimbraServiceEnabled: convertd
zimbraServiceEnabled: stats
zimbraServiceEnabled: snmp
zimbraServiceEnabled: ldap
zimbraServiceEnabled: spell

If not, you'll need to make sure the services are re-added

zmprov -l ms `zmhostname` -- +zimbraServiceEnabled mailbox

zmprov -l ms `zmhostname` -- +zimbraServiceEnabled antispam

zmprov -l ms `zmhostname` -- +zimbraServiceEnabled antivirus

zmprov -l ms `zmhostname` -- +zimbraServiceEnabled mta

zmprov -l ms `zmhostname` -- +zimbraServiceEnabled convertd

zmprov -l ms `zmhostname` -- +zimbraServiceEnabled spell

zmprov -l ms `zmhostname` -- +zimbraServiceEnabled stats

zmprov -l ms `zmhostname` -- +zimbraServiceEnabled snmp

zmprov -l ms `zmhostname` -- +zimbraServiceEnabled logger

zmcontrol stop

zmcontrol start
Reply With Quote
  #8 (permalink)  
Old 04-16-2010, 01:15 PM
Junior Member
 
Posts: 7
Default

Thanks for the reply. More stuff has gone downhill.

Tried to reinstall doing an upgrade, it returned an error that the ldap passwords were empty, so I assigned them.

Upon trying to to run zmprov:

ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)


One thing of interest, the ldap server runs bound to the hostname of the server, and does not answer to localhost (on port 389).

[zimbra@mail ~]$ zmcontrol status
Cannot determine services - exiting

I just used netcat against localhost to listen on 389, and it appears as if the app isn't trying to connect to that.

Also, after reading other threads, I tried this:

[zimbra@mail ~]$ zmprov -l gs mail.centriccrm.com | grep zimbraService*
zimbraServiceHostname: mail.centriccrm.com
zimbraServiceInstalled: antivirus
zimbraServiceInstalled: antispam
zimbraServiceInstalled: logger
zimbraServiceInstalled: mailbox
zimbraServiceInstalled: mta
zimbraServiceInstalled: stats
zimbraServiceInstalled: imapproxy
zimbraServiceInstalled: snmp
zimbraServiceInstalled: ldap
zimbraServiceInstalled: spell

But that is using the -l, which forces ldap.

I tried modifying this:
zmlocalconfig -e zimbra_zmprov_default_to_ldap=true

But other commands didn't work so I reverted to default.

Last edited by telmnstr; 04-16-2010 at 01:48 PM..
Reply With Quote
  #9 (permalink)  
Old 04-16-2010, 01:55 PM
Junior Member
 
Posts: 7
Default

Also everything was working until I wanted to restore the plaintext imap authentication so our blackberry users could connect. After reading the threads (the option is greyed out), the theory was to remove the imap proxy. When I did this, imap quit working. When I re-enabled the imap proxy, pretty much all of Zimbra broke.

I reverted the change to the plain text imap logins, and reverted the imap proxy being off. Sometimes imapproxy is the only thing that starts, normally ldap is the only thing that starts.

I noticed others had a similar issue (only after I had this issue) but there was no resolution posted.
Reply With Quote
  #10 (permalink)  
Old 04-16-2010, 03:00 PM
Zimbra Employee
 
Posts: 184
Default

Is that the only output you are getting from this command?

zmprov -l gs mail.centriccrm.com | grep zimbraService*

If so, the you really need to enable the services with the commands I mentioned before, including

zmprov -l ms `zmhostname` -- +zimbraServiceEnabled ldap
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.