/etc/init.d/oracle-xe status gives /bin/su: /bin/bash: Permission denied
Hi all,
This is my first attempt at Oracle so I tried XE on a linux machine (RedHat Enterprise).
Install and configuration went fine, however trying http://localhost:8080/apex gives me a connection refused message. So i tried '/etc/init.d/oracle-xe status' to check the status. However i got the following message : '/bin/su: /bin/bash: Permission denied'.
I installed as root. What gives? What did i do wrong?
Fixed that issue. I had to set the permission to enter the directory also and to execute these two files. I have the following problem now though. See below:
[root@localhost root]# /etc/init.d/oracle-xe status
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 09-AUG-2006 19:57:42
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 111: Connection refused
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 111: Connection refused
Similar Messages
-
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 -
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 -
Starting Oracle XE on linux by /etc/init.d/oracle-xe start
Hello,
I installed Oracle Database 10g Express Edition on a Linux Ubuntu 7.04 (feisty)
following official installation instructions found here
http://www.oracle.com/technology/software/products/database/xe/files/install.102/b25144/toc.htm#BABCEAHD
but I noticed a weird behavior.
The installation process was ok.
The configuration process (/etc/init.d/oracle-xe configure) was also ok.
I set everything on default except for the “starting on boot” option I choose NO, because the instructions let me understand that I can start the service manually by the command:
$ /etc/init.d/oracle-xe start
The configuration process at the end also started the service well, so I could test my new oracle installation on my web browser following the url http://127.0.0.1:8080/apex
Everything went fine... but...
On the next boot I wanted to start my oracle so I typed
sudo /etc/init.d/oracle-xe start
but nothing happened and the server didn't go up.
Looking into to script /etc/init.d/oracle-xe
we can find this switch
case "$1" in
start)
if test -f "$CONFIGURATION"
then
if test "$ORACLE_DBENABLED" != "true"
then
exit 0
fi
else
echo "Oracle Database 10g Express Edition is not configured. You must run
'/etc/init.d/oracle-xe configure' as the root user to configure the database."
exit 0
fi
start
this means that if you chose NO (N) for the “starting on boot” option on the configuration process (NB this choice put false in the env variable ORACLE_DBENABLED) you can't start the dbms by this script.
I try comment the few lines
then
#if test "$ORACLE_DBENABLED" != "true"
#then
# exit 0
#fi
else
and this time the server starts well.
So I deduced that something was wrong with the script and the official installation instructions.Yes... Thank you.
But I saw the problem could to be simple avoided using the options
enable/disable for the script /etc/init.d/oracle-xe,
If you choose not to start oracle at boot time, you can start it
manually by the sequence
/etc/init.d/oracle-xe enable
/etc/init.d/oracle-xe start
then when you want to stop it
/etc/init.d/oracle-xe stop
/etc/init.d/oracle-xe disable
by this last command we don't make oracle restart
at the next system boot.
I think it would be a good thing to update the reference
documentation at
http://www.oracle.com/technology/software/products/database/xe/files/install.102/b25144/toc.htm#BABCEAHD
to explain this situation better. -
/etc/init.d/oracle-xe not found
Hi,
I installed oracle-xe-universal 10g on debian 4 after that manually deistalled
see:
http://www.oracle.com/technology/software/products/database/xe/files/install.102/b25144/toc.htm#CIHDDHJD
then I installed xe again.
My second installation was ok. But I didn't find /etc/init.d/oracle-xe for configuration (First installation worked fine, init.d/oracle-xe existed). 2nd installation didn't display oracle-xe icons in applications menu at Gnome too.
If I try reinstall this in Gnome /etc/init.d/oracle-xe will be contained in package installer/includes files - but not relly.
Could you help me please.
Message was edited by:
PerseusYes dpkg has a purge flag.
dpkg --purge packagename will remove the entire package + support/config files for it.
Use carefully.
MaShaun -
Bash: /etc/init.d/oracle-xe: Permission denied
arjun@ubuntu:~$ sudo su
root@ubuntu:/home/arjun# /etc/init.d/oracle-xe configure
bash: /etc/init.d/oracle-xe: Permission denied
root@ubuntu:/home/arjun#Hi,
arjun@ubuntu:~$ sudo /etc/init.d/oracle-xe configureRegards,
Jari -
$ 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 -
hi,
i m new to oracle on linux
Oracle 10gR2 on RedHat Enterprise Linux 5
while running ./runInstaller
this error displays
bash: /media/database/runInstaller: /bin/sh: bad interpreter: Permission denied
can any one help me, please answer here or [email protected]It's got nothing to do with who he's running the installer as (though he should indeed run it as the oracle user, of course).
It's got everything to do with the fact that a lot of distros these days automount their CDs with the noexec switch set. Meaning that no-one apart from root is allowed to execute programs from the mounted media. Centos 5 does it, so RHEL5 would do it too. OpenSuse10.3 doesn't do it; Fedora 8 does; Debian 4 does.
If your distro uses an old-fashioned fstab (Debian 4 does, for example), you could edit that and stick an explicit 'exec' switch in as one of the mount options (plain old "user", commonly specified, implies "noexec").
But RHEL5 and Fedora 8, for example, use a new udev-magic way of dynamically mounting removable media, so there's nothing listed in /etc/fstab until after a cd or dvd has been automounted... and by that stage, it's too late to edit what the mount options should be!
The fix for these sorts of distros is to become root and manually unmount any Oracle CDs or DVDs that have been automounted. You can then simply re-mount them by issuing a command such as
mount -o loop /dev/cdrom /media...and, because this manual mount doesn't include explicit noexec switches, you'll find that if you now become the oracle user, you'll be allowed to execute the runInstaller program normally. -
/bin/sh: bad interpreter: Permission denied- Rapidwiz
hi Gurus,
I am trying to install apps 11.5.10.2 from an external hard drive onto oracle enterprise linux , installed on vmware workstation 6, and i got error--- /bin/sh: bad interpreter: Permission denied.When trying to run the rapidwiz.
Can somebody pls help me with full discription of this problem and what the solution might be. Secondly please help with the steps required when installing 11i on oracle enterprise linux as i know nothing about linux configuration.Thanks GuysNot Sure if this issue is still open.
Recently I faced the same issue while executing/running ./rapidwiz (from stage area ) from External usb disk with ext2 file system. Basically I was trying to install R12.0.4 on OEL 5 Platform,
I was getting the same error PERMISSION DENIED /bin/sh bad interpreter. I started experimenting many different things to start with chmod,chown ...and also having a manual entry in /etc/fstab for the external drive but nothing worked out.
After hour's(3-4)of googling around I could finally fix it OLAH ...
Firstly if some one see's the similar issue (assuming the similar senario as well ...stage created on External usb HD)
1) Check the out put of the "mount" command.
If it is /media/usbdisk (rw, noexec,nosuid) * -- this the culprit ** you would never be able to run/execute any program or executable within this disk.
2) Fix it -- use below command.
mount -0 remount rw /media/usbdisk .
3) And upon re-running " mount" cmd, u'll see below output.
**/media/usbdisk (rw) -- observe we don't c the noexec, nosuid from first run.
--uh!! Phew !!
And the installation start ...with no issue's ... I hope this will be usefull for other novie like me ..:-) -
I have done all pre requisite configurations in Enterprise Linux R5 for the installation of Oracle Database 10g R2. When I run this ./runInstaller command from terminal window of Oracle user account. I got following error.
-bash: ./runInstaller: /bin/sh: bad interpreter: permission denied
Kindly send me the solution of this problem on urgent basis.
Thanks.
Shahzadls -la runInstaller
Check permission, that user can run.(execute)
By the way, if you use "oracle" user rune it...
Please Extract Oracle Source by oracle user.
Or user root user and change permission source ...
root$ cd SOURCE
root $ ls -la runInstaller
root$ chown -R oracle:oinstall .
example:
$ cd Disk1/
$ ls -la runInstaller
-rwxr-xr-x 1 oracle oinstall 1756 Mar 12 2008 runInstaller -
Bash: ./jdev: /bin/sh: bad interpreter: Permission denied
Unzipped the jdevj2eebase1013.zip
Set permissions as per install guide.
Try to run jdev get this error
bash: ./jdev: /bin/sh: bad interpreter: Permission denied
Note the install guide says to run $ jdev
from command line, surely this means
$ ./jdev
instead. Tried it verbatim but get
hj54@devhost:~/downloads/oracle/10g/jdeveloper10.1.3pre/jdev/bin> jdev
bash: jdev: command not found
Distro is Novell Linux Desktop ( Suse 9.0 )ls -la runInstaller
Check permission, that user can run.(execute)
By the way, if you use "oracle" user rune it...
Please Extract Oracle Source by oracle user.
Or user root user and change permission source ...
root$ cd SOURCE
root $ ls -la runInstaller
root$ chown -R oracle:oinstall .
example:
$ cd Disk1/
$ ls -la runInstaller
-rwxr-xr-x 1 oracle oinstall 1756 Mar 12 2008 runInstaller -
Bad interpreter: Permission denied whn installin ORACLE 11g on linux 32 bit
Hello All,
I have a VMWare that i installed into it Oracle enterprise Linux 5 32 bit, i am trying to install Oracle 11g R2 on it, i have the .iso oracle file, l linked the CD/DVD drive of the VMware to the location of this ISO file, and i applied all the steps mentioned in this link : http://www.oracle-base.com/articles/11g/OracleDB11gR2InstallationOnEnterpriseLinux5.php
i did: cd media and i found the runInstaller file but wen trying to run it: ./runInstaller i am facing the below :
[root@oel5 media]# cd V17489-01/
[root@oel5 V17489-01]# ls
doc install response rpm runInstaller sshsetup stage welcome.html
[root@oel5 V17489-01]# ./runInstaller
-bash: ./runInstaller: /bin/sh: bad interpreter: Permission denied
your help is appreciated please.
Regards,The problem is that gnome-mount will not give you execute rights on CD/DVD content. The solution is at the below link in the Tips section:
Installing Oracle 11g R2 on Ubuntu 10 Howto
Logout your current X-session and login as user Oracle
Insert the Oracle Installation DVD
Or from a remote terminal session:
Insert the Oracle Installation DVD
sudo umount /dev/sr0
Create a new session as user Oracle
ssh -Y oracle@server_address
sudo mount /dev/sr0 /media
/media/database/runInstaller
If you see "runinstaller" instead of "runInstaller" you can try the following:
sudo mount -o loop,norock /dev/cdrom /media
more also here:
runInstaller ".oui: No such file" / "bad interpreter: Permission denied"
Edited by: Joe Shmoe on Nov 5, 2010 11:45 AM -
I am trying to modify the unix script to auto start nodemanager on Oracle Linux server,however i am getting below error when ever i tried to start service nodemgr restart
here is script:
============
#!/bin/sh
# nodemgr Oracle Weblogic NodeManager service
# chkconfig: 345 85 15
# description: Oracle Weblogic NodeManager service
# The script needs to be saved as /etc/init.d/nodemgr and then issue chkconfig .add nodemgr as root
### BEGIN INIT INFO
# Provides: nodemgr
# Required-Start: $network $local_fs
# Required-Stop:
# Should-Start:
# Should-Stop:
# Default-Start: 3 4 5
# Default-Stop: 0 1 2 6
# Short-Description: Oracle Weblogic NodeManager service.
# Description: Starts and stops Oracle Weblogic NodeManager.
### END INIT INFO
. /etc/rc.d/init.d/functions
export WLS_HOME=/u01/Oracle/Middleware/wlserver_10.3
export MW_HOME=/u01/Oracle/Middleware
export JAVA_HOME=/u01/Oracle/Middleware/jdk160_24
export IDM_HOME=/u01/Oracle/Middleware/Oracle_IDM1
export OAM_HOME=/u01/Oracle/Middleware/Oracle_IDM2
export ORACLE_INSTANCE=/u01/Oracle/Middleware/Oracle_IDM1
export IAM_HOME=/u01/Oracle/Middleware/Oracle_IDM2
export DOMAIN_HOME=/u01/Oracle/Middleware/user_projects/domains
DAEMON_USER="oracle"
PROCESS_STRING="^.*/u01/Oracle/Middleware/.*weblogic.NodeManager.*"
source $MW_HOME/wlserver_10.3/server/bin/setWLSEnv.sh > /dev/null
export NodeManagerHome="$WLS_HOME/common/nodemanager"
NodeManagerLockFile="$NodeManagerHome/nodemanager.log.lck"
PROGRAM="$MW_HOME/wlserver_10.3/server/bin/startNodeManager.sh"
SERVICE_NAME=`/bin/basename $0`
LOCKFILE="/var/lock/subsys/$SERVICE_NAME"
RETVAL=0
start() {
OLDPID=`/usr/bin/pgrep -f $PROCESS_STRING`
if [ ! -z "$OLDPID" ]; then
echo "$SERVICE_NAME is already running (pid $OLDPID) !"
exit
fi
echo -n $"Starting $SERVICE_NAME: "
/bin/su $DAEMON_USER -c "$PROGRAM &"
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch $LOCKFILE
stop() {
echo -n $"Stopping $SERVICE_NAME: "
OLDPID=`/usr/bin/pgrep -f $PROCESS_STRING`
if [ "$OLDPID" != "" ]; then
/bin/kill -TERM $OLDPID
else
/bin/echo "$SERVICE_NAME is stopped"
fi
echo
/bin/rm -f $NodeManagerLockFile
[ $RETVAL -eq 0 ] && rm -f $LOCKFILE
restart() {
stop
sleep 10
start
case "$1. in
start)
start
stop)
stop
restart|force-reload|reload)
restart
condrestart|try-restart)
[ -f $LOCKFILE ] && restart
status)
OLDPID=`/usr/bin/pgrep -f $PROCESS_STRING`
if [ "$OLDPID" != "" ]; then
/bin/echo "$SERVICE_NAME is running (pid: $OLDPID)!"
else
/bin/echo "$SERVICE_NAME is stopped"
fi
RETVAL=$?
echo $"Usage: $0 start"
exit 1
esac
exit $RETVAL
=================
here is error message
[root@oam init.d]# service nodemgr restart
/etc/init.d/nodemgr: line 96: syntax error near unexpected token `is'
/etc/init.d/nodemgr: line 96: `/bin/echo "$SERVICE_NAME is running ("pid: $OLDPID")"'It is necessary to post code between code tags, otherwise it screws up. See the FAQ.
What sticks out right away is your wrong case statement case *"$1.* which should read *case "$1"*. You are also missing ;; to terminate your default case statement. You should also put $RETVAL between quotes and remove the /bin paths. -
/export/app/oracle/AS101202/bin/ocssd.bin
Hi,
am trying to put DB 10.1.0.5 patch on Oracle 10g 10.1.0.4.2 version installate from Oralc apps server 10g
I have closed oracle db , listener, oracle app sever but i am getting following message following processes need to be shutdown before continuing
oracle 10640 1 0 14:13:12 ? 0:00 /export/app/oracle/AS101202/bin/ocssd.bin
oracle 10087 10084 0 13:45:44 ? 0:00 /usr/lib/ssh/sshd
oracle 9260 9259 0 12:39:02 ? 0:51 /usr/lib/ssh/sftp-server
oracle 8327 8324 0 11:27:12 ? 0:07 /usr/lib/ssh/sshd
oracle 9259 9256 0 12:39:02 ? 9:37 /usr/lib/ssh/sshd
oracle 10539 1 0 14:08:46 pts/2 0:32 /tmp/OraInstall2009-03-06_02-08-39PM/jre/1.4
i tried kill -9 10640 but it does not get killed
any suggestions
kedarTo have to stop the process, 'kill' doesn't help, it will be respawned immediately. I don't know your OS, normally (as root)
/etc/init.d/init.cssd stop
should work.
Werner -
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
Maybe you are looking for
-
Problem with sleep mode!!! Help!!
I have an Ipod nano and recently updated it. Since then, when my ipod automatically goes to sleep mode it no longer plays the music/audiobooks I listen to, when it would continue before. This is terribly inconvienent and pretty much goes against the
-
Why does you tube freeze up all the time?
Why when I'm trying to watch You Tube does it constantly freeze up making it useless to me?
-
IDOC extension (segment cannot be identified)
Hi all, I have IDOC DEBMAS configured, but when I trigger 1 customer from BD12, the IDOC is failing with status 26 error segment cannot be identified. In WE82, we have the following: DEBMAS DEBMAS06 470 DEBMAS DEBMAS06
-
I've a problem with Premiere CS4: Simply I hear no audio. I've tried to insert in the time line various kind of films or single file audio but I see moving the audio level display without hearing nothing. Can someone help me?
-
Pls help me about oytput types URGEEEEEEEEEENT
hi friends, i devoloped a Z smartform and attatched in NACE to output type ZUS3 in V3 application that above form is modified to standard from. but i am getting the output for VF02 tcode it is generating one spool request properly with some hard code