ASM: cannot create asm disks - permission denied

We cannot create ASM disks using the command:
# /etc/init.d/oracleasm creatdisk ASMDISK1 /dev/mapper/mpathdp1
Marking disk "ASMDISK1" as an ASM disk: [FAILED]
The log (/var/log/oracleasm) has the following:
Clearing disk header: done
Disk "ASMDISK1" does not exist or is not instantiated
Writing disk header: done
Instantiating disk: oracleasm-instantiate-disk: Unable to create ASM disk "ASMDISK1": Permission denied
failed
Clearing disk header: done
The command is being executed by the root user. Our environment is OEL6:
[oracle@uxdbidbd1 mapper]$ uname -rm
2.6.32-100.28.11.el6.x86_64 x86_64
To install ASMLib we did the following:
Installed the three packages:
1.oracleasm-support-2.1.4-1.el5.x86_64.rpm
2.oracleasmlib-2.0.4-1.el5.x86_64.rpm
3.oracleasm-2.6.18-238.9.1.el5-debuginfo-2.0.5-1.el5.x86_64.rpm
[root@uxdbidbd1 ~]# modprobe oracleasm
[root@uxdbidbd1 ~]# /etc/init.d/oracleasm configure
Configuring the Oracle ASM library driver.
This will configure the on-boot properties of the Oracle ASM library
driver. The following questions will determine whether the driver is
loaded on boot and what permissions it will have. The current values
will be shown in brackets ('[]'). Hitting <ENTER> without typing an
answer will keep that current value. Ctrl-C will abort.
Default user to own the driver interface []: oracle
Default group to own the driver interface []: oinstall
Start Oracle ASM library driver on boot (y/n) [n]: y
Scan for Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: done
Initializing the Oracle ASMLib driver: [  OK  ]
Scanning the system for Oracle ASMLib disks: [  OK  ]
[root@uxdbidbd1 ~]#
[root@uxdbidbd1 ~]# /etc/init.d/oracleasm status
Checking if ASM is loaded: yes
Checking if /dev/oracleasm is mounted: yes
Our SA partitioned the disk using fdisk:
[root@uxdbidbd1 ~]# fdisk -l /dev/mapper/mpathd
Disk /dev/mapper/mpathd: 52.4 GB, 52428800000 bytes
255 heads, 63 sectors/track, 6374 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x4849251a
Device Boot Start End Blocks Id System
/dev/mapper/mpathdp1 1 6374 51199123+ 83 Linux
Here are the owner/permissions:
[oracle@uxdbidbd1 mapper]$ ls -al /dev/mapper/
lrwxrwxrwx. 1 root root 7 Apr 22 14:58 mpathd -> ../dm-5
brw-rw-r--. 1 oracle oinstall 253, 6 Apr 25 10:56 mpathdp1
[oracle@uxdbidbd1 dev]$ ls -al /dev
brw-rw----. 1 root disk 253, 5 Apr 22 15:45 dm-5
drwxr-xr-x. 4 root root 0 Apr 22 14:58 oracleasm
[oracle@uxdbidbd1 oracleasm]$ ls -al /dev/oracleasm
total 0
drwxr-xr-x. 4 root root 0 Apr 22 14:58 .
drwxr-xr-x. 23 root root 7200 Apr 24 03:41 ..
-rw-rw----. 1 oracle oinstall 0 Apr 22 14:58 .check_iid
drwxr-xr-x. 1 root root 0 Apr 22 14:58 disks
-rw-rw----. 1 oracle oinstall 0 Apr 22 14:58 .get_iid
drwxrwx---. 1 oracle oinstall 0 Apr 22 14:58 iid
-rw-rw----. 1 oracle oinstall 0 Apr 22 14:58 .query_disk
-rw-rw----. 1 oracle oinstall 0 Apr 22 14:58 .query_version
We ran an strace on the createdisk command that is failing and I noticed this in the output file:
28830 mknod("/dev/oracleasm/disks/ASMDISK1", S_IFBLK|0600, makedev(253, 6)) = -1 EACCES (Permission denied)
28830 write(2, "oracleasm-instantiate-disk: ", 28) = 28
28830 write(2, "Unable to create ASM disk \"ASMDI"..., 56) = 56
We changed /dev/oracleasm/disks to 777 in order to test but we got the same result. Do we need to adjust the permissions to all of the parent directories in the path (/dev/oracleasm/disks)? I've been looking around for anything related to permissions on /dev/oracleasm but the docs don't mention anything. Any help would be greatly appreciated.

From what I understand, you should not set device permissions of /dev/oracleasm since oracleasm takes care of it according to /etc/init.d/oracleasm configure.
The problem in your case seems to be that ASM refuses to initialize and write metadata to your device. Was the device previously used by ASM? ASM will fail to initialize a device that contains previous ASM metadata. To erase the device you will need to use the dd command, e.g. dd if=/dev/zero of=/dev/sdb. Both ASMLib and raw devices require the candidate disks to be partitioned before they can be accessed. To create a partition on /dev/sdb, for instance, type fdisk /dev/sdb and create a standard partition using the defaults. This will create /dev/sdb1 and you can try oracleasm createdisk again.
You may try the above, but anyway, I was not sure how much you can trust your installation. The problem could also be that you installed the oracleasm kernel driver and asmlib software for OEL 5. Oracle Linux 6 includes an oracleasm kernel driver and as far as I remember you must not install another oracleasm kernel driver. Using modprob oracleasm and installing oracleasm support package using yum should do the trick. You may also need to download and install the asmlib package for the Oracle ASM grid install to see the ASM disks.

Similar Messages

  • Cannot create file "/Applications/ " Permission denied.

    When installing new software Iget the following error message: "Cannot create file "/Applications/ ". Permission denied. I have used disk utilities to try to repair my permissions with no sucsess. I have also tried reinstaling the software. Any advise is appreciated.
    I am using Mac OS X Yosemite 10.10.2 and Safari 8.0.4

    You may need to rebuild permissions on your user account. To do this,boot to your Recovery partition (holding down the Command and R keys while booting) and open Terminal from the Utilities menu. In Terminal, type:  ‘resetpassword’ (without the ’s), hit return, and select the admin user. You are not going to reset your password. Click on the icon for your Macs hard drive at the top. From the drop down below it select the user account which is having issues. At the bottom of the window, you'll see an area labeled Restore Home Directory Permissions and ACLs. Click the reset button there. The process takes a few minutes. When complete, restart.   
    Repair User Permissions

  • Cannot make folder /cookies: Permission denied (error 13)

    I can not successfully install the Creative Cloud Installer. I continually get
    Error Starting Creative Cloud
    cookies dir: cannot make folder /cookies: Permission denied (error 13)
    I have tried verifying disk permissions using the disk utility on my macpro retina. This is a brand new computer (less than a week). I've also tried changing cookies permissions to allow for third party cookies.
    I don't know what the problem is.

    I had this same irritating problem. Thanks to this forum and some helpful instructions from Adobe Customer Support online I have been able to sort it out. For those who've read this far down the thread, here are the instructions from Adobe, which worked a treat - and also cured a problem I was having with Adobe Reader XI for Mac (internal error message meaning I couldn't use Reader and none of my pdfs would open with Preview either!)
    1. Please Open Finder and click on Applications on left hand side of Finder window.
    2. Navigate to Applications->Utilities ->Adobe Installers. Double click on Uninstall Adobe Creative Cloud and follow the onscreen instructions.
    3. Delete Adobe Application Manager folder from Applications/Utilities.
    4. Open Finder. Click on Go in Finder menu and choose Go to Folder. Type /Library/Application Support/Adobe in Go to folder and press return key. You will have Adobe folder open in Finder.
    5. Delete AdobeApplicationManager and OOBE folder.
    6. Click on Go in Finder menu and choose Go to Folder again. Type ~/Library/Application Support/Adobe in Go to folder and press return key.
    7. Delete AAMUpdater and OOBE folder from Adobe.
    8. Click on Go in Finder menu and choose Go to Folder again. Type ~/Library/Application Support and press return key.
    9. Right click on Adobe folder and choose Get Info.
    10. Click the lock icon at bottom of Get Info window to unlock it, then enter an administrator’s name and password.
    11. Click on + icon and choose select all users on pop up and window and choose Select.
    12. Change the permissions for all Users to Read and Write.
    13. Choose "Apply to enclosed items" from the Action pop-up menu (looks like a gear).
    14. Try installing the Creative Cloud Desktop application from below link.
    https://ccmdls.adobe.com/AdobeProducts/KCCC/1/osx10/CreativeCloudInstaller.dmg
    Please launch Adobe Creative Cloud Desktop application and check if you are able to sign in.

  • Error Starting Creative Cloud. Cookies dir: cannot make folder / cookies : permission denied ( error 13).

    After paying  for using CC, cant use it. it says:   Error Starting Creative Cloud. Cookies dir: cannot make folder / cookies : permission denied ( error 13)
    any ideas??

    Pablosanchezphotoshop do you have sufficient disk space?  Are you logged in under an administrator account?  Finally which operating system are you using?

  • I am having problems installing creative cloud due to cookies dir(?)it says cannot make folder/cookies: permission denied(error 13)

    I am having problems installing creative cloud: It says "cannot make folder/Cookies:permission denied (error13)

    Try below steps
    Click on Finder and then hold Command + Shift + G keys on your keypad
    It will open Go to folder window, type  exactly ~/Library and click on Go  ( make sure to opeb ~/Library not /Library, there will two library )
    Then open Application Support
    Right click on Adobe folder
    Click on get info
    Under sharing and permission click on lock icon and unlock it
    Click on symbol and Add Administrator and your current user name ( if not added )
    Then give read and write permission to user name, admin, system and every one
    Then click on Gear icon and select 'Apply to Enclosed
    Click on lock icon
    Try to install Creative Cloud App.

  • I get an error stating cc cookies dir: cannot make folder / cookies: Permission denied (error 13) when I attempted to download the creative cloud installer on my Mac. Can anyone help with similar pop up window?

    I get an error stating cc cookies dir: cannot make folder / cookies: Permission denied (error 13) when I attempted to download the creative cloud installer on my Mac. Can anyone help with similar pop up window?  I'm trying to get a trial version of CS5. 

    You do not need to involve Creative Cloud to install/try the trial version of CS5...
    You can download the trial version of the software thru the page linked below and then use your current serial number to activate it.
    Be sure to follow the steps outlined in the Note: Very Important Instructions section on the download pages at this site and have cookies enabled in your browser or else the download will not work properly.
    CS5: http://prodesigntools.com/all-adobe-cs5-direct-download-links.html

  • I just purchased a Creative Cloud subscription and I was trying to install Photoshop, but I receive the error message 'Error Starting Creative Cloud - cookies dir: cannot make folder /cookies Permission denied (error 13)'

    I just purchased a Creative Cloud subscription and I was trying to install Photoshop, but I receive the error message 'Error Starting Creative Cloud - cookies dir: cannot make folder /cookies Permission denied (error 13)'

    Hi Arjun and tphc,
    try the solution I found and tested at this other thread:
    http://forums.adobe.com/message/5628798
    I think it could be helpful for you too!
    Cheers,
    Marco

  • What to do with this? "cookies dir: cannot make folder /cookies: Permission denied (error 13)"

    What to do in this case???
    cookies dir: cannot make folder /cookies: Permission denied (error 13)

    Re: Installing Creative Cloud Desktop but I got Error 13 an issue permission on my MacBookPro, why?

  • Getting an error message that says: "Error starting Creative Cloud"  "cookies dir: cannot make folder / cookies: Permission denied (error 13)"

    getting an error message that says: "Error starting Creative Cloud"  "cookies dir: cannot make folder / cookies: Permission denied (error 13)"

    Please refer the thread: Installing Creative Cloud Desktop but I got Error 13 an issue permission on my MacBookPro, why?.
    Regards,
    Romit Sinha

  • I get an error starting cc cookies dir: cannot make folder / cookies: Permission denied (error 13)

    I get an error starting cc cookies dir: cannot make folder / cookies: Permission denied (error 13) when downloading the creative cloud installer on my imac osx desktop. Can anyone help with similar pop up window?

    Swallow what is the exact error which you are receiving?  Also what version of Mac OS are you using specifically?  Finally what Adobe software title are you currently attempting to install?

  • Startx: xf86OpenConsole: Cannot Open /dev/tty0 (Permission Denied)

    running startx as normal user gives me the following error:
    xf86OpenConsole: Cannot Open /dev/tty0 (Permission Denied)
    it seems to run ok as root... but I obviously don't want to be doing that all the time. I guess that means its a permission issue, but what, where, when and how?
    I searched the forums and found one article from last year with similar errors after an updated Xorg package, apparently that was fixed and it gave me no insight as to how to manually fix this error.
    I'm just starting with Arch and its my first 'advanced' distro (been mostly running ubuntu up until now)... hence, I've never had to set up Xorg etc before.

    $ groups
    users
    $ls -l /dev/tty0
    lrwxrwxrwx 1 root root 4 2007-10-17 08:54 /dev/tty0 -> vc/0
    I've already tried adding the group 'users' to /dev/tty0 but when I restart it just goes back to 'root'
    When I do add the group 'users', it seems to get past the problem with /dev/tty0 and it gives me this error:
    xf86OpenConsole: Cannot open virtual console 7 (Permission Denied)

  • Cookies did: cannot make folder/ cookies: permission denied (error 13)

    cookies did: cannot make folder/ cookies: permission denied (error 13)
    can't download creative cloud

    Well, then by all means check the user privileges on your user folder...
    Mylenium

  • Can't install always this cookies dir: cannot make folder /cookies: Permission denied (error 13), Guy

    Always following error by installing
    cookies dir: cannot make folder /cookies: Permission denied (error 13)
    Mvg,
    Guy Meurs

    HI Fotografiemeurs,
    Please check the following forum posts.
    Re: How do I fix error code 13 when starting Creative Cloud?
    Cheers,
    Kartikay Sharma

  • Cannot create scheduled task, access denied

    Windows Server 2003 R2
    I am logged in as a local administrator and cannot create a scheduled task:
    [Task Scheduler]
    The new task could not be created.
    The specific error is:
    0x80070005: Access is denied.
    Try using the Task page Browse button to locate the application.
    [OK]
    My research lead me to look look in the Group Policy Object Editor for:
    Windows Settings > Security Settings > File System > %SystemRoot%\Tasks
    On this machine, there is no "File System" folder. In the MSDN Library, I find:
    "The File System folder is available only in Group Policy objects associated with domains, OUs, and sites. The File System folder does not appear in the Local Computer Policy object."
    Any ideas?

    found this information, problem solved...
    Problem Description:
    ===================
    When trying to create a new scheduled task, error occurred "The new task could not be created." "0x80070005: Access is denied. Try using the Task page Browse button to locate the application."
    Cause:
    ===================
    The Administrators group lack permission on the C:\WINDOWS\Tasks folder.
    Resolution:
    ===================
    Start - Run - CMD - C:/windows - CACLS TASKS /E /G builtin\administrators:F
    The steps above grant Administrators group full control permission to the C:\WINDOWS\Tasks folder.
    Again, thank you for posting in the SBS newsgroups. Please feel free to contact us again in the future.
    Best regards,
    Robbin Meng(MSFT)
    Microsoft Online Newsgroup Support

  • Cannot create recovery disk after update to Win 8.1 on G580

    Friends
    I have a Lenovo G580 that came with Win 8.0 preinstalled. I upgraded it to Win 8.1 over the Internet.
    When I try to run the "Create recovery disk" I get the error that states that "We cannot create a recovery drive for this PC. Some required files are missing..."
    I found out that the winre.wim file that is supposed to be in the C:\Windows\System32\Recovery folder is not there. I cannot locate it anywhere on the C or D drives either. I believe there is a copy on one or more of the recovery partitions but I do not know how to get that file from those partitons.
    I am confused as to why there are seven partitions on that one drive:
    1 Recovery partition 1000 MB
    2 EFI system partition 260 MB
    3 OEM partition 1000 MB
    4. Recovery partition 350 MB
    5. Recovery partition 20 GB
    6. Lenovo D: 25 GB
    7. Windows 8 C: 250 GB
    Can someone help me and give me some instructions on how I can fix the system to find the winre.wim file?
    Thanks for any good input.
    Calle

    Hi Calle,
    Welcome to Lenovo Community Forums!
    I’m sorry to hear that the error message is displayed in your G580 Laptop, as the OS (Operating System) installed is Windows 8.1 or Windows 8. Recovery discs cannot be created only a “Recovery Media” can be created using USB Flash drive, below is the link to create USB recovery drive.
    Create a USB Recovery Drive
    Do post us back if the issue persists.
    Best Regards
    Shiva Kumar
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

Maybe you are looking for

  • Installing boot camp on a separate disk

    This is pretty basic, but I couldn't find an answer. Better to ask than to mess up an install: The Installation & Setup Guide says that if you want to install on a separate disk, you should remove the drives in the lower numbered bays (then reinstall

  • Building an Application in Windows to be used in Linux (with the Run-Time Engine)

    Hi All, I have an LabVIEW project I have developed in a Windows environment.  I can create an Application (.exe) using the Build Specification -> Application Builder which works fine on the development platform. I now want to distribute the applicati

  • RFC_GET_TABLE_ENTRIES Is it possible to filter values

    Hi   Is it possible to filter rows while using RFC_GET_TABLE_ENTRIES. It has from_key and to_key but they dont seem to work. I have specified value of all key parameters concatenated into from_key/to_key but they don't seem to work. What is to be sup

  • Spry accordian panel not closing

    I have created a page using both the spry tabbed panels and accordian panels. The accordian panels are in the content sections of the tabbed ares. I want the accordian panels to be closed initially, and whenever you click on the tab of the panel it w

  • Reg. Image Uploading Urgent

    Hi dudes, Here I am trying to upload an image fromy my local system to database using File Streams,jsp and using tomcat server its working fine in my local system and when i am trying to access the same program through network here its giving 404 err