Results 1 to 7 of 7

Thread: [SOLVED] Upgrade Misdetecting Number of Users

  1. #1
    Mercer's Avatar
    Mercer is offline Junior Member
    Join Date
    Jul 2007
    Location
    Harrisburg, PA
    Posts
    7
    Rep Power
    7

    Default [SOLVED] Upgrade Misdetecting Number of Users

    When upgrading from 4.5.7 to 4.5.9 (zcs-NETWORK-4.5.9_GA_1454.UBUNTU6) I am getting this error when running install.sh:

    Code:
      Current Users=28 Licensed Users=25
      Warning: The number of users on this system (28) exceeds the licensed number
      (25).  You may continue with the upgrade, but you will not be able to create
      new users.  Also, initialization of the Document feature will fail.  If you 
      later wish to use the Documents feature you'll need to resolve the licensing 
      issues and then run a separate script available from support to initialize the 
      Documents feature. 
    
      Do you wish to continue? [N]
    However, in the admin console:

    Code:
    Accounts Limit:  25 ( 16 accounts have been used )
    I have verified our correct license file is in /opt/zimbra/conf/ZCSLicense.xml.

  2. #2
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    20

    Default

    Hi Mercer, could you open a support ticket so they can check why it's incorrectly reporting that you're using up 28 accounts? Thanks

  3. #3
    Mercer's Avatar
    Mercer is offline Junior Member
    Join Date
    Jul 2007
    Location
    Harrisburg, PA
    Posts
    7
    Rep Power
    7

    Default

    The install.sh script calls verifyLicenseAvailable() in util/utilfunc.sh, which runs 'zmprov gaa | wc -l' then subtracts 3. This over-simplified license check double-counts users with archiving turned on.

    The more sophisticated license checks in the server component apparently handle these properly.

  4. #4
    Mercer's Avatar
    Mercer is offline Junior Member
    Join Date
    Jul 2007
    Location
    Harrisburg, PA
    Posts
    7
    Rep Power
    7

  5. #5
    maumar is offline Elite Member
    Join Date
    Mar 2007
    Location
    Small village in the center of Italy
    Posts
    339
    Rep Power
    8

    Default

    Hopeing to be not OT.
    I have the same issue:
    Admin Web Gui reports:

    Code:
    Accounts limit:	50 ( 44 accounts have been used )
    I have no archive account.
    zmprov reports:

    Code:
    zmprov -l gaa |wc -l
    55
    but...
    of these 55 accounts, they have:
    Code:
    zmprov gas|wc -l
    2
    zmprov -l gaa |grep galsync|wc -l
    4
    zmprov -l gaa |grep wiki|wc -l   
    2
    zmprov -l gaa |grep spam|wc -l
    2
    zmprov -l gaa |grep ham|wc -l
    2
    zmprov -l gaa |grep virus-quarantine|wc -l
    1
    they have 2 servers, and of 55 accounts,
    2 are wiki
    2 are spam
    2 are ham
    1 is virus-quarantine
    4 are galsync

    55 - 11 = 44 accounts

    During upgrade, instead:
    Code:
    Checking for available license file...
    Current Users=52 Licensed Users=50
    as utils/utilfunc.sh counts 55 minus 3....

  6. #6
    stiller is offline Partner (VAR/HSP)
    Join Date
    May 2008
    Posts
    92
    Rep Power
    6

    Default

    I just noticed this behavior as well. Resource accounts are counted towards the license limit by the install/upgrade script. I think this behavior is new. I just managed to get it to pass by deleting an old wiki account.
    Snelbij | Uw informatie ter beschikking.
    https://www.snelbij.nl

  7. #7
    stiller is offline Partner (VAR/HSP)
    Join Date
    May 2008
    Posts
    92
    Rep Power
    6

    Default

    This seems to be a known bug which throws an incorrect error:
    Bug 45953 – number of licenses read by install script for 6.0.6 upgrade incorrect
    Safe to ignore.
    Snelbij | Uw informatie ter beschikking.
    https://www.snelbij.nl

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 7
    Last Post: 10-05-2007, 03:14 PM
  2. Replies: 2
    Last Post: 10-04-2007, 03:20 PM
  3. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 07:46 PM
  4. copy/migrate users to new server for upgrade testing
    By mrluohua in forum Administrators
    Replies: 0
    Last Post: 03-05-2007, 08:23 PM

Posting Permissions

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