Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Problem With Status

  1. #1
    Join Date
    Sep 2007
    Posts
    8
    Rep Power
    8

    Default Problem With Status

    I'm a student in an EAST Lab setting up Zimbra, I have set it up before and it finally went down after a power outage and we've since then formatted, I thought it nice to install fedora 8 again and work on it again the same way, I preped it fixing my old problem I had with postfix, and now I can't really figure much out.

    45 minutes is not enough

    I'm gathering that there's something running I can't see, or these weren't installed correctly. However I doubt the installation was incorrect.

    I cannot connect to Zimbra by local or anywhere else so I'm stumped.

    Host mail.realhostblanked.com
    antispam Running
    antivirus Running
    ldap Running
    logger Stopped
    logmysql.server is not running
    mailbox Stopped
    mysql.server is not running
    zmmailboxdctl is not running
    mta Running
    snmp Running
    spell Running
    stats Stopped

    Starting these services separately returns a message saying they've been started, however status will not reflect it, I cannot connect to zimbra either... more information if needed.

  2. #2
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    zmcontrol stop, then tail -f /var/log/zimbra.log & /opt/zimbra/log/mailbox.log & zmmailboxd.out as you zmcontrol start so we can get some errors to work from.

  3. #3
    Join Date
    Sep 2007
    Posts
    8
    Rep Power
    8

    Default

    So I ran the first command and received

    [zimbra@mail root]$ tail -f /var/log/zimbra.log
    Apr 3 09:57:00 mail zmmailboxdmgr[3173]: threaddump requested
    Apr 3 09:57:00 mail zmmailboxdmgr[3173]: stale pid 2418 found in /opt/zimbra/log/zmmailboxd.pid: No such process
    Apr 3 09:57:00 mail zmmailboxdmgr[3173]: assuming no other instance is running
    Apr 3 09:57:00 mail zmmailboxdmgr[3173]: no manager process is running
    Apr 3 09:57:02 mail zmmailboxdmgr[3180]: stop requested
    Apr 3 09:57:02 mail zmmailboxdmgr[3180]: stale pid 2418 found in /opt/zimbra/log/zmmailboxd.pid: No such process
    Apr 3 09:57:02 mail zmmailboxdmgr[3180]: assuming no other instance is running
    Apr 3 09:57:02 mail zmmailboxdmgr[3180]: no manager process is running
    Apr 3 09:57:04 mail zimbramon[2994]: 2994:info: Stopping logger
    Apr 3 09:57:34 mail zimbramon[2994]: 2994:info: Stopping ldap
    Apr 3 09:58:02 mail zmmailboxdmgr[3389]: status requested
    Apr 3 09:58:02 mail zmmailboxdmgr[3389]: stale pid 2418 found in /opt/zimbra/log/zmmailboxd.pid: No such process
    Apr 3 09:58:02 mail zmmailboxdmgr[3389]: assuming no other instance is running
    Apr 3 09:58:02 mail zmmailboxdmgr[3389]: no manager process is running
    Apr 3 09:58:03 mail zimbramon[3248]: 3248:info: 2008-04-03 09:58:01, STATUS: mail.mpseast.com: antispam: Stopped
    Apr 3 09:58:03 mail zimbramon[3248]: 3248:info: 2008-04-03 09:58:01, STATUS: mail.mpseast.com: antivirus: Stopped
    Apr 3 09:58:03 mail zimbramon[3248]: 3248:info: 2008-04-03 09:58:01, STATUS: mail.mpseast.com: ldap: Stopped
    Apr 3 09:58:03 mail zimbramon[3248]: 3248:info: 2008-04-03 09:58:01, STATUS: mail.mpseast.com: logger: Stopped
    Apr 3 09:58:03 mail zimbramon[3248]: 3248:info: 2008-04-03 09:58:01, STATUS: mail.mpseast.com: mailbox: Stopped
    Apr 3 09:58:03 mail zimbramon[3248]: 3248:info: 2008-04-03 09:58:01, STATUS: mail.mpseast.com: mta: Stopped
    Apr 3 09:58:03 mail zimbramon[3248]: 3248:info: 2008-04-03 09:58:01, STATUS: mail.mpseast.com: snmp: Stopped
    Apr 3 09:58:03 mail zimbramon[3248]: 3248:info: 2008-04-03 09:58:01, STATUS: mail.mpseast.com: spell: Stopped
    Apr 3 09:58:03 mail zimbramon[3248]: 3248:info: 2008-04-03 09:58:01, STATUS: mail.mpseast.com: stats: Stopped
    Apr 3 09:58:03 mail sendmail[3289]: m33Dw2w8003289: from=zimbra, size=429, class=0, nrcpts=1, msgid=<200804031358.m33Dw2w8003289@mail.garlandcountyeast .com>, relay=zimbra@localhost
    Apr 3 09:58:03 mail sendmail[3289]: m33Dw2w8003289: to=zimbra, ctladdr=zimbra (501/501), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30429, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]

    The second gave this

    [zimbra@mail root]$ tail -f /opt/zimbra/log/mailbox.log
    at com.mysql.jdbc.Connection.(Connection.java:1531)
    at com.mysql.jdbc.NonRegisteringDriver.connect(NonReg isteringDriver.java:266)
    at java.sql.DriverManager.getConnection(DriverManager .java:582)
    at java.sql.DriverManager.getConnection(DriverManager .java:154)
    at org.apache.commons.dbcp.DriverManagerConnectionFac tory.createConnection(DriverManagerConnectionFacto ry.java:97)
    at org.apache.commons.dbcp.PoolableConnectionFactory. makeObject(PoolableConnectionFactory.java:300)
    at org.apache.commons.pool.impl.GenericObjectPool.bor rowObject(GenericObjectPool.java:816)
    at org.apache.commons.dbcp.PoolingDataSource.getConne ction(PoolingDataSource.java:140)
    at com.zimbra.cs.db.DbPool.getConnection(DbPool.java: 222)
    ... 36 more

    Finally, the Third one.

    [zimbra@mail root]$ tail -f /opt/zimbra/log/zmmailboxd.out
    Zimbra server reserving server socket port=995 bindaddr=null ssl=true
    Zimbra server reserving server socket port=143 bindaddr=null ssl=false
    Zimbra server reserving server socket port=993 bindaddr=null ssl=true
    Zimbra server reserving server socket port=7025 bindaddr=null ssl=false
    1150 INFO [main] log - Setting umask=027
    1151 INFO [main] log - Setting GID=501
    1152 INFO [main] log - Setting UID=501
    1152 INFO [main] log - jetty-6.1.5
    1353 INFO [main] log - No Transaction manager found - if your webapp requires one, please configure one.
    Zimbra server process is running as uid=501 euid=501 gid=501 egid=501

    After running zmcontrol start

    [zimbra@mail root]$ zmcontrol start
    Host mail.mpseast.com
    Starting ldap...Done.
    FAILED
    /opt/zimbra/bin/ldap: line 57: kill: (26711) - No such process
    /opt/zimbra/bin/ldap: line 57: kill: (26711) - No such process
    /opt/zimbra/bin/ldap: line 57: kill: (26711) - No such process
    /opt/zimbra/bin/ldap: line 57: kill: (26711) - No such process
    /opt/zimbra/bin/ldap: line 57: kill: (26711) - No such process
    /opt/zimbra/bin/ldap: line 57: kill: (26711) - No such process
    /opt/zimbra/bin/ldap: line 57: kill: (26711) - No such process
    Failed to start slapd. Attempting debug start to determine error.
    daemon: bind(7) failed errno=99 (Cannot assign requested address)
    slap_open_listener: failed on ldap://mail.mpseast.com:389

    mail.mpseast is the host that we were using.

    Well, If anything else is needed tell me.

  4. #4
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    Still same DNS config like the thead when this was first setup?
    (though I see a new garlandcountyeast.com domain in addition to mpseast.com)

    What's the contents/output of:
    etc/sysconfig/network
    Reslove.conf
    ect/hosts
    & running:
    dig any mpseast.com

    Based on the prior http://www.zimbra.com/forums/install...p-install.html dont' forget to disable selinux.

  5. #5
    Join Date
    Sep 2007
    Posts
    8
    Rep Power
    8

    Default

    Yes, I made sure to Disable SELinux when installing, I also doublechecked so It is disabled, However I'm still not sure on that.

    mpseast.com Dig

    ; <<>> DiG 9.4.2 <<>> mpseast.com
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52137
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;mpseast.com. IN A

    ;; ANSWER SECTION:
    mpseast.com. 3600 IN A 170.211.174.36

    ;; AUTHORITY SECTION:
    mpseast.com. 172800 IN NS dns1.valueweb.com.
    mpseast.com. 172800 IN NS dns2.valueweb.com.
    mpseast.com. 172800 IN NS dns3.valueweb.com.

    ;; Query time: 481 msec
    ;; SERVER: 192.168.1.2#53(192.168.1.2)
    ;; WHEN: Sun Apr 6 10:03:51 2008
    ;; MSG SIZE rcvd: 111

    It would be nice if I could change everything to garlandcountyeast.com but I'll need to worry about that later.

    That being said, I changed the hostname in the Network Configuration GUI to mail.garlandcountyeast.com, that didn't change it with zimbra so I can be fairly certain there's a file I'd have to edit to change that.

    I can't find out how to run the other commands there, so I could use some help explaining them, The one I did understand being to "dig mpseast.com".

    We were initially going with mpseast.com and then I get "Switch to garlandcountyeast.com" and so I tried to run with it from there.

    It doesn't matter which one we get it up on as long as we get it up on one.

    Edit:
    After attempting to figure out what these commands mean.

    [root@mail ~]# /etc/sysconfig/network
    bash: /etc/sysconfig/network: Permission denied

    then I thought...

    [zimbra@mail root]$ cd /etc/sysconfig/network
    bash: cd: /etc/sysconfig/network: Not a directory
    [zimbra@mail root]$ cd /etc/sysconfig
    [zimbra@mail sysconfig]$ network
    bash: network: command not found
    [zimbra@mail sysconfig]$ ./network
    bash: ./network: Permission denied

    Maybe I should turn off my network device or something...

    Edit 2:
    Ran Zmcontrol status

    received

    [zimbra@mail root]$ zmcontrol status
    Host mail.mpseast.com
    antispam Running
    antivirus Running
    ldap Running
    logger Stopped
    logmysql.server is not running
    mailbox Stopped
    mysql.server is not running
    zmmailboxdctl is not running
    mta Running
    snmp Running
    spell Running
    stats Stopped

    [zimbra@mail root]$ logmysql.server start
    [zimbra@mail root]$ nohup: redirecting stderr to stdout
    A mysqld process already exists

    [zimbra@mail root]$ zmmailboxdctl start
    mailboxd started.

    Ran zmcontrol status

    Host mail.mpseast.com
    antispam Running
    antivirus Running
    ldap Running
    logger Stopped
    logmysql.server is not running
    mailbox Stopped
    mysql.server is not running
    zmmailboxdctl is not running
    mta Running
    snmp Running
    spell Running
    stats Stopped

    Then these

    [zimbra@mail root]$ mysql.server start
    mysqld_safe already running with pid 2533
    [zimbra@mail root]$ kill -9 2533
    [zimbra@mail root]$ mysql.server start
    mysqld_safe already running with pid 13848

    Still confused...
    Last edited by Dakam; 04-08-2008 at 08:35 AM. Reason: More information

  6. #6
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    Quote Originally Posted by Dakam View Post
    Edit:
    After attempting to figure out what these commands mean.

    [root@mail ~]# /etc/sysconfig/network
    bash: /etc/sysconfig/network: Permission denied

    then I thought...

    [zimbra@mail root]$ cd /etc/sysconfig/network
    bash: cd: /etc/sysconfig/network: Not a directory
    [zimbra@mail root]$ cd /etc/sysconfig
    [zimbra@mail sysconfig]$ network
    bash: network: command not found
    [zimbra@mail sysconfig]$ ./network
    bash: ./network: Permission denied
    It's a file, type the following:
    more /etc/sysconfig/network
    more /etc/hosts

    dig mail.mpseast.com any
    dig mpseast.com any

  7. #7
    Join Date
    Sep 2007
    Posts
    8
    Rep Power
    8

    Default

    ran the commands listed, received...

    [zimbra@mail root]$ more /etc/sysconfig/network
    NETWORKING=yes
    HOSTNAME=mail.garlandcountyeast.com
    [zimbra@mail root]$ more /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.102 mail.mpseast.com
    [zimbra@mail root]$ dig mail.mpseast.com any

    ; <<>> DiG 9.4.2 <<>> mail.mpseast.com any
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35677
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 3

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

    ;; ANSWER SECTION:
    mail.mpseast.com. 3600 IN A 192.168.1.102
    mail.mpseast.com. 3600 IN NS eastserver.eastlab.local.
    mail.mpseast.com. 3600 IN SOA eastserver.eastlab.local. hostmaster.eastlab.local. 24 900 600 86400 3600
    mail.mpseast.com. 3600 IN MB mail.garlandcountyeast.com.
    mail.mpseast.com. 3600 IN MX 10 mail.mpseast.com.

    ;; ADDITIONAL SECTION:
    eastserver.eastlab.local. 3600 IN A 192.168.1.2
    mail.garlandcountyeast.com. 3600 IN A 192.168.1.102
    mail.mpseast.com. 3600 IN A 192.168.1.102

    ;; Query time: 18 msec
    ;; SERVER: 192.168.1.2#53(192.168.1.2)
    ;; WHEN: Tue Apr 8 09:52:13 2008
    ;; MSG SIZE rcvd: 236

    [zimbra@mail root]$ dig mpseast.com any

    ; <<>> DiG 9.4.2 <<>> mpseast.com any
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37729
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 3, ADDITIONAL: 3

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

    ;; ANSWER SECTION:
    mpseast.com. 172800 IN NS dns1.valueweb.com.
    mpseast.com. 172800 IN NS dns2.valueweb.com.
    mpseast.com. 172800 IN NS dns3.valueweb.com.

    ;; AUTHORITY SECTION:
    mpseast.com. 172800 IN NS dns1.valueweb.com.
    mpseast.com. 172800 IN NS dns2.valueweb.com.
    mpseast.com. 172800 IN NS dns3.valueweb.com.

    ;; ADDITIONAL SECTION:
    dns1.valueweb.com. 172800 IN A 207.36.172.5
    dns2.valueweb.com. 172800 IN A 207.36.173.5
    dns3.valueweb.com. 172800 IN A 207.36.174.5

    ;; Query time: 393 msec
    ;; SERVER: 192.168.1.2#53(192.168.1.2)
    ;; WHEN: Tue Apr 8 09:52:20 2008
    ;; MSG SIZE rcvd: 185

  8. #8
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    Let's stick with one naming convention (mpseast)

    170.211.174.36 mail.mpseast.com (public)
    192.168.1.102 mail.mpseast.com (private)
    that looks good

    nano /etc/sysconfig/network
    change mail.garlandcountyeast.com > mail.mpseast.com

    nano /etc/hosts
    change it so it looks like:
    127.0.0.1 localhost.localdomain localhost
    192.168.1.102 mail.mpseast.com mail

    (then restart your network services or just restart everything)

  9. #9
    Join Date
    Sep 2007
    Posts
    8
    Rep Power
    8

    Default

    Still the same problems, but At least my hosts is fixed.

    I didn't have the last mail in there...

    [zimbra@mail root]$ zmcontrol status
    Host mail.mpseast.com
    antispam Running
    antivirus Running
    ldap Running
    logger Stopped
    logmysql.server is not running
    mailbox Stopped
    mysql.server is not running
    zmmailboxdctl is not running
    mta Running
    snmp Running
    spell Running
    stats Stopped

  10. #10
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    zmcontrol stop
    ps aux | grep zimbra
    kill -9 # (pid # of any remaining processes)
    go move your main logfiles to .hold or something:
    mv /var/log/zimbra.log /var/log/zimbra.log.hold
    mv /opt/zimbra/log/mailbox.log /opt/zimbra/log/mailbox.log.hold
    mv /opt/zimbra/log/zmmailboxd.out /opt/zimbra/log/zmmailboxd.out.hold
    zmcontrol start
    after you run zmcontrol status to see what's not running, attach those 3 logfiles to this thread

Similar Threads

  1. [SOLVED] mysql.server not running
    By king0770 in forum Administrators
    Replies: 23
    Last Post: 07-25-2009, 04:07 PM
  2. zmmailboxdctl is stopped frequently..
    By tamilnandhu in forum Installation
    Replies: 13
    Last Post: 04-12-2008, 09:59 AM
  3. Replies: 4
    Last Post: 11-14-2007, 02:19 PM
  4. mysql.server is not running
    By Oswald-Kolle in forum Installation
    Replies: 27
    Last Post: 05-01-2007, 09:28 AM
  5. Trouble sending mail from Outlook
    By czaveri in forum Users
    Replies: 15
    Last Post: 07-24-2006, 12:01 PM

Posting Permissions

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