cancel
Showing results for 
Search instead for 
Did you mean: 

Error 03025 could not set real group. operation not permitted

Former Member
0 Kudos

Dear All;

I am in the process of installing SAP ERP 6.0 on Suse Linux. I am now at the phase import ABAP. At this phase I am getting the error: could not set real group. operation not permitted. could not set real group. operation not permitted.

Kindly help me in knowing what is the reason of this error.

Best Regards

~Amal Aloun

Accepted Solutions (0)

Answers (6)

Answers (6)

Akshay_G
Contributor
0 Kudos

Quick Checks:

1) You have started the installation with ROOT user?

2) As you have reached phase IMPORT ABAP, the <sid>adm user is not able to change the group of the file system because it might not have sufficient privileges. If this is the case, you can manually change the group of the directories accordingly.

3) Can you post the owner:group of files/directories below the following:

  • /usr/sap/<SID>
  • /sapmnt/<SID>
  • /oracle<SID>

If nothing comes back, you can clean-up the installation directories, delete users created i.e ora<sid>, sid<adm>... and begin with fresh installation with ROOT user and latest SWPM tool to do the installation.

~Akshay.

Former Member
0 Kudos

Dear Akshay;

1) The installation is started using uhradm.

2) I will try to do that manually

3)  /usr/sap/<SID> has the owner uhradm

    /sapmnt/<SID> has the owner root

   /oracle<SID> has the owner orauhr

I was recommended by Ahoutosh to run the installation via root so I tried that and got the following error: Process call '/usr/sap/UHR/SYS/exe/run/R3load -testconnect' exits with error code 127. For details see log file(s) R3load.exe.log.).

Would you recommend me to continue the installation using the root user, and handle the new error?

Best Regards

~Amal

Former Member
0 Kudos

You need to use root user to start installation (as many already mentioned earlier).

Reagan
Advisor
Advisor
0 Kudos

Hello

/usr/sap/UHR/SYS/exe/run/R3load: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: No such file or directory

You have problems with the Oracle Instant Client.

su - uhradm

cdexe

ldd R3load

For details see log file(s) R3load.exe.log

Please provide the above log file

Also uhradm and orauhr users should be part of oper and dba groups.

I don't see that in what you have provided before.

Check the permissions of the environment variable files for uhradm and orauhr.

sapinst is started under the root under.

It helps others in helping you if you provide the complete information.

Regards

RB

Akshay_G
Contributor
0 Kudos

Hello Amal,

Yes, SAP installation is always done via a Super user i.e. ROOT

Can you please post log of R3load.exe.log, as the previous user related error has resolved.

This might be a new error.

I am not sure, but feel so that DB is down.

Can you please check R3trans -x from uhradm and post results of that as well.

-Akshay

former_member206552
Active Contributor
0 Kudos

Hi Amal,

Note 819829 - Oracle Instant Client Installation and Configuration on Unix

you have a synbolic link missing

best regards

marius

Former Member
0 Kudos

Dear Akshay;

Yes I agree I think by using root user the issue with the group has been solved.

For the new error this is the log of R3load.exe

/usr/sap/UHR/SYS/exe/run/R3load: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: No such file or directory

The database is up and running.

when i run r3trans -x under uhradm it tells me command not found.

Best Regards

~Amal Aloun

former_member206552
Active Contributor
0 Kudos

Hi Amal,

then please check the enviroment variables for the user,

env | grep PATH

there should be /sapmnt/UHR/exe or /usr/sap/UHR/SYS/exe/run

if not you can manuall add it to the .cshrc by adding the following line

for csh

setenv PATH /usr/sap/UHR/SYS/exe/run:$PATH

or for ksh

export PATH=/usr/sap/UHR/SYS/exe/run:$PATH

if you only want to set it for the active session you can just run the following from the command line

for csh

setenv PATH /usr/sap/UHR/SYS/exe/run:$PATH

or for ksh

export PATH=/usr/sap/UHR/SYS/exe/run:$PATH

Best Regards

Marius

Former Member
0 Kudos

Dear Marius;

I have the symbloic link in my oracle client.

There is one issue i think i need to fix it before I continue, you see I installed Oracle using the user ORAUHR as recomended.

and then when I continued my installation for SAP using UHRADM as recomended I could contiunue where I had the issues.

I think if I am able somehow of letting the UHRADM be able to access the ORACLE Database then I will be able to continue with the SAP installation.

I tried to connect to Oracle using UHRADM but i could not.

SQL> startup

ORA-09925: Unable to create audit trail file

Linux-x86_64 Error: 13: Permission denied

Additional information: 9925

SQL>

Should I be qble to login to database using uhrqdm user inrder to succeed in installation?

Best Regards

~Amal Aloun

Reagan
Advisor
Advisor
0 Kudos

Hello

SQL> startup

ORA-09925: Unable to create audit trail file

Linux-x86_64 Error: 13: Permission denied

What is the value for the parameter audit_file_dest ? Check spfile or pfile

Most likey it should be /oracle/UHR/saptrace/audit

If yes check the ownership of all the directories under /oracle/UHR/saptrace

Again like I mentioned above orauhr and uhradm should be part of dba, oper and sapsys groups.

Issue these commands as root:

id uhradm

id orauhr

Regards

RB

former_member206552
Active Contributor
0 Kudos

Hi Amal,

Is this problem solved ?

Best Regards

Marius

Reagan
Advisor
Advisor
0 Kudos

Hello

Quick question:

Under which user are you running the installation ?

Also provide the output of these commands

su - uhradm

pwd

ls -la

ls -la /home

Regards

RB

AtulKumarJain
Active Contributor
0 Kudos

Hi Amal,

Using which tool you are doing installaionn ?

Please use latest tool to install the system.

BR

Atul

Former Member
0 Kudos

Dear Atul;

I am using sapinst as the installation tool.

Best Regards

~Amal

AtulKumarJain
Active Contributor
0 Kudos

Hi Amal,

Please check the group and user id in /etc/passwd and /etc/group file and create as per installation guide.

BR

Atul

Former Member
0 Kudos

Dear Atul;

I checked both files.

In group file I have: two groups:

sapinst:!:1000:root,orauhr,uhradm

sapsys!:680:root, orauhr, uhradm

BR

~Amal

former_member185239
Active Contributor
0 Kudos

Hi Amal,

If you are getting the below error

su: cannot set groups: Operation not permitted

then

chmod u+s /bin/su

With Regards

Ashutosh Chaturvedi

Former Member
0 Kudos

Dear Ashutosh;

The error I am getting is

Cannot read environment of user uhradm: permission denied.

Best Regards

~Amal Aloun

Reagan
Advisor
Advisor
0 Kudos

Hello

Check what I have suggested you before.

Thanks

RB

former_member185239
Active Contributor
0 Kudos

Hi Amal,

You need to run the installation from root user.

Thinks to check.

1. Run the whoami command and check under which user you are running the command

2. Provide full write read access to sapinst_instdir

Please provide the feedback

With Regards

Ashutosh Chaturvedi

Former Member
0 Kudos

Dear Ashutosh;

I stopped the installation, and run it again via the user root. I amd sure that I am the root user using the command whoami as u suggested.

I made sure that sapinst_instdir has full read write access.

After that I reached the phase import abap but the error now I am getting is different:

INFO 2013-07-02 06:03:52.459

Creating file /tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/x.

INFO 2013-07-02 06:03:52.460

Removing file /tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/x.

INFO 2013-07-02 06:04:18.513

Creating file /tmp/sapinst_instdir/x.

INFO 2013-07-02 06:04:18.513

Removing file /tmp/sapinst_instdir/x.

INFO 2013-07-02 06:04:18.514

Account sapinst already exists.

INFO 2013-07-02 06:04:18.515

Authorizations set for /tmp/sapinst_instdir.

INFO 2013-07-02 06:04:19.855

Copied file '/tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/statistic.xml' to '/tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/statistic.111.xml'.

INFO 2013-07-02 06:04:20.708

Copied file '/tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/statistic.xml' to '/tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/statistic.112.xml'.

INFO 2013-07-02 06:04:23.617

Working directory changed to /tmp/sapinst_exe.13173.1372759375.

INFO 2013-07-02 06:04:23.619

Working directory changed to /tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS.

INFO 2013-07-02 06:04:23.620

Working directory changed to /tmp/sapinst_exe.13173.1372759375.

INFO 2013-07-02 06:04:23.621

Working directory changed to /tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS.

INFO 2013-07-02 06:04:25.275

Working directory changed to /tmp/sapinst_exe.13173.1372759375.

INFO 2013-07-02 06:04:25.276

Working directory changed to /tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS.

INFO 2013-07-02 06:04:25.297

Working directory changed to /tmp/sapinst_exe.13173.1372759375.

INFO 2013-07-02 06:04:25.298

Working directory changed to /tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS.

INFO 2013-07-02 06:04:25.502

Copied file '/tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/inifile.xml' to '/tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/inifile.37.xml'.

INFO 2013-07-02 06:04:25.910

Copied file '/tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/keydb.xml' to '/tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/keydb.36.xml'.

INFO 2013-07-02 06:04:26.029

Copied file '/tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/statistic.xml' to '/tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/statistic.113.xml'.

INFO 2013-07-02 06:04:26.90

Execute step testDatabaseConnection of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0

INFO 2013-07-02 06:04:34.99

Working directory changed to /tmp/sapinst_exe.13173.1372759375.

INFO 2013-07-02 06:04:34.101

Working directory changed to /tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS.

INFO 2013-07-02 06:04:34.107

Working directory changed to /tmp/sapinst_exe.13173.1372759375.

INFO 2013-07-02 06:04:34.111

Working directory changed to /tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS.

INFO 2013-07-02 06:04:34.118

Account uhradm already exists.

INFO 2013-07-02 06:04:34.120

Account 0 already exists.

INFO 2013-07-02 06:04:34.121

Account sapsys already exists.

INFO 2013-07-02 06:04:34.122

Account 1000 already exists.

INFO 2013-07-02 06:04:34.124

Account 0 already exists.

INFO 2013-07-02 06:04:34.126

Account 680 already exists.

INFO 2013-07-02 06:04:34.429

Creating file /tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/R3load.exe.log.

INFO 2013-07-02 06:04:34.443

Output of /usr/sap/UHR/SYS/exe/run/R3load -testconnect is written to the logfile R3load.exe.log.

WARNING 2013-07-02 06:04:34.467

Execution of the command "/usr/sap/UHR/SYS/exe/run/R3load -testconnect" finished with return code 127. Output:

/usr/sap/UHR/SYS/exe/run/R3load: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: No such file or directory

ERROR 2013-07-02 06:04:34.468

CJS-30023  Process call '/usr/sap/UHR/SYS/exe/run/R3load -testconnect' exits with error code 127. For details see log file(s) R3load.exe.log.

ERROR 2013-07-02 06:04:34.507

FCO-00011  The step testDatabaseConnection with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|testDatabaseConnection was executed with status ERROR ( Last error reported by the step :Process call '/usr/sap/UHR/SYS/exe/run/R3load -testconnect' exits with error code 127. For details see log file(s) R3load.exe.log.).

Best Regards

~Amal

Former Member
0 Kudos

Hi,

Seems to be a problem with permissions to the directory,probably the sidadm doesn't have enough permissions to set groups,ensure the permissions are correct on the directory.

Cheers

former_member185239
Active Contributor
0 Kudos

Hi Amal,

can you please the latest logs in sapinst_insdir.

With Regards

Ashutosh Chaturvedi

Former Member
0 Kudos

Dear Ashutosh;

This is my log file:

INFO 2013-07-01 08:45:47.306

Creating file /tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/x.

INFO 2013-07-01 08:45:47.306

Removing file /tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/x.

INFO 2013-07-01 08:45:56.921

Creating file /tmp/sapinst_instdir/x.

INFO 2013-07-01 08:45:56.921

Removing file /tmp/sapinst_instdir/x.

INFO 2013-07-01 08:45:58.318

Copied file '/tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/statistic.xml' to '/tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/statistic.105.xml'.

INFO 2013-07-01 08:45:59.139

Copied file '/tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/statistic.xml' to '/tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/statistic.106.xml'.

INFO 2013-07-01 08:46:01.967

Working directory changed to /tmp/sapinst_exe.352.1372682699.

INFO 2013-07-01 08:46:01.969

Working directory changed to /tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS.

INFO 2013-07-01 08:46:01.971

Working directory changed to /tmp/sapinst_exe.352.1372682699.

INFO 2013-07-01 08:46:01.972

Working directory changed to /tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS.

INFO 2013-07-01 08:46:03.467

Working directory changed to /tmp/sapinst_exe.352.1372682699.

INFO 2013-07-01 08:46:03.468

Working directory changed to /tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS.

INFO 2013-07-01 08:46:03.490

Working directory changed to /tmp/sapinst_exe.352.1372682699.

INFO 2013-07-01 08:46:03.491

Working directory changed to /tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS.

WARNING[E] 2013-07-01 08:46:03.572

FSL-02015  Node /proc/sys/net/ipv4/route/flush does not exist.

WARNING[E] 2013-07-01 08:46:03.596

FSL-02015  Node /proc/sys/kernel/cad_pid does not exist.

WARNING[E] 2013-07-01 08:46:03.600

FSL-02015  Node /proc/sys/kernel/cap-bound does not exist.

WARNING[E] 2013-07-01 08:46:03.615

FSL-02015  Node /proc/sys/fs/binfmt_misc/register does not exist.

INFO 2013-07-01 08:46:03.674

Copied file '/tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/inifile.xml' to '/tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/inifile.35.xml'.

INFO 2013-07-01 08:46:04.181

Copied file '/tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/keydb.xml' to '/tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/keydb.34.xml'.

INFO 2013-07-01 08:46:04.296

Copied file '/tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/statistic.xml' to '/tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/statistic.107.xml'.

INFO 2013-07-01 08:46:04.359

Execute step testDatabaseConnection of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0

INFO 2013-07-01 08:46:12.155

Working directory changed to /tmp/sapinst_exe.352.1372682699.

INFO 2013-07-01 08:46:12.156

Working directory changed to /tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS.

INFO 2013-07-01 08:46:12.163

Working directory changed to /tmp/sapinst_exe.352.1372682699.

INFO 2013-07-01 08:46:12.166

Working directory changed to /tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS.

INFO 2013-07-01 08:46:12.173

Account uhradm already exists.

INFO 2013-07-01 08:46:12.174

Account 321 already exists.

INFO 2013-07-01 08:46:12.176

Account sapsys already exists.

INFO 2013-07-01 08:46:12.177

Account 681 already exists.

INFO 2013-07-01 08:46:12.179

Account 321 already exists.

WARNING 2013-07-01 08:46:12.180

Cannot read environment of user uhradm: permission denied.

INFO 2013-07-01 08:46:12.188

Creating file /tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/R3load.exe.log.

ERROR 2013-07-01 08:46:12.205

FSL-04017  Unable to change group. ID: 680. Operation not permitted

ERROR 2013-07-01 08:46:12.208

MUT-03025  Caught ESyException in Modulecall: Could not set real group. Operation not permitted.

ERROR 2013-07-01 08:46:12.254

FCO-00011  The step testDatabaseConnection with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|testDatabaseConnection was executed with status ERROR ( Last error reported by the step :Caught ESyException in Modulecall: Could not set real group. Operation not permitted.).

Best Regards

~Amal

former_member206552
Active Contributor
0 Kudos

Hi Amal,

for the env issue, make sure you have set the following as root

JAVA_HOME=<jdk directory>

PATH=$JAVA_HOME/bin:$PATH

LD_LIBRARY_PATH=/sapmnt/<SID>/exe

DISPLAY

source : http://scn.sap.com/thread/520317

Dont know if you had a look at this tread

FSL-04017 Unable to change group. ID: 505. Operation not permitted

sourcs : http://scn.sap.com/thread/455982

Best Regards

Marius