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 Display Modes
  #1 (permalink)  
Old 04-21-2009, 06:31 AM
Intermediate Member
 
Posts: 23
Default [SOLVED] Error while starting zimbra

hi,

Can anybody help me from this? I am getting this following error while running this command "/opt/zimbra/bin/zmcontrol start"

[zimbra@localhost ~]$ /opt/zimbra/bin/zmcontrol start
Host localhost
Unable to determine enabled services from ldap.
Unable to determine enabled services. Cache is out of date or doesn't exist.

Regards
Dinesh
Reply With Quote
  #2 (permalink)  
Old 04-21-2009, 09:18 AM
Zimbra Consultant & Moderator
 
Posts: 12,388
Default

You've added your post to a thread that's over a year old and has nothing to do with your problem, I'll move your post.

You've given no details of whether this is a new isnatll or an upgrade, whether you have a Split DNS set-up (if you're on a LAN) nor which operating system you're using. I'd suggest you look in the log files and see what errors you're getting. I'd also hazard a guess at the fact you don't have a DNS server on your LAN, do you? If you don't then follow the instructions here: Split DNS - Zimbra :: Wiki

You might also want to search the forums as this problem has been covered many times.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 04-22-2009, 02:35 AM
Intermediate Member
 
Posts: 23
Default Correct some problems

Hi,

I have corrected my DNS server problem. Now my DNS server is in LAN which is near to my system. LDAP is not running now. My DNS server name is like this "mail.example.com" with both A and MX records.

[zimbra@mail ~]$ ldap start
ldap_url and ldap_master_url cannot be the same on an ldap replica

I got the following error and i saw that there is no slapd.conf file under this path "/opt/zimbra/conf/".

I am using zimbra version "zcs-NETWORK-5.0.15_GA_2851.RHEL5.20090310165728".

My Linux version is RHEL5.

What might be the issue? Can anybody help me?

Regards
Dinesh
Reply With Quote
  #4 (permalink)  
Old 04-22-2009, 10:50 AM
Zimbra Consultant & Moderator
 
Posts: 12,388
Default

If you search the forums you'll find the answer, this has been covered before.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 04-23-2009, 01:45 AM
Intermediate Member
 
Posts: 23
Default system failure: MessagingException in zimbra

hi

Ok. I have run the zimbra mailing site. To me, incoming mail are coming. But when sending the mails, i get the following error in the popup window.

method: SendMsgRequest
msg: system failure: MessagingException
code: service.FAILURE
detail: soap:Receiver
trace: btpool0-0:1240412935327:04b0c38e72aa6f6b
request:

Body: {
SendMsgRequest: {
_jsns: "urn:zimbraMail",
m: {
e: [
0: {
a: "sample@hotmail.com",
add: 1,
p: "Dinesh",
t: "t"
},
1: {
a: "admin@mail.example.com",
p: "test@webtechnology.in",
t: "f"
}
],
idnt: "80e3cebb-aeaa-4707-8232-1948e2bc51ba",
irt: {
_content: ""
},
mp: [
0: {
content: {
_content: "Hello. This is sample mail "
},
ct: "text/plain"
}
],
origid: "272",
rt: "r",
su: {
_content: "Re: mail"
}
},
suid: 1240471873669
}
},
Header: {
context: {
_jsns: "urn:zimbra",
account: {
_content: "admin@mail.example.com",
by: "name"
},
authToken: "(removed)",
format: {
type: "js"
},
notify: {
seq: 4
},
sessionId: {
_content: 117,
id: 117
},
userAgent: {
name: "ZimbraWebClient - FF3.0 (Win)",
version: "5.0.15_GA_2851.RHEL5"
}
}
}

Mailbox.log
=========
2009-04-22 20:33:01,351 INFO [IndexWritersSweeperThread] [] index - open index writers sweep: before=1, closed=0, after=1 (0ms)
2009-04-22 20:33:30,359 INFO [btpool0-0] [name=admin@mail.example.com;mid=2;ip=192.168.1.117 ;ua=ZimbraWebClient - FF3.0 (Win)/5.0.15_GA_2851.RHEL5;] soap - SendMsgRequest
2009-04-22 20:33:30,359 INFO [btpool0-0] [name=admin@mail.example.com;mid=2;ip=192.168.1.117 ;ua=ZimbraWebClient - FF3.0 (Win)/5.0.15_GA_2851.RHEL5;] SendMsg - LC(mbox=64613039-b43b-4bdc-8832-ea361f358ffa, sessions=117)
2009-04-22 20:33:30,364 INFO [btpool0-0] [name=admin@mail.example.com;mid=2;ip=192.168.1.117 ;ua=ZimbraWebClient - FF3.0 (Win)/5.0.15_GA_2851.RHEL5;] smtp - Sending message: Message-ID=<11521214.421240412610363.JavaMail.root@mail.exampl e.com>, origMsgId=64613039-b43b-4bdc-8832-ea361f358ffa:272, replyType=r
2009-04-22 20:33:30,372 INFO [btpool0-0] [name=admin@mail.example.com;mid=2;ip=192.168.1.117 ;ua=ZimbraWebClient - FF3.0 (Win)/5.0.15_GA_2851.RHEL5;] mailop - Adding Message: id=275, Message-ID=<11521214.421240412610363.JavaMail.root@mail.exampl e.com>, parentId=274, folderId=5, folderName=Sent.
2009-04-22 20:33:30,434 INFO [btpool0-0] [name=admin@mail.example.com;mid=2;ip=192.168.1.117 ;ua=ZimbraWebClient - FF3.0 (Win)/5.0.15_GA_2851.RHEL5;] mailop - Deleting Message (id=275).
2009-04-22 20:33:30,460 WARN [btpool0-0] [name=admin@mail.example.com;mid=2;ip=192.168.1.117 ;ua=ZimbraWebClient - FF3.0 (Win)/5.0.15_GA_2851.RHEL5;] smtp - exception occurred during SendMsg
com.zimbra.cs.mailbox.MailSender$SafeMessagingExce ption: Connection refused; chained exception is:
java.net.ConnectException: Connection refused
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTra nsport.java:1378)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SM TPTransport.java:399)
at javax.mail.Service.connect(Service.java:275)
at javax.mail.Service.connect(Service.java:156)
at javax.mail.Service.connect(Service.java:105)
at javax.mail.Transport.send0(Transport.java:168)
at javax.mail.Transport.send(Transport.java:98)
at com.zimbra.cs.mailbox.MailSender.sendMessage(MailS ender.java:537)
at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(M ailSender.java:255)
at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(M ailSender.java:120)
at com.zimbra.cs.service.mail.SendMsg.doSendMessage(S endMsg.java:196)
at com.zimbra.cs.service.mail.SendMsg.handle(SendMsg. java:156)
at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng ine.java:429)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:286)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:160)
at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:269)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:727)
at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:190)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1093)
at org.mortbay.servlet.UserAgentFilter.doFilter(UserA gentFilter.java:81)
at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter .java:132)
at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:360)
at org.mortbay.jetty.security.SecurityHandler.handle( SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(Se ssionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(Co ntextHandler.java:716)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebA ppContext.java:406)
at org.mortbay.jetty.handler.ContextHandlerCollection .handle(ContextHandlerCollection.java:211)
at org.mortbay.jetty.handler.HandlerCollection.handle (HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:139)
at org.mortbay.jetty.handler.rewrite.RewriteHandler.h andle(RewriteHandler.java:350)
at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:313)
at org.mortbay.jetty.HttpConnection.handleRequest(Htt pConnection.java:506)
at org.mortbay.jetty.HttpConnection$RequestHandler.co ntent(HttpConnection.java:844)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser. java:644)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpPa rser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnec tion.java:381)
at org.mortbay.io.nio.SelectChannelEndPoint.run(Selec tChannelEndPoint.java:396)
at org.mortbay.thread.BoundedThreadPool$PoolThread.ru n(BoundedThreadPool.java:442)
2009-04-22 20:33:30,461 INFO [btpool0-0] [name=admin@mail.example.com;mid=2;ip=192.168.1.117 ;ua=ZimbraWebClient - FF3.0 (Win)/5.0.15_GA_2851.RHEL5;] SoapEngine - handler exception
com.zimbra.common.service.ServiceException: system failure: MessagingException
ExceptionId:btpool0-0:1240412610461:04b0c38e72aa6f6b
Code:service.FAILURE
at com.zimbra.common.service.ServiceException.FAILURE (ServiceException.java:253)
at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(M ailSender.java:332)
at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(M ailSender.java:120)
at com.zimbra.cs.service.mail.SendMsg.doSendMessage(S endMsg.java:196)
at com.zimbra.cs.service.mail.SendMsg.handle(SendMsg. java:156)
at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng ine.java:429)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:286)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:160)
at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:269)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:727)
at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:190)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1093)
at org.mortbay.servlet.UserAgentFilter.doFilter(UserA gentFilter.java:81)
at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter .java:132)
at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:360)
at org.mortbay.jetty.security.SecurityHandler.handle( SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(Se ssionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(Co ntextHandler.java:716)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebA ppContext.java:406)
at org.mortbay.jetty.handler.ContextHandlerCollection .handle(ContextHandlerCollection.java:211)
at org.mortbay.jetty.handler.HandlerCollection.handle (HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:139)
at org.mortbay.jetty.handler.rewrite.RewriteHandler.h andle(RewriteHandler.java:350)
at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:313)
at org.mortbay.jetty.HttpConnection.handleRequest(Htt pConnection.java:506)
at org.mortbay.jetty.HttpConnection$RequestHandler.co ntent(HttpConnection.java:844)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser. java:644)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpPa rser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnec tion.java:381)
at org.mortbay.io.nio.SelectChannelEndPoint.run(Selec tChannelEndPoint.java:396)
at org.mortbay.thread.BoundedThreadPool$PoolThread.ru n(BoundedThreadPool.java:442)
Caused by: com.zimbra.cs.mailbox.MailSender$SafeMessagingExce ption: Connection refused; chained exception is:
java.net.ConnectException: Connection refused
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTra nsport.java:1378)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SM TPTransport.java:399)
at javax.mail.Service.connect(Service.java:275)
at javax.mail.Service.connect(Service.java:156)
at javax.mail.Service.connect(Service.java:105)
at javax.mail.Transport.send0(Transport.java:168)
at javax.mail.Transport.send(Transport.java:98)
at com.zimbra.cs.mailbox.MailSender.sendMessage(MailS ender.java:537)
at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(M ailSender.java:255)
... 33 more
2009-04-22 20:33:31,367 INFO [IndexWritersSweeperThread] [] index - open index writers sweep: before=1, closed=0, after=1 (0ms)



Do i need to give DNS name anywhere else?
What will be the problem?
Can anybody help me?

Regards
Dinesh

Last edited by dineshsdk : 04-23-2009 at 03:42 AM.
Reply With Quote
  #6 (permalink)  
Old 04-23-2009, 06:13 AM
Zimbra Consultant & Moderator
 
Posts: 12,388
Default

Instead of saying your 'dns works', how about posting some diagnostic information to confirm it? Post the output of the following commands:

Code:
cat /etc/hosts
cat /etc/resolv.conf
dig yourdomain mx
dig yourdomain any
host `hostname` <-- type that exactly and use backticks not single quotes
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 04-23-2009, 10:51 AM
Intermediate Member
 
Posts: 23
Default Here it is

[root@mail ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.1.83 mail.greenexample.com mail

====================================

[root@mail ~]# cat /etc/resolv.conf
nameserver 192.168.1.120

====================================

[root@mail ~]# dig mail.greenexample.com mx

; <<>> DiG 9.3.3rc2 <<>> mail.greenexample.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10477
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; QUESTION SECTION:
;mail.greenexample.com. IN MX

;; ANSWER SECTION:
mail.greenexample.com. 3600 IN MX 10 mail.greenexample.com.

;; ADDITIONAL SECTION:
mail.greenexample.com. 3600 IN A 192.168.1.83

;; Query time: 38 msec
;; SERVER: 192.168.1.120#53(192.168.1.120)
;; WHEN: Thu Apr 23 03:54:45 2009
;; MSG SIZE rcvd: 71

=============================================

[root@mail ~]# dig mail.greenexample.com any

; <<>> DiG 9.3.3rc2 <<>> mail.greenexample.com any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62734
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1

;; QUESTION SECTION:
;mail.greenexample.com. IN ANY

;; ANSWER SECTION:
mail.greenexample.com. 3600 IN A 192.168.1.83
mail.greenexample.com. 3600 IN MX 10 mail.greenexample.com.

;; ADDITIONAL SECTION:
mail.greenexample.com. 3600 IN A 192.168.1.83

;; Query time: 21 msec
;; SERVER: 192.168.1.120#53(192.168.1.120)
;; WHEN: Thu Apr 23 03:54:47 2009
;; MSG SIZE rcvd: 87

===============================================



[root@mail ~]# host `hostname`
mail.greenexample.com has address 192.168.1.83
mail.greenexample.com mail is handled by 10 mail.greenexample.com.
Reply With Quote
  #8 (permalink)  
Old 04-24-2009, 12:29 AM
Intermediate Member
 
Posts: 23
Default Getting error when i try to start the server

[zimbra@mail root]$ zmcontrol -H mail.greenexample.com start
Host mail.greenexample.com
Starting logger...Done.
Starting mailbox...Done.
Starting imapproxy...Done.
Starting antispam...Done.
Starting antivirus...Done.
Starting snmp...Done.
Starting spell...FAILED
httpd: Syntax error on line 232 of /opt/zimbra/conf/httpd.conf: Cannot load /opt/zimbra/httpd-2.2.8/modules/libphp5.so into server: /opt/zimbra/httpd-2.2.8/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied


Starting mta...FAILED
Starting zmmtaconfig...zmmtaconfig is already running.
postfix failed to start
Starting saslauthd...already running.


Starting stats...Done.

Can anybody help me from this?
Reply With Quote
  #9 (permalink)  
Old 04-26-2009, 02:02 AM
Zimbra Consultant & Moderator
 
Posts: 12,388
Default

The following commands are incorrect:

Code:
dig mail.greenexample.com any
dig mail.greenexample.com mx
You're using the FQDN of the server not the Domain name, the correct format should be:

Code:
dig greenexample.com any
dig greenexample.com mx
which I suspect won't give you an MX or A record. You need create a dmain with the correct domain name of: dig greenexample.com and add the A & MX record to that.
__________________
Regards


Bill
Reply With Quote
  #10 (permalink)  
Old 04-27-2009, 12:16 AM
Intermediate Member
 
Posts: 23
Default Server started

hi ,

I have changed my domain name to "mclantech.com" from "mail.greenexample.com" with the fresh installation.

This is my

[zimbra@websrv15 root]$ dig mclantech.com mx

; <<>> DiG 9.3.3rc2 <<>> mclantech.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 8423
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; QUESTION SECTION:
;mclantech.com. IN MX

;; ANSWER SECTION:
mclantech.com. 3600 IN MX 10 mail.mclantech.com.

;; ADDITIONAL SECTION:
mail.mclantech.com. 3600 IN A 192.168.100.87

;; Query time: 1072 msec
;; SERVER: 192.168.100.120#53(192.168.100.120)
;; WHEN: Sun Apr 26 23:36:37 2009
;; MSG SIZE rcvd: 68

=========================================

[zimbra@websrv15 root]$ dig mclantech.com any

; <<>> DiG 9.3.3rc2 <<>> mclantech.com any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35491
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 2

;; QUESTION SECTION:
;mclantech.com. IN ANY

;; ANSWER SECTION:
mclantech.com. 3600 IN NS mls20.mclantech.com.
mclantech.com. 3600 IN NS mls20.
mclantech.com. 3600 IN SOA mls20. hostmaster. 14 900 600 86400 3600
mclantech.com. 3600 IN MX 10 mail.mclantech.com.

;; ADDITIONAL SECTION:
mls20.mclantech.com. 3600 IN A 192.168.100.120
mail.mclantech.com. 3600 IN A 192.168.100.87

;; Query time: 1 msec
;; SERVER: 192.168.100.120#53(192.168.100.120)
;; WHEN: Sun Apr 26 23:36:44 2009
;; MSG SIZE rcvd: 169

==========================================

If i start the server, i get the following as done

[zimbra@websrv15 root]$ zmcontrol start
Host mail.mclantech.com
Starting ldap...Done.
Starting logger...Done.
Starting mailbox...Done.
Starting antispam...Done.
Starting antivirus...Done.
Starting snmp...Done.
Starting spell...Done.
Starting mta...Done.
Starting stats...Done.

I didn't get anything failed. But if i run the URL "http://192.168.100.87" or "http://192.168.100.87:7071/zimbraAdmin", the page keeps on loading. It didn't display either the page or the error. What will be the problem

Last edited by dineshsdk : 04-27-2009 at 01:50 AM.
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com