Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

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
  #11 (permalink)  
Old 04-14-2006, 10:08 AM
Zimbra Employee
 
Posts: 4,792
Default

zimbra user. Is port 22 open on your firewall? Is this a single node install?
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #12 (permalink)  
Old 04-14-2006, 10:14 AM
Special Member
 
Posts: 135
Default

its a single node install, the ssh port is open, and i changed the zimbraRemoteManagementPort to the correct ssh port.

running zmqstat as the zimbra user now works from a shell, after changing the spool/ dir to chmod 440 (zimbra is in the postfix group, which is the file group).

getting the same error in the admin console (which accurately reflects the correct ssh port).

do i have to do a tomcat restart?
Reply With Quote
  #13 (permalink)  
Old 04-14-2006, 10:18 AM
Special Member
 
Posts: 135
Default

tomcat restart didn't fix it either.
also
Code:
[zimbra@mail postfix-2.2.9]$ /opt/zimbra/libexec/zmqstat all
Can't chdir to /opt/zimbra/postfix-2.2.9/spool/all at /opt/zimbra/libexec/zmqstat line 182.
[zimbra@mail postfix-2.2.9]$
Reply With Quote
  #14 (permalink)  
Old 04-14-2006, 10:40 AM
Special Member
 
Posts: 135
Default

clicking on the individual queue tabs works.. so it updates each queue individually, just not the summary data.

is it sending the command "zmqstat all" and what is it looking to recieve?

ive tried hacking it to return the summary data for each queue, and setting $readfiles=1 for all.

both throw the same exception.

Message: system failure: exception executing command: zmqstat all
Reply With Quote
  #15 (permalink)  
Old 04-14-2006, 12:22 PM
Zimbra Employee
 
Posts: 274
Default

adobrin,

zmqstat is invoked with sudo.

$ sudo /opt/zimbra/libexec/zmqstat

Does that work for you?
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #16 (permalink)  
Old 04-14-2006, 12:26 PM
Special Member
 
Posts: 135
Default

yes, from a shell.
Reply With Quote
  #17 (permalink)  
Old 04-14-2006, 01:25 PM
Zimbra Employee
 
Posts: 274
Default

adobrin,

it is very strange that individual queues work, but not the global queue count. They all use the same underlying calls (pretty much). I don't know why your zmqstat (the all version) command is erroring with 127.

can you run this command (with your server name ofcourse). If it runs, then it there is a problem in the Java ssh client level otherwise it is in the sshd/zmrcd level. Let's find out.

Code:
      $ /opt/zimbra/libexec/zmrc bolton.liquidsys.com
      HOST:bolton.liquidsys.com zmqstat all
(out) hold=5071
(out) corrupt=0
(out) deferred=2
(out) active=0
(out) incoming=0
Note that the lines marked OUT are the lines you should get - in your case the counts are probably 0 though.

Since you seem to be hacking zmqstat and what not you should be aware that the "zmqstat all" gets translated into plain "zmqstat" by zmrcd.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #18 (permalink)  
Old 04-14-2006, 01:34 PM
Special Member
 
Posts: 135
Default

anand,


the zmrc command is saying "port 22: Connection Refused"

note that neither zmlocalconfig zimbraRemoteManagementPort, nor zmprov ms mailserver.tld zimbraRemoteManagementPort are set to 22.
Reply With Quote
  #19 (permalink)  
Old 04-14-2006, 01:39 PM
Special Member
 
Posts: 135
Default

if i manually add -p [zimbraRemoteManagementPort] to zmrc, the following error:

bash: /opt/zimbra/bin/zmrcd: No such file or directory

and a symbolic link from libexec/zmrcd to bin/zmrcd solves the issue.

thanks!
Reply With Quote
  #20 (permalink)  
Old 04-14-2006, 01:43 PM
Zimbra Employee
 
Posts: 274
Default

yeah zmrc is hardcoded to use port 22 (hmm that might have to be bugzilla'd).

Try this instead (changing port number and host name):
Code:
$ echo "HOST:bolton.liquidsys.com zmqstat all" | ssh -T -i /opt/zimbra/.ssh/zimbra_identity -p 22 zimbra@bolton.liquidsys.com
I get:
Code:
hold=5071
corrupt=0
deferred=2
active=0
incoming=0
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
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.