cancel
Showing results for 
Search instead for 
Did you mean: 

FATAL: Close xuser entry failed:

Former Member
0 Kudos

Hello All

I am in s process of installing ECC5.0 with maxdb on Linux operating system.

in the step maxdb installation it ended with an error.

sapinst.log  says

--------------------------------------------------------------------------------------------------------------------------------------------------------------

WARNING 2013-04-22 21:51:58

Execution of the command "/sapdb/programs/bin/xuser -d DR5 -n sgtr-s-devdr5 -u XXXXXX -U DEFAULT -S SAPR3 -t 0 -I 0 set" finished with return code 2. Output:

FATAL: Close xuser entry failed:

ERROR 2013-04-22 21:51:58

CJS-00030  Assertion failed: in

function create_xuser_default(db_name, db_host, defUser, defPasswd, dbVer) {

    var def_s = defUser + "," + defPasswd;

    var xuser_pr = new ProcessMgt();

    var xuser_app = xuser_pr.createChildApplication();

    var xuser = (new FileMgt()).convertToOSPath(sapdb_xuser_fl());

    xuser_app.setExecutable(xuser);

    var def_args = ["-d", db_name, "-n", db_host, "-u", def_s, "-U", "DEFAULT", "-S", "SAPR3", "-t", "0", "-I", "0", "set"];

    xuser_app.setArguments(def_args);

    xuser_app.setHiddenArguments({5:true});

    xuser_app.setLogname("xuser_default.log");

    var ret = xuser_app.run();

    ASSERT(arguments.callee, ret == 0, "The creation of the default xuser entry aborts with returncode " + ret + ". Check the logfile xuser_default.log for more information.");

}

The creation of the default xuser entry aborts with returncode 2. Check the logfile xuser_default.log for more information.

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

xuser_default.log

FATAL: Close xuser entry failed:

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

I was Referring to sap note Note 39439 - XUSER entries for SAP MaxDB

and trying to create xuser entries for SAPR3 it says

xuser -U DEFAULT -u SAPR3,<password> -d SID -n <db_server> -S SAPR3 -t 0 -I 0 set

ERR 11517  XUSER    Could not open USER file, Permission denied

FATAL: Close xuser entry failed:

can any one please tell me how to change the permissions of xuser file

Please help me in moving forward

Thanks in advance

Vardhan.

Accepted Solutions (1)

Accepted Solutions (1)

former_member182034
Active Contributor
0 Kudos

hi Sri,

the following link also might be helpful to resolve the issue.

RR 11517 XUSER Could not open USER file, Permission denied

Regards,

Former Member
0 Kudos

Hello All,

Thanks for  you reply.

The issue for me was with permission for the directory

/home/sidadm

/home/sqdsid

these two directory were not having write permissions, i have added required permissions to this directory then this error went away

sapinst was not having permissions for  creating xuser  entries in home directory .XUSER.62 as mentioned in below sap note

Note 39439 - XUSER entries for SAP MaxDB

Thanks,

Vardhan.

Answers (1)

Answers (1)

former_member188883
Active Contributor
0 Kudos

Hi Sri,

Refer below SAP notes. It looks like database version problem

Note 1237337 - Error messages in appldiag of sdb user

Note 1178438 - Security note: MaxDB

Hope this helps.

Regards,

Deepak Kori