<?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: Users cannot read on devices until root do it in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/users-cannot-read-on-devices-until-root-do-it/m-p/5159887#M650429</link>
    <description>Closing thread.</description>
    <pubDate>Thu, 28 Jan 2010 16:36:52 GMT</pubDate>
    <dc:creator>Gaël LEPETIT</dc:creator>
    <dc:date>2010-01-28T16:36:52Z</dc:date>
    <item>
      <title>Users cannot read on devices until root do it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/users-cannot-read-on-devices-until-root-do-it/m-p/5159879#M650421</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;On a HP Blade 870c with HP-UX 11i v3 and the very last version of Powerpath 5.1 SP1 (imposed upon me), a strange effect appear after each reboot.&lt;BR /&gt;A simple user is unable to read (via dd) on san disks. The error returned is "permission denied".&lt;BR /&gt;&lt;BR /&gt;$ dd if=/dev/rdsk/c5t0d0 of=/dev/null bs=1k count=1&lt;BR /&gt;/dev/rdsk/c5t0d0: Permission denied&lt;BR /&gt;dd: cannot open /dev/rdsk/c5t0d0&lt;BR /&gt;&lt;BR /&gt;Of course, all users have the right to read on theses devices.&lt;BR /&gt;&lt;BR /&gt;$ ls -ld /dev/rdsk&lt;BR /&gt;drwxr-xr-x   2 bin        bin           8192 Feb 12 11:04 /dev/rdsk&lt;BR /&gt;$ ls -l /dev/rdsk/c5t0d0&lt;BR /&gt;crw-r--r--   1 bin        sys        188 0x050000 Feb 12 10:42 /dev/rdsk/c5t0d0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If root read on the device...&lt;BR /&gt;# dd if=/dev/rdsk/c5t0d0 of=/dev/null bs=1k count=1&lt;BR /&gt;1+0 records in&lt;BR /&gt;1+0 records out&lt;BR /&gt;&lt;BR /&gt;Now normal users can access the data&lt;BR /&gt;$ dd if=/dev/rdsk/c5t0d0 of=/dev/null bs=1k count=1&lt;BR /&gt;1+0 records in&lt;BR /&gt;1+0 records out&lt;BR /&gt;&lt;BR /&gt;My intuition aim at Powerpath. But how can I be sure ? &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Anyone got an idea ?</description>
      <pubDate>Thu, 26 Feb 2009 17:31:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/users-cannot-read-on-devices-until-root-do-it/m-p/5159879#M650421</guid>
      <dc:creator>Gaël LEPETIT</dc:creator>
      <dc:date>2009-02-26T17:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: Users cannot read on devices until root do it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/users-cannot-read-on-devices-until-root-do-it/m-p/5159880#M650422</link>
      <description>contact hp support</description>
      <pubDate>Thu, 26 Feb 2009 17:38:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/users-cannot-read-on-devices-until-root-do-it/m-p/5159880#M650422</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2009-02-26T17:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Users cannot read on devices until root do it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/users-cannot-read-on-devices-until-root-do-it/m-p/5159881#M650423</link>
      <description>Hi,we have got the same problem.&lt;BR /&gt;Can you tell me how you solve the problem?</description>
      <pubDate>Thu, 23 Jul 2009 06:45:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/users-cannot-read-on-devices-until-root-do-it/m-p/5159881#M650423</guid>
      <dc:creator>lizhen_1</dc:creator>
      <dc:date>2009-07-23T06:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Users cannot read on devices until root do it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/users-cannot-read-on-devices-until-root-do-it/m-p/5159882#M650424</link>
      <description>hello GaÃ«l LEPETIT :&lt;BR /&gt;&lt;BR /&gt;i have same problem with you. what have you done for this? please help me .thanks a lot.</description>
      <pubDate>Thu, 23 Jul 2009 07:56:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/users-cannot-read-on-devices-until-root-do-it/m-p/5159882#M650424</guid>
      <dc:creator>presario_1</dc:creator>
      <dc:date>2009-07-23T07:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: Users cannot read on devices until root do it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/users-cannot-read-on-devices-until-root-do-it/m-p/5159883#M650425</link>
      <description>We have opened a case at EMC support but the tech weren't able to reproduce the bug. &lt;BR /&gt;And our HP support contract is very limited.&lt;BR /&gt;&lt;BR /&gt;So I was thinking the problem only happened to our server until today.&lt;BR /&gt;&lt;BR /&gt;We are using a stopgap measure : an "ioscan" launched in the startup scripts.&lt;BR /&gt;&lt;BR /&gt;If you find a "real" solution, keep me in touch.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Jul 2009 08:52:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/users-cannot-read-on-devices-until-root-do-it/m-p/5159883#M650425</guid>
      <dc:creator>Gaël LEPETIT</dc:creator>
      <dc:date>2009-07-23T08:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Users cannot read on devices until root do it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/users-cannot-read-on-devices-until-root-do-it/m-p/5159884#M650426</link>
      <description>What is your os patch bundle level?&lt;BR /&gt;our hp-ux 11i v3 level is:&lt;BR /&gt;Sep '08 (11.31 Standard Patch Bundles).&lt;BR /&gt;&lt;BR /&gt;Do you want to upgrade to &lt;BR /&gt;Mar '09 (11.31 Standard Patch Bundles)</description>
      <pubDate>Thu, 23 Jul 2009 23:19:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/users-cannot-read-on-devices-until-root-do-it/m-p/5159884#M650426</guid>
      <dc:creator>lizhen_1</dc:creator>
      <dc:date>2009-07-23T23:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Users cannot read on devices until root do it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/users-cannot-read-on-devices-until-root-do-it/m-p/5159885#M650427</link>
      <description>EMC confirmed that it is a powerpath bug. They will fix the bug in next version (may by sp2).You can view the KB primus218370 from powerlink.&lt;BR /&gt;&lt;BR /&gt;PowerPath 5.1 SP1 &lt;BR /&gt;HP-UX 11.31 &lt;BR /&gt;Product: Oracle ASM 10g 64-bit &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;After Powerpath upgrade to 5.1 SP1, Oracle ASM &amp;amp; CRS automatic start failed on HP-UX 11.31 &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;OCR initialization failed accessing OCR device: PROC-26: Error while accessing the physical storage Operat&lt;BR /&gt;ing System error [Permission denied] [13]&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;PowerPath is upgraded from 5.1 to 5.1 SP1 &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; PowerPath 5.1 SP1 has been enhanced w.r.t handling iSCSI devices when compared to earlier versions of PowerPath.&lt;BR /&gt;As part of the new feature, handling of opening the devices underwent few changes in PP 5.1 SP1. PowerPath issues pass-through&lt;BR /&gt;ioctl while opening the device. PowerPath will check the result returned from the pass-through ioctl. As per HPUX semantics,&lt;BR /&gt;Pass-through ioctl requires super-user privilege access. So, if any application which is running in non-root privilege, if &lt;BR /&gt;it tries to open the device, the open operation will fail with æ  ermission denied ?error message.&lt;BR /&gt;At the customer environment , Oracle daemon ( which is running as non-root ) is trying to open the device, hence there is æ  ermission Denied ?error. &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;Work Around Recommendations:&lt;BR /&gt;----------------------------&lt;BR /&gt;- Execute "syminq" or "inq" commands during boot immediately after the PowerPath services starts. &lt;BR /&gt;Why we recommend the above solution as a work around?&lt;BR /&gt;-----------------------------------------------------------&lt;BR /&gt;- "syminq" or "inq" gets executed with root user privilages if they are run during boot operation. These operations will leave the devices&lt;BR /&gt; accessed and opened. There-by any subsequent device open attempt either in root or non-root doesnæ ° go through the pass-through ioctl &lt;BR /&gt; way as they are already opened. This allows the Oracle deamon to auto-start in non-root privileges.&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;The Oracle ASM &amp;amp; CRS starts automaticly only when syminq or inq is run on the system?!? &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;OPT 313586 &lt;BR /&gt;</description>
      <pubDate>Thu, 13 Aug 2009 05:40:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/users-cannot-read-on-devices-until-root-do-it/m-p/5159885#M650427</guid>
      <dc:creator>lizhen_1</dc:creator>
      <dc:date>2009-08-13T05:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Users cannot read on devices until root do it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/users-cannot-read-on-devices-until-root-do-it/m-p/5159886#M650428</link>
      <description>In fine, Powerpath was the problem.&lt;BR /&gt;&lt;BR /&gt;Let's see the last releases notes : &lt;BR /&gt;&lt;BR /&gt;313586&lt;BR /&gt;After upgrading from PowerPath 5.1 to PowerPath 5.1 SP 1 on a HP-UX 11.31 system, starting&lt;BR /&gt;Oracle ASM &amp;amp; CRS in an automatic mode leads to failure.The error message from the Oracle is:&lt;BR /&gt;"OCR initialization failed accessing OCR device: PROC-26: Error while accessing the physical&lt;BR /&gt;storage Operating System error [Permission denied] [13]".&lt;BR /&gt;&lt;BR /&gt;Thanks Lizhen</description>
      <pubDate>Thu, 28 Jan 2010 16:35:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/users-cannot-read-on-devices-until-root-do-it/m-p/5159886#M650428</guid>
      <dc:creator>Gaël LEPETIT</dc:creator>
      <dc:date>2010-01-28T16:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: Users cannot read on devices until root do it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/users-cannot-read-on-devices-until-root-do-it/m-p/5159887#M650429</link>
      <description>Closing thread.</description>
      <pubDate>Thu, 28 Jan 2010 16:36:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/users-cannot-read-on-devices-until-root-do-it/m-p/5159887#M650429</guid>
      <dc:creator>Gaël LEPETIT</dc:creator>
      <dc:date>2010-01-28T16:36:52Z</dc:date>
    </item>
  </channel>
</rss>

