Skip to Content
author's profile photo Former Member
Former Member

Issue in SAP Netweaver unattended installation

Hi Team,

I am facing issue while performing unattended installation for SAP NetWeaver 7.3. Below is the error message....

I guess SAP silent installation is not taking the path of kernel module from start_dir.cd file. If you have any sample start_dir.cd developed for another application , please share the file idea with me .

Kindly share your thoughts to solve the issue. Thanks in Advance.

I have tried the following :

  1. 1. Updated start_dir.cd file with Kernel path.
  2. 2. Checked inifile.xml .

Please let me know if you need any other information .

ERROR Message: 2012-09-08 03:58:46.570 [cdxxccdcli.cpp:118]

FCO-00152 An empty package path was returned by the CD server.(Requested package : KERNEL ) In case of running with option SAPINST_SKIP_DIALOGS=true you should run the service again without that option and you will be asked about the missing package location. If you want to automate the installation make the package location visible to the SAPinst ( modify start_dir.cd or LABELIDX.ASC)

ERROR 2012-09-08 03:58:46.570

CJSlibModule::writeError_impl()

MUT-03025 Caught ESAPinstException in module call: controller.packagePathEmpty.

ERROR 2012-09-08 03:58:46.586 [sixxcstepexecute.cpp:937]

FCO-00011 The step prepare with step key |NW_Webdispatcher|ind|ind|ind|ind|0|0|NW_System|ind|ind|ind|ind|system|0|NW_SAPHostAgent|ind|ind|ind|ind|hostagent|0|prepare was executed with status ERROR ( Last error reported by the step: An empty package path was returned by the CD server.(Requested package : KERNEL ) In case of running with option SAPINST_SKIP_DIALOGS=true you should run the service again without that option and you will be asked about the missing package location. If you want to automate the installation make the package location visible to the SAPinst ( modify start_dir.cd or LABELIDX.ASC)).

INFO 2012-09-08 03:58:46.664 [synxcpath.cpp:814]

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

Creating file C:\Program Files\sapinst_instdir\NW703\STANDALONE\AS\WI\__instana_tmp.xml.

WARNING 2012-09-08 03:58:46.898 [iaxxejshlp.cpp:150]

Could not get property IDs of the JavaScript object.

ERROR 2012-09-08 03:58:46.898 [iaxxejsctl.cpp:367]

FJS-00010 Could not get value for property .

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Mar 31, 2014 at 07:42 AM

    Hi Manoj,

    I hope my answer is not too late. I have solved this problem. I have requested SAP to update the SAP note with my findings but maybe it will be better if I post it here now.

    1. If you are installing on Unix/Linux, make sure that the paths do not stop at the first LABEL.ASC that you see. The path will have to be specific to the OS, if applicable.

    for example:

    The kernel DVD is in /installer/kernel. Check this folder if you can see something OS specific such as /installer/kernel/DATA_UNITS/K_743_U_LINUX_X86_64/ LABEL.ASC. Then the entry in start_dir.cd has to be

    /installer/kernel/DATA_UNITS/K_743_U_LINUX_X86_64/

    and not just /installer/kernel/

    (This is actually implicitly stated in the SAP note)

    2. DO NOT save all the files generated in your SAPINST_CWD folder as was written in the note..

    Sapinst creates a blank inifile.xml on the working directory for which it will copy the contents of the custom inifile.xml you created. If this file is saved in the same folder, the custom file is

    OVERWRITTEN by the blank inifile.xml before the processing even takes place. so by the time that the installation is started, the inifile is already blank and will show an error. As for the start_dir.cd however, sapinst is looking for it in the installation directory, and not on the same path as the inifile.xml. Otherwise, it will create a start_dir.cd that only has the one entry,

    and that is the SWPM path.

    Save the start_dir.cd in your SAPINST_CWD folder but SAVE the inifile.xml,keydb.dtd,doc.dtd.and keydb.xsl together on A SUBFOLDER under your sapinstdir, What i did with mine is

    / SAPINST_CWD/start_dir.cd

    / SAPINST_CWD/customini/inifile.xml

    / SAPINST_CWD/customini/keydb.dtd

    / SAPINST_CWD/customini/doc.dtd

    / SAPINST_CWD/customini/keydb.xsl

    remember to update your sapinst command with the new paths.

    If my SAPINST_CWD is /installer/silent the command for installing NW 7.1 CI would then be

    ./sapinst SAPINST_PARAMETER_CONTAINER_URL=”/installer/silent/customini/inifile.xml” SAPINST_CWD=”/installer/silent” SAPINST_EXECUTE_PRODUCT_ID=NW_Onehost: NW_ABAP_OneHost:NW740SR1.ORA.PI SAPINST_SKIP_DIALOGS=true –nogui -noguiserver

    Hope this helps.

    Dax

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 11, 2012 at 08:54 AM

    Hi Experts,

    please share some lights on this issue please....

    Share your thoughts , what might be the issue / solution for this ...

    Regards,

    Manoj .

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 14, 2014 at 03:28 PM

    hi,

    Thank you Dax!

    I was facing the same issue under Windows

    The Solution for me was to write the Path with "/" instead of "\"

    Like this:

    X:/install/kernel

    And I have to use the Parameter SAPINST_CWD, with the start_dir.cd located. So my command looks like this:

    sapinst.exe SAPINST_PARAMETER_CONTAINER_URL=C:\install\inifile.xml SAPINST_CWD=C:\work SAPINST_EXECUTE_PRODUCT_ID=N"Product_ID" SAPINST_SKIP_DIALOGS=true -nogui -noguiserver

    For some reason SWPM overwrites my start_dir.cd file with just one line, that points to the SWPM directory.

    Regards,

    Markus

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Markus

      How were you able to overcome the issue with start_dir.cd file issue. I have placed the start_dir.cd file in the folder where my sapinst is located (S:\SWPM) but when i run the install command the start_dir.cd file is getting generated with in the C:\Program Files\sapinst_instdir\NW730\MSS\INSTALL\STD\ABAP with just one line that is pointing to SWPM directory.

      Install fails with error that it could not find kernel directory

      Error:

      *************************************************************

      ERROR 2014-12-19 00:24:14.654 [ccdclient.cpp:101]

      CCdClient::getLocation()

      FCO-00152 Empty package path. DIAGNOSIS: An empty package path was returned by the media server.(Requested package : UKERNEL ) SOLUTION: If software provisioning manager is running with option SAPINST_SKIP_DIALOGS=true, run the service again without that option and you will be asked about the missing package location. If you want to automate the installation, make the package location visible to software provisioning manager ( modify start_dir.cd or LABELIDX.ASC).

      ERROR 2014-12-19 00:24:14.655

      CJSlibModule::writeError_impl()

      MUT-03025 Caught ESAPinstException in module call: controller.packagePathEmpty.

      ********************************************************

      Command:

      L:\SWPM>L:\SWPM\sapinst.exe SAPINST_PARAMETER_CONTAINER_URL="L:\SWPM\sapcustomin

      stall\inifile.xml" SAPINST_CWD=L:\SWPM SAPINST_EXECUTE_PRODUCT_ID=NW_ABAP_OneHos

      t:NW730.MSS.PI SAPINST_SKIP_DIALOGS=true -nogui -noguiserver

      Any suggestions to solve the issue?

  • Posted on Apr 08, 2016 at 11:13 AM

    HI,

    I also faced the same issue during S/4 hana on-premises installation in unattended mode. And by issue is fixed now with below steps.

    Error:

    *************************************************************

    ERROR 2014-12-19 00:24:14.654 [ccdclient.cpp:101]

    CCdClient::getLocation()

    FCO-00152 Empty package path. DIAGNOSIS: An empty package path was returned by the media server.(Requested package : UKERNEL ) SOLUTION: If software provisioning manager is running with option SAPINST_SKIP_DIALOGS=true, run the service again without that option and you will be asked about the missing package location. If you want to automate the installation, make the package location visible to software provisioning manager ( modify start_dir.cd or LABELIDX.ASC).

    SOLUTION:

    I resolved the error by following the steps below

    Step1:

    Create a directory for inifile.xml

    mkdir -p /unattended/common

    Step2:

    Save the following files in /unattended/common directory

    - inifile.xml

    - keydb.dtd

    - doc.dtd

    Step3:

    Create a separate directory for start_dir.cd

    mkdir -p /unattended/install

    Step4:

    Create a file named start_dir.cd and in it enter the paths to all installation DVDs required for your unattended installation.

    cd /unattended/install

    ls -lrt

    -rwxrwxr-x 1 root root 331 Apr 8 08:37 start_dir.cd

    STEP5:

    Give permissions and change group to sapinst which is very important for unattended mode installations.

    chmod -R 775 /unattended

    STEP6:

    chgrp -R sapinst /unattended/common

    chgrp -R sapinst /unattned/install

    Example: ls -lrt

    drwxrwxr-x 2 root sapinst 74 Apr 8 08:39 common

    drwxrwxr-x 8 root sapinst 8192 Apr 8 08:59 install

    FINALY STEP:

    Goto or be in /unattended/install directory where your start_dir.cd is present and start installation with sapinst same as below command

    /usr/sap/on_premise_1511/SWPM_S4HANA/sapinst SAPINST_PARAMETER_CONTAINER_URL=/unattended/common/inifile.xml SAPINST_EXECUTE_PRODUCT_ID=NW_ABAP_OneHost:S4HANAONPREM1511.CORE.HDB.ABAP SAPINST_SKIP_DIALOGS=true -nogui -noguiserver

    Note:

    from above command by sapinst installation DVD is present in

    /usr/sap/on_premise_1511/SWPM_S4HANA/ so I started sapinst with whole DVD path with out changing current working directory from /unattended/install.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.