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 05-03-2010, 04:08 AM
Intermediate Member
 
Posts: 24
Default [SOLVED] zimbra 6.0.6 mailbox server stoped

hello I installed Zimbra opensource 6.0.6 on Ubuntu 8.0.4.4
During installation everything went fine,
I wanted to start the mail server I noticed that the service is stopped mailboxes
and zmmailboxdmgr Is Not running



Code:
May  3 10:48:20 mail zmmailboxdmgr[10750]: status requested
May  3 10:48:20 mail zmmailboxdmgr[10750]: stale pid 8706 found in /opt/zimbra/log/zmmailboxd_manager.pid: No such process
May  3 10:48:20 mail zmmailboxdmgr[10750]: assuming no other instance is running
May  3 10:48:20 mail zmmailboxdmgr[10750]: file /opt/zimbra/log/zmmailboxd.pid does not exist
May  3 10:48:20 mail zmmailboxdmgr[10750]: assuming no other instance is running
May  3 10:48:20 mail zmmailboxdmgr[10750]: no manager process is running
May  3 10:48:23 mail postfix/postfix-script[10911]: warning: not owned by root: /opt/zimbra/data/postfix/spool
May  3 10:48:24 mail postfix/postfix-script[10919]: warning: not owned by root: /opt/zimbra/postfix-2.6.5.2z/conf/main.cf
May  3 10:48:24 mail postfix/postfix-script[10920]: warning: not owned by root: /opt/zimbra/postfix-2.6.5.2z/conf/master.cf
May  3 10:48:24 mail postfix/postfix-script[10921]: warning: not owned by root: /opt/zimbra/postfix-2.6.5.2z/conf/master.cf.in
May  3 10:48:24 mail postfix/postfix-script[10924]: warning: not owned by postfix: /opt/zimbra/data/postfix/./spool/pid/unix.lmtp
May  3 10:48:24 mail postfix/postfix-script[10928]: warning: not owned by postfix: /opt/zimbra/data/postfix/./spool/pid/master.pid
May  3 10:48:24 mail postfix/postfix-script[10931]: warning: not owned by postfix: /opt/zimbra/data/postfix/./spool/pid/unix.defer
May  3 10:48:24 mail postfix/postfix-script[10933]: warning: not owned by postfix: /opt/zimbra/data/postfix/./spool/pid/inet.smtp
May  3 10:48:24 mail postfix/postfix-script[10940]: warning: not owned by postfix: /opt/zimbra/data/postfix/./spool/pid/inet.127.0.0.1:10025
May  3 10:48:24 mail postfix/postfix-script[10942]: warning: not owned by postfix: /opt/zimbra/data/postfix/./spool/pid/unix.showq
May  3 10:48:24 mail postfix/postfix-script[10945]: warning: not owned by postfix: /opt/zimbra/data/postfix/./spool/pid/unix.cleanup
May  3 10:48:24 mail postfix/postfix-script[10947]: warning: not owned by postfix: /opt/zimbra/data/postfix/./spool/pid/unix.smtp-amavis
May  3 10:48:24 mail postfix/postfix-script[10964]: starting the Postfix mail system
May  3 10:48:25 mail postfix/master[10967]: daemon started -- version 2.6.5, configuration /opt/zimbra/postfix-2.6.5.2z/conf
May  3 10:48:25 mail postfix/qmgr[10972]: C612A5A02F0: from=<zimbra@mail.diamant.ro>, size=1055, nrcpt=1 (queue active)
May  3 10:48:25 mail saslauthd[10980]: detach_tty      : master pid is: 10980
May  3 10:48:25 mail saslauthd[10980]: ipc_init        : listening on socket: /opt/zimbra/cyrus-sasl-2.1.23.3z/state/mux
May  3 10:48:25 mail zimbramon[4735]: 4735:info: Starting stats via zmcontrol
May  3 10:48:25 mail postfix/qmgr[10972]: 718775A02E5: from=<zimbra@mail.diamant.ro>, size=1055, nrcpt=1 (queue active)
May  3 10:48:25 mail postfix/qmgr[10972]: D38CC5A02F5: from=<zimbra@mail.diamant.ro>, size=1053, nrcpt=1 (queue active)
May  3 10:48:25 mail postfix/qmgr[10972]: F13785A02EE: from=<zimbra@mail.diamant.ro>, size=1057, nrcpt=1 (queue active)
May  3 10:48:25 mail postfix/qmgr[10972]: 2E2CD5A02E9: from=<zimbra@mail.diamant.ro>, size=1057, nrcpt=1 (queue active)
May  3 10:48:25 mail postfix/qmgr[10972]: 2E3B15A02EC: from=<zimbra@mail.diamant.ro>, size=1043, nrcpt=1 (queue active)
May  3 10:48:25 mail postfix/lmtp[10991]: connect to mail.diamant.ro[10.10.9.2]:7025: Connection refused
May  3 10:48:25 mail postfix/lmtp[10995]: connect to mail.diamant.ro[10.10.9.2]:7025: Connection refused
May  3 10:48:25 mail postfix/lmtp[11000]: connect to mail.diamant.ro[10.10.9.2]:7025: Connection refused
May  3 10:48:25 mail postfix/lmtp[11002]: connect to mail.diamant.ro[10.10.9.2]:7025: Connection refused
May  3 10:48:25 mail postfix/lmtp[10991]: C612A5A02F0: to=<admin@diamant.ro>, relay=none, delay=1011, delays=1010/0.35/0.01/0, dsn=4.4.1, status=deferred (connect to mail.diamant.ro[10.10.9.2]:7025: Connection refused)
May  3 10:48:25 mail postfix/lmtp[10995]: 718775A02E5: to=<admin@diamant.ro>, relay=none, delay=2936, delays=2936/0.12/0.01/0, dsn=4.4.1, status=deferred (connect to mail.diamant.ro[10.10.9.2]:7025: Connection refused)
May  3 10:48:25 mail postfix/lmtp[11000]: D38CC5A02F5: to=<admin@diamant.ro>, relay=none, delay=5147, delays=5147/0.26/0/0, dsn=4.4.1, status=deferred (connect to mail.diamant.ro[10.10.9.2]:7025: Connection refused)
May  3 10:48:25 mail postfix/lmtp[11002]: F13785A02EE: to=<admin@diamant.ro>, relay=none, delay=5150, delays=5150/0.31/0/0, dsn=4.4.1, status=deferred (connect to mail.diamant.ro[10.10.9.2]:7025: Connection refused)
May  3 10:48:26 mail postfix/error[11011]: 2E2CD5A02E9: to=<admin@diamant.ro>, relay=none, delay=1870, delays=1869/0.47/0/0.01, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to mail.diamant.ro[10.10.9.2]:7025: Connection refused)
May  3 10:48:26 mail postfix/error[11011]: 2E3B15A02EC: to=<admin@diamant.ro>, relay=none, delay=5151, delays=5150/0.48/0/0.01, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to mail.diamant.ro[10.10.9.2]:7025: Connection refused)
May  3 10:48:49 mail zmmailboxdmgr[11881]: status requested
May  3 10:48:49 mail zmmailboxdmgr[11881]: stale pid 8706 found in /opt/zimbra/log/zmmailboxd_manager.pid: No such process
May  3 10:48:49 mail zmmailboxdmgr[11881]: assuming no other instance is running
May  3 10:48:49 mail zmmailboxdmgr[11881]: file /opt/zimbra/log/zmmailboxd.pid does not exist
May  3 10:48:49 mail zmmailboxdmgr[11881]: assuming no other instance is running
May  3 10:48:49 mail zmmailboxdmgr[11881]: no manager process is running
May  3 10:48:51 mail zmmailboxdmgr[11940]: status requested
May  3 10:48:51 mail zmmailboxdmgr[11940]: stale pid 8706 found in /opt/zimbra/log/zmmailboxd_manager.pid: No such process
May  3 10:48:51 mail zmmailboxdmgr[11940]: assuming no other instance is running
May  3 10:48:51 mail zmmailboxdmgr[11940]: file /opt/zimbra/log/zmmailboxd.pid does not exist
May  3 10:48:51 mail zmmailboxdmgr[11940]: assuming no other instance is running
May  3 10:48:51 mail zmmailboxdmgr[11940]: no manager process is running
May  3 10:50:02 mail zimbramon[12364]: 12364:info: 2010-05-03 10:50:01, QUEUE: 9 6
May  3 10:50:18 mail zmmailboxdmgr[13039]: status requested
May  3 10:50:18 mail zmmailboxdmgr[13039]: stale pid 8706 found in /opt/zimbra/log/zmmailboxd_manager.pid: No such process
May  3 10:50:18 mail zmmailboxdmgr[13039]: assuming no other instance is running
May  3 10:50:18 mail zmmailboxdmgr[13039]: file /opt/zimbra/log/zmmailboxd.pid does not exist
May  3 10:50:18 mail zmmailboxdmgr[13039]: assuming no other instance is running
May  3 10:50:18 mail zmmailboxdmgr[13039]: no manager process is running
May  3 10:50:43 mail zmmailboxdmgr[13612]: status requested
May  3 10:50:43 mail zmmailboxdmgr[13612]: stale pid 8706 found in /opt/zimbra/log/zmmailboxd_manager.pid: No such process
May  3 10:50:43 mail zmmailboxdmgr[13612]: assuming no other instance is running
May  3 10:50:43 mail zmmailboxdmgr[13612]: file /opt/zimbra/log/zmmailboxd.pid does not exist
May  3 10:50:43 mail zmmailboxdmgr[13612]: assuming no other instance is running
May  3 10:50:43 mail zmmailboxdmgr[13612]: no manager process is running

Code:
Total time for which application threads were stopped: 0.0005490 seconds
Heap
 par new generation   total 344704K, used 55161K [0x4e650000, 0x65c50000, 0x65c50000)
  eden space 306432K,  18% used [0x4e650000, 0x51c2e768, 0x61190000)
  from space 38272K,   0% used [0x61190000, 0x61190000, 0x636f0000)
  to   space 38272K,   0% used [0x636f0000, 0x636f0000, 0x65c50000)
 concurrent mark-sweep generation total 1150976K, used 0K [0x65c50000, 0xac050000, 0xac050000)
 concurrent-mark-sweep perm gen total 131072K, used 7711K [0xac050000, 0xb4050000, 0xb4050000)
CompilerOracle: exclude com/zimbra/cs/session/SessionMap.putAndPrune
CompilerOracle: exclude com/zimbra/cs/mailbox/MailItem.delete
CompilerOracle: exclude org/apache/xerces/impl/XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch
0    INFO  [main] log - Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
Total time for which application threads were stopped: 0.0005810 seconds
Total time for which application threads were stopped: 0.0005400 seconds
Zimbra server reserving server socket port=110 bindaddr=null ssl=false
Zimbra server reserving server socket port=995 bindaddr=null ssl=true
Total time for which application threads were stopped: 0.0432130 seconds
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
4572 WARN  [main] log - Config error at <Call name="open"/>
4572 WARN  [main] log - Config error at <Ref id="http"><Call name="open"/></Ref>
Total time for which application threads were stopped: 0.0005140 seconds
4575 WARN  [main] log - EXCEPTION
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.mortbay.xml.XmlConfiguration.call(XmlConfiguration.java:542)
        at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:252)
        at org.mortbay.xml.XmlConfiguration.refObj(XmlConfiguration.java:646)
        at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:260)
        at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:214)
        at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:974)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.mortbay.start.Main.invokeMain(Main.java:194)
        at org.mortbay.start.Main.start(Main.java:534)
        at org.mortbay.start.Main.start(Main.java:441)
        at org.mortbay.start.Main.main(Main.java:119)
Caused by: java.net.BindException: Address already in use
        at sun.nio.ch.Net.bind(Native Method)
        at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
        at org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:216)
        ... 18 more
4580 WARN  [main] log - Nested in java.lang.reflect.InvocationTargetException:
java.net.BindException: Address already in use
        at sun.nio.ch.Net.bind(Native Method)
        at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
        at org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:216)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.mortbay.xml.XmlConfiguration.call(XmlConfiguration.java:542)
        at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:252)
        at org.mortbay.xml.XmlConfiguration.refObj(XmlConfiguration.java:646)
        at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:260)
        at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:214)
        at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:974)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.mortbay.start.Main.invokeMain(Main.java:194)
        at org.mortbay.start.Main.start(Main.java:534)
        at org.mortbay.start.Main.start(Main.java:441)
        at org.mortbay.start.Main.main(Main.java:119)
4586 INFO  [Shutdown] log - Shutdown hook executing
4586 INFO  [Shutdown] log - Shutdown hook complete
Total time for which application threads were stopped: 0.0006450 seconds
Heap
 par new generation   total 344704K, used 55170K [0x4e650000, 0x65c50000, 0x65c50000)
  eden space 306432K,  18% used [0x4e650000, 0x51c30a00, 0x61190000)
  from space 38272K,   0% used [0x61190000, 0x61190000, 0x636f0000)
  to   space 38272K,   0% used [0x636f0000, 0x636f0000, 0x65c50000)
 concurrent mark-sweep generation total 1150976K, used 0K [0x65c50000, 0xac050000, 0xac050000)
 concurrent-mark-sweep perm gen total 131072K, used 7713K [0xac050000, 0xb4050000, 0xb4050000)
zimbra@mail:~/log$
zimbra@mail:~/log$ dig diamant.ro mx

; <<>> DiG 9.4.2-P2.1 <<>> diamant.ro mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45578
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:
;diamant.ro. IN MX

;; ANSWER SECTION:
diamant.ro. 604800 IN MX 10 mail.diamant.ro.

;; AUTHORITY SECTION:
diamant.ro. 604800 IN NS 10.10.9.2.diamant.ro.

;; ADDITIONAL SECTION:
mail.diamant.ro. 604800 IN A 10.10.9.2

;; Query time: 4 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Mon May 3 11:02:06 2010
;; MSG SIZE rcvd: 89


zimbra@mail:~/log$ dig diamant.ro any

; <<>> DiG 9.4.2-P2.1 <<>> diamant.ro any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39732
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1

;; QUESTION SECTION:
;diamant.ro. IN ANY

;; ANSWER SECTION:
diamant.ro. 604800 IN SOA mail.diamant.ro. admin.diamant.ro. 70725 604800 86400 2419200 604800
diamant.ro. 604800 IN NS 10.10.9.2.diamant.ro.
diamant.ro. 604800 IN MX 10 mail.diamant.ro.
diamant.ro. 604800 IN A 10.10.9.2

;; ADDITIONAL SECTION:
mail.diamant.ro. 604800 IN A 10.10.9.2

;; Query time: 3 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Mon May 3 11:02:31 2010
;; MSG SIZE rcvd: 147

zimbra@mail:~/log$

zimbra@mail:~/log$ cat /etc/hosts
127.0.0.1 localhost
10.10.9.2 mail.diamant.ro mail
Reply With Quote
  #2 (permalink)  
Old 05-03-2010, 05:10 AM
Moderator
 
Posts: 7,928
Default

/etc/hosts should look like
Code:
127.0.0.1 localhost.localdomain localhost
10.10.9.2 mail.diamant.ro mail
You also have the error
Code:
Caused by: java.net.BindException: Address already in use
So shutdown Zimbra and make sure all processes have exited cleanly; make the change above and then restart ZCS again.
__________________
Reply With Quote
  #3 (permalink)  
Old 05-03-2010, 05:39 AM
Intermediate Member
 
Posts: 24
Default

Code:
zimbra@mail:/root$ zmcontrol stop
Host mail.diamant.ro
        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 memcached...Done.
        Stopping mailbox...Done.
        Stopping logger...Done.
        Stopping ldap...Done.
zimbra@mail:/root$ ps -aux
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0   2844  1692 ?        Ss   10:43   0:03 /sbin/init
root         2  0.0  0.0      0     0 ?        S<   10:43   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S<   10:43   0:00 [migration/0]
root         4  0.0  0.0      0     0 ?        S<   10:43   0:00 [ksoftirqd/0]
root         5  0.0  0.0      0     0 ?        S<   10:43   0:00 [watchdog/0]
root         6  0.0  0.0      0     0 ?        S<   10:43   0:00 [migration/1]
root         7  0.0  0.0      0     0 ?        S<   10:43   0:00 [ksoftirqd/1]
root         8  0.0  0.0      0     0 ?        S<   10:43   0:00 [watchdog/1]
root         9  0.0  0.0      0     0 ?        S<   10:43   0:00 [events/0]
root        10  0.0  0.0      0     0 ?        S<   10:43   0:00 [events/1]
root        11  0.0  0.0      0     0 ?        S<   10:43   0:00 [khelper]
root        46  0.0  0.0      0     0 ?        S<   10:43   0:00 [kblockd/0]
root        47  0.0  0.0      0     0 ?        S<   10:43   0:00 [kblockd/1]
root        50  0.0  0.0      0     0 ?        S<   10:43   0:00 [kacpid]
root        51  0.0  0.0      0     0 ?        S<   10:43   0:00 [kacpi_notify]
root       181  0.0  0.0      0     0 ?        S<   10:43   0:00 [kseriod]
root       221  0.0  0.0      0     0 ?        S    10:43   0:00 [pdflush]
root       222  0.0  0.0      0     0 ?        S    10:43   0:00 [pdflush]
root       223  0.0  0.0      0     0 ?        S<   10:43   0:00 [kswapd0]
root       265  0.0  0.0      0     0 ?        S<   10:43   0:00 [aio/0]
root       266  0.0  0.0      0     0 ?        S<   10:43   0:00 [aio/1]
root      1491  0.0  0.0      0     0 ?        S<   10:43   0:00 [ata/0]
root      1499  0.0  0.0      0     0 ?        S<   10:43   0:00 [ata/1]
root      1513  0.0  0.0      0     0 ?        S<   10:43   0:00 [ata_aux]
root      1528  0.0  0.0      0     0 ?        S<   10:43   0:00 [scsi_eh_0]
root      1530  0.0  0.0      0     0 ?        S<   10:43   0:00 [scsi_eh_1]
root      2016  0.0  0.0      0     0 ?        S<   10:43   0:00 [scsi_eh_2]
root      2660  0.0  0.0      0     0 ?        S<   10:43   0:00 [kjournald]
root      2818  0.0  0.0   2224   640 ?        S<s  10:43   0:01 /sbin/udevd --daemon
root      3252  0.0  0.0      0     0 ?        S<   10:44   0:00 [kpsmoused]
root      4520  0.0  0.0   1716   516 tty4     Ss+  10:44   0:00 /sbin/getty 38400 tty4
root      4521  0.0  0.0   1716   508 tty5     Ss+  10:44   0:00 /sbin/getty 38400 tty5
root      4526  0.0  0.0   1716   512 tty2     Ss+  10:44   0:00 /sbin/getty 38400 tty2
root      4530  0.0  0.0   1716   516 tty3     Ss+  10:44   0:00 /sbin/getty 38400 tty3
root      4531  0.0  0.0   1716   516 tty6     Ss+  10:44   0:00 /sbin/getty 38400 tty6
syslog    4567  0.0  0.0   1936   640 ?        Ss   10:44   0:01 /sbin/syslogd -u syslog
root      4586  0.0  0.0   1872   540 ?        S    10:44   0:01 /bin/dd bs 1 if /proc/kmsg of /var/run/klogd/kmsg
klog      4588  0.0  0.0   3080  1868 ?        Ss   10:44   0:01 /sbin/klogd -P /var/run/klogd/kmsg
bind      4611  0.1  0.3  50332 14480 ?        Ssl  10:44   0:08 /usr/sbin/named -u bind
root      4640  0.0  0.0   5316   996 ?        Ss   10:44   0:00 /usr/sbin/sshd
daemon    4667  0.0  0.0   1984   424 ?        Ss   10:44   0:00 /usr/sbin/atd
root      4678  0.0  0.0   2104   904 ?        Ss   10:44   0:00 /usr/sbin/cron
root      4700  0.0  0.1  18280  5620 ?        Ss   10:44   0:00 /usr/sbin/apache2 -k start
www-data  4718  0.0  0.0  18280  3104 ?        S    10:44   0:00 /usr/sbin/apache2 -k start
www-data  4719  0.0  0.0  18280  3104 ?        S    10:44   0:00 /usr/sbin/apache2 -k start
www-data  4720  0.0  0.0  18280  3104 ?        S    10:44   0:00 /usr/sbin/apache2 -k start
www-data  4721  0.0  0.0  18280  3104 ?        S    10:44   0:00 /usr/sbin/apache2 -k start
www-data  4722  0.0  0.0  18280  3104 ?        S    10:44   0:00 /usr/sbin/apache2 -k start
root     11386  0.0  0.0   2568  1240 tty1     Ss   10:48   0:00 /bin/login --
root     15115  0.0  0.0   4152  1808 tty1     S+   10:53   0:00 -bash
root     16527  0.0  0.0   8208  2568 ?        Ss   10:55   0:00 sshd: root@pts/0
root     16761  0.0  0.0   4140  1804 pts/0    Ss   10:55   0:00 -bash
zimbra   21221  0.1  0.0   3684  1236 pts/0    S    12:17   0:00 su zimbra
zimbra   21222  0.2  0.0   4624  1996 pts/0    S    12:17   0:00 bash
zimbra   21439  0.0  0.0   2644  1004 pts/0    R+   12:17   0:00 ps -aux

Code:
root@mail:~# netstat -atpn
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      4700/apache2
tcp        0      0 10.10.1.140:53          0.0.0.0:*               LISTEN      4611/named
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      4611/named
tcp        0      0 127.0.0.1:953           0.0.0.0:*               LISTEN      4611/named
tcp6       0      0 :::53                   :::*                    LISTEN      4611/named
tcp6       0      0 :::22                   :::*                    LISTEN      4640/sshd
tcp6       0      0 ::1:953                 :::*                    LISTEN      4611/named
tcp6       0    148 10.10.1.140:22          10.10.1.11:4075         ESTABLISHED 16527/0
Code:
 cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
10.10.9.2      mail.diamant.ro       mail
after start zimbra





Code:
root@mail:~# netstat -atpn
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 10.10.9.2:389           0.0.0.0:*               LISTEN      22830/slapd
tcp        0      0 127.0.0.1:10663         0.0.0.0:*               LISTEN      24232/zmlogger: zmr
tcp        0      0 127.0.0.1:10024         0.0.0.0:*               LISTEN      26803/amavisd (mast
tcp        0      0 127.0.0.1:10025         0.0.0.0:*               LISTEN      28919/master
tcp        0      0 127.0.0.1:7306          0.0.0.0:*               LISTEN      24363/mysqld
tcp        0      0 0.0.0.0:587             0.0.0.0:*               LISTEN      28919/master
tcp        0      0 0.0.0.0:3310            0.0.0.0:*               LISTEN      26868/clamd
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      4700/apache2
tcp        0      0 0.0.0.0:465             0.0.0.0:*               LISTEN      28919/master
tcp        0      0 10.10.1.140:53          0.0.0.0:*               LISTEN      4611/named
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      4611/named
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      28919/master
tcp        0      0 127.0.0.1:953           0.0.0.0:*               LISTEN      4611/named
tcp6       0      0 :::53                   :::*                    LISTEN      4611/named
tcp6       0      0 :::22                   :::*                    LISTEN      22770/sshd
tcp6       0      0 ::1:953                 :::*                    LISTEN      4611/named
tcp6       0      0 ::1:52551               ::1:33574               TIME_WAIT   -
tcp6       0      0 10.10.1.140:22          10.10.1.11:4075         ESTABLISHED 16527/0
tcp6       0      0 ::1:60032               ::1:46331               TIME_WAIT   -
tcp6       0      0 ::1:45120               ::1:39683               TIME_WAIT   -
tcp6       0      0 ::1:36020               ::1:37460               TIME_WAIT   -
tcp6       0      0 ::1:51185               ::1:39728               TIME_WAIT   -
tcp6       0      0 ::1:55021               ::1:46280               TIME_WAIT   -
tcp6       0      0 ::1:49403               ::1:40067               TIME_WAIT   -
tcp6       0      0 10.10.1.140:22          10.10.1.11:4546         ESTABLISHED 1697/1
Host mail.diamant.ro
antispam Running
antivirus Running
ldap Running
logger Running
mailbox Stopped
zmmailboxdctl is not running.
mta Running
snmp Running
stats Running
zimbra@mail:/root$

Code:
Caused by: java.net.BindException: Address already in use
        at sun.nio.ch.Net.bind(Native Method)
        at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
        at org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:216)
        ... 18 more
4480 WARN  [main] log - Nested in java.lang.reflect.InvocationTargetException:
java.net.BindException: Address already in use
        at sun.nio.ch.Net.bind(Native Method)
        at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
        at org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:216)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.mortbay.xml.XmlConfiguration.call(XmlConfiguration.java:542)
        at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:252)
        at org.mortbay.xml.XmlConfiguration.refObj(XmlConfiguration.java:646)
        at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:260)
        at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:214)
        at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:974)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.mortbay.start.Main.invokeMain(Main.java:194)
        at org.mortbay.start.Main.start(Main.java:534)
        at org.mortbay.start.Main.start(Main.java:441)
        at org.mortbay.start.Main.main(Main.java:119)
same problem...
Reply With Quote
  #4 (permalink)  
Old 05-03-2010, 05:55 AM
Elite Member
 
Posts: 334
Default

Quote:
Originally Posted by kline View Post
[CODE]
Code:
Caused by: java.net.BindException: Address already in use
        at sun.nio.ch.Net.bind(Native Method)
        at
same problem...
Please check it out, is there any Exim, Postfix or Sendmail mail server that already exist on your system?

Also, what is the response of this command :

Code:
telnet localhost 25
__________________
Best Regards
---
Masim "Vavai" Sugianto
Vavai Personal Blog
Personal Blog [ID]

Release 7.1.3_GA_3346.SLES11_64_20110930001521 SLES11_64 FOSS edition.
Reply With Quote
  #5 (permalink)  
Old 05-03-2010, 06:13 AM
Intermediate Member
 
Posts: 24
Default

zimbra@mail:~/log$ telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
220 mail.diamant.ro ESMTP Postfix

root@mail:~# apt-get remove sendmail
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package sendmail is not installed, so not removed
The following packages were automatically installed and are no longer required:
openssl-blacklist ssl-cert openssl
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
root@mail:~# apt-get remove exim
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package exim is not installed, so not removed
The following packages were automatically installed and are no longer required:
openssl-blacklist ssl-cert openssl
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
root@mail:~# apt-get remove postfix
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package postfix is not installed, so not removed
The following packages were automatically installed and are no longer required:
openssl-blacklist ssl-cert openssl
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
root@mail:~#
Reply With Quote
  #6 (permalink)  
Old 05-03-2010, 06:41 AM
Moderator
 
Posts: 7,928
Default

You have a local install of Apache running which has bound to port 80. Either disable Apache from starting or move Zimbra onto port 443 only
Code:
su - zimbra
zmtlsctl https
__________________
Reply With Quote
  #7 (permalink)  
Old 05-03-2010, 07:14 AM
Intermediate Member
 
Posts: 24
Default

yep, thanks mate that was the problem
now zimbra is running only on https

Thank you again
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.