Article ID: 129234, created on Aug 9, 2016, last review on Aug 9, 2016

  • Applies to:
  • Operations Automation 6.0
  • Operations Automation 5.5

Symptoms

A task related to Open-Xchange APS fails with the following error:

Execution of configuration script for instance with id xxxx of service with id contact of instance with id yyyyy of application with id 123 failed - returned value: -1 output: '' errors: 'Response body:
{"error_params":[],"category":2,"error":"User is deactivated","code":"AUTHORIZATION-0001","error_id":"-327702286-2685356"}
PHP Fatal error: Uncaught exception 'oxGetDataFailedException' with message 'User is deactivated'

Cause

Context is deactivated on Open-Xchange side.

Resolution

  • Find the Open-Xchange server and master admin username in task parameters, find the master admin password in global settings of Open-Xchange resource type;
  • Login to the specified Open-Xchange server;
  • Find the same error in Open-Xchange logs located in /var/log/open-xchange/ and find context ID there:

    Jan 1, 2016 1:11:11 PM com.openexchange.log.internal.LoggerTask call
    INFO: Logged at: com.openexchange.ajax.Login$11.doLogin(Login.java:971)
    Login:Username IP:100.100.100.100 AuthID:1cd101c101cd1cdea10cf101afbc1a10 Agent:null Client:com.openexchange.ox.gui.dhtml(null) Interface:HTTP_JSON Context:1001(1001._________________________________,Username||Username,BRANDING||1001||ox01.provider.com) User:2(Username) Failed.
    Jan 1, 2016 1:11:11 PM com.openexchange.log.internal.LoggerTask call
    SEVERE: Logged at: com.openexchange.ajax.Login.loginOperation(Login.java:1013)
    AUTHORIZATION-0001 Category=2 Message=User is deactivated exceptionID=-2013636039-10015
    

    In the snippet above the context ID is 1001;

  • Run this command to check the context status:

    # /opt/open-xchange/sbin/listcontext -A oxadminmaster -P **** -s <contextID>
    

    Here and below, replace **** with actual password and <contextID> with actual ID, in our example it is 1001.

    Pay attention to the 1st and the 4th column (context ID and status). If the value in the enabled column is false, that means the context is disabled:

    [root@ox01 open-xchange]# /opt/open-xchange/sbin/listcontext -A oxadminmaster -P **** -s <contextID>
    cid     fid fname           enabled qmax qused name lmappings
    1001    2   1001_ctx_store  false   1024     0 ...
    
  • Activate the context:

    # /opt/open-xchange/sbin/enablecontext -c <contextID> -A oxadminmaster -P ****
    
  • Restart failed task

- INTERNAL (content below this line is not visible in published article) -

Search Words

oxGetDataFailedException

Execution of configuration script for instance with id

PHP Fatal error: Uncaught exception 'oxGetDataFailedException'

User is deactivated

Open-Xchange

OpenXchange

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 956c448bddc7e1f3585373687602379f 6f1456866eed87488c0f02b298a741c0 5b048d9bddf8048a00aba7e0bdadef37 2554725ed606193dd9bbce21365bed4e

Email subscription for changes to this article
Save as PDF