Results 1 to 8 of 8

Thread: Help Me

  1. #1
    minskycn is offline Junior Member
    Join Date
    Apr 2007
    Posts
    6
    Rep Power
    8

    Lightbulb Help Me

    Can't started my server

    ===============
    [root@mail conf]# su zimbra
    [zimbra@mail conf]$ zmcontrol start
    Host mail.test.com
    Starting ldap...Done.
    FAILED
    ERROR - failed to start slapd

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

    [zimbra@mail conf]$ tomcat start
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.test.com:389)
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.test.com:389)

    Tell me why please!

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    Please check your Log Files - Zimbra :: Wiki for error messages.

    Also, http://www.zimbra.com/forums/announc...r-profile.html please so we know what version of ZCS you are running

  3. #3
    minskycn is offline Junior Member
    Join Date
    Apr 2007
    Posts
    6
    Rep Power
    8

    Default

    Release 3.1.3_GA_474.FC4_20060609153239 FC4

    zimbra log file
    [root@mail log]# cat zimbra.log
    May 5 16:46:23 mail zimbramon[2147]: 2147:info: Starting services
    May 5 16:46:24 mail slapd[2240]: @(#) $OpenLDAP: slapd 2.3.21 (Jun 1 2006 18:15:54) $ root@build-fc4.liquidsys.com:/home/build/p4/CRAY/ThirdParty/openldap/openldap-2.3.21/servers/slapd
    May 5 16:48:03 mail zimbramon[2415]: 2415:info: 2008-05-05 16:48:02, STATUS: : Cannot: determine
    May 5 16:48:58 mail zimbramon[2510]: 2510:info: Starting services
    May 5 16:48:58 mail slapd[2576]: @(#) $OpenLDAP: slapd 2.3.21 (Jun 1 2006 18:15:54) $ root@build-fc4.liquidsys.com:/home/build/p4/CRAY/ThirdParty/openldap/openldap-2.3.21/servers/slapd
    May 5 08:50:02 mail postfix/postqueue[2649]: fatal: bad numerical configuration: message_size_limit =
    May 5 16:50:02 mail zimbramon[2628]: 2628:info: 2008-05-05 16:50:01, DISK: mail.test.com: dev: /dev/mapper/VolGroup00-LogVol00, mp: /, tot: 6575, avail: 11%
    May 5 16:50:02 mail zimbramon[2628]: 2628:info: 2008-05-05 16:50:01, DISK: mail.test.com: dev: /dev/sda1, mp: /boot, tot: 99, avail: 80
    May 5 16:50:03 mail zimbramon[2625]: 2625:info: 2008-05-05 16:50:01, QUEUE: 0 0
    May 5 16:50:03 mail sendmail[2669]: m458o2JG002669: from=zimbra, size=312, class=0, nrcpts=1, msgid=<200805050850.m458o2JG002669@mail.test.com>, relay=zimbra@localhost
    May 5 16:50:03 mail sendmail[2669]: m458o2JG002669: to=zimbra, ctladdr=zimbra (500/503), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30312, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
    May 5 16:50:03 mail zimbramon[2629]: 2629:info: 2008-05-05 16:50:01, STATUS: : Cannot: determine


    [root@mail logs]# su zimbra
    [zimbra@mail logs]$ sh -x /opt/zimbra/bin/ldap start
    + PID=
    + PIDFILE=/opt/zimbra/openldap/var/run/slapd.pid
    + mkdir -p /opt/zimbra/openldap/var/run/
    + case "$1" in
    + start
    + checkrunning
    + getpid
    + '[' -f /opt/zimbra/openldap/var/run/slapd.pid ']'
    + '[' x = x ']'
    + RUNNING=0
    + '[' 0 = 0 ']'
    + '[' '!' -f /opt/zimbra/openldap-data/DB_CONFIG ']'
    + /opt/zimbra/libexec/zmconfigure /opt/zimbra/conf/slapd.conf.in /opt/zimbra/conf/slapd.conf
    + sudo /opt/zimbra/openldap-2.3.21/libexec/slapd -l LOCAL0 -4 -u zimbra -h ldap://:389/ -f /opt/zimbra/conf/slapd.conf
    + sleep 2
    + getpid
    + '[' -f /opt/zimbra/openldap/var/run/slapd.pid ']'
    + '[' x = x ']'
    + echo 'ERROR - failed to start slapd'
    ERROR - failed to start slapd
    + echo ''

    + exit 1
    tomcat's log
    [root@mail logs]# cat catalina.out
    zmtomcatstart: info: stale pid 12850 in pid file: No such process
    2008-5-5 16:41:39 org.apache.coyote.http11.Http11BaseProtocol init
    INFO: Initializing Coyote HTTP/1.1 on http-0
    2008-5-5 16:41:39 org.apache.coyote.http11.Http11BaseProtocol init
    INFO: Initializing Coyote HTTP/1.1 on http-7071
    INFO: Initialization processed in 1260 ms
    2008-5-5 16:41:39 org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    2008-5-5 16:41:39 org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.15
    2008-5-5 16:41:40 org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    2008-5-5 16:41:40 org.apache.catalina.startup.HostConfig deployDescriptor
    WARN: A docBase /opt/zimbra/apache-tomcat-5.5.15/webapps/zimbra inside the host appBase has been specified, and will be ignored
    log4j:WARN No appenders could be found for logger (org.apache.catalina.session.ManagerBase).
    log4j:WARN Please initialize the log4j system properly.
    Fatal error: terminating: Error communicating with LDAP
    com.zimbra.cs.service.ServiceException: system failure: getDirectContext
    at com.zimbra.cs.service.ServiceException.FAILURE(Ser viceException.java:131)
    at com.zimbra.cs.account.ldap.LdapUtil.getDirContext( LdapUtil.java:187)
    at com.zimbra.cs.account.ldap.LdapUtil.getDirContext( LdapUtil.java:171)
    at com.zimbra.cs.servlet.PrivilegedServlet.checkLDAP( PrivilegedServlet.java:51)
    at com.zimbra.cs.servlet.PrivilegedServlet.init(Privi legedServlet.java:71)
    at javax.servlet.GenericServlet.init(GenericServlet.j ava:211)
    at org.apache.catalina.core.StandardWrapper.loadServl et(StandardWrapper.java:1105)
    at org.apache.catalina.core.StandardWrapper.load(Stan dardWrapper.java:932)
    at org.apache.catalina.core.StandardContext.loadOnSta rtup(StandardContext.java:3915)
    at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4176)
    at org.apache.catalina.core.ContainerBase.addChildInt ernal(ContainerBase.java:759)
    at org.apache.catalina.core.ContainerBase.addChild(Co ntainerBase.java:739)
    at org.apache.catalina.core.StandardHost.addChild(Sta ndardHost.java:524)
    at org.apache.catalina.startup.HostConfig.deployDirec tory(HostConfig.java:910)
    at org.apache.catalina.startup.HostConfig.deployDirec tories(HostConfig.java:873)
    at org.apache.catalina.startup.HostConfig.deployApps( HostConfig.java:474)
    at org.apache.catalina.startup.HostConfig.start(HostC onfig.java:1118)
    at org.apache.catalina.startup.HostConfig.lifecycleEv ent(HostConfig.java:310)
    at org.apache.catalina.util.LifecycleSupport.fireLife cycleEvent(LifecycleSupport.java:119)
    at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1020)
    at org.apache.catalina.core.StandardHost.start(Standa rdHost.java:718)
    at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1012)
    at org.apache.catalina.core.StandardEngine.start(Stan dardEngine.java:442)
    at org.apache.catalina.core.StandardService.start(Sta ndardService.java:450)
    at org.apache.catalina.core.StandardServer.start(Stan dardServer.java:700)
    at org.apache.catalina.startup.Catalina.start(Catalin a.java:551)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:275)
    at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:413)
    Caused by: javax.naming.CommunicationException: mail.test.com:389 [Root exception is java.net.ConnectException: Connection refused]
    at com.sun.jndi.ldap.Connection.<init>(Connection.jav a:194)
    at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.jav a:118)
    at com.sun.jndi.ldap.LdapClientFactory.createPooledCo nnection(LdapClientFactory.java:44)
    at com.sun.jndi.ldap.pool.Connections.<init>(Connecti ons.java:97)
    at com.sun.jndi.ldap.pool.Pool.getPooledConnection(Po ol.java:114)
    at com.sun.jndi.ldap.LdapPoolManager.getLdapClient(Ld apPoolManager.java:310)
    at com.sun.jndi.ldap.LdapClient.getInstance(LdapClien t.java:1572)
    at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:259 6)
    at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:283)
    at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapC txFactory.java:175)
    at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(Ldap CtxFactory.java:193)
    at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstanc e(LdapCtxFactory.java:136)
    at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext (LdapCtxFactory.java:66)
    at javax.naming.spi.NamingManager.getInitialContext(N amingManager.java:667)
    at javax.naming.InitialContext.getDefaultInitCtx(Init ialContext.java:247)
    at javax.naming.InitialContext.init(InitialContext.ja va:223)
    at javax.naming.ldap.InitialLdapContext.<init>(Initia lLdapContext.java:134)
    at com.zimbra.cs.account.ldap.LdapUtil.getDirContext( LdapUtil.java:182)
    ... 30 more
    Caused by: java.net.ConnectException: Connection refused
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl .java:333)
    at java.net.PlainSocketImpl.connectToAddress(PlainSoc ketImpl.java:195)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.j ava:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.j ava:366)
    at java.net.Socket.connect(Socket.java:507)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sun.jndi.ldap.Connection.createSocket(Connecti on.java:333)
    at com.sun.jndi.ldap.Connection.<init>(Connection.jav a:181)
    Last edited by minskycn; 05-05-2008 at 03:51 AM.

  4. #4
    minskycn is offline Junior Member
    Join Date
    Apr 2007
    Posts
    6
    Rep Power
    8

    Default

    who can help me thanks

  5. #5
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Follow the tips in this wiki article.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Quote Originally Posted by minskycn View Post
    Release 3.1.3_GA_474.FC4_20060609153239 FC4
    I'd suggest you upgrade to the most recent Zimbra version as soon as possible. The version you are using is no longer supported.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    minskycn is offline Junior Member
    Join Date
    Apr 2007
    Posts
    6
    Rep Power
    8

    Default

    Finally solved the problem,
    thanks all

  8. #8
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    Would you care to share how you resolved the problem ? We can then mark this thread as solved.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •