/etc/init.d/oracleasm createdisk FAILED
Hi DBAs,
We got this error when creating asm disk using /etc/init.d/oracleasm create disk. The disks are HDS and EMC Powerpath. Any advices are greatly appreciated.
Below are the steps we've done:
[root@host1]# /etc/init.d/oracleasm createdisk ocrdisk1 /dev/raw/raw1
Marking disk "ocrdisk1" as an ASM disk: [FAILED]
cat /etc/sysconfig/rawdevices
# raw device bindings
# format: <rawdev> <major> <minor>
# <rawdev> <blockdev>
# example: /dev/raw/raw1 /dev/sda1
# /dev/raw/raw2 8 5
/dev/raw/raw1 /dev/emcpowerb
[root@host1]# /sbin/service rawdevices restart
Assigning devices:
/dev/raw/raw1 --> /dev/emcpowerz
/dev/raw/raw1: bound to major 120, minor 16
done
[root@host1]# set -o vi
[root@host1]# /etc/init.d/oracleasm createdisk ocrdisk1 /dev/raw/raw1
Marking disk "ocrdisk1" as an ASM disk: [FAILED]
Thanks for sharing the solution ..
Please mark the thread as answered.
Regards
Rajesh
Similar Messages
-
Hi all,
Oracle unbreakable linux
oracle 10.2.0.1
I got this error while mark ing the disks for use by ASMLib
/etc/init.d/oracleasm createdisk VOL1 [failed]
I already performed the steps mentioned below
uname -rm
Ex:
# uname -rm
2.6.9-22.ELsmp i686
The example shows that this is a 2.6.9-22 kernel for an SMP (multiprocessor) box using Intel i686 CPUs.
Use this information to find the correct ASMLib packages on OTN:
1. Point your Web browser to http://www.oracle.com/technology/tech/linux/asmlib/index.html
2. Select the link for your version of Linux.
3. Download the oracleasmlib and oracleasm-support packages for your version of Linux
4. Download the oracleasm package corresponding to your kernel. In the example above, the oracleasm-2.6.9-22.ELsmp-2.0.0-1.i686.rpm package was used.
Next, install the packages by executing the following command as root:
rpm -Uvh oracleasm-kernel_version-asmlib_version.cpu_type.rpm \
oracleasmlib-asmlib_version.cpu_type.rpm \
oracleasm-support-asmlib_version.cpu_type.rpm
Ex:
# rpm -Uvh \
> oracleasm-2.6.9-22.ELsmp-2.0.0-1.i686.rpm \
> oracleasmlib-2.0.1-1.i386.rpm \
> oracleasm-support-2.0.1-1.i386.rpm
Preparing... ########################################### [100%]
1:oracleasm-support ########################################### [ 33%]
2:oracleasm-2.6.9-22.ELsm########################################### [ 67%]
3:oracleasmlib ########################################### [100%]
Configuring ASMLib
Before using ASMLib, you must run a configuration script to prepare the driver. Run the following command as root, and answer the prompts as shown in the example below.
# /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 []: dba
Start Oracle ASM library driver on boot (y/n) [n]: y
Fix permissions of Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: [ OK ]
Creating /dev/oracleasm mount point: [ OK ]
Loading module "oracleasm": [ OK ]
Mounting ASMlib driver filesystem: [ OK ]
Scanning system for ASM disks: [ OK ]
but when i tried this
/etc/init.d/oracleasm createdisk VOL1 /dev/sda2
Marking disk "/dev/sda2" as an ASM disk: [ Failed]
i got this error
Please give me the solution,
ThanksI have found this on /var/log/oracleasm
Creating /dev/oracleasm mount point: /dev/oracleasm
Loading module "oracleasm": oracleasm
Mounting ASMlib driver filesystem: /dev/oracleasm
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
Unable to open device "/dev/sda2": Device or resource busy
Unable to open device "/dev/sda1": Device or resource busy
Unable to open device "/dev/sda": Device or resource busy
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
Unable to open device "/dev/sda2": Device or resource busy
Unable to open device "/dev/sda1": Device or resource busy
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
Unable to open device "/dev/sda2": Device or resource busy
Unable to open device "/dev/sda2": Device or resource busy
Unable to open device "/dev/sda2": Device or resource busy
Creating /dev/oracleasm mount point: /dev/oracleasm
Loading module "oracleasm": oracleasm
Mounting ASMlib driver filesystem: /dev/oracleasm
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
Unable to open device "/dev/sda2": Device or resource busy
Unable to open device "/dev/sda1": Device or resource busy
Unable to open device "/dev/sda": Device or resource busy
Unable to open device "/dev/sda1": Device or resource busy
Unable to open device "/dev/sda2": Device or resource busy
Unable to open device "/dev/sda2": Device or resource busy
Unable to query file "/dev/sda2p1": No such file or directory
Unable to open device "/dev/sda1": Device or resource busy
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
Unable to open device "/dev/sda2": Device or resource busy
Unable to open device "/dev/sda1": Device or resource busy
Unable to open device "/dev/sda": Device or resource busy
Unable to query file "/dev/sdap1": No such file or directory
Disk "VOL1" does not exist or is not instantiated
Unable to query file "/dev/sdap1": No such file or directory
Unable to query file "/dev/sda2p1": No such file or directory
Unable to query file "/dev/sdap1": No such file or directory
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
Unable to query file "/dev/sda2p2": No such file or directory
Unable to query file "/dev/sda2p2": No such file or directory
Unable to query file "/dev/sda2p3": No such file or directory
Unable to query file "/dev/sda2p4": No such file or directory
Unable to query file "/dev/sda2p2": No such file or directory
Unable to query file "/dev/sda2p3": No such file or directory
Unable to query file "/dev/sda2p4": No such file or directory
Unable to open device "/dev/sda3": Device or resource busy -
Hi All,
I'm trying to create asm disk.
This is my device (750GB) fdisk configuration before i format it using mkfs.ocfs2
[root@linux02 ~]# fdisk -l /dev/sdb1
Disk /dev/sdb1: 750.1 GB, 750153729024 bytes
255 heads, 63 sectors/track, 91200 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1p1 1 123 987966 83 Linux
/dev/sdb1p2 124 6203 48837600 83 Linux
/dev/sdb1p3 6204 12283 48837600 83 Linux
/dev/sdb1p4 12284 24442 97667167+ 83 Linux
When i come to create an ASM partition on /dev/sdb1p2 it gives me the foolowing error
[root@linux01 ~]# /etc/init.d/oracleasm createdisk VOL1 /dev/sdb1
Marking disk "/dev/sdb1" as an ASM disk: asmtool: Unable to clear device "/dev/sdb1": Input/output error
FAILED]
When i tried to create an asm disk on the whole disk it gives me
[root@linux02 ~]# /etc/init.d/oracleasm createdisk VOL1 /dev/sdb1
Marking disk "/dev/sdb1" as an ASM disk: asmtool: Unable to clear device "/dev/sdb1": Input/output error
FAILED]
What should i do?!!
Please Help me Guys.Hi,
I tried to do on p1 partition but it also did not work. orcfs2 was running so it was locking the partition (i figure it out). I made stop for ocfs2 then created the disk using oraclasm on sdb1 and it did not work on sdb1px (I don't know why!!!).
Now if i go to fdisk -l /dev/sdb1 it does not recognize the partition table.
[root@linux01 /]# fdisk -l
Disk /dev/sda: 80.0 GB, 80032038912 bytes
255 heads, 63 sectors/track, 9730 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 9730 78051802+ 8e Linux LVM
Disk /dev/sdb: 750.1 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 91201 732572001 83 Linux
but when i execute this:
[root@linux01 /]# fdisk -l /dev/sdb1
Disk /dev/sdb1: 750.1 GB, 750153729024 bytes
255 heads, 63 sectors/track, 91200 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdb1 doesn't contain a valid partition table
What is missing here?!!! -
I am using 11.2.0.1.0 on RHEL5. There is a database that is running on ASM. Database is properly working. Now I want to create additional asm disks . And, for I have configured new loop back devices. oracelasm craetedisk comamnd fails by saying:
[oracle@host1 ~]$ oracleasm createdisk ASMDISK08 /dev/xvd8
Writing disk header: done
Instantiating disk: failed
Clearing disk header: done
[root@host1 ~]# ls -l /dev/xvd*
lrwxrwxrwx 1 root root 10 Oct 25 15:38 /dev/xvd1 -> /dev/loop1
lrwxrwxrwx 1 root root 11 Oct 25 15:38 /dev/xvd10 -> /dev/loop10
lrwxrwxrwx 1 root root 11 Oct 25 15:38 /dev/xvd11 -> /dev/loop11
lrwxrwxrwx 1 root root 11 Oct 25 15:38 /dev/xvd12 -> /dev/loop12
lrwxrwxrwx 1 root root 11 Oct 25 15:38 /dev/xvd13 -> /dev/loop13
lrwxrwxrwx 1 root root 10 Oct 25 15:38 /dev/xvd2 -> /dev/loop2
lrwxrwxrwx 1 root root 10 Oct 25 15:38 /dev/xvd3 -> /dev/loop3
lrwxrwxrwx 1 root root 10 Oct 25 15:38 /dev/xvd4 -> /dev/loop4
lrwxrwxrwx 1 root root 10 Oct 25 15:38 /dev/xvd5 -> /dev/loop5
lrwxrwxrwx 1 root root 10 Oct 25 15:38 /dev/xvd6 -> /dev/loop6
lrwxrwxrwx 1 root root 10 Oct 25 15:38 /dev/xvd7 -> /dev/loop7
lrwxrwxrwx 1 root root 10 Oct 25 15:38 /dev/xvd8 -> /dev/loop8
lrwxrwxrwx 1 root root 10 Oct 25 15:38 /dev/xvd9 -> /dev/loop9
[root@host1 ~]# ls -l /dev/loop[1-9]
brw-rw-rw- 1 oracle oinstall 7, 1 Oct 25 15:37 /dev/loop1
brw-rw-rw- 1 oracle oinstall 7, 2 Oct 25 15:37 /dev/loop2
brw-rw-rw- 1 oracle oinstall 7, 3 Oct 25 15:37 /dev/loop3
brw-rw-rw- 1 oracle oinstall 7, 4 Oct 25 15:37 /dev/loop4
brw-rw-rw- 1 oracle oinstall 7, 5 Oct 25 15:37 /dev/loop5
brw-rw-rw- 1 oracle oinstall 7, 6 Oct 25 15:37 /dev/loop6
brw-rw-rw- 1 oracle oinstall 7, 7 Oct 25 15:37 /dev/loop7
brw-rw-rw- 1 oracle oinstall 7, 8 Oct 25 15:38 /dev/loop8
brw-rw-rw- 1 oracle oinstall 7, 9 Oct 25 15:38 /dev/loop9
[root@host1 ~]# getenforce
Disabled
SQL> startup
ASM instance started
Total System Global Area 284565504 bytes
Fixed Size 1336036 bytes
Variable Size 258063644 bytes
ASM Cache 25165824 bytes
ASM diskgroups mounted
ASM diskgroups volume enabled
Any idea? where is the issue?
Thanks and regardsduplicate post
oracleasm createdisk failed
Edited by: rcc50886 on Oct 29, 2012 11:39 AM -
ASMlib /etc/init.d/oracleasm listdisks
This is the output of my ASM after configureing asmlib, is this asm disk group?
[root@xxx rpms]# /etc/init.d/oracleasm listdisks
ASMDISK1As per oracle documentation i need these rpm , right? MY OS is RHEL4
Red Hat Enterprise Linux 4 (Update 1):Packages
The following packages (or later versions) must be installed:
binutils-2.15.92.0.2-10.EL4
binutils-2.15.92.0.2-13.0.0.0.2.x86_64
compat-db-4.1.25-9
control-center-2.8.0-12
gcc-3.4.3-9.EL4
gcc-c++-3.4.3-9.EL4
glibc-2.3.4-2
glibc-common-2.3.4-2
gnome-libs-1.4.1.2.90-44.1
libstdc++-3.4.3-9.EL4
libstdc++-devel-3.4.3-9.EL4
make-3.80-5
Note: XDK is not supported with gcc on Red Hat Enterprise Linux 4. -
/etc/init.d/oracleasm configure do not create /dev/oracleasm mountpoint
Dear All,
I have to put my question like this, I am following humter_rac10gr2_iscsi. I have done everything as per documentation and the results so far have been ok. When i come to the part where we have to create ASM volumes and when i after installing asm library give the following command:
/etc/init.d/oracleasm configure
The commd runs sucessfully but misses the folling line that is in documentation:
Creating /dev/oracleasm mount point: [OK]
Because of this miss I guess last time when i reached the poing during dbca database creation where it shows ASM volumes, it did not discover any ASM volumes and i was stuck at this point.
Kindly help me on this?
Regards, Imran baigHello,
Well i run /etc/init.d/oracleasm configure command as root user.
Yesh I have just checked i can cd to /dev/oracleasm/disks and can find
VOLl VOL2 VOL3 VOL4 there
I have delete first and then create ASM volumes and now i can scan and list then from both nodes.
/etc/init.d/oracleasm status says that
Checking if ASM is loaded: [OK]
Checking if /dev/oracleasm is mounted: [OK] :)
But id did not show it during configuration and similary when i run dbca at the screen where to specify volumes, nothing is there even when i cange disk path to ORCL:VOL* there is nothing....
Kindly help with the dbca configurations so that it pick up the ASM VOLUMES.
Regards,
Imran -
[root@rac1 etc]# /sbin/sfdisk -s
/dev/sda: 20971520
/dev/sdb: 524288
/dev/sdc: 3145728
/dev/sdd: 3145728
/dev/sde: 2097152
[root@rac1 etc]#
[root@rac1 etc]# /etc/init.d/oracleasm createdisk VOL1 /dev/sdc1
Marking disk "/dev/sdc1" as an ASM disk: Error opening manager: No such device or address
[FAILED]
[root@rac1 etc]#user551201 wrote:
[root@rac1 etc]# /sbin/sfdisk -s
/dev/sda: 20971520
/dev/sdb: 524288
/dev/sdc: 3145728
/dev/sdd: 3145728
/dev/sde: 2097152i dont see /dev/sdc1 here which you tryied to configure below.
[root@rac1 etc]#
[root@rac1 etc]# oracleasm createdisk
Marking disk "/dev/sdc1" as an ASM disk: Error opening manager: No such device or addressit seems that you are specifying partition that dont exists.
[FAILED]
[root@rac1 etc]# -
Oracleasm createdisk just like pvcreate by LVM?
Hello
so before I create ASM diskgroup I need to oracleasm createdisk frist.
So,Does it like "pvcreate" on LVM ?Hi,
What is your OS?
The command is for example /etc/init.d/oracleasm createdisk ASMDATA /dev/sdc1, this command will mark partition /dev/sdc1 as an ASM Disk
Cheers -
oracle10G RAC is installed on centos5.5.the nodes all is normal. but db2 was abnormal after db2 rebooted.
db1:crs_stat -t
Name Type Target State Host
ora....E1.inst application ONLINE ONLINE db1
ora....E2.inst application ONLINE OFFLINE
ora....TEDB.db application ONLINE ONLINE db1
ora....SM1.asm application ONLINE ONLINE db1
ora....B1.lsnr application ONLINE ONLINE db1
ora.db1.gsd application ONLINE ONLINE db1
ora.db1.ons application ONLINE ONLINE db1
ora.db1.vip application ONLINE ONLINE db1
ora....SM2.asm application ONLINE OFFLINE
ora....B2.lsnr application ONLINE OFFLINE
ora.db2.gsd application ONLINE OFFLINE
ora.db2.ons application ONLINE OFFLINE
ora.db2.vip application ONLINE ONLINE db1
tail -50 /var/log/oracleasm and show messages:
Scanning system for ASM disks...
Disk "VOL1" does not exist or is not instantiated
Instantiating disk "VOL1"
oracleasm-instantiate-disk: Unable to open manager: No such device or address
Unable to instantiate disk "VOL1"
Disk "VOL2" does not exist or is not instantiated
Instantiating disk "VOL2"
Loading module "oracleasm": failed
db2:crs_stat -t and showmessages:
Name Type Target State Host
ora....E1.inst application ONLINE ONLINE db1
ora....E2.inst application ONLINE OFFLINE db2
ora....TEDB.db application ONLINE ONLINE db1
ora....SM1.asm application ONLINE ONLINE db1
ora....B1.lsnr application ONLINE ONLINE db1
ora.db1.gsd application ONLINE ONLINE db1
ora.db1.ons application ONLINE ONLINE db1
ora.db1.vip application ONLINE ONLINE db1
ora....SM2.asm application ONLINE ONLINE db2
ora....B2.lsnr application ONLINE ONLINE db2
ora.db2.gsd application ONLINE ONLINE db2
ora.db2.ons application ONLINE ONLINE db2
ora.db2.vip application ONLINE ONLINE db1
but /etc/init.d/oracleasm listdisks and show nothing.
/etc/init.d/oracleasm enable and show messages:Initializing the Oracle ASMLib driver: [FAILED]
start instance db2 and show messages:
PRKP-1001:Error starting instance db2 on node gdb2
CRS-0215:could not start resource 'ora.db.db2.inst'
[root@DB2 ~]# ls -l /dev/raw
total 0
crw-r--r-- 1 oracle oinstall 162, 1 Oct 14 22:29 raw1
crw-r--r-- 1 oracle oinstall 162, 2 Oct 14 22:29 raw2
crw-r--r-- 1 oracle oinstall 162, 3 Oct 14 22:29 raw3
Can anyone point me in the right direction.
Any help would be greatly appreciated.
Edited by: 868121 on 2011-10-14 下午5:50how u resolved it. can u please eloborate ? i am facing the same problem for instance on node1 on sun solaris having 10grac.
thanks in advance -
Oracleasm lib failed to load with "Invalid module format" error
Hi,
I'm tring to install the oracleasm lib onto our hardened Redhat EL5 server
I've download the oracleasm rpm from this page http://www.oracle.com/technology/software/tech/linux/asmlib/rhel5.html.
We're using Redhat 5 U 2
[root@PG673 modules]# uname -rm
2.6.18-92.el5 x86_64
[root@PG673 modules]#
The package I downloaded is an exact match with our kernel version
[root@PG673 modules]# rpm -qa | grep asm
oracleasm-2.6.18-92.el5-2.0.5-1.el5
oracleasm-support-2.1.3-1.el5
oracleasm-support-2.1.3-1.el5
oracleasm-2.6.18-92.el5-2.0.5-1.el5
oracleasmlib-2.0.4-1.el5
oracleasmlib-2.0.4-1.el5
[root@PG673 modules]#
RPM installation went well, but when we run the /etc/init.d/oracleasm configure command, we hit the following error
[root@PG673 other]# /etc/init.d/oracleasm configure
/etc/init.d/oracleasm: line 207: /usr/sbin/oracleasm: cannot execute binary file
Later we found out that the oracleasm module haven't been loaded, so we try to load it manually, but we hit the "Invalid module format" error.
[root@PG673 modules]# modprobe -l | grep asm
/lib/modules/2.6.18-92.el5/kernel/drivers/addon/oracleasm/oracleasm.ko
[root@PG673 modules]# modprobe oracleasm
FATAL: Error inserting oracleasm (/lib/modules/2.6.18-92.el5/kernel/drivers/addon/oracleasm/oracleasm.ko): Invalid module format
[root@PG673 modules]#
As I know this error could happen if the driver version is not match with the system kernel version.
The problem is we're already using an exact match version of driver with our system, I can't think of what to do next in order to proceed the installation.
Really appreciate if someone could point me a direction.
Thanks
MikeHi Mike,
something looks a bit strange for me. On my OEL 5.4 x64 system i have just the following 3 packages:
$ rpm -qa | grep asm
oracleasm-2.6.18-164.el5-2.0.5-1.el5
oracleasm-support-2.1.3-1.el5
oracleasmlib-2.0.4-1.el5 Your packages should be I think the following:
http://oss.oracle.com/projects/oracleasm-support/dist/files/RPMS/rhel5/amd64/2.1.3/oracleasm-support-2.1.3-1.el5.x86_64.rpm
http://otn.oracle.com/software/tech/linux/asmlib/files/RPMS/rhel5/amd64/2.0.4/oracleasmlib-2.0.4-1.el5.x86_64.rpm
http://oss.oracle.com/projects/oracleasm/dist/files/RPMS/rhel5/amd64/2.0.5/2.6.18-92.el5/oracleasm-2.6.18-92.el5-2.0.5-1.el5.x86_64.rpm
Uninstall all asm packages and retry with just those three.
Good luck!
Cheers,
David
OCP 9i / 10g
http://www.oratoolkit.ch/knowledge/howto/installation/otn.php -
$ sudo /etc/init.d/oracle-xe configure
Hello,
I installed XE 64bit on Ubuntu 10.10 after I used alien. When I do
$ sudo /etc/init.d/oracle-xe configure
I get,
Configuring database...grep: /u01/app/oracle/product/11.2.0/xe/config/log/*.log: No such file or directory
grep: /u01/app/oracle/product/11.2.0/xe/config/log/*.log: No such file or directory
Database Configuration failed. Look into /u01/app/oracle/product/11.2.0/xe/config/log for details
Thanks,
Eric J.I get this error on fedora 14. Turns out the problem was that SELinux was blocking lsnrctl. Following the instructions from /var/log/messages fixed the specific problem (though it showed up again for sqlplus and was fixed in the same way). Presumably, disabling SELinux would fix the problem too.
Rodney -
/etc/init.d/vboxdrv setup issue
Hi,
I installed virtualBox 4 using Yum.
When I try to start a Virtual Machine it throws error and asks me to run "/etc/init.d/vboxdrv setup".
When I run the command, it throws following error:
================================
[root@slc01huu modules]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modules [ OK ]
Trying to register the VirtualBox kernel modules using DKMS
Error! Your kernel headers for kernel 2.6.18-238.0.0.0.1.el5xen cannot be found at
/lib/modules/2.6.18-238.0.0.0.1.el5xen/build or /lib/modules/2.6.18-238.0.0.0.1.el5xen/source.
[FAILED]
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong
====================================
Any idea?Error! Your kernel headers for kernel 2.6.18-238.0.0.0.1.el5xen cannot be found atI don't think that using the XEN kernel in Virtualbox is a good idea. You might rather try the original RHEL or Oracle UEK kernel. In order to install the Guest additions you need to install "kernel-devel/kernle-uek-devel" and "kernel-uek-headers/kernel-headers" packages depending on your kernel type.
-
i am trying to install oracle 11g xe on ubuntu aws instance when i execute sudo /etc/init.d/oracle-xe configure command iam getting this error: sudo: /etc/init.d/oracle-xe : command not found.
"command not found" means ... there is no such thing.
Has the .rpm been installed?
http://docs.oracle.com/cd/E17781_01/install.112/e18802/toc.htm#XEINL122 -
Rendering error whilst writing to file /filename etc./ An output module failed
I'm trying to render my composition in the latest AE CC 2014. I get the following error with all composition sizes and with different codecs: Rendering error whilst writing to file /filename etc./ An output module failed. The file may be damaged or corrupted (-1610153464). Can anyone help me sort this problem?
AE build number? Codec used? System OS?
-
Installing Oracle - /etc/init.d/oracle-xe configure command missing?
I've AMD64 system with Ubuntu 11.04 installed. It's been rough ride for me to install oracle-xe-universal. I've already spent more than 2 days on this. Still unsuccessful.
1) First I downloaded the packages libaio_0.3.104-1_i386.deb and oracle-xe-universal_10.2.0.1-1.1_i386.deb
2) Then I ran
sudo apt-get install bc (ran fine)
sudo dpkg -i --force-architecture libaio_0.3.104-1_i386.deb (ran fine)
sudo dpkg -i --force-architecture oracle-xe-universal_10.2.0.1-1.1_i386.deb (gave me dependency error for libc6 (>= 2.3.2), I modified the control file to remove dependency and rebuilt the package) (now worked fine)
Oracle xe is now installed. Then I tried to start the DB it started but it's HTTP client never started. So I decided to uninstall the oracle-xe=universal. None of the sudo apt-get remove oracle-xe-universal command's didn't worked for me. So i went for manual uninstallation directions as per oracle link.
I ran the following command-
Manually uninstalling Oracle 10g
sudo rm -rf /usr/lib/oracle /etc/oratab /etc/init.d/oracle-xe /etc/sysconfig/oracle-xe /usr/share/doc/oracle_xe /usr/share/doc/oracle_xe_client
Then I again ran the following command to install oracle-xe
sudo dpkg -i --force-architecture oracle-xe-universal_10.2.0.1-1.0_i386.deb
See below what I got as the output-
rocky@ubuntu:~/git/mygit/edas2/libaio$ sudo dpkg -i --force-architecture oracle-xe-universal_10.2.0.1-1.1_i386.deb
dpkg: warning: overriding problem because --force enabled:
package architecture (i386) does not match system (amd64)
(Reading database ... 184865 files and directories currently installed.)
Preparing to replace oracle-xe-universal:i386 10.2.0.1-1.1 (using oracle-xe-universal_10.2.0.1-1.1_i386.deb) ...
Unpacking replacement oracle-xe-universal:i386 ...
Setting up oracle-xe-universal:i386 (10.2.0.1-1.1) ...
Executing Post-install steps...
Processing triggers for ureadahead ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for man-db ...
Processing triggers for python-support ...
rocky@ubuntu:~/git/mygit/edas2/libaio$
Now if I try to run the following command, it says command not found-
rocky@ubuntu:~/git/mygit/edas2/libaio$ sudo /etc/init.d/oracle-xe configure
sudo: /etc/init.d/oracle-xe: command not found
rocky@ubuntu:~/git/mygit/edas2/libaio$
Even in applications menu I don't see the if oracle has been installed.
So i conclude first time installation was ok but somehow http client didn't worked.
After manual uninstallation, second installation didn't even loaded/installed the oracle-xe in init.d directory.
Please help here.user1680826 wrote:
I've AMD64 system with Ubuntu 11.04 installed. It's been rough ride for me to install oracle-xe-universal. I've already spent more than 2 days on this. Still unsuccessful.Not surprising, given that Ubuntu is not a supported OS for Oracle products.
Any reason you are not using a supported OS?
And any reason you are running two threads on the same problem? /etc/init.d/oracle-xe is missing?
>
1) First I downloaded the packages libaio_0.3.104-1_i386.deb and oracle-xe-universal_10.2.0.1-1.1_i386.deb
2) Then I ran
sudo apt-get install bc (ran fine)
sudo dpkg -i --force-architecture libaio_0.3.104-1_i386.deb (ran fine)
sudo dpkg -i --force-architecture oracle-xe-universal_10.2.0.1-1.1_i386.deb (gave me dependency error for libc6 (>= 2.3.2), I modified the control file to remove dependency and rebuilt the package) (now worked fine)
Oracle xe is now installed. Then I tried to start the DB it started but it's HTTP client never started. So I decided to uninstall the oracle-xe=universal. None of the sudo apt-get remove oracle-xe-universal command's didn't worked for me. So i went for manual uninstallation directions as per oracle link.
I ran the following command-
Manually uninstalling Oracle 10g
sudo rm -rf /usr/lib/oracle /etc/oratab /etc/init.d/oracle-xe /etc/sysconfig/oracle-xe /usr/share/doc/oracle_xe /usr/share/doc/oracle_xe_client
Then I again ran the following command to install oracle-xe
sudo dpkg -i --force-architecture oracle-xe-universal_10.2.0.1-1.0_i386.deb
See below what I got as the output-
rocky@ubuntu:~/git/mygit/edas2/libaio$ sudo dpkg -i --force-architecture oracle-xe-universal_10.2.0.1-1.1_i386.deb
dpkg: warning: overriding problem because --force enabled:
package architecture (i386) does not match system (amd64)
(Reading database ... 184865 files and directories currently installed.)
Preparing to replace oracle-xe-universal:i386 10.2.0.1-1.1 (using oracle-xe-universal_10.2.0.1-1.1_i386.deb) ...
Unpacking replacement oracle-xe-universal:i386 ...
Setting up oracle-xe-universal:i386 (10.2.0.1-1.1) ...
Executing Post-install steps...
Processing triggers for ureadahead ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for man-db ...
Processing triggers for python-support ...
rocky@ubuntu:~/git/mygit/edas2/libaio$
Now if I try to run the following command, it says command not found-
rocky@ubuntu:~/git/mygit/edas2/libaio$ sudo /etc/init.d/oracle-xe configure
sudo: /etc/init.d/oracle-xe: command not found
rocky@ubuntu:~/git/mygit/edas2/libaio$
Even in applications menu I don't see the if oracle has been installed.
So i conclude first time installation was ok but somehow http client didn't worked.
After manual uninstallation, second installation didn't even loaded/installed the oracle-xe in init.d directory.
Please help here.Edited by: EdStevens on Jul 24, 2011 4:56 PM
Maybe you are looking for
-
Error while using the XMLP API to generate a report
Hi all, I am trying to generate a report using stand-alone application by the JAVA API (User doc Ch 11). I am using RFT template for this. Step1: Create XSL from RTF file. I could do this. Example is given in page 262 of the guide. Here is the code s
-
Lenovo Y510 - Vista 32BIT to 7 64BIT Error message when installing software.
[IMG]http://i19.photobucket.com/albums/b159/Ishbar/Untitled-7.png[/IMG] This is the message I get forl ONE KEY RECOVERY software. Power2GO Dvd Software Shuttle Center Software Energy Management Software & Veriface Software. This model was bought thro
-
Tool to migrate configurations from Dev to Prod
Is there a tool to migrate configurations from one Oracle environment to another? For instance, to move a flexfield setup I created in Development environment to our Production environment. Both systems are the same version. I just didn't want to re-
-
When I'm on the internet using the airport, I loose my connection all the time. The I don't loose the internet, it just like freezes and eventually it will come back and the action I have tried to get it to do, like go to another page or link etc. it
-
Hello, I have a Web Application using BC4J with an application module pool. So sometimes the passivation mechanism of application module occurs (I use passivation in database). I need to preserve the context of a user accross several requests, so my