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

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

    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

  • $ 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

  • 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:
    Perseus

    Yes dpkg has a purge flag.
    dpkg --purge packagename will remove the entire package + support/config files for it.
    Use carefully.
    MaShaun

  • /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

  • 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

  • Router clock set configuration command missing

    I am running 12(3)13 on my 3620 router. The only options to the clock command are summer-time and time-zone. I want to set the system clock and if I type clock set, I get an invalid response.
    Any clues?

    Probably you are in configuration mode. You need to set clock from enable prompt
    2621-B#clock set ?
    hh:mm:ss Current Time
    2621-B#conf t
    Enter configuration commands, one per line. End with CNTL/Z.
    2621-B(config)#clock ?
    summer-time Configure summer (daylight savings) time
    timezone Configure time zone

  • Guide to installing XE and Apex on Oracle Enterprise Linux 5.3 (64 bit)

    I have just been through a time consuming and frustrating process of installing Oracle XE 10gR2 on Oracle Enterprise Linux 5.3 x86-64 and I want to share my experience so that others can benefit from it and overcome the same problems more quickly.
    Prior to starting I had installed OEL 5.3 and been using it for a few days. The system I am using is a home built box with an AMD Phenom X4 955 Black Edition, 8 Gb RAM, Highpoint RR2680 RAID controller with 4 1TB disks in a RAID5 array and an additional 320Gb HDD storing the OS. I am using KDE3.5 on the desktop.
    The main problem I encountered was with SELinux. As I eventually intend to have this system exposed on the Internet I was reluctant to switch it off despite having read extensively about the issues surrounding it and Oracle. I had several failed attempts at the installation process before succumbing to the reality that SELinux and Oracle are not happy bedfellows. I decided to switch SELinux to permissive mode having followed the advice here.
    I found a very helpful guide to installing XE on Linux here as part of the installation of an application called Spacewalk. Note that you do not need to complete the whole Spacewalk installation, but just follow the instructions in the linked page.
    Before you start you need to ensure that the UID of your oracle user is less than 500. Mine was 500, so I used the following commands to fix this:
    usermod -u 250 oracle
    find / -uid 500 -exec chown oracle {} \;
    These change the oracle UID to 250 (but check that isn't already used first!) and the find command searches for all files that were owned by oracle (but weren't after the usermod cmd) and changes them back to oracle's ownership.
    Now follow the Spacewalk instructions until you reach the Server Setup section. Before you do this you need to make a couple of changes to the script /etc/init.d/oracle-xe. I found these changes in various places, such as [link(1)|http://forums.oracle.com/forums/thread.jspa?messageID=1345771&#1345771] and [link(2)|http://dbataj.blogspot.com/2008/08/lblibrarypath-is-not-set-on-startup.html].
    Note that in link(1) the oracle-xe-selinux packages installed have the same effect as the chcon command on the shared libraries so it isn't necessary to perform this step.
    Open /etc/init.d/oracle-xe in vi (or your favourite editor) and do the following:
    line 49: change /bin/su to /sbin/runuser
    after line 52 (export PATH...) add the following lines:
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
    export LD_LIBRARY_PATH
    There are further changes recommended to /etc/init.d/oracle-xe in [this post|http://forums.oracle.com/forums/thread.jspa?messageID=3201491&#3201491] but I haven't done them yet.
    Having done the above changes you can now configure Oracle XE by running /etc/init.d/oracle-xe configure (as root!). As I have Apache Tomcat running on port 8080 I changed the default HTTP port to 8500 but kept the listener on its default port of 1521. Once the confuration script is done you will need to change the ports SELinux uses for Oracle as follows:
    semanage port -d -t oracle_port_t -p tcp 9000 - deletes port 9000, which is the SELinux default port for Apex
    semanage port -a -t oracle_port_t -p tcp 1521 - ensure that listener port is OK (assuming you used default of 1521, change accordingly if you didn't)
    semanage port -a -t oracle_port_t -p tcp 8500 - add the new Apex HTTP port to SELinux
    After all this running:
    semanage port -l | grep oracle
    should show you:
    oracle_port_t tcp 1521, 8500
    I ignored the TNSNAMES.ORA part of the Spacewalk instructions and proceeded with the 'Client setup on 64bit platform' and 'Configuring sqlplus' sections.
    For the latter I created a bash script which I have made available in the oracle user and my own user's home directories:
    cat > configure_oracle_10g_xe.sh
    ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server
    PATH=$PATH:$ORACLE_HOME/bin
    ORACLE_SID=XE
    export ORACLE_HOME ORACLE_SID PATH
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
    export LD_LIBRARY_PATH
    I did this as I intend to install other Oracle databases, e.g. 11gR2, on this box later so I didn't want to put the above in .bashrc.
    Having done the above you should be able to log into the database using sqlplus and the XE setup is complete.
    The upgrade of Apex 2.2 to Apex 3.2.1 was fairly painless so I won't go into much detail about it - just follow the instructions provided by Oracle.
    The only issue I had was right at the end of the process and is documented and answered in [this thread|http://forums.oracle.com/forums/thread.jspa?threadID=958611&tstart=0].
    That's it - I hope somebody will find this useful.

    On Oracle Metalink site, there are many documents which says that Oracle 32 bit software works on 32 bits OS and 64 bits software works on 64 bits OS. Official support is only in those combination....
    So there is no good way to help you in your case-XE is 32 bit application with hard codded compiled libraries which most of them would not work on 64 bit OS.
    Sorry
    8(
    Hope this helps

  • ORA-01034: ORACLE not available with oracle 10.2 in Ubuntu server 11.10

    Hi all,
    I have this error message with my new installed oracle-xe 10g (10.2):
    luc@cuba:~$ sqlplus system
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jan 9 23:25:43 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter password:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    Or if I try with SYSDBA:
    luc@cuba:~$ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jan 9 23:34:34 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    If a did the status command:
    luc@cuba:~$ sudo /etc/init.d/oracle-xe status
    [sudo] password for luc:
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 09-JAN-2012 23:29:00
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date 09-JAN-2012 22:44:12
    Uptime 0 days 0 hr. 44 min. 47 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
    Listener Log File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=cuba)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    What I did wrong?
    Regards,

    user13538830 wrote:
    Hi all,
    I have this error message with my new installed oracle-xe 10g (10.2):
    luc@cuba:~$ sqlplus system
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jan 9 23:25:43 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter password:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    Or if I try with SYSDBA:
    luc@cuba:~$ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jan 9 23:34:34 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    If a did the status command:
    luc@cuba:~$ sudo /etc/init.d/oracle-xe status
    [sudo] password for luc:
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 09-JAN-2012 23:29:00
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date 09-JAN-2012 22:44:12
    Uptime 0 days 0 hr. 44 min. 47 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
    Listener Log File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=cuba)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    What I did wrong?First, you installed on an unsupported OS.
    Second, you apparently did not Read The Fine Manual, Installation Guide
    post results from following OS command
    env | sort

  • /etc/init.d/imq script fix for RedHat Linux?

    I'm using Message Queue 3.0.1 SP2 (Build 4-a) Platform Edition and trying to get it set up to run on a RedHat machine.
    I am finding that ps (procps version 2.0.7) is not compatible with the script installed as /etc/init.d/imq.
    Specifically, that script's findproc function looks like this:
    # find the named process(es)
    findproc() {
      pid=`/bin/ps -ef |
      /bin/grep -w $1 |
      /bin/grep -v grep |
      /bin/awk '{print $2}'`
      echo $pid
    }and the script later calls
    findproc $EXECUTABLEThe problem is that imqbrokerd (the value of EXECUTABLE) is a script, and so does not show up in the process list. I have struggled to glean the proper PID from ps another way, but so far have not been successful.
    Does anyone have an example of a findproc fixed for RedHat's procps?

    I can see the imqbrokerd process when I do a 'ps -ef' on my
    RH Linux system.
    # /bin/ps -ef | grep broker
    root 22571 1 0 12:28 pts/0 00:00:00 /bin/sh bin/imqbrokerd -bgnd -au
    I tried manually stopping the broker through the
    /etc/init.d/imq script and it seems to work for me.
    # env DEBUG=1 /etc/init.d/imq stop
    Stopping imqbrokerd ... done
    How are you using /etc/init.d/imq ?

  • Installing Oracle HTTP Server after installation and configuration.

    Hello,
    I am using EPM 11.1.2.2 and I have installed Essbase, FR, EAS and EIS but not Oracle HTTP server component.
    Is it possible to install it after completion of deployment of whole Hyperion components?
    If I install only HTTP component of foundation service and reconfigure Web server will that work without an issue?
    Or do I need to reinstall all components?
    And, as in EPM 11.1.2.2 for installing Essbase only, Oracle HTTP server is not mandatory, can I skip that component?
    Will that make any impact in future?
    Thanks,

    You can install OHS after you have completed the configuration, install, then configure web server and select OHS.
    It is up to you whether you install and use OHS as the web server, it is not mandatory. If you are using workspace then you will need to configure one of the available web servers.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Installing ASM on linux : /etc/init.d/oracleasm createdisk VOL1 [failed]

    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,
    Thanks

    I 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

  • How to Install Oracle ASM 11gR2 In Oracle Linux 6.5

    Hi
    I want to install oracle ASM in oracle linux 6.5 .
    Can any one helps me to find a paper with above subject?
    Thanks

    Theses steps only if You want to use ISCSI. This is fine to get the howto:
    If You ar running in VM Ware Boxes:
    Add the following to the *.vmx file for the virtual machine:
    disk.EnableUUID = "TRUE"
    Restart the vm machine and the /dev/disk/by-id/scsi**** should be visible.
    That's a nasty one - without this ISCSI just doesn't work
    chkconfig iscsi on
    iscsiadm -m discovery -t st -p 192.168.146.100
    iscsiadm -m node -T iqn.1991-05.com.microsoft:iscsi-asm-target   -p 192.168.146.100 -l
    192.168.146.100 <=== IP Number of ISCSI Host
    iqn.1991-05.com.microsoft:iscsi-asm-target <== Name of ISCSI Server, you get this as output from discovery command
    Now, you must make sure that the devices belong to oracle.
    Take a look at this link:
    http://www.oracle-base.com/articles/linux/udev-scsi-rules-configuration-in-oracle-linux-5-and-6.php#make_scsi_devices_trusted
    Add the following to the "/etc/scsi_id.config" file to configure SCSI devices as trusted. Create the file if it doesn't already exist.
    options=-g
    /sbin/scsi_id -g -u -s /block/sdc <== for all ISCSI devives
    vi /etc/udev/rules.d/99-oracle-asmdevices.rules
    KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c1a9a1ce9b75e35f63", NAME="asm1-disk1", OWNER="asm", GROUP="dba", MODE="0660"
    KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c18af9aa132d316eca", NAME="asm1-disk2", OWNER="asm", GROUP="dba", MODE="0660"
    KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c1b5bd65a6089784ae", NAME="asm1-disk3", OWNER="asm", GROUP="dba", MODE="0660"
    KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c1b0098f974c463139", NAME="asm1-disk4", OWNER="asm", GROUP="dba", MODE="0660"
    KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c18b94be6b8e64ae1a", NAME="asm2-disk1", OWNER="asm", GROUP="dba", MODE="0660"
    KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c1ba97827387889d2f", NAME="asm2-disk2", OWNER="asm", GROUP="dba", MODE="0660"
    KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c19344e120143d71a6", NAME="asm2-disk3", OWNER="asm", GROUP="dba", MODE="0660"
    KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c1b088599c1a9a0a7f", NAME="asm2-disk4", OWNER="asm", GROUP="dba", MODE="0660"
    RESULT=="360003fff419213c1b088599c1a9a0a7f" <=== That is returned by /sbin/scsi_id -g -u -s
    Reload:
    /sbin/udevcontrol reload_rules
    /sbin/start_udev
    Now you have your devices read, belonging to oracle:
    ls -al /dev/asm*
    Next go to oracle download click on list all and get:
    Oracle Grid Infrastructure 11g Release 2 (11.2.0.1.0) for Linux x86-64
    After extracting this you are ready to go.
    When starting the install process you get an option to "change path", here select /dev.
    In my test systems I use to set "external" for dataprotection.
    Regards
    Christian

  • Oracle Hyperion 11.1.2.1 configuration problem

    Hi Guru's,
    I am done with the installation but when i am trying to configure there starts the issue.
    I have done the installation on windows2008R2,8GB RAM,Oracle11.2.0.2,Java 1.6,.Net3.5 everything matches with the pre requirement sheet.
    I done successfully with the instalation of Oracle and Foudation, while tried to configure I am getting "IO Error: The Network adaptor not available".
    Can anyone suggest me in helping the issue.
    Cheers,
    Raju

    Is this a personal install? If so did you install the loopback adaptor? Can you confirm you can connect to the oracle instance, have you checked the config logs for more information.
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for

  • How can i transfer large video from my iphone

    I have a large video on my iphone 4s that will not transfer by E-mail, Facebook, Utube, text or USB. When I plug in the USB to my computer it will upload everything except my video it remains on my phone. I really need this video for a student is the

  • STO -  ERROR IN ME21N  - sadhu kishore , ayub .

    HI ALL , WHILE trying to transfer stock between  2 plants in different copmany codes , in ME21N  the system is unable to recognise the IMG config , thou all is fine .   can any one pl guide ? pl do guide with reg to  stock between  2 plants in differ

  • 6131 Micro SD Card Problem

    Hi everyone, really hope i can get help on this I have a 128MB card in my phone which I have used perfectly fine until now.. In an options menu, i created a password for the memory card. Since then the card doesn't show in 'Gallery' where it should.

  • HP L7680 suddenly stopped working Mon, 2 computers get device not recognized

    We are totally frustrated. The printer worked fine on Sun.  On Mon, no luck.  We have it directly connected to a Compaq running Windows 7 and occasionally switch it to a Toshiba laptop running XP.  Both machines now say a USB device is not recognized

  • Permanently deleting images from iPhoto and hard drive

    Ok, so I have deleted the jpeg files for the images that I wanted to get rid of. I can no longer find the icons that correspond to those files/images. However, when I open iPhoto and scroll through my library I can still see them as I scroll. If I st