on 08-14-2007 1:50 AM
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
> 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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
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
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.