| 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.
|  | | 
11-05-2008, 09:52 AM
| | Intermediate Member | |
Posts: 21
| | zmmailboxdctl is not running Hi.
we're evaluating zimbra with the open source version (zcs-5.0.10_GA_2638.UBUNTU8.20081003052843) on ubuntu 8.04.
after moving from our lan to a hosting enviroment, with an ip change, the mailbox doesn't come up.
here are some log outtakes:
Nov 4 20:34:17 mail zmmailboxdmgr[22475]: manager started mailboxd/JVM with pid 22484
Nov 4 20:34:18 mail zmmailboxdmgr[22475]: manager woke up from wait on mailboxd/JVM with pid 22484
Nov 4 20:34:18 mail zmmailboxdmgr[22475]: mailboxd/JVM exited twice in 1 seconds (tolerance=60)
Nov 4 20:34:35 mail zmmailboxdmgr[22592]: status requested
Zimbra server reserving server socket port=110 bindaddr=null ssl=false
Zimbra server reserving server socket port=995 bindaddr=null ssl=true
Fatal error: exception while binding to ports
java.net.SocketException: Unbound server sockets not implemented
at javax.net.ServerSocketFactory.createServerSocket(S erverSocketFactory.java:80)
at com.zimbra.common.util.NetUtil.newBoundServerSocke t(NetUtil.java:97)
at com.zimbra.common.util.NetUtil.bindServerSocket(Ne tUtil.java:165)
any thoughts on this?
thanks
Sean | 
11-06-2008, 12:27 AM
| | | Welcome to the forums
It sounds like you have something already running on a couple of ports. So a few things for us to check Code: su - zimbra
zmcontrol stop
netstat -an
cat /etc/hosts
cat /etc/resolv.conf
dig yourdomain mx
dig yourserverfqdn
host `hostname` <- note backticks and not double quotes
__________________ | 
11-06-2008, 09:13 AM
| | Intermediate Member | |
Posts: 21
| | Quote:
Originally Posted by uxbod Welcome to the forums
It sounds like you have something already running on a couple of ports. So a few things for us to check | thanks for the reply
I've actually checked all of those in the last day or so. I didn't see anything out of place. Here is the netstat output (I've obscured the ip's): Code: zimbra@mail:~$ netstat -an
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp6 0 0 :::22 :::* LISTEN
tcp6 0 0 XXX.197.XXX.81:22 XXX.20.XXX.4:4719 ESTABLISHED
tcp6 0 0 ::1:35961 ::1:39011 TIME_WAIT
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ] DGRAM 6159 @/com/ubuntu/upstart
unix 4 [ ] DGRAM 11359 /dev/log
unix 2 [ ] DGRAM 6401 @/org/kernel/udev/udevd
unix 2 [ ] DGRAM 13902
unix 3 [ ] STREAM CONNECTED 13901
unix 3 [ ] STREAM CONNECTED 13900
unix 2 [ ] DGRAM 11412 hostname, hostname -f, dns and mx, everything in that list looks ok
it had been running ok after the initial install
My employer has just advised me to install the network trial version instead. Which makes more sense for our evaluation purposes as we do intend to buy a license. So when I get back to this, a few hours from now, it will be to uninstall this open source version and add in the network version. Hopefully trying out the open source package won't make that too awkward.
thanks
Sean | 
11-06-2008, 09:40 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,316
| | Quote:
Originally Posted by food hostname, hostname -f, dns and mx, everything in that list looks ok | You should post the output of those commands so we can check that they are OK. Quote:
Originally Posted by food My employer has just advised me to install the network trial version instead. Which makes more sense for our evaluation purposes as we do intend to buy a license. So when I get back to this, a few hours from now, it will be to uninstall this open source version and add in the network version. Hopefully trying out the open source package won't make that too awkward. | You don't need to uninstall the OSS version, just run the NE installer and it will upgrade your current set-up.
__________________
Regards
Bill
| 
11-06-2008, 06:23 PM
| | Intermediate Member | |
Posts: 21
| | Quote:
Originally Posted by phoenix You should post the output of those commands so we can check that they are OK.
You don't need to uninstall the OSS version, just run the NE installer and it will upgrade your current set-up. | post output, ok, I've stripped out any identifying info by replacing the domain with mydomain, the ip with 66.66.66.66, the smtp ip (mta will be separate machine) as 66.66.66.67, and my own ip as 77.77.77.77 Code: Host mail.mydomain.com
Stopping stats...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
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp6 0 0 :::22 :::* LISTEN
tcp6 0 0 ::1:48612 ::1:52193 TIME_WAIT
tcp6 0 0 66.66.66.66:22 77.77.77.77:4719 ESTABLISHED
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ] DGRAM 6159 @/com/ubuntu/upstart
unix 4 [ ] DGRAM 11359 /dev/log
unix 2 [ ] DGRAM 6401 @/org/kernel/udev/udevd
unix 2 [ ] DGRAM 13902
unix 3 [ ] STREAM CONNECTED 13901
unix 3 [ ] STREAM CONNECTED 13900
unix 2 [ ] DGRAM 11412
127.0.0.1 localhost
66.66.66.66 mail.mydomain.com mail
#192.168.1.66 mail.mydomain.com mail
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
search mydomain.com
#nameserver 192.168.1.44
nameserver 192.197.96.11
nameserver 192.197.96.12
; <<>> DiG 9.4.2 <<>> mydomain.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49149
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; QUESTION SECTION:
;mydomain.com. IN MX
;; ANSWER SECTION:
mydomain.com. 14400 IN MX 0 smtp.mydomain.com.
;; ADDITIONAL SECTION:
smtp.mydomain.com. 14400 IN A 66.66.66.67
;; Query time: 0 msec
;; SERVER: 192.197.96.11#53(192.197.96.11)
;; WHEN: Thu Nov 6 18:14:37 2008
;; MSG SIZE rcvd: 70
; <<>> DiG 9.4.2 <<>> mail.mydomain.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30063
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;mail.mydomain.com. IN A
;; ANSWER SECTION:
mail.mydomain.com. 14400 IN A 66.66.66.66
;; Query time: 0 msec
;; SERVER: 192.197.96.11#53(192.197.96.11)
;; WHEN: Thu Nov 6 18:14:37 2008
;; MSG SIZE rcvd: 54
mail.mydomain.com has address 66.66.66.66 thanks
Sean | 
11-06-2008, 10:04 PM
| | Intermediate Member | |
Posts: 21
| | Hi Quote:
Originally Posted by phoenix You should post the output of those commands so we can check that they are OK.
You don't need to uninstall the OSS version, just run the NE installer and it will upgrade your current set-up. | so where were we ..
ok, I've posted results from that sequence of commands
and I went ahead and ran the NE installer, with some glitches, minor I hope
firstly, zmmailboxdctl still not running Code: zimbra@mail:/root/zcs-NETWORK-5.0.10_GA_2638.UBUNTU8.20081003032736$ zmcontrol status
Host mail.mydomain.com
ldap Running
logger Running
mailbox Stopped
zmmailboxdctl is not running
snmp Running
spell Running
stats Running I have the install dialogue, there was some oddness Code: Setting local config values...done.
Setting up CA...sh: openssl: command not found
done.
Deploying CA to /opt/zimbra/conf/ca ...done.
Setting replication password...done. seems to expect openssl? I see an openssl tree under /opt/zimbra .. ? openssl in the $PATH for user zimbra ..
and Code: Setting up syslog.conf...done.
Looking for valid license to install...failed to install license.
*******ERROR
Failed to install a license - this will prevent your server from functioning properly I had popped the license into /opt/zimbra/conf. I was expecting to be queried for that path
thanks
Sean | 
11-06-2008, 11:21 PM
| | | Your DNS is incorrect. The MX is pointing at smtp.mydomain.com yet your mailserver is mail.mydomain.com. Going by the IP addresses it would appear your are actually behind a firewall on a private LAN? Is so you will need to setup a Split DNS - Zimbra :: Wiki architecture.
__________________ | 
11-06-2008, 11:50 PM
| | Zimbra Consultant & Moderator | |
Posts: 20,316
| | Your /etc/hosts file is also incorrect, you need the format shown in the documentation.
__________________
Regards
Bill
| 
11-07-2008, 09:12 AM
| | Intermediate Member | |
Posts: 21
| | Quote:
Originally Posted by uxbod Your DNS is incorrect. The MX is pointing at smtp.mydomain.com yet your mailserver is mail.mydomain.com. Going by the IP addresses it would appear your are actually behind a firewall on a private LAN? Is so you will need to setup a Split DNS - Zimbra :: Wiki architecture. | are you sure about that?
as I said our mta will be on another machine, it's called smtp.mydomain.com, this machine with the ldap etc is called mail.mydomain.com
what do mean by ip addresses? as I wrote, I replaced my ip addresses with these placeholders, I explained that
Sean | 
11-07-2008, 09:31 AM
| | Intermediate Member | |
Posts: 21
| | Quote:
Originally Posted by phoenix Your /etc/hosts file is also incorrect, you need the format shown in the documentation. | so I should change the line
127.0.0.1 localhost
to
127.0.0.1 localhost.localdomain localhost
currently it looks like this (real details obscured): Code: 127.0.0.1 localhost
66.66.66.66 mail.mydomain.com mail
#192.168.1.66 mail.mydomain.com mail
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
thanks
Sean | | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |