<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SAP  startsap of AS failing after patching in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sap-startsap-of-as-failing-after-patching/m-p/3398886#M862897</link>
    <description>Forgot to mention,&lt;BR /&gt;this was how I raised shmmax:&lt;BR /&gt;  &lt;BR /&gt;[root@don(Z01):/root]&lt;BR /&gt;# kmtune -u -s shmmax=0x400000000&lt;BR /&gt;The kernel's value of shmmax has been set to 17179869184 (0x400000000).&lt;BR /&gt;  &lt;BR /&gt;Did this suffice to make it boot persistent, or is something more involved required?</description>
    <pubDate>Wed, 13 Oct 2004 04:57:16 GMT</pubDate>
    <dc:creator>Ralph Grothe</dc:creator>
    <dc:date>2004-10-13T04:57:16Z</dc:date>
    <item>
      <title>SAP  startsap of AS failing after patching</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sap-startsap-of-as-failing-after-patching/m-p/3398884#M862895</link>
      <description>Hi,&lt;BR /&gt; &lt;BR /&gt;yesterday night I patched several SAP DB and AS servers running on 11i.&lt;BR /&gt;I installed the GOLD* patch bundles from Support Plus CDROM June 2004, as well as ONC and Sreams cumulative patches together with ENHAUTOFS.&lt;BR /&gt;On all other 7 SAP systems (DB as well as AS) things work fine.&lt;BR /&gt;Thus I don't believe it has something to do with my patching and enabling of AutoFS/automount.&lt;BR /&gt;Only on this Application Server I don't get SAP started correctly, though it pretends to be started well.&lt;BR /&gt;The only hint I've got is this excerpt from the startsap.log:&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;Execute Pre-Startup Commands&lt;BR /&gt;----------------------------&lt;BR /&gt;(23434) Local: /usr/sap/Z01/SYS/exe/run/sapmscsa -n pf=/usr/sap/Z01/SYS/profile/Z01_D02_don&lt;BR /&gt;/usr/sap/Z01/SYS/exe/run/sapmscsa: SCSA is attached and useable.&lt;BR /&gt;/usr/sap/Z01/SYS/exe/run/sapmscsa: finished.&lt;BR /&gt;(23434) Local: ln -s -f /usr/sap/Z01/SYS/exe/run/disp+work dw.sapZ01_D02&lt;BR /&gt;(23434) Local: ln -s -f /usr/sap/Z01/SYS/exe/run/rslgsend se.sapZ01_D02&lt;BR /&gt; &lt;BR /&gt;Starting Programs&lt;BR /&gt;-----------------&lt;BR /&gt;/home/z01adm/startsap_don_02.log &lt;BR /&gt;Starting: local&lt;BR /&gt; dw.sapZ01_D02 pf=/usr/sap/Z01/SYS/profile/Z01_D02_don&lt;BR /&gt;(23445) Starting: local se.sapZ01_D02 -F pf=/usr/sap/Z01/SYS/profile/Z01_D02_don&lt;BR /&gt;(23434) Waiting for Child Processes to terminate.&lt;BR /&gt;(23434) **** 2004/10/13 09:22:05 Child 23444 died due to Signal 11 (core dumped). ****&lt;BR /&gt; &lt;BR /&gt;  &lt;BR /&gt;I did find the core dump of the SIGSEV caught child, but I'm not literate to analyse it.&lt;BR /&gt;Does anyone have some adb tricks for an autopsie of the core file?&lt;BR /&gt;Unfortunately I only can get hints from this logfile, and the SAP DBAs aren't of great help because they cannot connect to the partly started instance, where they could use their SAP GUI tools.&lt;BR /&gt;Are there any other SAP logfiles that could give further hints?&lt;BR /&gt; &lt;BR /&gt;During the startsap I also realized the message that socket on tcp port 3299 was already in use.&lt;BR /&gt;From /etc/services I found that the related service is sapdp99.&lt;BR /&gt;But SAP DBAs assured me that this message is normal and can be ignored.&lt;BR /&gt;After having installed lsof I looked what processes were using this socket:&lt;BR /&gt;  &lt;BR /&gt;[root@don(Z01):/root]&lt;BR /&gt;# /usr/local/sbin/lsof -i:3299|sed 's/&amp;gt;.*EST/&amp;gt; blanked for privacy EST/'&lt;BR /&gt;COMMAND    PID   USER   FD   TYPE     DEVICE SIZE/OFF NODE NAME&lt;BR /&gt;saprouter 2239 z01adm    4u  inet 0x8e1d4800      0t0  TCP *:sapdp99 (LISTEN)&lt;BR /&gt;saprouter 2239 z01adm    5u  inet 0x9b3470c0 0t177750  TCP don:sapdp99-&amp;gt; blanked for privacy ESTABLISHED&lt;BR /&gt;)&lt;BR /&gt;saprouter 2239 z01adm    6u  inet 0x9b3473c0  0t17962  TCP don:50141-&amp;gt; blanked for privacy ESTABLISHED)&lt;BR /&gt;saprouter 2239 z01adm    7u  inet 0x8e1d4680 0t603224  TCP don:sapdp99-&amp;gt; blanked for privacy ESTABLISHED&lt;BR /&gt;)&lt;BR /&gt;saprouter 2239 z01adm    8u  inet 0x9b347540  0t39576  TCP don:50293-&amp;gt; blanked for privacy ESTABLISHED)&lt;BR /&gt;saprouter 2239 z01adm    9u  inet 0x9b3476c0 0t214786  TCP don:sapdp99-&amp;gt; blanked for privacy ESTABLISHED&lt;BR /&gt;)&lt;BR /&gt;saprouter 2239 z01adm   10u  inet 0x9b347240  0t15835  TCP don:50305-&amp;gt; blanked for privacy ESTABLISHED)&lt;BR /&gt; &lt;BR /&gt;As can be seen, the saprouter already handles a few client connections.&lt;BR /&gt; &lt;BR /&gt;As I don't know where else to search (given my lacking SAP knowledge) I will be rebooting in hope that everything somehow automagically will recover &lt;BR /&gt;(i.e. sysadmin desperation reboot ;-)&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Ralph</description>
      <pubDate>Wed, 13 Oct 2004 03:12:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sap-startsap-of-as-failing-after-patching/m-p/3398884#M862895</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2004-10-13T03:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: SAP  startsap of AS failing after patching</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sap-startsap-of-as-failing-after-patching/m-p/3398885#M862896</link>
      <description>I found it!!! :-)&lt;BR /&gt; &lt;BR /&gt;After having started the "startsap ALL" stuff as a tusc process (with following of forks enabled by -f) I was able to find the spot in the dump where a SIGSEGV was caught.&lt;BR /&gt;It was when a shmget() syscall was issued.&lt;BR /&gt;That got me to overlook the kernel shared memory tunables again.&lt;BR /&gt;So I compared them with a working SAP box and found that my shmmax was factor 256 too small:&lt;BR /&gt;  &lt;BR /&gt;[root@aller(Z01):/var/spool/sockets/pwgr]&lt;BR /&gt;# kmtune|grep shm&lt;BR /&gt;core_addshmem_read          0  Y  0                          &lt;BR /&gt;core_addshmem_write         0  Y  0                          &lt;BR /&gt;shmem                       1  -  1                          &lt;BR /&gt;shmmax            17179869184  Y  17179869184                &lt;BR /&gt;shmmni                    256  -  256                        &lt;BR /&gt;shmseg                    200  Y  200                        &lt;BR /&gt;  &lt;BR /&gt;[root@aller(Z01):/var/spool/sockets/pwgr]&lt;BR /&gt;# echo "obase=16;17179869184"|bc&lt;BR /&gt;400000000&lt;BR /&gt;   &lt;BR /&gt;So on my box I raised this tunable (luckily one of the very few dynamical that don't require yet another reboot)&lt;BR /&gt; &lt;BR /&gt;[root@don(Z01):/root]&lt;BR /&gt;# kmtune -q shmmax&lt;BR /&gt;Parameter             Current Dyn Planned                    Module     Version&lt;BR /&gt;===============================================================================&lt;BR /&gt;shmmax              0x4000000  Y  0X4000000                  &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;Then R/3 came up as expected. :-)&lt;BR /&gt; &lt;BR /&gt;Now I wonder what needs to be done to fix this dynamical tunable, i.e. make it boot resistent?&lt;BR /&gt;I'm sure I will have forgotten what needed to be done the next time the box is rebooting.&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Oct 2004 04:53:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sap-startsap-of-as-failing-after-patching/m-p/3398885#M862896</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2004-10-13T04:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: SAP  startsap of AS failing after patching</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sap-startsap-of-as-failing-after-patching/m-p/3398886#M862897</link>
      <description>Forgot to mention,&lt;BR /&gt;this was how I raised shmmax:&lt;BR /&gt;  &lt;BR /&gt;[root@don(Z01):/root]&lt;BR /&gt;# kmtune -u -s shmmax=0x400000000&lt;BR /&gt;The kernel's value of shmmax has been set to 17179869184 (0x400000000).&lt;BR /&gt;  &lt;BR /&gt;Did this suffice to make it boot persistent, or is something more involved required?</description>
      <pubDate>Wed, 13 Oct 2004 04:57:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sap-startsap-of-as-failing-after-patching/m-p/3398886#M862897</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2004-10-13T04:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: SAP  startsap of AS failing after patching</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sap-startsap-of-as-failing-after-patching/m-p/3398887#M862898</link>
      <description>Hi Ralph,&lt;BR /&gt;&lt;BR /&gt;I can check if you shmmax will keep your value with the next boot in SAM where you can see the "Current Value" and "Pending Value"...&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;BR /&gt;Eric Antunes</description>
      <pubDate>Wed, 13 Oct 2004 05:45:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sap-startsap-of-as-failing-after-patching/m-p/3398887#M862898</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2004-10-13T05:45:15Z</dc:date>
    </item>
  </channel>
</rss>

