<?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 Chatr command &amp;amp; Oracle in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/chatr-command-amp-oracle/m-p/3973565#M758565</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I want to decrease virtual memory data page size. I was trying to do the same using CHATR. But facing problems with permissions. I tried it with Oracle user having full permissions.&lt;BR /&gt;&lt;BR /&gt;oracle-/home/oracle$/usr/bin/chatr +pd D /oracle/product/9.2/bin/oracle&lt;BR /&gt;/oracle/product/9.2/bin/oracle:&lt;BR /&gt;   current values:&lt;BR /&gt;         64-bit ELF executable&lt;BR /&gt;         shared library dynamic path search:&lt;BR /&gt;             LD_LIBRARY_PATH    enabled  first&lt;BR /&gt;             SHLIB_PATH         enabled  second&lt;BR /&gt;             embedded path      enabled  third  /oracle/product/9.2/rdbms/lib/:/oracle/product/9.2/lib/:/usr/lib/hpux64:/opt/langtools/lib/hpux64&lt;BR /&gt;         shared library list:&lt;BR /&gt;             libodm9.so&lt;BR /&gt;             libskgxp9.so&lt;BR /&gt;             libskgxn9.so&lt;BR /&gt;             libjox9.so&lt;BR /&gt;             librt.so.1&lt;BR /&gt;             libnss_dns.so.1&lt;BR /&gt;             libdl.so.1&lt;BR /&gt;             libm.so.1&lt;BR /&gt;             libpthread.so.1&lt;BR /&gt;             libCsup.so.1&lt;BR /&gt;             libunwind.so.1&lt;BR /&gt;             libc.so.1&lt;BR /&gt;         shared library binding:&lt;BR /&gt;             deferred&lt;BR /&gt;         global hash table disabled&lt;BR /&gt;         global hash table size 1103&lt;BR /&gt;         shared library mapped private disabled&lt;BR /&gt;         shared library segment merging enabled&lt;BR /&gt;         shared vtable support disabled&lt;BR /&gt;         explicit unloading disabled&lt;BR /&gt;         segments:&lt;BR /&gt;             index type     address      flags size&lt;BR /&gt;                 7 text 4000000000000000 z---c-  16M&lt;BR /&gt;                 8 data 6000000000000000 ---m--    L (largest possible)&lt;BR /&gt;         executable from stack: D (default)&lt;BR /&gt;         kernel assisted branch prediction enabled&lt;BR /&gt;         lazy swap allocation for dynamic segments disabled&lt;BR /&gt;         nulptr references disabled&lt;BR /&gt;         address space model: default&lt;BR /&gt;         caliper dynamic instrumentation disabled&lt;BR /&gt;chatr(error): cannot open file for writing /oracle/product/9.2/bin/oracle&lt;BR /&gt;oracle-/home/oracle$ll -rt /oracle/product/9.2/bin/oracle&lt;BR /&gt;-rwsr-s--x   1 oracle     dba        178518464 Apr  4  2006 /oracle/product/9.2/bin/oracle&lt;BR /&gt;oracle-/home/oracle$id&lt;BR /&gt;uid=106(oracle) gid=104(dba)&lt;BR /&gt;&lt;BR /&gt;Please help.&lt;BR /&gt;Ankit</description>
    <pubDate>Mon, 02 Apr 2007 02:48:09 GMT</pubDate>
    <dc:creator>Ankit Grover</dc:creator>
    <dc:date>2007-04-02T02:48:09Z</dc:date>
    <item>
      <title>Chatr command &amp; Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chatr-command-amp-oracle/m-p/3973565#M758565</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I want to decrease virtual memory data page size. I was trying to do the same using CHATR. But facing problems with permissions. I tried it with Oracle user having full permissions.&lt;BR /&gt;&lt;BR /&gt;oracle-/home/oracle$/usr/bin/chatr +pd D /oracle/product/9.2/bin/oracle&lt;BR /&gt;/oracle/product/9.2/bin/oracle:&lt;BR /&gt;   current values:&lt;BR /&gt;         64-bit ELF executable&lt;BR /&gt;         shared library dynamic path search:&lt;BR /&gt;             LD_LIBRARY_PATH    enabled  first&lt;BR /&gt;             SHLIB_PATH         enabled  second&lt;BR /&gt;             embedded path      enabled  third  /oracle/product/9.2/rdbms/lib/:/oracle/product/9.2/lib/:/usr/lib/hpux64:/opt/langtools/lib/hpux64&lt;BR /&gt;         shared library list:&lt;BR /&gt;             libodm9.so&lt;BR /&gt;             libskgxp9.so&lt;BR /&gt;             libskgxn9.so&lt;BR /&gt;             libjox9.so&lt;BR /&gt;             librt.so.1&lt;BR /&gt;             libnss_dns.so.1&lt;BR /&gt;             libdl.so.1&lt;BR /&gt;             libm.so.1&lt;BR /&gt;             libpthread.so.1&lt;BR /&gt;             libCsup.so.1&lt;BR /&gt;             libunwind.so.1&lt;BR /&gt;             libc.so.1&lt;BR /&gt;         shared library binding:&lt;BR /&gt;             deferred&lt;BR /&gt;         global hash table disabled&lt;BR /&gt;         global hash table size 1103&lt;BR /&gt;         shared library mapped private disabled&lt;BR /&gt;         shared library segment merging enabled&lt;BR /&gt;         shared vtable support disabled&lt;BR /&gt;         explicit unloading disabled&lt;BR /&gt;         segments:&lt;BR /&gt;             index type     address      flags size&lt;BR /&gt;                 7 text 4000000000000000 z---c-  16M&lt;BR /&gt;                 8 data 6000000000000000 ---m--    L (largest possible)&lt;BR /&gt;         executable from stack: D (default)&lt;BR /&gt;         kernel assisted branch prediction enabled&lt;BR /&gt;         lazy swap allocation for dynamic segments disabled&lt;BR /&gt;         nulptr references disabled&lt;BR /&gt;         address space model: default&lt;BR /&gt;         caliper dynamic instrumentation disabled&lt;BR /&gt;chatr(error): cannot open file for writing /oracle/product/9.2/bin/oracle&lt;BR /&gt;oracle-/home/oracle$ll -rt /oracle/product/9.2/bin/oracle&lt;BR /&gt;-rwsr-s--x   1 oracle     dba        178518464 Apr  4  2006 /oracle/product/9.2/bin/oracle&lt;BR /&gt;oracle-/home/oracle$id&lt;BR /&gt;uid=106(oracle) gid=104(dba)&lt;BR /&gt;&lt;BR /&gt;Please help.&lt;BR /&gt;Ankit</description>
      <pubDate>Mon, 02 Apr 2007 02:48:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chatr-command-amp-oracle/m-p/3973565#M758565</guid>
      <dc:creator>Ankit Grover</dc:creator>
      <dc:date>2007-04-02T02:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Chatr command &amp; Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chatr-command-amp-oracle/m-p/3973566#M758566</link>
      <description>You first have to chmod +w, then run chatr, then chatr -w.</description>
      <pubDate>Mon, 02 Apr 2007 04:06:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chatr-command-amp-oracle/m-p/3973566#M758566</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-04-02T04:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: Chatr command &amp; Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chatr-command-amp-oracle/m-p/3973567#M758567</link>
      <description>The file permissions are already with Write for Oracle user.&lt;BR /&gt;&lt;BR /&gt;oracle-/home/oracle$ll -rt /oracle/product/9.2/bin/oracle &lt;BR /&gt;-rwsr-s--x 1 oracle dba 178518464 Apr 4 2006 /oracle/product/9.2/bin/oracle &lt;BR /&gt;</description>
      <pubDate>Mon, 02 Apr 2007 04:37:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chatr-command-amp-oracle/m-p/3973567#M758567</guid>
      <dc:creator>Ankit Grover</dc:creator>
      <dc:date>2007-04-02T04:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: Chatr command &amp; Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chatr-command-amp-oracle/m-p/3973568#M758568</link>
      <description>Hi Anil,&lt;BR /&gt;&lt;BR /&gt;Can you do a trace or tusc on the chatr. Might be some kind of permission or relinking issue.&lt;BR /&gt;&lt;BR /&gt;Hope you have correctly set the env varilables.&lt;BR /&gt;&lt;BR /&gt;Also do a ldd $ORACLE_HOME/bin/oracle&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Rasheed Tamton.</description>
      <pubDate>Mon, 02 Apr 2007 05:31:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chatr-command-amp-oracle/m-p/3973568#M758568</guid>
      <dc:creator>Rasheed Tamton</dc:creator>
      <dc:date>2007-04-02T05:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Chatr command &amp; Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chatr-command-amp-oracle/m-p/3973569#M758569</link>
      <description>The ouput od LDD is:&lt;BR /&gt;(oracle)hpux1572:/etc&amp;gt;ldd $ORACLE_HOME/bin/oracle&lt;BR /&gt;        libodm9.so =&amp;gt;   /oracle/product/9.2/lib//libodm9.so&lt;BR /&gt;        libskgxp9.so =&amp;gt; /oracle/product/9.2/lib//libskgxp9.so&lt;BR /&gt;        libskgxn9.so =&amp;gt; /oracle/product/9.2/lib//libskgxn9.so&lt;BR /&gt;        libjox9.so =&amp;gt;   /oracle/product/9.2/lib//libjox9.so&lt;BR /&gt;        librt.so.1 =&amp;gt;   /usr/lib/hpux64/librt.so.1&lt;BR /&gt;        libnss_dns.so.1 =&amp;gt;      /usr/lib/hpux64/libnss_dns.so.1&lt;BR /&gt;        libdl.so.1 =&amp;gt;   /usr/lib/hpux64/libdl.so.1&lt;BR /&gt;        libm.so.1 =&amp;gt;    /usr/lib/hpux64/libm.so.1&lt;BR /&gt;        libpthread.so.1 =&amp;gt;      /usr/lib/hpux64/libpthread.so.1&lt;BR /&gt;        libCsup.so.1 =&amp;gt; /usr/lib/hpux64/libCsup.so.1&lt;BR /&gt;        libunwind.so.1 =&amp;gt;       /usr/lib/hpux64/libunwind.so.1&lt;BR /&gt;        libc.so.1 =&amp;gt;    /usr/lib/hpux64/libc.so.1&lt;BR /&gt;        libdl.so.1 =&amp;gt;   /usr/lib/hpux64/libdl.so.1&lt;BR /&gt;        libdl.so.1 =&amp;gt;   /usr/lib/hpux64/libdl.so.1&lt;BR /&gt;        libuca.so.1 =&amp;gt;  /usr/lib/hpux64/libuca.so.1&lt;BR /&gt;        libdl.so.1 =&amp;gt;   /usr/lib/hpux64/libdl.so.1&lt;BR /&gt;&lt;BR /&gt;But I did not get how to trace CHATR. Can you elaborate it please?</description>
      <pubDate>Mon, 02 Apr 2007 05:58:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chatr-command-amp-oracle/m-p/3973569#M758569</guid>
      <dc:creator>Ankit Grover</dc:creator>
      <dc:date>2007-04-02T05:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Chatr command &amp; Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chatr-command-amp-oracle/m-p/3973570#M758570</link>
      <description>&amp;gt;The file permissions are already with Write for Oracle user.&lt;BR /&gt;&lt;BR /&gt;(Ah, you did provide it the first time.)  They look like it.  But you can't chatr (change) an executable while it is running.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;But I did not get how to trace CHATR. Can you elaborate it please?&lt;BR /&gt;&lt;BR /&gt;$ tusc -o tusc.out chatr +pd D /oracle/product/9.2/bin/oracle &lt;BR /&gt;&lt;BR /&gt;Then provide tusc.out.</description>
      <pubDate>Mon, 02 Apr 2007 22:10:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chatr-command-amp-oracle/m-p/3973570#M758570</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-04-02T22:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Chatr command &amp; Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chatr-command-amp-oracle/m-p/3973571#M758571</link>
      <description>The TUSC utility is not there on our server.&lt;BR /&gt;oracle-/home/oracle$tusc -o tusc.out chatr +pd D /oracle/product/9.2/bin/oracle&lt;BR /&gt;su: tusc:  not found.&lt;BR /&gt;&lt;BR /&gt;I tried through root user:&lt;BR /&gt;[root]/#find / -name tusc&lt;BR /&gt;[root]/#&lt;BR /&gt;&lt;BR /&gt;Dennis, but as you have mentioned that this might be due to running state of Oracle executable. But before halting all DB operations at our development center, I just want to confirm whether the things I am doing are going to help my cause or not?&lt;BR /&gt;&lt;BR /&gt;We are facing lots of memory allocation problems on our Unix box. One possible cause &amp;amp; remedy which I have found is:&lt;BR /&gt;&lt;BR /&gt;Decrease the virtual memory data page size for the Oracle9i release 2 (9.2.0.1.0) executable as necessary. Alter the page size setting with the following command: &lt;BR /&gt;/usr/bin/chatr +pd newsize $ORACLE_HOME/bin/oracle&lt;BR /&gt;&lt;BR /&gt;Currenly the size id L(Largest), I was trying to make it D(Default). Can I go ahead with this?</description>
      <pubDate>Tue, 03 Apr 2007 01:17:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chatr-command-amp-oracle/m-p/3973571#M758571</guid>
      <dc:creator>Ankit Grover</dc:creator>
      <dc:date>2007-04-03T01:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Chatr command &amp; Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chatr-command-amp-oracle/m-p/3973572#M758572</link>
      <description>&amp;gt;The TUSC utility is not there on our server.&lt;BR /&gt;&lt;BR /&gt;You can get this from anonymous ftp from:&lt;BR /&gt;ftp.cup.hp.com&lt;BR /&gt;~ftp/dist/networking/tools/&lt;BR /&gt;Then pick the right one:&lt;BR /&gt;-rw-r--r--   1 root   628232 Sep 12  2005 tusc.7.8.ia64.shar&lt;BR /&gt;-rw-r--r--   1 root   327213 Sep 12  2005 tusc.7.8.pa.shar&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I just want to confirm whether the things I am doing are going to help my cause or not?&lt;BR /&gt;&lt;BR /&gt;I'm not sure about that.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;We are facing lots of memory allocation problems on our Unix box.&lt;BR /&gt;&lt;BR /&gt;You could just by more memory.  I assume you have enough swap space but there is a performance issue with it?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Currenly the size id L(Largest), I was trying to make it D(Default). Can I go ahead with this?&lt;BR /&gt;&lt;BR /&gt;Hopefully tusc should give you the correct error.  I found you do have to add the -fp options so you get the right child chatr.&lt;BR /&gt;Here I'm using a copy of chatr on itself:&lt;BR /&gt;$ tusc -fp -o tusc.out ./chatr  +q3p enable chatr&lt;BR /&gt;[13554] open("chatr", O_RDWR, 0666) ......... ERR#26 ETXTBSY&lt;BR /&gt;&lt;BR /&gt;You could try.  You could copy to oracle.new  and chatr that.  Then do:&lt;BR /&gt;$ ln oracle oracle.old&lt;BR /&gt;$ ln -f oracle.new oracle&lt;BR /&gt;&lt;BR /&gt;I'm not sure if this is safe if you are using oracle and it tries to fork/exec and would get a new version?</description>
      <pubDate>Tue, 03 Apr 2007 01:48:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chatr-command-amp-oracle/m-p/3973572#M758572</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-04-03T01:48:42Z</dc:date>
    </item>
  </channel>
</rss>

