on 06-27-2013 7:53 AM
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you provide summary screen with options selected during system export?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ruzica,
i don't know how to fix the SWPM error, but i just have replaced brconnect with a shell script that returns return code 0 (something like exit 0) in the "old times" where you were not able to deselect the statistic collection step.
After SAPinst (or SWPM) passed the statistic step, i moved the original brconnect back
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Marius,
Yes I set the dbs_ora_schema to SAPR3. This setting helped on the test system. But here in the production doesn't change anything.
The ./sapinst SAPINST_SKIP_ERRORSTEP=true will skip the error step for update statistics, but it will skip and some other error during export if any after phase 2 of 4. Am I right?
Thank you .
BR,
Ruzica
Morning Rezica,
It will just skip this step
Please see sap note below regarding stats
i see the note is in reworking you can use this link to view it (http://www.stechno.net/sap-notes.html?view=sapnote&id=1249365)
Note 1249365 - Inst. SAP NetWeaver based on Kernel 7.11 - Unix Oracle
------------------------<D023322, 01/DEC/08>------------------------SAP NetWeaver Composition Environment 7.11:
Update Management Service error during the Oracle-specific post-installation phase.
Symptom:
ERROR <date> FCO-00011 The step createOracleStatisticsJava with step key CE_UpdateManagementService ind ind ind ind 0 0 NW_Postdeploy ind ind ind ind 5 0 NW_Postdeploy_ORA ind ind ind ind 1 0 createOracleStatisticsJava was executed with status ERROR .
BR0813I Schema owner found in database O81: SAPO81DB%BR0824E Owner 'SAPSR3DB' not found in database or not SAP owner BR0182E Checking parameter/option 'stats_owner/-o' failed
Solution 1:
brconnect -u / -c -o summary -f stats -o SAP<SCHEMAID>DB -t all -p 4 -f nocasc
Solution 2:
<fld name="javaSchema">
<strval><![CDATA[SAP<YourSchemaId>DB]]>
</strval>
</fld>
Best Regards
Marius
Hello,
I tried the ./sapinst SAPINST_SKIP_ERRORSTEP=true , it skiped the step for update statistics , but next error appeared for Prepare to Export ABAP:
CJS-00030 Assertion failed: in NW_ABAP_Prepare_Export.stepPreconditions: Executable directory 'undefined' must exist
What should be the problem? There is no exact info in the error message - directory 'undifiened'.
It looks like there is no some privilage but where ?
Thank you in advance.
BR,
Ruzica
Hi Ruzica,
are you using virtual names ?
Note 962955 - Use of virtual TCP/IP host names
http://help.sap.com/saphelp_nwpi71/helpdata/en/45/61997b34542a4de10000000a11466f/content.htm
if so you need to run 'sapinst SAPINST_USE_HOSTNAME=dbhostname'
Best Regards
Marius
Hi Marius,
No I'm not using virtual names.
But I'm suspecting in someting:
In our DNS server I've record for the production system "sapprod" but this is different from the host name in /etc/hosts:
x.x.x.x prod1 prod1.telco.mk
On the screen for the installer : SAP System Database
For DB host I had to set the dns name "sapprod" beacuse the host name of the server shows the error: "This computer host name is "prod1" but a reverse lookup returned 'sapprod'. This will lead to problems latter on whne starting the Web Application Server. SOLUTION: Insert a line into the hsot file ' x.x.x.x prod1' into the host file '/etc/hosts' and continue with the installation"
I did this but nothing changed and I had to use the record "sapprodd".
Can this make the problems?
BR,
RUzica
Hi Ruzica,
After you changed the entries in the /etc/hosts file did you restart the sapinst from the beggining or just closed and continued, reason why im asking i did a install aqbout 2 weeks ago where i also had the error with the reverse lookup so i changed the etc/hosts file and start sapinst again with SAPINST_USE_HOSTNAME=DBNAME and the problem did not appear this round
Best Regards
Marius
Hi Marius,
I've tried without the /etc/resolve.conf file, just /etc/host.
Now when trying sapinst with Run a new option, no error in the part for DB host, but in the phase 2 of 3 in Export preparation again the error message. The hostname and reverse dns name was not causing the error “Assertion failed: in NW_ORA_Statistics_Update.stepPreconditions: Executable directory 'undefined' must exist”
Thanks in advance.
BR,
Ruzica
Hello,
Please look at sapinst.log
/tmp/sapinst_instdir/NW700/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/PREEXP#tail -100 sapinst.log
INFO 2013-07-02 00:29:11.883
Working directory changed to /tmp/sapinst_instdir/NW700/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/PREEXP.
INFO 2013-07-02 00:29:11.943
Execute step dialogUpdateOracleStatistics of component |NW_Prepare_Export|ind|ind|ind|ind|0|0|NW_Prepare_Export_Pre|ind|ind|ind|ind|actionPre|0|NW_ORA_Statistics_Update|ind|ind|ind|ind|ora_stat_update|0
INFO 2013-07-02 00:29:37.603
Working directory changed to /tmp/sapinst_instdir/NW700/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/PREEXP.
INFO 2013-07-02 00:29:38.223
Execute step cleanInifile of component |NW_Prepare_Export|ind|ind|ind|ind|0|0|NW_Prepare_Export_Pre|ind|ind|ind|ind|actionPre|0|NW_ORA_Statistics_Update|ind|ind|ind|ind|ora_stat_update|0
INFO 2013-07-02 00:29:38.532
Working directory changed to /tmp/sapinst_instdir/NW700/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/PREEXP.
INFO 2013-07-02 00:29:38.722
Execute step dialogPreconditions of component |NW_Prepare_Export|ind|ind|ind|ind|0|0|NW_Prepare_Export_Post|ind|ind|ind|ind|actionPost|0
INFO 2013-07-02 00:29:39.52
Working directory changed to /tmp/sapinst_instdir/NW700/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/PREEXP.
INFO 2013-07-02 00:29:43.42
Creating file /tmp/sapinst_instdir/NW700/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/PREEXP/summary.html.
INFO 2013-07-02 00:29:55.602
Execute step adaptInstanceProfiles of component |NW_Prepare_Export|ind|ind|ind|ind|0|0|NW_GetSidFromProfiles|ind|ind|ind|ind|getSid|0|NW_getFQDN|ind|ind|ind|ind|fqdn|0
INFO 2013-07-02 00:29:55.792
Working directory changed to /tmp/sapinst_instdir/NW700/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/PREEXP.
INFO 2013-07-02 00:30:00.532
Execute step createExportTopSubdirs of component |NW_Prepare_Export|ind|ind|ind|ind|0|0
INFO 2013-07-02 00:30:01.252
Working directory changed to /tmp/sapinst_instdir/NW700/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/PREEXP.
INFO 2013-07-02 00:30:01.652
Execute step createExportTopLabelIndexFile of component |NW_Prepare_Export|ind|ind|ind|ind|0|0
INFO 2013-07-02 00:30:01.772
Removed file /IMPORT/LABELIDX.ASC.
INFO 2013-07-02 00:30:01.782
Creating file /IMPORT/LABELIDX.ASC.
INFO 2013-07-02 00:30:01.812
Authorizations set for /IMPORT/LABELIDX.ASC.
INFO 2013-07-02 00:30:01.812
Authorizations set for /IMPORT/LABELIDX.ASC.
INFO 2013-07-02 00:30:01.942
Working directory changed to /tmp/sapinst_instdir/NW700/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/PREEXP.
INFO 2013-07-02 00:30:02.762
Execute step stepPreconditions of component |NW_Prepare_Export|ind|ind|ind|ind|0|0|NW_Prepare_Export_Pre|ind|ind|ind|ind|actionPre|0|NW_ORA_Statistics_Update|ind|ind|ind|ind|ora_stat_update|0
ERROR 2013-07-02 00:30:08.172
CJS-00030 Assertion failed: in NW_ORA_Statistics_Update.stepPreconditions: Executable directory 'undefined' must exist
ERROR 2013-07-02 00:30:08.182
MUT-03025 Caught ESAPinstException in module call: .
ERROR 2013-07-02 00:30:08.682
FCO-00011 The step stepPreconditions with step key |NW_Prepare_Export|ind|ind|ind|ind|0|0|NW_Prepare_Export_Pre|ind|ind|ind|ind|actionPre|0|NW_ORA_Statistics_Update|ind|ind|ind|ind|ora_stat_update|0|stepPreconditions was executed with status ERROR ( Last error reported by the step: Assertion failed: in NW_ORA_Statistics_Update.stepPreconditions: Executable directory 'undefined' must exist).
INFO 2013-07-02 00:30:09.242
Creating file /tmp/sapinst_instdir/NW700/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/PREEXP/__instana_tmp.xml.
INFO 2013-07-02 00:32:28.501
An error occured and the user decided to retry the current step: "|NW_Prepare_Export|ind|ind|ind|ind|0|0|NW_Prepare_Export_Pre|ind|ind|ind|ind|actionPre|0|NW_ORA_Statistics_Update|ind|ind|ind|ind|ora_stat_update|0|stepPreconditions".
INFO 2013-07-02 00:32:28.521
Working directory changed to /tmp/sapinst_instdir/NW700/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/PREEXP.
ERROR 2013-07-02 00:32:37.531
CJS-00030 Assertion failed: in NW_ORA_Statistics_Update.stepPreconditions: Executable directory 'undefined' must exist
ERROR 2013-07-02 00:32:37.541
MUT-03025 Caught ESAPinstException in module call: .
ERROR 2013-07-02 00:32:38.241
FCO-00011 The step stepPreconditions with step key |NW_Prepare_Export|ind|ind|ind|ind|0|0|NW_Prepare_Export_Pre|ind|ind|ind|ind|actionPre|0|NW_ORA_Statistics_Update|ind|ind|ind|ind|ora_stat_update|0|stepPreconditions was executed with status ERROR ( Last error reported by the step: Assertion failed: in NW_ORA_Statistics_Update.stepPreconditions: Executable directory 'undefined' must exist).
INFO 2013-07-02 00:32:38.691
Creating file /tmp/sapinst_instdir/NW700/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/PREEXP/__instana_tmp.xml.
INFO 2013-07-02 00:34:21.190
An error occured and the user decided to stop.\n Current step "|NW_Prepare_Export|ind|ind|ind|ind|0|0|NW_Prepare_Export_Pre|ind|ind|ind|ind|actionPre|0|NW_ORA_Statistics_Update|ind|ind|ind|ind|ora_stat_update|0|stepPreconditions".
INFO 2013-07-02 00:34:32.360
Working directory changed to /tmp/sapinst_instdir/NW700/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/PREEXP.
INFO 2013-07-02 00:34:32.450
Creating file /tmp/sapinst_instdir/.lastInstallationLocation.
INFO 2013-07-02 00:34:34.470
Cancelled task 1.
Hi Ruzica,
You have me stuck, maybe we can start by checking some vatiables, reason for this is that it complains about the executable directory.
just to double check you are running the sapinst as root ?
can you make sure that in PATH variable for the adm/ora user the /sapmnt/SID/exe is defined.
you can add it to .cshrc if they are not here.
env | grep PATH
there should be /sapmnt/SID/exe or /usr/sap/SID/SYS/exe/run
if not you can manuall add it to the .cshrc by adding the following line
for csh
setenv PATH /usr/sap/SID/SYS/exe/run:$PATH
or for ksh
export PATH=/usr/sap/SID/SYS/exe/run:$PATH
after that can you double check the file permissions on the directory
/IMPORT/ (777)
also start the sapinst with the skip part to bypass the orastats.
Best Regards
Marius
Hello Marius,
Yes sapinst started with root.
For sidadm:
SHLIB_PATH=/usr/sap/SID/SYS/exe/run:/oracle/client/11x_64/instantclient
and also PATH variable have the /usr/sap/SID/SYS/exe/run
For orasid:
SHLIB_PATH=/oracle/SID/112_64/lib:/usr/sap/SID/SYS/exe/run
and also PATH variable have the /usr/sap/SID/SYS/exe/run
What you mean to start sapinst with skip part to bypass orastats? I use the radio button skip update statistics in sapinst.
Thank you.
BR,
Ruzica
Hi Ruzica,
ok that is fine then if you used the buttong to skip the stats, but i see i the log that it also complains about the stats,
please start the sapinst with the option
./sapinst SAPINST_USE_HOSTNAME=dbname SAPINST_SKIP_ERRORSTEP=true
and see if the error appears alter on again, if it does i will have to suggest to log an oss because im out of ideas
Best Regards
Marius
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.