Starting Stopping Oracle 10g XE on Linux

Hi,
I successfully installed Oracle 10g XE on Suse 10.0 as root. The install went without errors. I configured the oracle with "/etc/init.d/oracle-xe configure" and opted not to start oracle while bootup.
Then whenever I clicked on Start Database or Stop Database link just nothing happens. The cursor changes shape and after sometime returns back to original shape.
However, I was easily able to start/stop the database from command line: -
/etc/init.d/oracle-xe enable
/etc/init.d/oracle-xe start
/etc/init.d/oracle-xe stop
Then I edited /etc/init.d/oracle-xe to enable startup of oracle at bootup and everything work fine now.
But I'm still not able to start/stop the database from the links provided in the KDE menu.
By checking the links, they are pointing rightly to startdb.sh and stopdb.sh in scripts directory of config directory.
Please help me.
Thanks in advance.

Hi,
Thanks for the concern. When I ran su - oracle on KDE Konsole and then stopdb.sh, I got the following output: -
xsetroot: Unable to open display ' '
xsetroot: Unable to open display ' '
and it worked. It stopped the database. Similarly by typing startdb.sh I was able to start the database with above two messages.
Then came the real part. When I saw the menu entries for Starting & Stopping Database in KDE Menu, they were running as current user. I changed them to run as 'oracle' user and it worked.
Now I'm able to start and stop database form the KDE Menu entries.
Another Tip: May be useful to someone: -
When we run the SQL Command Line Utility from KDE Menu in Suse 10.0 it runs in old style terminal. When I saw the script it ran i.e. startsqlplus.sh of some thing like this ( I don't remember the exact name, but you can find out by right clicking on menu entry and then edit item), it came to know that it was seeking gnome-terminal in /usr/bin and in Suse 10.0 gnome-terminal is located in /opt/gnome/bin!!!!!!. So, I made a symbolic link /usr/bin/gnome-terminal for /opt/gnome/bin/gnome-terminal and now it presents me with nice gnome-terminal to run SQL Plus command line.
Thanks

Similar Messages

  • Starting/Stopping Oracle 10g Personal Edition

    Just wondering how one starts & stops 10g PE?
    Oracle asks for Host credentials and database credentials.
    SYS doesn't seem to work and as there is no security settings under Admin (in PE) I can't create my login as a SYSDBA.
    Suggestions appreciated!

    PE is actually a superset of EE (Enterprise Edtion), with all EE options except RAC. It is targetted towards developers and designed to allow a develolper access to all of the capabiltites
    Therefore, you can search the docs to find out how to start/stop the database's instance[s] and any reference to the Enterrprise Edition will be valid in your case. If I remember correctly, there is a chapter in the Installation Guide that covers the topic.
    IN any case, PE is only licensed on Windows (presumably because developers only work in Windows???), so:
    - Go to Control Panel > Admin Tools > Services
    - Ensure the TNS Listener service is running first
    - Start the Oracle service
    The questions you ask indicate you are confused about the relationship between SYSDBA and the OS userid. I strongly encourage reading the first 2 chapters of the Concepts manual (at http://www.oracle.com/pls/db102/portal.portal_db?selected=1) to get a decent starting point.

  • Auto Start/Stop Oracle Database Lintener DBConslone on Linux

    Dear all
    I have install oracle 10.2.0 on redhat 4.7 every time i have to start manualy.
    it try with following scrip / process but database not starting automatically.
    Please any one can provide steps for auto start and stop oracel services on RedHat 4.7
    Once the instance is created, edit the "/etc/oratab" file setting the restart flag for each instance to 'Y'.
    TSH1:/u01/app/oracle/product/10.2.0:Y
    Next, create a file called "/etc/init.d/dbora" as the root user, containing the following.
    #!/bin/bash
    #chkconfig: 345 95 10
    #description: init script to start/stop oracle database 10g, TNS listener, EMS and isqlplus
    case $1 in
         start)
         su - oracle -c 'lsnrctl start'
         su - oracle -c 'dbstart'
    su - ora10g -c 'isqlplusctl start'
         su - oracle -c 'emctl start dbconsole'
         stop)
    su - oracle -c 'emctl stop dbconsole'
         su - oracle -c 'isqlplusctl stop'
    su - oracle -c 'dbshut'
    su - oracle -c 'lsnrctl stop'
         restart)
    su - oracle -c 'emctl stop dbconsole'
         su - oracle -c 'isqlplusctl stop'
    su - oracle -c 'dbshut'
    su - oracle -c 'lsnrctl stop'
         su - oracle -c 'lsnrctl start'
         su - oracle -c 'dbstart'
    su - ora10g -c 'isqlplusctl start'
         su - oracle -c 'emctl start dbconsole'
    esac
    create service on linux
    Actions >> System Settings >> Server Settings >> Services Then
    Actions >> Add Service Then
    Service Name = dbora Then Press Ok
    chmod a+x /etc/init.d/dbora
    Check is it running this service properly
    service dbora stop
    service dbora start
    showing error
    :bad interperter : no such file or directory
    Please forward me process/steps for auto start/stop oracel services

    :bad interperter : no such file or directorymeans that it could not find the interpreter which should be used to interpret the script.
    most probably this is caused by the shebang (#!/bin/bash)
    the default location of bash on RHEL (OEL/CentOS) is /bin/bash, which means that the shebang looks correct.
    can you make the shebang:
    #!/bin/bash -xso shelltracing is put on and execute script again?
    this will make clear if it is the shebang in your script, or in another script.

  • Error While Installing ORACLE 10g in Redhat Linux 5.0

    Hi all,
    Anybody please guide me regarding the posted error.
    I'm trying to install ORACLE 10g in Redhat Linux 5.0 and finding error as "Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2009-10-15_09-20-56PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(Unknown Source)
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at sun.security.action.LoadLibraryAction.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
    at sun.awt.DebugHelper.<clinit>(Unknown Source)
    at java.awt.Component.<clinit>(Unknown Source)
    I tired a lot to sort it out but unable to resolve.So please tell me the possible ways.
    I appreciate all types of clarifications...
    Thanks in Advance
    Sajeev George

    Sajeevcmc wrote:
    Hi,
    Thanks for the reply.
    Could you please tell me the rpm full name and where i can download the same?
    Thanks in Advance
    SAJEEV GEORGEYou need to have the following packages installed already before starting Oracle installation
    http://download.oracle.com/docs/cd/B19306_01/install.102/b15669/pre_install.htm#sthref80
    binutils-2.15.92.0.2-10.EL4
    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
    pdksh-5.2.14-30
    sysstat-5.0.5-1
    xscreensaver-4.18-5.rhel4.2
    And from the following link, you can get the same list:
    http://www.puschitz.com/InstallingOracle10g.shtml (Go to Checking Software Packages (RPMs))
    And from my installation guide you can easily install Oracle on Linux by following step by step instruction
    [Step by Step Installing Oracle Database 10g Release 2 on Linux (CentOS) and AUTOMATE the installation using Linux Shell Script|http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • Oracle 10g instal on linux exception unsatisfied link erro

    I am trying to instal oracle 10g on redhat linux am getting an error like this how to solve this
    [oracle@localhost ~]$ pwd
    /home/oracle
    [oracle@localhost ~]$ ../database/runInstaller
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
    Passed
    All installer requirements met.
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-07-10_01-53-31PM. Please wait ...[oracle@localhost ~]$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2009-07-10_01-53-31PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(Unknown Source)
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at sun.security.action.LoadLibraryAction.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
    at sun.awt.DebugHelper.<clinit>(Unknown Source)
    at java.awt.Component.<clinit>(Unknown Source)
    [oracle@localhost ~]$

    according to mr Ivan Kartik at his blog http://ivan.kartik.sk/oracle/install_ora10gR2_redhat.html
    Exception java.lang.UnsatisfiedLinkError: /tmp/OraInstall2005-07-07_09-40-45AM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory occurred.. java.lang.UnsatisfiedLinkError: /tmp/OraInstall2005-07-07_09-40-45AM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
    Solution: RH 3, WB 3, Centos 3 - Install the XFree86-libs-4.3.0-81.EL.i386.rpm and dependent packages.
    RH 4, WB 4, Centos 4 - Install the xorg-x11-deprecated-libs-6.8.2-1.EL.13.6.i386.rpm package.
    RH 5, OEL 5, Centos 5 - Install the libXp-1.0.0-8.1.el5.i386.rpm package.
    I've tried to follow this suggestion and work nice.
    thanks

  • Installation of oracle 10g on RedHat Linux EE 3

    Hi,
    I am going to Install of oracle 10g on RedHat Linux EE 3, rigth now i am running oracle 9i on windows platform. I need following things:
    -I want to export all my data from oracle 9i on windows. For this what is the best way should i transport my tablespace and install oracle 10g on linux and import them after creating db or should i simply export and import it from there.
    -Is there any issues that i should look at before i transfer my database.
    -We are a Industrial Laboratory and use scientific notation in our database. Would this import export can takecare of all the things or should i set some character set setting before import/export.
    -Any thing else if you thing that i should take care.
    Thanks & Regard
    Rashid K.K

    You cannot use transportable tablespace. Platform independent transportable tablespace run only on newer versions (10g). You have to create the tablespaces on you linux machine and than exp/imp (full=y).
    Bye, Aron

  • Can you install Oracle 10g on REDHAT LINUX ENTERPRISE WS?

    According to oracle documentation, it says you can install oracle10g on Redhat enterprise version 3 or 4, but it doesn't specify whether its Red Hat Enterprise Linux AS or WS. Can you install oracle 10g on Rehat Linux Enterprise WS?

    Oracle Certificaction Matrices says only RedHat AS/ES is supported for database. AFAIK WS means workstation.
    Also this link is very clear: http://kbase.redhat.com/faq/FAQ_61_1135.shtm
    Besides the above sentences... If the WS installation is providing all required packages (listed in installtion prerequisites) I belive that Oracle DB could be installed on WS but as I (and the above link) said it is not officialy supported.

  • Can I run 32 bit version of Oracle 10g grid  on Linux x86-64?

    Since Oracle did not release 64 bit version of Oracle 10g grid for Linux X86-64. Can I run 32 bit version of Oracle 10g grid on Linux x86-64? If so did anyone tried this? and also any known issues?

    All I had to do was use the 32bit version of "/usr/bin/gcc" and "/usr/bin/g++" to run the installation
    That is:
    bin]# cp -p /usr/bin/gcc /usr/bin/gcc_old
    bin]# mv /usr/bin/gcc /usr/bin/gcc323
    mv: overwrite `/usr/bin/gcc323'? y
    bin]# ln -s /usr/bin/gcc296 /usr/bin/gcc
    bin]# cp -p /usr/bin/g++ /usr/bin/g++_old
    bin]# mv /usr/bin/g++ /usr/bin/g++323
    mv: overwrite `/usr/bin/g++323'? y
    bin]# ln -s /usr/bin/g++296 /usr/bin/g++
    AFTER INSTALLATION REMEMBER TO
    move back the 64bit files to their former state.
    bin]#rm /usr/bin/g++
    bin]#rm /usr/bin/gcc
    bin]#mv /usr/bin/gcc_old /usr/bin/gcc
    bin]#mv /usr/bin/g++_old /usr/bin/g++                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to start/stop  oracle 9i databases in aix

    please provide me details steps of start/stop oracle 9i database in aix . we have four nodes .So i would like to know the steps of shutting down database including all nodes & also starting up and any prerequisite?
    Edited by: apusumit on Jun 10, 2011 5:32 AM
    Edited by: apusumit on Jun 10, 2011 5:35 AM
    Edited by: apusumit on Jun 18, 2011 7:01 AM

    apusumit wrote:
    please provide me details steps of start/stop oracle 9i database . we have four nodes .So i would like to know the steps of shutting down database including all nodes & also starting up and any prerequisite?
    Edited by: apusumit on Jun 10, 2011 5:32 AMrefer the link:-
    http://www.puschitz.com/InstallingOracle9iRAC.shtml#StartingAndStoppingOracle9iClusterManager
    also,
    please post the question in
    Forum Home » Grid Computing » Real Application Clusters
    Good Luck.

  • How to Start / Stop Oracle Applications

    How to Start / Stop Oracle Applications.
    Oracle Applications Services (TCF, ConcManagers, Metric, Forms, Reports etc...) TnsListner & Oracle Service (DB) are started when the Server is started.
    What is the sequential Order to Start / Shutdown services, Listener & DB.
    Best regards,

    hi
    there is no hard coded rule on which service should be started first.
    the basic thing is concurrent manager uses database for starting, so i advice you the following sequence:
    1. start the database
    2. start the database listener
    3. Apache server
    4. forms server
    5. report server
    6. concurrent manager
    and shutdown in the reverse order
    simple
    regards
    srinivas

  • Oracle 10G R2 on Linux ES4

    hello all
    please provide me the installation of oracle 10G R2 on linux 32 bit ....PDF or link
    please let me also know pre requistes for this and also list of packages needed to install before installing databaase and detail step by step installation process please ....

    http://download-uk.oracle.com/docs/cd/B19306_01/install.102/b15660/toc.htm
    http://www.puschitz.com

  • Oracle 10g installation on linux using virtual box.

    Hi,
    Iam trying to install oracle 10g on enterprise linux using virtual box.I downloaded oracle 10g for linux and while running the installer,Iam getting this error
    Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2010-04-16_07-29-46AM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(Unknown Source)
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at sun.security.action.LoadLibraryAction.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
    at sun.awt.DebugHelper.<clinit>(Unknown Source)
    at java.awt.Component.<clinit>(Unknown Source)
    Please help me to solve this

    user9362721 wrote:
    Hi,
    Iam trying to install oracle 10g on enterprise linux using virtual box.I downloaded oracle 10g for linux and while running the installer,Iam getting this error
    Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2010-04-16_07-29-46AM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directoryHi.
    This question was answered in this forum yesterday. And the day before. And the day before that. And ... (Or at least it feels like we get this every day, and sometimes several times a day.)
    Search for 'xhost'

  • Where download Oracle 10g R1 For linux RH4 64

    I want to install Oracle database 10g R1 on Linux RH4 x86 64.
    But i cant find product.
    Where can i download Oracle 10g Release1 for Linux x86 64 Bits???
    Thank's

    >
    I want to install Oracle database 10g R1 on Linux RH4 x86 64.
    But i cant find product.
    Where can i download Oracle 10g Release1 for Linux x86 64 Bits???
    >
    The only version supported and available at the moment is 10gR2.
    Please see {thread:id=1043805} for more details. Any particular details why you specifically want to download 10gR1?
    Regards,
    Phiri

  • Error while download oracle 10g release2 for linux x-86

    Hi,
    I got errors while downloading oracle 10g r2 for linux x-86 from
    http://www.oracle.com/technology/software/products/database/index.html
    i got htis error:
    source file not found
    contact administrator.
    how do i download?

    Works for me in western Canada right now.
    You might want to try again, and if it still happens try clearing your browser cache and cookies.

  • This problem appears while installing oracle 10g on enterprise linux

    Hi All,
    While installing oracle 10g on enterprise linux 5 this message apear:
    http://img134.imageshack.us/my.php?image=problemqy2.png
    More Info:
    Oracle 10g supports redhat 4 and Enterprise Linux is redhat 5 so I changed the redhat-release to 4 to countinue setup but the above error appears, also I tried this configuration on SuSE 10 I changed the SuSE-release to 9 and went good.

    The packeges are already installedIf you execute runInstaller again is the error message the same as before?
    If yes can you post output for this command?
    rpm -qa --qf '%{name}-%{version}-%{release}.%{arch}\n'|grep -i 'libxp'

Maybe you are looking for

  • Adobe Extension Manager 6 Help

    I recently joined adobe cloud and downloaded a few apps: InDesign, Photoshop, Illustrator and Acrobat. I need to install a plugin to work with InDesign and the adobe extension manager 6 will not open at all. It will start "bouncing" in the dock and w

  • How do I add a link to an external site from my navigation toolbar?

    I want to add a link to an external page on the navigation bar, but when I right click or use inspector nothing looks useful. Any help is appreciated. Thanks.

  • Vendor Witholding Tax Error

    Dear All, While doing entry in FBCJ for business transaction type  vendor payment i am getting the following error. "Witholding TAX  information  missing from line item" Message No:7Q301. Also on F-47 i am getting the same error. I have maintained Wi

  • IPad 4 video camera is zoomed in, how to unzoom?

    The photo feature seams to be fine but when I switch to video mode it seems that it is zoomed in. I cant figure out how to unzoom this, is it a bug or is it really how it is supposed to look? It doesn't look good... Thanks for the help

  • Query on rendering the Human Tasks in the customized GUI application.

    Hi All, In oracle11g BPEL, Is there any way to render the Human Tasks in the Customized GUI (Weblogic Portal) application rather that using the applications like "Oracle BPM WorkList"?. Does the Oracle11g BPEL supports this ?. My requirement is that,