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 12-12-2007, 12:57 PM
Advanced Member
 
Posts: 205
Default [SOLVED] '"zimbra" user fails authenication

When running zmprov, as the zimbra user "I su - zimbra" on CENT-OS 5 I get the following;
Quote:
ERROR: account.AUTH_FAILED (authenication failed for user zimbra)
.

We had a server crash which lead to a reinstall of everything OS & zimbra,
I then used the last good backup set of tapes (outside product) to restore the /opt/zimbra/ structure.

I'm thinking that the file restore over wrote something that is needed.

What was clobbered and how do I fix it?

Thanks
Reply With Quote
  #2 (permalink)  
Old 12-12-2007, 01:36 PM
Advanced Member
 
Posts: 205
Default Additional Symptoms

Additional Info from the web administration console looking at Manage Mail Queues I get;

Quote:
Message: system failure: exception during auth {RemoteManager: email.sb.state.az.us->zimbra@email.sb.state.az.us:22}
Error code: service.FAILURE
Method: ZmCsfeCommand.prototype.invoke
Details:soap:Receiver
Reply With Quote
  #3 (permalink)  
Old 12-12-2007, 02:23 PM
Moderator
 
Posts: 6,236
Default

Have you reset the ldap password? Directions: Resetting LDAP & MySQL Passwords - Zimbra :: Wiki
Do you have an entry in /etc/passwd? UID's match?
After restores you often need to regenerate the certs: SSL Certificate Problems - Zimbra :: Wiki
Queue problem: Mail Queue Monitoring - Zimbra :: Wiki
Reply With Quote
  #4 (permalink)  
Old 12-12-2007, 02:52 PM
Advanced Member
 
Posts: 205
Default Testing Suggestion

Thanks,
That did not appear in my searches. zmprov is working. now.

Testing

Partial fix, "Manage Mail Queues" still returning errors.
Reply With Quote
  #5 (permalink)  
Old 12-12-2007, 03:36 PM
Moderator
 
Posts: 6,236
Default

Alright getting there, so run me through what you've done - like:
1. check /etc/sshd_config and be sure it's set to 22
Code:
port 22
2. stop/start/restart sshd
Code:
/etc/init.d/ssh restart
3. su - zimbra
4. Just to double check that it's set:
Code:
zmprov ms server.domain.com zimbraRemoteManagementPort 22
5. generate new ssh keys:
Code:
cd /opt/zimbra/bin/
./zmsshkeygen
6. deploy the keys
Code:
./zmupdateauthkeys
all done, to test this, you can run the following command
Code:
ssh -i .ssh/zimbra_identity -o strictHostKeyChecking=no zimbra@server.domain.com -p 22
or -vi
and it should not prompt you for a password
Reply With Quote
  #6 (permalink)  
Old 12-13-2007, 06:34 AM
Advanced Member
 
Posts: 205
Exclamation still not there

checking with
Code:
ssh -i .ssh/zimbra_identity -o strictHostKeyChecking=no -p 22
I get the following;
Code:
$ ssh -i .ssh/zimbra_identity -o strictHostKeyChecking=no zimbra@FQDN -p 22
Warning: Identity file .ssh/zimbra_identity not accessible: No such file or directory.
Warning: Permanently added 'FQDN,10.168.30.60' (RSA) to the list of known hosts.
zimbra@FQDN's password: 
Permission denied, please try again.
Is there an option to the install.sh script that will reset ALL the access controls without killing the various mailboxes?

Last edited by jrefl5; 12-13-2007 at 11:03 AM.. Reason: add final question
Reply With Quote
  #7 (permalink)  
Old 12-14-2007, 12:03 PM
Advanced Member
 
Posts: 205
Post The Final FIX

The final fix was to get a full all accounts backup, and copy /opt/zimbra/backup to another filesystem. Then install.sh -u followed by a reinstall.

1.
Code:
zmbackup -a all-f
2.
Code:
cp -pr /opt/zimbra/backup /tmp/zimbra/
as root.

3.
Code:
install.sh -u
4.
Code:
install.sh -s
5.
Code:
cp -pr /tmp/zimbra/backup /opt/zimbra/backup
as zimbra
6.
Code:
zmrestore -a all -lb last-Full_backup (step 1.)
from the Zimbra Administration console
7. confirm everything was back.

note that I had to restore some accounts from an older backup (these were mostly accounts that had not been used at that time).

8. recheck again.
9. another Full backup
Code:
zmbackup --fullbackup --target /opt/zimbra/backup --account all
Reply With Quote
  #8 (permalink)  
Old 12-14-2007, 12:31 PM
Moderator
 
Posts: 6,236
Default

Guess you got a good test of your backups out of this!
-marking thread solved
Reply With Quote
  #9 (permalink)  
Old 12-14-2007, 02:27 PM
Advanced Member
 
Posts: 205
Default True

Much better than planed
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.