- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Users cannot read on devices until root do it
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2009 09:31 AM
тАО02-26-2009 09:31 AM
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.
A simple user is unable to read (via dd) on san disks. The error returned is "permission denied".
$ dd if=/dev/rdsk/c5t0d0 of=/dev/null bs=1k count=1
/dev/rdsk/c5t0d0: Permission denied
dd: cannot open /dev/rdsk/c5t0d0
Of course, all users have the right to read on theses devices.
$ ls -ld /dev/rdsk
drwxr-xr-x 2 bin bin 8192 Feb 12 11:04 /dev/rdsk
$ ls -l /dev/rdsk/c5t0d0
crw-r--r-- 1 bin sys 188 0x050000 Feb 12 10:42 /dev/rdsk/c5t0d0
If root read on the device...
# dd if=/dev/rdsk/c5t0d0 of=/dev/null bs=1k count=1
1+0 records in
1+0 records out
Now normal users can access the data
$ dd if=/dev/rdsk/c5t0d0 of=/dev/null bs=1k count=1
1+0 records in
1+0 records out
My intuition aim at Powerpath. But how can I be sure ?
Anyone got an idea ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2009 09:38 AM
тАО02-26-2009 09:38 AM
Re: Users cannot read on devices until root do it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2009 11:45 PM
тАО07-22-2009 11:45 PM
Re: Users cannot read on devices until root do it
Can you tell me how you solve the problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2009 12:56 AM
тАО07-23-2009 12:56 AM
Re: Users cannot read on devices until root do it
i have same problem with you. what have you done for this? please help me .thanks a lot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2009 01:52 AM
тАО07-23-2009 01:52 AM
Re: Users cannot read on devices until root do it
And our HP support contract is very limited.
So I was thinking the problem only happened to our server until today.
We are using a stopgap measure : an "ioscan" launched in the startup scripts.
If you find a "real" solution, keep me in touch.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2009 04:19 PM
тАО07-23-2009 04:19 PM
Re: Users cannot read on devices until root do it
our hp-ux 11i v3 level is:
Sep '08 (11.31 Standard Patch Bundles).
Do you want to upgrade to
Mar '09 (11.31 Standard Patch Bundles)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2009 10:40 PM
тАО08-12-2009 10:40 PM
SolutionPowerPath 5.1 SP1
HP-UX 11.31
Product: Oracle ASM 10g 64-bit
After Powerpath upgrade to 5.1 SP1, Oracle ASM & CRS automatic start failed on HP-UX 11.31
OCR initialization failed accessing OCR device: PROC-26: Error while accessing the physical storage Operat
ing System error [Permission denied] [13]
PowerPath is upgraded from 5.1 to 5.1 SP1
PowerPath 5.1 SP1 has been enhanced w.r.t handling iSCSI devices when compared to earlier versions of PowerPath.
As part of the new feature, handling of opening the devices underwent few changes in PP 5.1 SP1. PowerPath issues pass-through
ioctl while opening the device. PowerPath will check the result returned from the pass-through ioctl. As per HPUX semantics,
Pass-through ioctl requires super-user privilege access. So, if any application which is running in non-root privilege, if
it tries to open the device, the open operation will fail with ├ж ermission denied ?error message.
At the customer environment , Oracle daemon ( which is running as non-root ) is trying to open the device, hence there is ├ж ermission Denied ?error.
Work Around Recommendations:
----------------------------
- Execute "syminq" or "inq" commands during boot immediately after the PowerPath services starts.
Why we recommend the above solution as a work around?
-----------------------------------------------------------
- "syminq" or "inq" gets executed with root user privilages if they are run during boot operation. These operations will leave the devices
accessed and opened. There-by any subsequent device open attempt either in root or non-root doesn├ж ┬░ go through the pass-through ioctl
way as they are already opened. This allows the Oracle deamon to auto-start in non-root privileges.
The Oracle ASM & CRS starts automaticly only when syminq or inq is run on the system?!?
OPT 313586
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2010 08:35 AM
тАО01-28-2010 08:35 AM
Re: Users cannot read on devices until root do it
Let's see the last releases notes :
313586
After upgrading from PowerPath 5.1 to PowerPath 5.1 SP 1 on a HP-UX 11.31 system, starting
Oracle ASM & CRS in an automatic mode leads to failure.The error message from the Oracle is:
"OCR initialization failed accessing OCR device: PROC-26: Error while accessing the physical
storage Operating System error [Permission denied] [13]".
Thanks Lizhen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2010 08:36 AM
тАО01-28-2010 08:36 AM