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 Display Modes
  #1 (permalink)  
Old 07-19-2007, 03:33 PM
Junior Member
 
Posts: 8
Default zmmailbox (invoke Connection refused)

I wanted to play with zmmailbox but it blew up on me:
Code:
[zimbra@avocado ~]$ zmmailbox -z -m troy@avocado.cs.athabascau.ca getAllFolders
[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
ERROR: zclient.IO_ERROR (invoke Connection refused) (cause: java.net.ConnectException Connection refused)
[zimbra@avocado ~]$ uname -rpo
2.6.9-42.ELsmp x86_64 GNU/Linux
[zimbra@avocado ~]$ cat /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
[zimbra@avocado ~]$ zmcontrol | grep Release
Release 4.5.5_GA_838.RHEL4_64_20070518070829 RHEL4_64 NETWORK edition
[zimbra@avocado ~]$
any thoughts?
Reply With Quote
  #2 (permalink)  
Old 07-19-2007, 11:21 PM
Zimbra Consultant & Moderator
 
Posts: 11,508
Default

Is the firewall and SELinux disabled? How much memory on this server?
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 07-20-2007, 09:41 AM
Junior Member
 
Posts: 8
Default

SELinux was disabled on install and the firewall is off. I only have 2GB of RAM.

Code:
[09:37 root@avocado ~] # dmesg | grep SELinux
SELinux:  Initializing.
SELinux:  Starting in permissive mode
SELinux:  Registering netfilter hooks
SELinux:  Disabled at runtime.
SELinux:  Unregistering netfilter hooks
[09:37 root@avocado ~] # grep "^SELINUX=" /etc/selinux/config
SELINUX=disabled
[09:37 root@avocado ~] # service iptables status
Firewall is stopped.
[09:37 root@avocado ~] # dmesg | grep Memory
Memory: 2055672k/2097024k available (2105k kernel code, 0k reserved, 1297k data, 196k init)
[09:37 root@avocado ~] #
Reply With Quote
  #4 (permalink)  
Old 07-30-2007, 02:49 PM
Junior Member
 
Posts: 8
Default

To troubleshoot this further for myself, I think the correct question is "what connection is refused?". I am not sure how to answer that.

Any ideas?
Reply With Quote
  #5 (permalink)  
Old 08-02-2007, 01:47 PM
Zimbra Employee
 
Posts: 512
Default

It's the connection from zmmailbox to tomcat. This is a mailbox node? What do you see if you run zmmailbox with the "--debug" option?
__________________
Search the Forums - Bugzilla - Wiki - Downloads
Reply With Quote
  #6 (permalink)  
Old 08-23-2007, 11:45 AM
Junior Member
 
Posts: 8
Default FIXED and REPAIRED (summary)

The fix turned out to be properly setting the zimbraAdminPort; I dunno what happened to that in the first place.

Code:
[16:39 root@avocado ~] # su - zimbra
[zimbra@avocado ~]$ zmprov gs `zmhostname` | grep zimbraAdminPort
zimbraAdminPort: 7443
[zimbra@avocado ~]$ zmprov ms `zmhostname` zimbraAdminPort 7071
[zimbra@avocado ~]$ zmprov gs `zmhostname` | grep zimbraAdminPort
zimbraAdminPort: 7071
[zimbra@avocado ~]$
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0