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
  #21 (permalink)  
Old 04-14-2006, 01:46 PM
Zimbra Employee
 
Posts: 274
Default

zmrcd must be in libexec. Maybe there is a bug in upgrade. Does your /opt/zimbra/.ssh/authorized_keys command point at /opt/zimbra/bin or /opt/zimbra/libexec?
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #22 (permalink)  
Old 04-14-2006, 01:46 PM
Special Member
 
Posts: 135
Default

Code:
[zimbra@mail ~]$ cat /opt/zimbra/.ssh/authorized_keys

command="/opt/zimbra/bin/zmrcd" ssh-dss
Reply With Quote
  #23 (permalink)  
Old 04-15-2006, 12:38 AM
Former Zimbran
 
Posts: 5,606
Default

keyhman (steve)

Could you please elaborate a little more on exactly the steps you took to get the queue to work? A step by step would be nice.

Also, did you get a chance to file that bugzilla? If so, do you have an ID?

Thanks,
jh
Reply With Quote
  #24 (permalink)  
Old 04-16-2006, 03:05 PM
Junior Member
 
Posts: 9
Default known_hosts not there

known_hosts is not in my .ssh folder
i made one and added the key but still get nothing.
do i need to remove the ssh-des part.
Reply With Quote
  #25 (permalink)  
Old 04-17-2006, 06:37 AM
Intermediate Member
 
Posts: 20
Default

Quote:
Originally Posted by wannabetenor
keyhman (steve)

Could you please elaborate a little more on exactly the steps you took to get the queue to work? A step by step would be nice.

Also, did you get a chance to file that bugzilla? If so, do you have an ID?

Thanks,
jh
I agree, a step by step process to get queues working would be most welcome

Adrian
Reply With Quote
  #26 (permalink)  
Old 04-17-2006, 08:26 PM
Zimbra Employee
 
Posts: 515
Default

actually i think what you need is the zimbra user id in the authorized keys. n.b. make sure you have both arrows '>>' in order to append instead of overwrite (need i say run all this as zimbra):

cat ~/.ssh/zimbra_identity.pub >> ~/.ssh/authorized_keys

if the zimbra id isn't there you can set everything up like this:

zmsshkeygen
zmupdateauthkeys
tomcat restart

i filed the bug:
Bug 7241 - ssh auth exception for queue manager
http://bugzilla.zimbra.com/show_bug.cgi?id=7241
__________________
Search the Forums - Bugzilla - Wiki - Downloads
Reply With Quote
  #27 (permalink)  
Old 04-18-2006, 12:46 PM
Intermediate Member
 
Posts: 20
Default Queues working

OK, I thought Id feedback what happened. First off I made a copyof authorized keys and I noticed that there was some extra stuff in there (see below)

cat ~/.ssh/authorized_keys

command="/opt/zimbra/bin/zmrcd" ssh-dss AAAAB3NzaC1kc3MAAACBAOsnIF6CqtajdxUnCx8uOLj+oJ5Xuz grBtO6CEW9XdaLtViPe09Kt1Q8D0SxN5Hziy6BQ0Aif5psCHoa aPP+2+JpiBq4SBcQYXwA9haBUcG/7dFYgc+kOCMPJQF57Zn9BrevLNW7TshHY9IpqpLVDw2O+izGTO/H0CDqCQaE7R8RAAAAFQDe

Hmmm, so I removed all the lines and then did the first bit of your suggestion - the cat part

This didnt seem to work. Then I noticed that the owners of the files in .ssh seemed to be wrong also (see below)

ls .ssh/ -l
total 48
-rw-r--r-- 1 root root 614 Apr 18 19:00 authorized_keys
-rw-r--r-- 1 zimbra zimbra 438 Apr 17 13:43 known_hosts
-rw------- 1 zimbra zimbra 668 Apr 18 19:17 zimbra_identity
-rw-r--r-- 1 root root 614 Apr 15 12:56 zimbra_identity.pub

Notice two are owned by root, so chmoded them to zimbra - still now good

Finally I did the last part of what you suggested - the zmsskeygen lines - this worked a treat, so thank you very much for that. I think that I may have needed to do some of the other parts also, such as chmoding but i hope that helps anyone else with this problem

Im still totally impressed with this product, its an amazing bit of coding

Adrian
Reply With Quote
  #28 (permalink)  
Old 04-18-2006, 08:26 PM
Zimbra Employee
 
Posts: 515
Default

Quote:
>the cat part. This didnt seem to work
>
my typo. just run "zmsshkeygen; zmupdateauthkeys; tomcat restart" instead
__________________
Search the Forums - Bugzilla - Wiki - Downloads
Reply With Quote
  #29 (permalink)  
Old 09-27-2006, 03:22 PM
Junior Member
 
Posts: 9
Default auth key problem 3.0 -> 4.0.2

hello everyone,
I just did the upgrade to 4.0.2 and everything is working great, except...
I am also having Mail Queue problems.

I have done the following :
zmsshkeygen
zmupdateauthkeys
tomcat restart

when I try "/opt/zimbra/libexec/zmrc mail.myserver.com", it asks for a password. After entering blank passwords I get
"Permission denied (publickey,gssapi-with-mic,password)."

The .ssh/zimbra_identity.pub is in .ssh/authorized_keys. I understand what a public key is (although I am fuzzy on the how), and I don't understand why it is asking for a password.

This box started out as a fresh minimal install of FC4, installed zimbra 3.0, upgraded to zimbra 3.0.1 (i think), finally upgraded to 4.0.2.

I obviously have something configured sideways somewhere... any ideas?
Reply With Quote
  #30 (permalink)  
Old 09-29-2006, 12:06 PM
Active Member
 
Posts: 32
Default

I fixed mine by adding zimbra to the allowed users in my ssh server.
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.