cancel
Showing results for 
Search instead for 
Did you mean: 

SMD Installation Error in Managed Systems

Former Member
0 Kudos

We are installing SMD 7.11 in all our managed systems running on Aix 6.1, we are able to install in all the systems except one, which gives the error at the below step.

SAPVM.log

$ cat SAPVM.log

SAPCAR: processing archive /sapinst_sm/smd/SMD711_01_IM_AIX_PPC64/COMMON/INSTALL/SAPVM.SAR (version 2.01)

x sapjvm_5

x sapjvm_5/jre

x sapjvm_5/jre/bin

x sapjvm_5/jre/bin/java

x sapjvm_5/jre/bin/keytool

x sapjvm_5/jre/bin/policytool

x sapjvm_5/jre/bin/kinit

x sapjvm_5/jre/bin/klist

x sapjvm_5/jre/bin/ktab

x sapjvm_5/jre/bin/rmiregistry

x sapjvm_5/jre/bin/rmid

x sapjvm_5/jre/bin/tnameserv

x sapjvm_5/jre/bin/orbd

x sapjvm_5/jre/bin/servertool

x sapjvm_5/jre/bin/unpack200

x sapjvm_5/jre/bin/pack200

x sapjvm_5/jre/lib

x sapjvm_5/jre/lib/applet

x sapjvm_5/jre/lib/ppc64

x sapjvm_5/jre/lib/ppc64/server

x sapjvm_5/jre/lib/ppc64/server/libjvm.so

SAPCAR: checksum error in sapjvm_5/jre/lib/ppc64/server/libjvm.so (error 12). No such file or directory

$

sapinst_dev.log

INFO 2011-11-21 13:46:11.588

CJSlibModule::writeInfo_impl()

Output of /tmp/sapinst_exe.13631492.1321899048/SAPCAR -x -v -i -f /sapinst_sm/smd/SMD711_01_IM_AIX_PPC64/COMMON/INSTALL/SAPVM.SAR, sapjvm_5:

SAPCAR: processing archive /sapinst_sm/smd/SMD711_01_IM_AIX_PPC64/COMMON/INSTALL/SAPVM.SAR (version 2.01)

x sapjvm_5

x sapjvm_5/jre

x sapjvm_5/jre/bin

x sapjvm_5/jre/bin/java

x sapjvm_5/jre/bin/keytool

x sapjvm_5/jre/bin/policytool

x sapjvm_5/jre/bin/kinit

x sapjvm_5/jre/bin/klist

x sapjvm_5/jre/bin/ktab

x sapjvm_5/jre/bin/rmiregistry

x sapjvm_5/jre/bin/rmid

x sapjvm_5/jre/bin/tnameserv

x sapjvm_5/jre/bin/orbd

x sapjvm_5/jre/bin/servertool

x sapjvm_5/jre/bin/unpack200

x sapjvm_5/jre/bin/pack200

x sapjvm_5/jre/lib

x sapjvm_5/jre/lib/applet

x sapjvm_5/jre/lib/ppc64

x sapjvm_5/jre/lib/ppc64/server

x sapjvm_5/jre/lib/ppc64/server/libjvm.so

SAPCAR: checksum error in sapjvm_5/jre/lib/ppc64/server/libjvm.so (error 12). No such file or directory

TRACE 2011-11-21 13:46:11.590

FSPath(/tmp/sapinst_exe.13631492.1321899048/SAPCAR) done

TRACE 2011-11-21 13:46:11.590

ChildApplication(/tmp/sapinst_exe.13631492.1321899048/SAPCAR).getReturnCode(true)

TRACE 2011-11-21 13:46:11.591 [syuxctask.cpp:560]

CUnixProcessManager::waitpid(pid_t pid, int * pStatus, int options)

lib=syslib module=syslib

Child process 22151394 returned 12

TRACE 2011-11-21 13:46:11.592

FSPath(/tmp/sapinst_exe.13631492.1321899048/SAPCAR) done

TRACE 2011-11-21 13:46:11.592

ChildApplication(/tmp/sapinst_exe.13631492.1321899048/SAPCAR).getReturnCode() done: 12

TRACE 2011-11-21 13:46:11.593

FSPath(/tmp/sapinst_exe.13631492.1321899048/SAPCAR) done

TRACE 2011-11-21 13:46:11.594

ChildApplication(/tmp/sapinst_exe.13631492.1321899048/SAPCAR).getStatus()

TRACE 2011-11-21 13:46:11.595

FSPath(/tmp/sapinst_exe.13631492.1321899048/SAPCAR) done

TRACE 2011-11-21 13:46:11.595

ChildApplication(/tmp/sapinst_exe.13631492.1321899048/SAPCAR).getStatus() done: TST_FINISHED

TRACE 2011-11-21 13:46:11.596

FSPath(/tmp/sapinst_exe.13631492.1321899048/SAPCAR) done

TRACE 2011-11-21 13:46:11.596

Returncode of /tmp/sapinst_exe.13631492.1321899048/SAPCAR: 12

TRACE 2011-11-21 13:46:11.597

FSPath(/tmp/sapinst_exe.13631492.1321899048/SAPCAR) done

ERROR 2011-11-21 13:46:11.598

CJSlibModule::writeError_impl()

MUT-03011 Execution of the command "/tmp/sapinst_exe.13631492.1321899048/SAPCAR -x -v -i -f /sapinst_sm/smd/SMD711_01_IM_AIX_PPC64/COMMON/INSTALL/SAPVM.SAR, sapjvm_5" finished with return code 12. Output:

SAPCAR: processing archive /sapinst_sm/smd/SMD711_01_IM_AIX_PPC64/COMMON/INSTALL/SAPVM.SAR (version 2.01)

x sapjvm_5

x sapjvm_5/jre

x sapjvm_5/jre/bin

x sapjvm_5/jre/bin/java

x sapjvm_5/jre/bin/keytool

x sapjvm_5/jre/bin/policytool

x sapjvm_5/jre/bin/kinit

x sapjvm_5/jre/bin/klist

x sapjvm_5/jre/bin/ktab

x sapjvm_5/jre/bin/rmiregistry

x sapjvm_5/jre/bin/rmid

x sapjvm_5/jre/bin/tnameserv

x sapjvm_5/jre/bin/orbd

x sapjvm_5/jre/bin/servertool

x sapjvm_5/jre/bin/unpack200

x sapjvm_5/jre/bin/pack200

x sapjvm_5/jre/lib

x sapjvm_5/jre/lib/applet

x sapjvm_5/jre/lib/ppc64

x sapjvm_5/jre/lib/ppc64/server

x sapjvm_5/jre/lib/ppc64/server/libjvm.so

SAPCAR: checksum error in sapjvm_5/jre/lib/ppc64/server/libjvm.so (error 12). No such file or directory

TRACE 2011-11-21 13:46:11.599 [iaxxejsbas.hpp:413]

handleException<ESAPinstJSError>()

Converting exception into JS Exception EJSException.

The logInquirerOutStepError-NW_DiagnosticsAgent-ind-ind-ind-ind-0-0-NW_DiagnosticsAgent_GetSid-ind-ind-ind-ind-1-0-NW_getJavaHome-ind-ind-ind-ind-4-0.xml says are below

$ cat logInquirerOutStepError-NW_DiagnosticsAgent-ind-ind-ind-ind-0-0-NW_DiagnosticsAgent_GetSid-ind-ind-ind-ind-1-0-NW_getJavaHome-ind-ind-ind-ind-4-0.xml

<?xml version="1.0" encoding="utf-8"?>

<stepMessages componentTyp="NW_getJavaHome|ind|ind|ind|ind" componentInstance="|NW_DiagnosticsAgent|ind|ind|ind|ind|0|0|NW_DiagnosticsAgent_GetSid|ind|ind|ind|ind|1|0|NW_getJavaHome|ind|ind|ind|ind|4|0" step="unpackSAPJVM">

<configuration>

<property name="CPUCount">16</property>

<property name="CPUFamily">IBM6000</property>

<property name="INSTPARA_DB">IND</property>

<property name="INSTPARA_PRODUCT">NetWeaver</property>

<property name="INSTPARA_PRODUCT_VERSION">06</property>

<property name="INSTPARA_START_DIR">/tmp/sapinst_instdir/SMD_NW711/INSTALL/STANDALONE/SMD/INST</property>

<property name="OSType">AIX_64</property>

<property name="OSUname">AIX palatine 1 6 00F65A064C00</property>

<property name="OSVersion"></property>

<property name="RamSize">20480</property>

<property name="RealOSBits">64</property>

<property name="SAPInst ABI version">712</property>

<property name="SAPInst latest changelist">1068035</property>

<property name="SAPInst used source locations">/bas/710_REL/src</property>

<property name="SAPInst version of used kernel">710_REL</property>

<property name="SwapSize">20480</property>

</configuration>

<firstErrorMessage>

<message type="error" timestamp="2011-11-21 13:46:11.992">Could not get value for property .</message>

</firstErrorMessage>

<lastErrorMessage>

<message type="error" timestamp="2011-11-21 13:46:11.992">Could not get value for property .</message>

</lastErrorMessage>

<messageStack>

<message type="trace" timestamp="2011-11-21 13:46:11.990"> Call block:CallBackInCaseOfAnErrorDuringStepExecution function:CallTheLogInquirer is validator: true</message>

<message type="warning" timestamp="2011-11-21 13:46:11.992">Could not get property IDs of the JavaScript object.</message>

<message type="error" timestamp="2011-11-21 13:46:11.992">Could not get value for property .</message>

<message type="trace" timestamp="2011-11-21 13:46:12.97">Target node does not exists and (mode &amp; ISyNode::MISSING) ==&gt; I will copy/move.</message>

<message type="trace" timestamp="2011-11-21 13:46:12.97">Moved /tmp/sapinst_instdir/SMD_NW711/INSTALL/STANDALONE/SMD/INST/logInquirerOutStepError-NW_DiagnosticsAgent-ind-ind-ind-ind-0-0-NW_DiagnosticsAgent_GetSid-ind-ind-ind-ind-1-0-NW_getJavaHome-ind-ind-ind-ind-4-0.xml to /tmp/sapinst_instdir/SMD_NW711/INSTALL/STANDALONE/SMD/INST/logInquirerOutStepError-NW_DiagnosticsAgent-ind-ind-ind-ind-0-0-NW_DiagnosticsAgent_GetSid-ind-ind-ind-ind-1-0-NW_getJavaHome-ind-ind-ind-ind-4-0.1.xml</message>

<message type="trace" timestamp="2011-11-21 13:46:12.142">A child process has been started. Pid = 22151402</message>

<message type="trace" timestamp="2011-11-21 13:46:12.215">Child process 22151402 returned 0 </message>

<message type="trace" timestamp="2011-11-21 13:46:12.244">A child process has been started. Pid = 22151404</message>

<message type="trace" timestamp="2011-11-21 13:46:12.327">Child process 22151404 returned 255 </message>

<message type="warning" timestamp="2011-11-21 13:46:12.328">Could not run /usr/sbin/lsattr -l aio0 -E -O successfully. Either the return code was != 0 or the process terminated abnormally.</message>

<message type="trace" timestamp="2011-11-21 13:46:12.358">A child process has been started. Pid = 22151406</message>

<message type="trace" timestamp="2011-11-21 13:46:12.457">Child process 22151406 returned 0 </message>

</messageStack>

</stepMessages>

$

Has anyone faced this issue?

Regards

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

> Could not run /usr/sbin/lsattr -l aio0 -E -O successfully

Run "smitty aio" and make sure aio is enabled.

Ken

Former Member
0 Kudos

Thank you Ken

We have got enough space under /tmp, the issue is resolved after a reboot of the server, we rebooted the server and then started the same installation it worked.

Now again, when I try to install the hostagent, it gives me the below error:

INFO 2011-11-23 09:10:51.414 [syuxcaccmg.cpp:305]

bool CSyAccountMgtImpl::isExisting(ISyAccountMgt::eAccountType accountType, iastring sName)

lib=syslib module=syslib

Account 206 already exists.

INFO 2011-11-23 09:10:51.416 [syuxcaccmg.cpp:305]

bool CSyAccountMgtImpl::isExisting(ISyAccountMgt::eAccountType accountType, iastring sName)

lib=syslib module=syslib

Account sapinst already exists.

WARNING 2011-11-23 09:10:51.427 [syuxcgroup.cpp:146]

<anonymous namespace>::for_each_user lib=syslib module=syslib

System call failed. Error 3 (No such process) in execution of system call 'getpwent' with parameter (), line (143) in file (syuxcgroup.cpp), stack trace: iaxxejsctl.cpp: 272: EJS_ControllerImpl::executeScript()

iaxxejsbas.hpp: 450: EJS_Base::dispatchFunctionCall()

iaxxejsexp.cpp: 178: EJS_Installer::invokeModuleCall()

syxxbuser.cpp: 242: *** syslib entry point CSyUser::isMember(const iastring & 'sapinst') const ***

syuxcuser.cpp: 664: bool CSyUserImpl::isMember(const iastring & sName) const

syuxcgroup.cpp: 404: PSyAccountIterator CSyGroupImpl('212')::getMembers() const

syuxcgroup.cpp: 102: <anonymous namespace>::for_each_user

.

INFO 2011-11-23 09:10:51.439 [syuxcaccmg.cpp:237]

bool CSyAccountMgtImpl::isExisting(ISyAccountMgt::eAccountType accountType, iastring sName)

lib=syslib module=syslib

Account sapadm already exists.

INFO 2011-11-23 09:10:51.449 [syuxcaccmg.cpp:305]

bool CSyAccountMgtImpl::isExisting(ISyAccountMgt::eAccountType accountType, iastring sName)

lib=syslib module=syslib

Account 206 already exists.

INFO 2011-11-23 09:10:53.189 [syuxcpath.cpp:371]

CSyPath::createFile() lib=syslib module=syslib

Creating file /tmp/sapinst_instdir/SMD_NW711/LM/INST/services.SAPtmp.

WARNING[E] 2011-11-23 09:10:54.72 [syxxc_services_entry.cpp:286]

CSyServicesEntryParser::parsePort() const lib=syslib module=syslib

FSL-03009 Unexpected token in /etc/services entry 'x11 6000-6063/tcp # X Window System' at line 7633, column 7: Conversion of port number string to integer failed.

WARNING[E] 2011-11-23 09:10:54.73 [syxxc_services_entry.cpp:286]

CSyServicesEntryParser::parsePort() const lib=syslib module=syslib

FSL-03009 Unexpected token in /etc/services entry 'x11 6000-6063/udp # X Window System' at line 7634, column 7: Conversion of port number string to integer failed.

WARNING[E] 2011-11-23 09:10:54.91 [syxxc_services_entry.cpp:286]

CSyServicesEntryParser::parsePort() const lib=syslib module=syslib

FSL-03009 Unexpected token in /etc/services entry 'ircu 6665-6669/tcp # IRCU' at line 7809, column 7: Conversion of port number string to integer failed.

WARNING[E] 2011-11-23 09:10:54.91 [syxxc_services_entry.cpp:286]

CSyServicesEntryParser::parsePort() const lib=syslib module=syslib

FSL-03009 Unexpected token in /etc/services entry 'ircu 6665-6669/udp # IRCU' at line 7810, column 7: Conversion of port number string to integer failed.

INFO 2011-11-23 09:10:54.521 [syuxccuren.cpp:1068]

INFO 2011-11-23 09:11:36.615

CJSlibModule::writeInfo_impl()

Output of /tmp/sapinst_exe.10617084.1322057387/SAPCAR -x -v -i -R ./hostagent -f /sapinst_sm/smd/SMD711_K_UI_AIX_PPC64/DBINDEP/SAPHOSTAGENT.SAR,:

SAPCAR: processing archive /sapinst_sm/smd/SMD711_K_UI_AIX_PPC64/DBINDEP/SAPHOSTAGENT.SAR (version 2.01)

x hostagent.lst

x hostagent.mf

x hostexecstart

x installsapinit.sh

x ldappasswd

x ldapreg

x librfccm.o

WARNING[E] 2011-11-23 09:11:36.632

CJSlibModule::writeError_impl()

MUT-03010 Execution of the command "/tmp/sapinst_exe.10617084.1322057387/SAPCAR -x -v -i -R ./hostagent -f /sapinst_sm/smd/SMD711_K_UI_AIX_PPC64/DBINDEP/SAPHOSTAGENT.SAR," finished with status TST_ERROR.

WARNING[E] 2011-11-23 09:11:36.647

CJSlibModule::writeError_impl()

MUT-03010 Execution of the command "/tmp/sapinst_exe.10617084.1322057387/SAPCAR -x -v -i -R ./hostagent -f /sapinst_sm/smd/SMD711_K_UI_AIX_PPC64/DBINDEP/SAPHOSTAGENT.SAR," finished with status TST_ERROR.

WARNING 2011-11-23 09:11:36.887 [syixcsyinf.cpp:572]

<anonymous-namespace>::runLsattr lib=syslib module=syslib

Could not run /usr/sbin/lsattr -l aio0 -E -O successfully. Either the return code was != 0 or the process terminated abnormally.

ERROR 2011-11-23 09:11:37.26 [sixxcstepexecute.cpp:969]

FCO-00011 The step unpack with step key |NW_SAPHostAgent|ind|ind|ind|ind|0|0|unpack was executed with status ERROR .

WARNING 2011-11-23 09:11:37.106 [iaxxejshlp.cpp:150]

Could not get property IDs of the JavaScript object.

ERROR 2011-11-23 09:11:37.107 [iaxxejsctl.cpp:492]

FJS-00010 Could not get value for property .

WARNING 2011-11-23 09:11:37.400 [syixcsyinf.cpp:572]

<anonymous-namespace>::runLsattr lib=syslib module=syslib

Could not run /usr/sbin/lsattr -l aio0 -E -O successfully. Either the return code was != 0 or the process terminated abnormally.

Any idea on the above error?

Former Member
0 Kudos

I see "Write error" within your copied text. Check for space in the target fs. Also check for space in /tmp.

Make sure /tmp has permissions 777 and / has an x in all three permissions u, g and o.

My systems usually have very small /tmp, so I use environment variable TMPDIR

TMPDIR=alternate_path/tmp;export TMPDIR

(setenv TMPDIR alternate_path/tmp if csh used)

chmod 777 $TMPDIR

for all parent directories of $TMPDIR

do

chmod ugo+x $parent

done

retry sapinst

I found the SAP JVM 4 switch tool ignored TMPDIR, forcing me to mount a larger directory on /tmp.

Ken

vincentlim826
Employee
Employee
0 Kudos

SAPVM.SAR problem, Java Virtual Machine stuff...

Manually extract fully from the installation CD or download fully from Service Marketplace to get the file sapjvm_5/jre/lib/ppc64/server/libjvm.so

SAP Notes:

#1442124 How to download a SAP JVM patch from the SMP

#1025085 How to manually patch the SAPJVM

Regards,

Vincent

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

>

> ERROR 2011-11-21 13:46:11.598

> CJSlibModule::writeError_impl()

> MUT-03011 Execution of the command "/tmp/sapinst_exe.13631492.1321899048/SAPCAR -x -v -i -f /sapinst_sm/smd/SMD711_01_IM_AIX_PPC64/COMMON/INSTALL/SAPVM.SAR, sapjvm_5" finished with return code 12. Output:

> SAPCAR: processing archive /sapinst_sm/smd/SMD711_01_IM_AIX_PPC64/COMMON/INSTALL/SAPVM.SAR (version 2.01)

> x sapjvm_5/jre/lib/ppc64/server

> x sapjvm_5/jre/lib/ppc64/server/libjvm.so

> SAPCAR: checksum error in sapjvm_5/jre/lib/ppc64/server/libjvm.so (error 12). No such file or directory

>

Looks like problem with SAPVM.SAR file. could you please try to extract this file manually and check if file is not corrupted ?

Thanks

Sunny