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 09-16-2009, 06:16 PM
New Member
 
Posts: 4
Default dsn=4.4.1, status=deferred --- 7025: Connection refused

Hello all,

I recently upgraded from version 5x while updating I mistakenly enabled Proxy and memcache. While I don't know if this is an issue or not, I now can't seem to get a bind on port 7025.

I have included some often requested information and I'm not really sure where to start looking, I've tried some suggestions using zmprov but always seem to get another connection refused error:

ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)

Anyone have any suggestions?



++++++++++++++++++++++
Quote:
zmcontrol status
Host mercury.bmcg-computers.com
antispam Running
antivirus Running
ldap Running
logger Running
mailbox Stopped
zmmailboxdctl is not running.
memcached Running
mta Running
snmp Running
spell Running
stats Stopped
+++++++++++++++++++++++
Code:
 /var/log/zimbra.log
 
<snipped>
38941, delays=138941/0.29/0/0.02, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to mercury.bmcg-computers.com[10.0.0.20]:7025: Connection refused)

+++++++++++++++++++++++
Code:
cat /etc/hosts

127.0.0.1  localhost.localdomain localhost
10.0.0.20  mercury.bmcg-computers.com   mercury

# 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
+++++++++++++++++++++++++

Code:
cat /etc/resolv.conf

# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.0.1
search bmcg-computers.com
++++++++++++++++++++++++++

Code:
dig bmcg-computers.com mx

; <<>> DiG 9.4.2-P2 <<>> bmcg-computers.com mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33954
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2

;; QUESTION SECTION:
;bmcg-computers.com.            IN      MX

;; ANSWER SECTION:
bmcg-computers.com.     604800  IN      MX      10 mercury.bmcg-computers.com.

;; AUTHORITY SECTION:
bmcg-computers.com.     604800  IN      NS      ns2.bmcg-computers.com.

;; ADDITIONAL SECTION:
mercury.bmcg-computers.com. 604800 IN   A       10.0.0.20
ns2.bmcg-computers.com. 604800  IN      A       10.0.0.20

;; Query time: 10 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Sep 16 20:58:20 2009
;; MSG SIZE  rcvd: 110

++++++++++++++++++++++++++++

Code:
dig bmcg-computers.com any

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

;; QUESTION SECTION:
;bmcg-computers.com.            IN      ANY

;; ANSWER SECTION:
bmcg-computers.com.     604800  IN      SOA     ns2.bmcg-computers.com. hostmaster.bmcg-computers.com. 2009030144 28800 3600 604800 38400
bmcg-computers.com.     604800  IN      NS      ns2.bmcg-computers.com.
bmcg-computers.com.     604800  IN      MX      10 mercury.bmcg-computers.com.
bmcg-computers.com.     604800  IN      A       10.0.0.20

;; ADDITIONAL SECTION:
ns2.bmcg-computers.com. 604800  IN      A       10.0.0.20
mercury.bmcg-computers.com. 604800 IN   A       10.0.0.20

;; Query time: 3 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Sep 16 20:58:46 2009
;; MSG SIZE  rcvd: 173
+++++++++++++++++++++++++++++++

Code:
host `hostname`
mercury.bmcg-computers.com has address 10.0.0.20
+++++++++++++++++++++++++++++++
Code:
ps aux | grep zimbra
zimbra     557  0.0  0.0      0     0 ?        Z    21:01   0:00 [df] <defunct>
zimbra     721  0.0  2.7  65880 57448 ?        S    05:04   0:18 amavisd (ch16-avail)
zimbra     732  0.0  2.7  65620 57312 ?        S    Sep15   0:16 amavisd (ch14-avail)
zimbra    3183  0.0  0.0   2364   924 pts/0    R+   21:05   0:00 ps aux
zimbra    3184  0.0  0.0   1784   532 pts/0    R+   21:05   0:00 grep zimbra
zimbra    5018  0.1  1.6 140184 34300 ?        Ssl  Sep14   4:11 /opt/zimbra/openldap/sbin/slapd -l LOCAL0 -4 -u zimbra -h ldap://mercury.bmcg-computers.com:389 ldapi:/// -F /opt/zimbra/data/ldap/config
zimbra    6704  0.0  0.0   3228  1572 ?        S    Sep14   0:00 /bin/sh /opt/zimbra/mysql/bin/mysqld_safe --defaults-file=/opt/zimbra/conf/my.cnf --external-locking --log-error=/opt/zimbra/log/mysql_error.log --ledir=/opt/zimbra/mysql/libexec
zimbra    6823  0.0  1.9 385084 39980 ?        Sl   Sep14   2:35 /opt/zimbra/mysql/libexec/mysqld --defaults-file=/opt/zimbra/conf/my.cnf --basedir=/opt/zimbra/mysql --datadir=/opt/zimbra/db/data --pid-file=/opt/zimbra/db/mysql.pid --skip-external-locking --port=7306 --socket=/opt/zimbra/db/mysql.sock --external-locking
zimbra    7331  0.0  2.8  66636 58204 ?        S    Sep15   0:22 amavisd (ch18-avail)
zimbra    9620  0.0  0.0  12820   672 ?        Ss   Sep14   0:42 /opt/zimbra/memcached/bin/memcached -d -P /opt/zimbra/log/memcached.pid
zimbra   10023  0.0  2.5  62232 52828 ?        Ss   Sep14   0:15 amavisd (master)
zimbra   10149  0.0  0.0   3116  1348 ?        Ss   Sep14   0:03 /opt/zimbra/clamav/bin/freshclam --config-file=/opt/zimbra/conf/freshclam.conf --quiet --daemon --checks=12
zimbra   10373  0.0  6.2 165104 129068 ?       Ssl  Sep14   1:43 /opt/zimbra/clamav/sbin/clamd --config-file=/opt/zimbra/conf/clamd.conf
zimbra   10470  0.0  0.3  12500  6708 ?        Ss   Sep14   0:25 /opt/zimbra/httpd-2.2.11/bin/httpd -k start -f /opt/zimbra/conf/httpd.conf
zimbra   10482  0.0  0.2  12500  6076 ?        S    Sep14   0:00 /opt/zimbra/httpd-2.2.11/bin/httpd -k start -f /opt/zimbra/conf/httpd.conf
zimbra   10484  0.0  0.2  12500  6076 ?        S    Sep14   0:00 /opt/zimbra/httpd-2.2.11/bin/httpd -k start -f /opt/zimbra/conf/httpd.conf
zimbra   10487  0.0  0.2  12500  6076 ?        S    Sep14   0:00 /opt/zimbra/httpd-2.2.11/bin/httpd -k start -f /opt/zimbra/conf/httpd.conf
zimbra   10488  0.0  0.2  12500  6076 ?        S    Sep14   0:00 /opt/zimbra/httpd-2.2.11/bin/httpd -k start -f /opt/zimbra/conf/httpd.conf
zimbra   10490  0.0  0.2  12500  6076 ?        S    Sep14   0:00 /opt/zimbra/httpd-2.2.11/bin/httpd -k start -f /opt/zimbra/conf/httpd.conf
root     12703  0.0  0.0   7448  1828 ?        Ss   Sep14   0:53 /opt/zimbra/postfix/libexec/master
zimbra   12713  0.0  0.0   7188   784 ?        Ss   Sep14   0:00 /opt/zimbra/cyrus-sasl/sbin/saslauthd -r -a zimbra
zimbra   12715  0.0  0.0   7188   536 ?        S    Sep14   0:00 /opt/zimbra/cyrus-sasl/sbin/saslauthd -r -a zimbra
zimbra   12717  0.0  0.0   7188   508 ?        S    Sep14   0:00 /opt/zimbra/cyrus-sasl/sbin/saslauthd -r -a zimbra
zimbra   12718  0.0  0.0   7188   508 ?        S    Sep14   0:00 /opt/zimbra/cyrus-sasl/sbin/saslauthd -r -a zimbra
zimbra   12720  0.0  0.0   7188   508 ?        S    Sep14   0:00 /opt/zimbra/cyrus-sasl/sbin/saslauthd -r -a zimbra
zimbra   13257  0.1  0.2   6352  4672 ?        S    Sep14   2:50 /usr/bin/perl -w? /opt/zimbra/libexec/zmstat-proc
zimbra   13259  0.0  0.2   6100  4472 ?        S    Sep14   0:12 /usr/bin/perl -w? /opt/zimbra/libexec/zmstat-cpu
zimbra   13262  0.0  0.2   6100  4484 ?        S    Sep14   0:14 /usr/bin/perl -w? /opt/zimbra/libexec/zmstat-vm
zimbra   13264  0.0  0.2   6096  4496 ?        S    Sep14   0:09 /usr/bin/perl -w? /opt/zimbra/libexec/zmstat-io -x
zimbra   13266  0.0  0.2   6100  4436 ?        S    Sep14   0:09 /usr/bin/perl -w? /opt/zimbra/libexec/zmstat-df
zimbra   13268  0.0  0.2   6096  4480 ?        S    Sep14   0:09 /usr/bin/perl -w? /opt/zimbra/libexec/zmstat-io
zimbra   13275  0.0  0.2   6092  4408 ?        S    Sep14   0:10 /usr/bin/perl -w? /opt/zimbra/libexec/zmstat-fd
zimbra   13281  0.0  0.2   6224  4568 ?        S    Sep14   1:37 /usr/bin/perl -w? /opt/zimbra/libexec/zmstat-mysql
zimbra   13292  0.0  0.2   6100  4420 ?        S    Sep14   1:03 /usr/bin/perl -w? /opt/zimbra/libexec/zmstat-mtaqueue
zimbra   14031  0.0  0.0   1732   668 ?        S    Sep14   0:09 /usr/bin/iostat -d -k -x 30
zimbra   14034  0.0  0.0   1852   612 ?        S    Sep14   0:04 /usr/bin/vmstat -n -S K 30
zimbra   14035  0.0  0.0   1732   672 ?        S    Sep14   0:08 /usr/bin/iostat -d -k 30
zimbra   16226  0.0  2.8  67044 58664 ?        S    Sep15   0:13 amavisd (ch12-avail)
zimbra   17106  0.0  2.7  65912 57536 ?        S    02:17   0:20 amavisd (ch16-avail)
zimbra   20963  0.0  2.4  62232 51376 ?        S    19:58   0:00 amavisd (virgin child)
zimbra   21810  0.0  2.8  66828 58464 ?        S    Sep15   0:18 amavisd (ch17-avail)
zimbra   23718  0.0  0.2   6404  4720 ?        S    06:26   0:00 /usr/bin/perl /opt/zimbra/libexec/logswatch --config-file=/opt/zimbra/conf/logswatchrc --use-cpan-file-tail --pid-file=/opt/zimbra/log/logswatch.pid --script-dir=/opt/zimbra/data/tmp -t /var/log/zimbra-stats.log
zimbra   23724  0.1  0.3   8580  6704 ?        S    06:26   1:30 /usr/bin/perl /opt/zimbra/data/tmp/.swatch_script.23718
zimbra   23850  0.0  0.2   6408  4736 ?        S    06:26   0:00 /usr/bin/perl /opt/zimbra/libexec/swatch --config-file=/opt/zimbra/conf/swatchrc --use-cpan-file-tail --script-dir=/opt/zimbra/data/tmp -t /var/log/zimbra.log
zimbra   23863  0.1  0.3   8564  6688 ?        S    06:26   1:08 /usr/bin/perl /opt/zimbra/data/tmp/.swatch_script.23850
zimbra   23933  0.3  0.3   9600  7348 ?        S    06:26   3:00 /usr/bin/perl /opt/zimbra/libexec/zmmtaconfig
zimbra   25105 23.5  0.2  16656  6064 ?        R    06:28 206:42 /usr/bin/perl /opt/zimbra/libexec/zmlogger
zimbra   25907  0.0  2.7  66176 57688 ?        S    Sep15   0:19 amavisd (ch14-avail)
zimbra   27676  0.0  0.0   3684  1248 pts/0    S    20:53   0:00 su - zimbra
zimbra   27678  0.0  0.0   4628  2008 pts/0    S    20:53   0:00 -su
zimbra   29317  0.0  2.7  66576 57944 ?        S    06:33   0:17 amavisd (ch17-avail)
zimbra   30173  0.0  2.4  62232 51376 ?        S    20:11   0:00 amavisd (virgin child)
+++++++++++++++++++++++++++++++++++++


Code:
zmprov -l gs mercury.bmcg-computers.com | grep Bind

zimbraImapBindOnStartup: TRUE
zimbraImapBindPort: 143
zimbraImapProxyBindPort: 7143
zimbraImapSSLBindOnStartup: TRUE
zimbraImapSSLBindPort: 993
zimbraImapSSLProxyBindPort: 7993
zimbraLmtpBindOnStartup: FALSE
zimbraLmtpBindPort: 7025
zimbraMemcachedBindPort: 11211
zimbraNotifyBindPort: 7035
zimbraNotifySSLBindPort: 7036
zimbraPop3BindOnStartup: TRUE
zimbraPop3BindPort: 110
zimbraPop3ProxyBindPort: 7110
zimbraPop3SSLBindOnStartup: TRUE
zimbraPop3SSLBindPort: 995
zimbraPop3SSLProxyBindPort: 7995
Reply With Quote
  #2 (permalink)  
Old 09-16-2009, 10:55 PM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

You can check if the proxy is installed/running:

Code:
zmproxyctl status
zmprov gs `zmhostname` | grep zimbraServiceEnabled
zmprov gs `zmhostname` | grep zimbraServiceInstalled
If it's in, then run this:

Code:
zmproxyctl stop
zmprov ms `zmhostname` -zimbraServiceEnabled imapproxy
zmcontrol stop
zmcontrol start
To reset the ports run the following (on one line):

Code:
zmprov -l ms `zmhostname` zimbraPop3BindPort 110 zimbraPop3SSLBindPort 995 zimbraPop3ProxyBindPort 7110 zimbraPop3SSLProxyBindPort 7995 zimbraImapBindPort 143 zimbraImapSSLBindPort 993 zimbraImapProxyBindPort 7143 zimbraImapSSLProxyBindPort 7993
Then restart.
__________________
Regards


Bill

Last edited by phoenix; 09-19-2009 at 08:32 AM..
Reply With Quote
  #3 (permalink)  
Old 09-17-2009, 05:22 PM
New Member
 
Posts: 4
Default

Hi Phoenix,

Thanks for your reply and suggestions. I seem to be having trouble getting a connection using zmprov:

Code:
+++++++++++++++
zmproxyctl status
zmnginxctl is not running
+++++++++++++++

zimbra@mercury:~$ zmprov gs mercury.bmcg-computers.com | grep zimbraServiceEnabled
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)

++++++++++++++

zmprov gs mercury.bmcg-computers.com | grep zimbraServiceInstalled
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)

+++++++++++++++

zimbra@mercury:~$ zmproxyctl stop
Stopping nginx...nginx is not running.

+++++++++++++++
zimbra@mercury:~$ zmprov ms  mercury.bmcg-computers.com -zimbraServiceEnabled imapproxy
[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)

zimbra@mercury:~$ zmcontrol stop
Reply With Quote
  #4 (permalink)  
Old 09-19-2009, 09:48 AM
Outstanding Member
 
Posts: 594
Default

zimbra@mercury:~$ zmprov gs mercury.bmcg-computers.com | grep zimbraServiceEnabled
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)

zmprov with gs with throw error as your mailbox service is down. Run with -l

zimbra@mercury:~$ zmprov -l gs mercury.bmcg-computers.com | grep zimbraServiceEnabled
Reply With Quote
  #5 (permalink)  
Old 09-20-2009, 01:01 PM
New Member
 
Posts: 4
Default

Quote:
Originally Posted by veronica View Post
zimbra@mercury:~$ zmprov gs mercury.bmcg-computers.com | grep zimbraServiceEnabled
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)

zmprov with gs with throw error as your mailbox service is down. Run with -l

zimbra@mercury:~$ zmprov -l gs mercury.bmcg-computers.com | grep zimbraServiceEnabled
Excellent!! Thank you. But, unfortunately problem still exists. I thisnk I might have found something in the zmmailboxd.out log file:

Code:
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.0007260 seconds
Total time for which application threads were stopped: 0.0007050 seconds
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(ServerSocketFactory.java:80)
	at com.zimbra.common.util.NetUtil.newBoundServerSocket(NetUtil.java:95)
	at com.zimbra.common.util.NetUtil.bindServerSocket(NetUtil.java:163)
	at com.zimbra.common.util.NetUtil.bindSslTcpServerSocket(NetUtil.java:54)
	at com.zimbra.common.handlers.PrivilegedHandler.openPorts(PrivilegedHandler.java:89)
	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.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:523)
	at org.mortbay.start.Main.main(Main.java:119)
Heap
 par new generation   total 140096K, used 12465K [0x86030000, 0x8f830000, 0x8f830000)
  eden space 124544K,  10% used [0x86030000, 0x86c5c5d0, 0x8d9d0000)
  from space 15552K,   0% used [0x8d9d0000, 0x8d9d0000, 0x8e900000)
  to   space 15552K,   0% used [0x8e900000, 0x8e900000, 0x8f830000)
 concurrent mark-sweep generation total 466944K, used 0K [0x8f830000, 0xac030000, 0xac030000)
 concurrent-mark-sweep perm gen total 131072K, used 5732K [0xac030000, 0xb4030000, 0xb4030000)
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



Earlier in the same log file shows:

Code:
INFO  [main] log - Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
Zimbra server reserving server socket port=110 bindaddr=null ssl=false
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
1881 INFO  [main] log - Setting umask=027
1882 INFO  [main] log - Setting GID=1002
1884 INFO  [main] log - Setting UID=1002
1885 INFO  [main] log - jetty-6.1.5
2159 INFO  [main] log - No Transaction manager found - if your webapp requires one, please configure one.
Zimbra server process is running as uid=1002 euid=1002 gid=1002 egid=1002
Full thread dump Java HotSpot(TM) Client VM (1.5.0_17-b04 mixed mode):

Hopefully that adds a little more info...Not sure if I am providing everything needed. First time posting so just let me know what anybody needs. I'd really like to retain the mail on this server. Unfortantely due to some unforseen circumstances backups are gone and this is the last chance to get about 15 years worth of email that have sat on a plethora of different email systems.


TIA for any help you can provide!
Reply With Quote
  #6 (permalink)  
Old 09-21-2009, 12:08 PM
New Member
 
Posts: 4
Default

This issue has been resolved.

Thanks to all that replied but, especially Veronica!!!

Veronica found that the upgrade and my mistake in applying the proxy really screwed up the ports, also Certs were apparently screwed up as well.

Thanks again Veronica, you are indeed my hero of the day!!!

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.