cancel
Showing results for 
Search instead for 
Did you mean: 

Function setreuid() failed at location BrEnvProcess-111 / brtools

fschoen
Explorer
0 Kudos

Dear All

We upgraded recently the Oracle Grid Infrastructure to 12.1.0.2 and to Linux 6 (Exadata).

The databases are still on 11.2.0.4.

Afterwards the call of brtools like brspace, brconnect, etc. fails.

An example:


brspace -u / -f dbshow

BR1001I BRSPACE 7.40 (16)

BR0251E Function setreuid() failed at location BrEnvProcess-111

BR0253E errno 11: Resource temporarily unavailable

BR0700E Fatal errors occurred - terminating processing...

BR1008I End of BRSPACE processing: serhyvat.log 2015-09-03 13:56:07

BR0280I BRSPACE time stamp: 2015-09-03 13:56:07

BR1007I BRSPACE terminated with errors

Although the output says the output is written to a .log file, there is no file.

After upgrading to GI 12.1.0.2 we used first brtools 7.20 (40). As we thought the old version could be the issue we upgraded then to 7.40 (16). The error is the same for 7.20 (40) as for 7.40 (16).

I couldn't find any matching document regarding 'setreuid' and 'errno 11:'.

Did someone had the same issue?

A step missed on the upgrade?

Linux configuration missing?

regards

fabian

Accepted Solutions (1)

Accepted Solutions (1)

former_member207186
Contributor
0 Kudos

Hi,

The "resource temporarily unavailable" message may indicate lack of resources at OS level. You can check the parameter settings for the OS and also consult your OS partner if necessary.

You can also refer to SAP Note 546006.

Regards,

Bíborka

fschoen
Explorer
0 Kudos

Hi

The note 546006 brought me to the right direction.

The issue was in the region of security configuration which has been changed on Linux 6.

-> https://bugzilla.redhat.com/show_bug.cgi?id=432903

They introduced a default limit of maximum processes which take affect for the OS user running the brtools

The OS user <sid>adm had now a limit of 1024 maximum processes. This value is too low.

Solution

I modified the default setting in the file /etc/security/limits.d/90-nproc.conf to a proper value.

Another option is to add the unix user <sid>adm in the file /etc/security/limits.conf . As we have many installations on the same server and more are planned we make the decision to change the default one, instead of defining the limit for every user.

I'm not the OS expert. So maybe the explanation has some errors in reasoning.

regards

fabian

Answers (1)

Answers (1)

former_member182657
Active Contributor
0 Kudos

Hi,


Function setreuid() failed at location BrEnvProcess-111

Have a look with SAP Note

1598594 - BR*Tools configuration for Oracle installation using user "oracle"

Hope this will help you.

Regards,

fschoen
Explorer
0 Kudos

Thanks. I followed the document already in the past and double checked again and everything was as noted in the document.

The setreuid message in the note is for AIX OS.

regards

fabian