<?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 Command does not have memory locking privileges in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/command-does-not-have-memory-locking-privileges/m-p/4053143#M304830</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have HP_UX 10.20 system with large databases on. It is a sybase server that returns the following error messages whenver the server is started:&lt;BR /&gt;&lt;BR /&gt;process pid == 2513, command RUN_ABUJA does not have memory locking privileges required for using large text pages in this system version.  Either correct the privileges (see setprivgrp(1m)) or chatr the executable text to a non +L option see chatr(1m)&lt;BR /&gt;&lt;BR /&gt;where RUN_ABUJA is the script that is run at /opt/sybase/install to start the sybase server.&lt;BR /&gt;&lt;BR /&gt;these messages do not stop the server from starting but we are unable to load from DLT8000 backup (containing large database)&lt;BR /&gt;&lt;BR /&gt;Pls what is responsible?&lt;BR /&gt;&lt;BR /&gt;thanks in advance&lt;BR /&gt;</description>
    <pubDate>Fri, 10 Aug 2007 06:46:28 GMT</pubDate>
    <dc:creator>jaminas</dc:creator>
    <dc:date>2007-08-10T06:46:28Z</dc:date>
    <item>
      <title>Command does not have memory locking privileges</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-does-not-have-memory-locking-privileges/m-p/4053143#M304830</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have HP_UX 10.20 system with large databases on. It is a sybase server that returns the following error messages whenver the server is started:&lt;BR /&gt;&lt;BR /&gt;process pid == 2513, command RUN_ABUJA does not have memory locking privileges required for using large text pages in this system version.  Either correct the privileges (see setprivgrp(1m)) or chatr the executable text to a non +L option see chatr(1m)&lt;BR /&gt;&lt;BR /&gt;where RUN_ABUJA is the script that is run at /opt/sybase/install to start the sybase server.&lt;BR /&gt;&lt;BR /&gt;these messages do not stop the server from starting but we are unable to load from DLT8000 backup (containing large database)&lt;BR /&gt;&lt;BR /&gt;Pls what is responsible?&lt;BR /&gt;&lt;BR /&gt;thanks in advance&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Aug 2007 06:46:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-does-not-have-memory-locking-privileges/m-p/4053143#M304830</guid>
      <dc:creator>jaminas</dc:creator>
      <dc:date>2007-08-10T06:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Command does not have memory locking privileges</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-does-not-have-memory-locking-privileges/m-p/4053144#M304831</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Could be fixed by OS patches or database patches, or other issues.&lt;BR /&gt;&lt;BR /&gt;To be of further help, please give more details such as version number of Sybase, what bi-annual patch update is installed, things like that.&lt;BR /&gt;&lt;BR /&gt;What is your backup methodology, eg software.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 10 Aug 2007 06:50:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-does-not-have-memory-locking-privileges/m-p/4053144#M304831</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-08-10T06:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Command does not have memory locking privileges</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-does-not-have-memory-locking-privileges/m-p/4053145#M304832</link>
      <description>Have you read about, see setprivgrp(1m)?&lt;BR /&gt;This may not be related to your DLT8000 issue?</description>
      <pubDate>Fri, 10 Aug 2007 09:37:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-does-not-have-memory-locking-privileges/m-p/4053145#M304832</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-10T09:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Command does not have memory locking privileges</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-does-not-have-memory-locking-privileges/m-p/4053146#M304833</link>
      <description>&lt;BR /&gt;Brief explanation of why these messages occur: &lt;BR /&gt;--------------------------------------------- &lt;BR /&gt;&lt;BR /&gt;An application is coded to use large text pages but the OS and hardware &lt;BR /&gt;that this application is running on, may or may not be able to handle &lt;BR /&gt;this request.  You can use the echo allow_superpage..... command (see &lt;BR /&gt;below) to see if the system can handle large text pages.  If so, then the group &lt;BR /&gt;that is trying to run the processes that is trying to use large text pages &lt;BR /&gt;needs to have permission to do so.  That is where the setprivgrp command &lt;BR /&gt;is used. &lt;BR /&gt;&lt;BR /&gt;To verify: &lt;BR /&gt;--------- &lt;BR /&gt;&lt;BR /&gt;Run the following command to verify the system you are running on can &lt;BR /&gt;handle large text pages: &lt;BR /&gt;&lt;BR /&gt;         echo allow_superpage_text/D | adb -w /stand/vmunix /dev/kmem &lt;BR /&gt;&lt;BR /&gt;It will return the following: &lt;BR /&gt;&lt;BR /&gt;         allow_superpage_text: &lt;BR /&gt;         allow_superpage_text:          1 &lt;BR /&gt;&lt;BR /&gt;If the value is 1, then the system can handle large text pages.  If it &lt;BR /&gt;is set to 0, then it can't and the Sybase code will have to be changed &lt;BR /&gt;to not try to grab large text pages.  You will need to get that code &lt;BR /&gt;change from Sybase. &lt;BR /&gt;&lt;BR /&gt;If the value is 1, then you simply need to give the sybase group the &lt;BR /&gt;appropriate privileges.  You can do that by creating a file called &lt;BR /&gt;/etc/privgroup: &lt;BR /&gt;&lt;BR /&gt;         touch /etc/privgroup &lt;BR /&gt;&lt;BR /&gt;From the command line you can run &lt;BR /&gt;&lt;BR /&gt;         setprivgrp -f /etc/privgroup &lt;BR /&gt;&lt;BR /&gt;This will make the messages go away without rebooting the system.  Upon reboot, &lt;BR /&gt;there is a startup script in /sbin/init.d called set_prvgrp that &lt;BR /&gt;will be run once the file /etc/privgroup exists. &lt;BR /&gt;&lt;BR /&gt;The file /etc/privgroup needs to be in this format: &lt;BR /&gt;&lt;BR /&gt;              groupname [privileges] &lt;BR /&gt;&lt;BR /&gt;EXAMPLE: &lt;BR /&gt;-------- &lt;BR /&gt;&lt;BR /&gt;              sybase CHOWN MLOCK &lt;BR /&gt;&lt;BR /&gt;The CHOWN and MLOCK are the two privileges that you need to &lt;BR /&gt;include. &lt;BR /&gt;</description>
      <pubDate>Fri, 10 Aug 2007 11:47:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-does-not-have-memory-locking-privileges/m-p/4053146#M304833</guid>
      <dc:creator>whiteknight</dc:creator>
      <dc:date>2007-08-10T11:47:46Z</dc:date>
    </item>
  </channel>
</rss>

