Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: [SOLVED] Upgraded to 4.5.10 now all accounts locked out

  1. #1
    PCK
    PCK is offline Member
    Join Date
    Jun 2007
    Posts
    14
    Rep Power
    8

    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?

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,504
    Rep Power
    57

    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


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    PCK
    PCK is offline Member
    Join Date
    Jun 2007
    Posts
    14
    Rep Power
    8

    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

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,504
    Rep Power
    57

    Default

    How much RAM is allocated to this Zimbra server?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    PCK
    PCK is offline Member
    Join Date
    Jun 2007
    Posts
    14
    Rep Power
    8

    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

  6. #6
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,504
    Rep Power
    57

    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


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    PCK
    PCK is offline Member
    Join Date
    Jun 2007
    Posts
    14
    Rep Power
    8

    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

  8. #8
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,504
    Rep Power
    57

    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


    Acompli: A new adventure for Co-Founder KevinH.

  9. #9
    PCK
    PCK is offline Member
    Join Date
    Jun 2007
    Posts
    14
    Rep Power
    8

    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

  10. #10
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    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.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Multiple Mail Accounts, Folders
    By skwdenyer in forum Users
    Replies: 12
    Last Post: 12-01-2013, 08:52 PM
  2. Set Zimbra to Automatically Download from POP3 Accounts
    By dbachman in forum Administrators
    Replies: 1
    Last Post: 08-29-2007, 09:05 AM
  3. Zimbra dies after some time
    By czaveri in forum Installation
    Replies: 17
    Last Post: 04-07-2006, 07:45 AM
  4. Internal Mails Stop Working After a While
    By mintra in forum Administrators
    Replies: 30
    Last Post: 02-02-2006, 08:35 AM
  5. Installation on FC3 under Xen
    By andreground in forum Installation
    Replies: 9
    Last Post: 11-14-2005, 10:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •