cancel
Showing results for 
Search instead for 
Did you mean: 

Urgent help needed: Unicode conversion (export)

Former Member
0 Kudos

Hi all,

I am in the export process of the Unicode conversion and am faced with the issue below.

Any and all assistances will surly be appreciated and points will be awarded.

WARNING 2007-08-13 20:30:36

CJSlibModule::writeWarning_impl()

Cannot read environment of user orahcp: permission denied.

INFO 2007-08-13 20:30:37 [syuxcpath.cpp:351]

CSyPath::createFile()

Creating file /oracle/DUMP/sapinst_instdir/ERP/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/EXP/brconnect.log.

ERROR 2007-08-13 20:30:37 [syuxccuren.cpp:259]

CSyCurrentProcessEnvironmentImpl::setGroup(PSyGroup)

FSL-04017 Unable to change group. ID: 107. Not owner

INFO 2007-08-13 20:30:37

CJSlibModule::writeInfo_impl()

Output of /usr/sap/HCP/SYS/exe/run/brconnect -u / -c -f stats -o SAPR3 -t all -d is written to the logfile brconnect.log.

ERROR 2007-08-13 20:30:37

CJSlibModule::writeError_impl()

MUT-03025 Caught ESyException in Modulecall: Could not set real group. Not owner.

ERROR 2007-08-13 20:30:37

FCO-00011 The step deleteOracleStatistics with step key |NW_Export|ind|ind|ind|ind|0|0|NW_Export_Post|ind|ind|ind|ind|6|0|NW_ORA_Statistics_Delete|ind|ind|ind|ind|0

|0|deleteOracleStatistics was executed with status ERROR .

Thanks,

Iqbal

Accepted Solutions (1)

Accepted Solutions (1)

markus_doehr2
Active Contributor
0 Kudos

> WARNING 2007-08-13 20:30:36

> CJSlibModule::writeWarning_impl()

> environment of user orahcp: permission denied.

Check the owner and group of the files of user orahcp:

.dbenv*

.sapenv*

in the home directory of that user.

--

Markus

Former Member
0 Kudos

Hi Markus,

Thanks you for the early response.

Here are the permissions on those files…

RX6600 hcgwdd5:root >ls -al .db*

-rwxrwxrwx 1 orahcp dba 2802 Jul 24 09:24 .dbenv_hcgwdd5.sh

RX6600 hcgwdd5:root >ls -al .sap*

-rwxrwxrwx 1 orahcp dba 6920 Jul 24 09:19 .sapenv_hcgwdd5.sh

The database is started as user orahcp and the execution of sapinst is started as user hcpadm.

Please advise?

Thanks,

Iqbal

markus_doehr2
Active Contributor
0 Kudos

This looks good...

And the /oracle/DUMP directory resp. the file brconnect.log? Does ora<sid> and <sid>adm have permissions to write into /oracle/DUMP?

--

Markus

Former Member
0 Kudos

Permission for the DUMP directory… owner = hcpadm and group = dba

Former Member
0 Kudos

Hi Markus,

Here are the results of the test files created for each user.

hcgwdd5:hcpadm /oracle/DUMP/sapinst_instdir/ERP/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/EXP $ ls -ltr test

-rw-rw-rw- 1 hcpadm sapsys 0 Aug 14 09:02 test

hcgwdd5:orahcp /oracle/DUMP/sapinst_instdir/ERP/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/EXP $ ls -ltr test

-rw-rw-rw- 1 hcpadm sapsys 0 Aug 14 09:03 test

Thanks,

Iqbal

markus_doehr2
Active Contributor
0 Kudos

Another question: your running the installation/export as root?

--

Markus

Former Member
0 Kudos

sapinst is running as hcpadm

markus_doehr2
Active Contributor
0 Kudos

AH! Ok - this is your problem.

you need to run sapinst as "root", otherwise it's not possible to change owner of files to some different user and thus the error message "not owner".

You need to set the following environment:

JAVA_HOME=<jdk directory>

PATH=$JAVA_HOME/bin:$PATH

LD_LIBRARY_PATH=/sapmnt/<SID>/exe

DISPLAY

Then start sapinst. It will switch to the correct user so no need of setting Oracle environment variables.

--

Markus

Former Member
0 Kudos

Thank you Markus, that did the trick.

Iqbal

markus_doehr2
Active Contributor
0 Kudos

great to hear it's fixed

--

Markus

Answers (0)