Skip to Content
avatar image
Former Member

Start Diagnostic Agent on satellite systems fails with errors

Hello,

after installation diagnostic agent on satellite system (linux) didn't start, so I tried manually.

But agent doesn't come up although startup script tells everything is fine.

"sapcontrol -prot NI_HTTP -nr 98 -function GetProcessList" gives status "grey, stopped".

Note 1316652 didn't help, file dev_boostrap is not available on linux.

How can I solve problem?

Logfiles from /usr/sap/DAA/SMDA98/work/:

dev_flightrec:

F

F Fri Mar  7 10:38:49 2014

F  ********************************************************************************

F  Java environment properties

F    root directory    : /usr/sap/DAA/SMDA98/exe/sapjvm_6

F    vendor            : SAP AG

F    version           : 1.6.0_45

F    cpu               : ppc64

F    java vm type      : server

F    java vm version   : 6.1.051 23.5-b02

F    jvm library name  : libjvm.so

F    library path      : /usr/sap/DAA/SMDA98/exe/sapjvm_6/jre/lib/ppc64/server:/usr/sap/DAA/SMDA98/exe/sapjvm_6/jre/lib/ppc64

F    executable path   : /usr/sap/DAA/SMDA98/exe/sapjvm_6/bin

F    SAP extensions    : available

F  ********************************************************************************

F  [Thr 17590328044688] *** ERROR => SfEIO: SfChDir: chdir(/usr/sap/DAA/SMDA98/j2ee) failed (errno = 2 No such file or directory)  [sfxxlib.hpp  201]

F  [Thr 17590328044688] *** ERROR => Operation failed: SfEIO: SfChDir: chdir(/usr/sap/DAA/SMDA98/j2ee) failed (errno = 2 No such file or directory)

[sfxxmain_mt. 1173]

F

F  ********************************************************************************

F  *** ERROR => Mutex initialization failed.

F  ***

F  *** Please see section 'Java process initialization issues'

F  *** in SAP Note 1316652 for additional information and trouble shooting advice.

F  ********************************************************************************

F

F  [Thr 17590328044688] *** LOG => exiting (exitcode -21001, retcode 2).

dev_smdagent:

F  ********************************************************************************

J

J  The stack size specified is too small, Specify at least 1280k

F  [Thr 17590205608336] *** ERROR => SfEStartupError: SfCSapVm::createJavaVM: Cannot create Java VM instance from library 'libjvm.so' (rc = -1).  [sfxxjvm.hpp  1166]

F  [Thr 17590205608336] *** ERROR => Java thread failed: SfEStartupError: Cannot create Java VM instance from library 'libjvm.so' (rc = -1).

[sfxxjvm.hpp  1468]

F

F  ********************************************************************************

F  *** ERROR => Cannot connect to parent process.

F  ***

F  *** Please see section 'Java VM shared library issues'

F  *** in SAP Note 1316652 for additional information and trouble shooting advice.

F  ********************************************************************************

F

F  [Thr 17590270373008] *** LOG => exiting (exitcode -21003, retcode 2).

M  [Thr 17590270373008] CCMS: alert/disable_j2ee_monitoring set. CCMS Monitoring of J2EE Engine switched off.

Regards,

Julia

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

7 Answers

  • Best Answer
    avatar image
    Former Member
    Mar 07, 2014 at 11:49 AM

    Which agent release?  Take into consideration that Diagnostic Agent 7.2 and lower releases are not supported.

    I recommend you to:

    • uninstall the agent
    • clear de installation directory
    • download 7.4 agent release
    • install it with root user

    Also, before uninstall it, please check the existence of the following files:

    • /usr/sap/DAA/SMDA98/exe/sapjvm_6/jre/lib/ppc64/server
    • /usr/sap/DAA/SMDA98/exe/sapjvm_6/jre/lib/ppc64

    Sometimes the OS users start the agent with wrong user (daaadm) and some files becomes with wrong authorizations, if yes:

    • chown -R daaadm:sapsys /usr/sap/DAA
    • chmod -R 775 /usr/sap/DAA

    Are you sure about ppc64 architecture from your server? you can check it with

    • uname -a

    If your problem is not solved, please post the output of this command:

    • ls -l /usr/sap/DAA/SMDA98/exe/sapjvm_6/jre/lib

    Don't hesitate to ask me if you need anything else I can do for you.

    Yours faithfully

    Juan de la Cruz Arellano Royo

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Julia,

      Sure!

      Please do the following and try to identify the problem:

      With daaadm user:

      • stopsap
      • sapcontrol -nr 98 -function StopService
      • cleanipc 98 remove
      • bash -c "ulimit -s unlimited"
      • bash -c "ulimit -m unlimited"
      • bash -c "ulimit -d unlimited"
      • startsap

      And let us know if the problem persist

      Kind regards

  • avatar image
    Former Member
    Mar 17, 2014 at 01:53 PM

    Did you resolve the problem ???

    Kind regards!

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Dear Julia,

      I recommend you to implement carefully the following notes:

      • 1275776 - Linux: Preparing SLES for SAP environments
      • 1310037 - SUSE LINUX Enterprise Server 11: Installation notes

      I think the problem is caused due the virtual machine can't allocate in the OS. The previous notes talk about some patches and parameters at OS level like

      • kernel.shmmax
      • kernel.shmall
      • TMPFS

      In order to do a deep analysis of your problem while you are reading those notes, could you kinkdly attach here the output of the following command:

      • bash
      • bash -c "ulimit -i 172032"
      • bash -c "ulimit -s unlimited"
      • bash -c "ulimit -d unlimited"
      • bash -c "ulimit -m unlimited"
      • strace -o output.txt startsap

      Also attach the files:

      • output.txt
      • std_smdagent.out
      • jvm_smdagent.out
      • jstart.jvm
      • dev_jstart

      Kind regards!

      Juan de la Cruz Arellano Royo

  • avatar image
    Former Member
    Mar 21, 2014 at 10:42 AM

    Hi

    For very initial error "The stack size specified is too small, Specify at least 1280k" please try the below step..



    1680045 - Release Note for Software Provisioning Manager 1.0

    ------------------------< D022256, 20/AUG/13 >-------------------------

    LinuxPPC only: Installation aborts with the error "stack size specified is too small, Specify at least 1280k"

    When installation aborts with the error "stack size specified is too small, Specify at least 1280k", set the following parameter in /sapmnt/<SID>/profile/DEFAULT.PFL: "jstartup/native_stack_size=2097152". Afterwards, stop and restart the tool and then continue with the installation.

    Regards

    Raj

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 07, 2014 at 10:27 AM

    as per the log, see below issue, there is no directory called /usr/sap/DAA/SMDA98/j2ee

    ERROR => SfEIO: SfChDir: chdir(/usr/sap/DAA/SMDA98/j2ee) failed (errno = 2 No such file or directory

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello Sunil,

      I read this thread before my posting - it's no user/password problem and there is another returncode than 11112 in my logs.

      Any other ideas?

      Regards,

      Julia

  • avatar image
    Former Member
    Mar 07, 2014 at 12:10 PM

    Can you attach full log files (preferably as attachments).

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 11, 2014 at 05:48 PM

    Hi,

    Check the Start Section in the following Document

    SAP First Guidance - Business Warehouse on SAP HANA Installation

    Best Regards Roland

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Roland,

      I couldn't find anything helpful.

      Just:

      SLES 11 SP2: With SLES 11 SP2 no further uuidd activation is needed. The sapconf is not needed

      for uuidd purposes, but still recommended for something different (refer note 1310037).

      Other things seem to be HANA specific. It's not a HANA system.

      Regards

      Julia

  • avatar image
    Former Member
    Mar 27, 2014 at 03:37 PM

    Did your problem resolved?

    Thank you very much for your collaboration 😉

    Add comment
    10|10000 characters needed characters exceeded