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 11-22-2007, 04:22 AM
PCK PCK is offline
Member
 
Posts: 14
Default [SOLVED] Upgraded to 4.5.10 now all accounts locked out

Hi all,

I upgraded my 4.5.6 system to 4.5.10 last night and all went well except I'm unable to login to any account including the admin account. Here is what I have tried so far:

su zimbra

zmprov sp admin@domain.com newpassword

ERROR: account.NO_SUCH_ACCOUNT <==== account is gone

zmprov gaaa will show you all the current admin users

nothing returned <====== no admin users

To set another admin:
zmprov ma futureadmin@domain.com zimbraIsAdminAccount TRUE
or
zmprov ma futureadmin@domain.com zimbraIsDomainAdminAccount TRUE

ERROR: account.NO_SUCH_ACCOUNT <==== account is gone

Any ideas where I should go from here?
Reply With Quote
  #2 (permalink)  
Old 11-22-2007, 04:43 AM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

Welcome to the forums.

Quote:
Originally Posted by PCK View Post
Any ideas where I should go from here?
The obvious answer to that would be to restore your system with the backup you took before upgrading, you did take a backup didn't you?

Were there any errors in the install logs? Which operating system? Network Edition or Open Source? Are there currently any Zimbra services running i.e. what does zmcontrol status show??

Did you actually try creating another admin account?
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 11-22-2007, 11:24 PM
PCK PCK is offline
Member
 
Posts: 14
Default

There are no errors in the logs that I can see. The upgrade completed successfully or so it said it did.

I'm running FC5 as a guest under F8xen, OSE 4.5.6 to 4.5.10 was attempted.
and yes, a reboot of the entire system was performed.

After the upgrade, zmcontrol status showed all services running.

I did try to create another admin account, using this example with my domain:
zmprov ca testadmin@domain.com test123 zimbraIsAdminAccount TRUE
the error then was:
ERROR: account.NO_SUCH_DOMAIN

It seems either all accounts and domains were deleted or there is something wrong with the database.

I'm going to set the entire /opt directory aside if you want to see any data in it and I'm going to restore from a current backup and attempt the upgrade again when I get a chance.


Pete
Reply With Quote
  #4 (permalink)  
Old 11-23-2007, 08:48 AM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

How much RAM is allocated to this Zimbra server?
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 11-23-2007, 02:01 PM
PCK PCK is offline
Member
 
Posts: 14
Default

Allocated memory is 725 MB, Currently using 575 MB with swap using 95MB. I was able to restore to a 4.5.6 backup and the system is up and stable again. I'm going to give it a day or so and attempt another conversion to 4.5.10 with a follow on upgrade to 5.0 when it's GA. My plan is to allocate more RAM soon, but for the initial build I gave it 725.

Pete
Reply With Quote
  #6 (permalink)  
Old 11-23-2007, 11:43 PM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

The likelihood is that the lack of memory has caused the problem, you are below the recommended minimum for a testing environment. If this is a production server with any real level of activity then you really should have 2GB, you might get away with less but certainly not below 1GB. There are a couple of threads on the forums and articles in the wiki reducing the memory footprint for Zimbra. Some of the suggestions remove functionality but other may impact performance - take your pick.
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 11-24-2007, 02:07 AM
PCK PCK is offline
Member
 
Posts: 14
Default

I'm running 4.5.6 well below thoes requirements now for testing, and as I said the install completed successfully so memory should not be the cause at this point, but, as I said I do plan to increase memory so I'll try again when I'm there.

Pete
Reply With Quote
  #8 (permalink)  
Old 11-24-2007, 03:17 AM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

Quote:
Originally Posted by PCK View Post
I'm running 4.5.6 well below thoes requirements now for testing
Memory requirements will vary between different version of Zimbra due to modifications we make to the product.

Quote:
Originally Posted by PCK View Post
.. and as I said the install completed successfully so memory should not be the cause at this point
The fact that Zimbra installs correctly is no indication that the packages will run nor that you have enough memory, that's why we give a minimum and recommended specification for a server. None of the applications are running during the install so, of course, it completes successfully and for the installation of an RPM and initial configuration the memory footprint is quite low.

Quote:
Originally Posted by PCK View Post
..but, as I said I do plan to increase memory so I'll try again when I'm there.
I understand what you're saying but I think you'll find that an increase in RAM will solve your problem.
__________________
Regards


Bill
Reply With Quote
  #9 (permalink)  
Old 12-07-2007, 01:21 AM
PCK PCK is offline
Member
 
Posts: 14
Default

OK Bill......

I finally upgraded memory to the recommended 1.5G.
Tried upgrading OSE 4.5.6 to OSE 4.5.10 as before.
Logs show a successful completion.
Still unable to log in under either the admin account or any user ID.

zmcontrol status - all running

The "zmsetup.log" doesn't show anything unusual in my opinion.

I'll be happy to email the logs for your review if that will help.

I'm stuck, any ideas?


Pete
Reply With Quote
  #10 (permalink)  
Old 12-08-2007, 06:37 PM
Former Zimbran
 
Posts: 5,606
Default

I think your ldap got wiped, my friend.

How many times did you run the upgrade? Sometimes, if it fails the first time (or more), it can think that it's a new install.

Can you restore to a backup? If not, look for the ldap backup in /opt/zimbra/openldap-data.backxxx

find the most recent one, then go to the blog post about importing ldap data (admin powertip), and reimport your data.

We always backup ldap data before any upgrade.
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.