Results 1 to 8 of 8

Thread: Maintenance mode for all Accounts

  1. #1
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    74
    Rep Power
    8

    Question Maintenance mode for all Accounts

    Actual Version: Release 4.5.6_GA_1044.RHEL5_20070706163724 CentOS5{i} NETWORK edition
    (Tomorrow 4.5.9)

    How can I set Maintenance mode for all accounts

    This doesn't work: http://www.zimbra.com/forums/adminis...html#post36074
    zmprov ma zimbraAccountStatus active
    And what is the effect of this?
    It Seems to do nothing
    zmcontrol maintenance

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

    Default

    I'm slightly confused by your post, you're asking about putting the accounts in maintenance mode and you quote a command to make them active. What is the output of the command when you try the correct format?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    74
    Rep Power
    8

    Default

    Im sorry, pasted the wrong line.

    This is what I mean
    zmprov ma zimbraAccountStatus maintenance
    Output:
    Code:
    usage:  modifyAccount(ma) {name@domain|id} [attr1 value1 [attr2 value2...]]
    
    zmprov [args] [cmd] [cmd-args ...]
    
    ...
    ...
    'zmprov ma user@domain.com zimbraAccountStatus maintenance' works fine. But is there a command to put all Accounts in Maintenance mode?

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

    Default

    OK, the example you've quoted is incorrect and that is the command for a single user mailbox. The one you want should be the 'zmcontrol maintenance' run as the zimbra user, does that not put it into maintenance mode?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    74
    Rep Power
    8

    Default

    I wrote that just because jholder wrote this once (http://www.zimbra.com/forums/adminis...html#post36074)

    1.
    To put all accounts into maintenance mode, from the command line, enter zmprov ma zimbraAccountStatus maintenance

    What does zmcontrol maintenance do?
    User login is still possible

    (And how can I see if I'm in maintainence mode or not?)

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

    Default

    Quote Originally Posted by lindworm View Post
    I wrote that just because jholder wrote this once (http://www.zimbra.com/forums/adminis...html#post36074)
    Yes, I realise that - it's wrong. That only does individual accounts and the format is wrong, you've already worked that out.

    Quote Originally Posted by lindworm View Post
    What does zmcontrol maintenance do?
    User login is still possible
    I thought my last post had told you what that command does.

    Quote Originally Posted by lindworm View Post
    (And how can I see if I'm in maintainence mode or not?)
    Check the individual accounts via zmprov or in the Admin UI. If it's not working then check bugzilla and if there's no problems already listed please file a bug report.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    74
    Rep Power
    8

    Default

    ok, thx for your help.

    It doesn't work for me, I thought I missed something out.

    I will check bugzilla.

  8. #8
    Join Date
    Jul 2006
    Location
    Australia, ACT
    Posts
    197
    Rep Power
    9

    Smile To put all accounts for a domain into maintenance mode

    To put all accounts for a domain into maintenance mode, blocking access you can do the following.

    Put the domain into maintenance mode:
    Code:
    # zmprov md mydomain.com zimbraDomainStatus maintenance
    Put the domain into active mode:
    Code:
    # zmprov md mydomain.com zimbraDomainStatus active
    And to query the current attributes of the domain:
    Code:
    # zmprov gd mydomain.com
    To query just the zimbraDomainStatus attribute of the domain:
    Code:
    # zmprov gd mydomain.com | grep -i zimbraDomainStatus
    Note: Only Zimbra admins will be able to login to a domain when in maintenance mode. Normal users will not be able to login.

    http://agilemail.com.au

    Your Australian Zimbra experts
    Sales, consulting, installation, support

Similar Threads

  1. Multiple Mail Accounts, Folders
    By skwdenyer in forum Users
    Replies: 12
    Last Post: 12-01-2013, 07:52 PM
  2. Replies: 210
    Last Post: 01-17-2012, 12:19 AM
  3. Error occurred: mailbox in maintenance mode: 38
    By maumar in forum Administrators
    Replies: 2
    Last Post: 08-15-2011, 09:04 PM
  4. Installation Issues - SLES 10_Zimbra 5.0 Beta 3
    By rhartman in forum Installation
    Replies: 3
    Last Post: 01-14-2008, 06:18 AM
  5. 'zmcontrol maintenance' doesn't seem to do anything
    By jdell in forum Administrators
    Replies: 0
    Last Post: 11-17-2006, 03:06 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
  •