[Debian] Oracle 10g Express - init.d start/stop script problem + fix

I've experienced a problem with the init.d script "oracle xe" which is used to start/stop/reload the 10g server and comes with the debian package from oss.oracle.com.
I noticed that after installing Oracle 10g in the "Debian" way (via .deb package and an apt-source oss.oracle.com), the start and stop method of the script doesn't do anything.
It's checking for the value of the "ORACLE_DBENABLED" variable, which is on my installation set to "false", because I answered during installation false to the question "do you want to start Oracle 10g at system boot?".
In my opinion that's wrong. I should always be able to start/stop the Oracle server trough the init.d script regardless of your choice starting Oracle at boot or not.
I commented out row 604 and 621 in the file "/etc/init.d/oracle-xe" :
case "$1" in
  start)
        if test -f "$CONFIGURATION"
        then
                if test "$ORACLE_DBENABLED" != "true"
                then
                        echo "exit"
#                       exit 0
                fi
        else
        echo "Oracle Database 10g Express Edition is not configured.  You must
                exit 0
        fi
        start
  configure)
        configure
  stop)
        if test -f "$CONFIGURATION"
        then
                if test "$ORACLE_DBENABLED" != "true"
                then
                        echo "exit"
#                       exit 0
                fi
        else
        echo "Oracle Database 10g Express Edition is not configured.  You must
                exit 0
        fi
        stop
        ;;

Hello,
I have the same problem on RH9.
[root@phpsrv init.d]# ./oracle-xe start
Starting Oracle Net Listener.
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/lsnrctl: relocation error: /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/../lib/libclntsh.so.10.1: symbol semtimedop, version GLIBC_2.3.3 not defined in file libc.so.6 with link time reference
Starting Oracle Database 10g Express Edition Instance.
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus: relocation error: /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/../lib/libclntsh.so.10.1: symbol semtimedop, version GLIBC_2.3.3 not defined in file libc.so.6 with link time reference
Failed to start Oracle Net Listener using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnslsnr and Oracle Express Database using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus.
Regards,
Pavel Kucera

Similar Messages

  • Oracle 10g Express Service not starting Database

    I have a fresh download and install or Oracle 10gExpress and am having issues when I manually start the OracleXE service. The OracleXE Service starts, but the database does not. The error I see is ora-12560.
    The database and service stops correctly if I manually stopthe OracleXE service. The start of the service just won't start the database.
    The oradim.log contains
    Thu Oct 15 11:51:30 2009
    C:\oraclexe\app\oracle\product\10.2.0\server\bin\oradim.exe -startup -sid xe -usrpwd * -log oradim.log -nocheck 0
    Thu Oct 15 11:51:31 2009
    ORA-12560: TNS:protocol adapter error
    New Information:
    What I just found out was that it all works fine if the install of Oracle 10g Express is done prior to joining the Server to a domain. If the install is done after the server is part of a domain, the service will not start the database. If the install is done prior to putting the Server in a domain, the service will start the database.
    Any help why this must be installed prior to adding the server to the domain?
    Edited by: user10279386 on Oct 15, 2009 9:24 AM

    Hi!
    I think that installation must be done with Domain user who is Administrator on this machine also. Check ORA_DBA group that consist of at least two users: SYSTEM (who by default brings up the service, but you can change it) and your domain user (local Administrator on that server) who is making installation of XE on that server.
    Hope this helps,
    Damir

  • Oracle 10g Express Edition Limitations

    hi,
    i want to know the limitations of Oracle 10g Express edition ,, yesterday i got a problem when reconfiguring SGA of one of our client's Oracle Express edition database. i was resizing it from 140MB to 800MB,, n got errors.. plz gimme some links which can state the limitations of memory usage for Oracle Express ed...
    Thanx
    Muhammad Umar Liaquat

    How about this link?
    http://download-uk.oracle.com/docs/cd/B25329_01/doc/install.102/b25143/toc.htm#BABIECJA
    And for comparison:
    http://www.oracle.com/database/product_editions.html
    C.

  • I have a problem with oracle 10g express edition

    Hello,
    I have just installed oracle 10g express edition and I have a problem with the script editor. I can write anything in the window that appears below buttons undo,redo and find, It is like disabled. I use windows XP, Firefox 2.0 ( I have also tried with Iexplorer and It does not work either). I have javascript enabled.
    anyone knows what is the problem?
    Later,I have installed it in a virtual machine of Windows 2003 Server and It works well but I`d rather use it in my Microsoft XP
    Thank you very much
    Fernando Martínez

    It looks like you can fix this if you replace the codearea.xbl.xml and codearea.iframe.html files in the
    /i/editor folder with files from an Apex 2.2.1 installation - such as the one on apex.oracle.com.
    Since I don't know what the licensing implications are, I will let you figure out the details.

  • Enabling JVM in Oracle 10g Express

    I'm trying to enable JVM on my Oracle 10g Express database. However, the script I'm told to run - initjvm.sql - doesn't exist anywhere on my computer. Neither does the folder javavm and I can't find anything that says how to get a hold of them.
    Help? :(

    Hi:
    Oracle Express edition (XE) do not include Oracle internal JVM.
    AFAIK the decision to not include this feature was to reduce the size of the installer package.
    Oracle JVM is included on Oracle Standard Edition One and EE.
    Best regards, Marcelo

  • Can't uninstall or reinstall oracle 10g express edition in w/server 2003

    Hi,
    I need help from all of you, i already install oracle 10g express edition in
    windows server 2003 in D drive. but i can't remove because the oracle not in
    the add remove program so i download the windows install clean up to remove
    but after remove it still in the all program i still can start and stop the
    database but can't go to the database home page.The error message (the install
    cannot proceed as service OracleServiceXE is present on the system. Remove the
    service , reboot the systemand retry the installation) can any one guide me to use
    command prompt to remove.
    My email address [email protected]
    Thanks

    Hi,
    Perform the following steps, this will solve your problem and can go with new installation. :-)
    (Only perform the steps 7.2 section and here is the link : http://download.oracle.com/docs/cd/B25329_01/doc/install.102/b25143/toc.htm#BABDJDCD
    Manually Removing Oracle Database XE
    If the deinstallation is interrupted, follow these steps to manually remove Oracle Database XE from your computer:
    Step 1: Stop the Oracle Database XE Services
    Step 2: Remove the Oracle Database XE Registry Editor Settings
    Step 3: Update the System Variable Path
    Step 4: Remove Oracle Database XE from the Start Menu and Desktop
    Step 5: Remove the Oracle Database XE Directories
    Step 6: Install and Run the Windows Installer CleanUp Utility
    7.2.1 Step 1: Stop the Oracle Database XE Services
    Follow these steps:
    1. Open the Windows Services utility: From the Start menu, select All Programs, then Administrative Tools, and then Services.
    2. If any of the following Oracle services exist and have the status Started, then select each of the services, and click Stop:
    OracleXE
    OracleXETNSListener
    OracleJobSchedulerXE
    OracleXEClrAgent
    OracleMTSRecoveryService
    3.
    Exit Services.
    See also the Microsoft online help for more information on stopping services.
    7.2.2 Step 2: Remove the Oracle Database XE Registry Editor Settings
    Follow these steps:
    1.
    Log on to Windows with Windows administrative privileges.
    2.
    Ensure that you followed the instructions under "Step 1: Stop the Oracle Database XE Services" to stop the Oracle Database XE services.
    3.
    Start the Registry Editor at a command prompt:
    SYSTEM_DRIVE:\> regedit
    4.
    Go to HKEY_CLASSES_ROOT.
    5.
    Delete the following keys:
    NEED TO CONFIRM THE XE-SPECIFIC ONES.
    6.
    Go to HKEY_CURRENT_USER\Software.
    7.
    Under Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu\Programs, delete the Oracle Database 10g Express Edition key.
    8.
    Go to HKEY_LOCAL_MACHINE\SOFTWARE and search for the ORACLE group key.
    9.
    Expand the ORACLE group key and then delete the KEY_XE and OracleMTSRecoveryService keys.
    10.
    Go to HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI.
    11.
    Expand the ODBCINST.INI key and remove the Oracle in XE key.
    12.
    Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services.
    13.
    Delete the following keys:
    OracleServiceXE
    OracleXEClrAgent
    OracleXETNSListener
    14.
    Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application.
    15.
    Delete the Oracle.xe key.
    16.
    Exit the Registry Editor.
    17.
    Restart your computer.
    Thanks,
    Rams...
    Edited by: user10888288 on May 3, 2010 5:58 AM

  • Can't uninstall or reinstall oracle 10g express edition in windows server 2

    Hi,
    I need help from all of you, i already install oracle 10g express edition in windows server 2003 in D drive. but i can't remove because the oracle not in the add remove program so i download the windows install clean up to remove
    but after remove it still in the all program i still can start and stop the database but can't go to the database home page. can any one guide me to use command prompt to remove.
    Thanks

    Hi,
    I need help from all of you, i already install oracle 10g express edition in windows server 2003 in D drive. but i can't remove because the oracle not in the add remove program so i download the windows install clean up to remove
    but after remove it still in the all program i still can start and stop the database but can't go to the database home page. can any one guide me to use command prompt to remove.
    Thanks

  • An issue while installing oracle 10g express edition on Ubuntu 10.04-64bit

    Hi,
    I'm running into an issue while installing oracle 10g express edition on my Ubuntu 10.04-64 bit installed machine using oracle-xe-universal_10.2.0.1-1.0_i386.deb package. The issue actually came up when I was trying to reinstall the package after uninstalling it due to some problem I had with my login credentials. To elaborate further on it, the /etc/init.d/oracle-xe script does not get created when I execute the debian package and thus i'm unable to configure the required credentials and stuff after the installation. I doubt whether this has something to do with the procedure I followed when uninstalling the previous package it. But what I did was just what's mentioned in the following [http://download.oracle.com/docs/cd/B25329_01/doc/install.102/b25144/toc.htm] user guide published by oracle.
    Another important clue would be, the platform of my machine is amd64bit although I'm dealing with an installation package preferred for i386. But I believe it's the only thing available in the oracle software download section. Hence I had to use the --force-architecture option to install it. But after reading some post published on this forum, I've figured out that it does not affect the usual execution of the software. Anyway,  I would greatly appreciate some help on this matter.
    [1] http://download.oracle.com/docs/cd/B25329_01/doc/install.102/b25144/toc.htm
    Thanks and Regards,
    Prabath Abeysekara
    Edited by: 829281 on Jan 18, 2011 7:52 PM

    Hi,
    Finally I've managed to find a solution for this issue. Thanks a lot for all the replies.
    Here's how I got rid of it.
    Addressing all the facts one by one,
    1.The problem of not getting the /etc/init.d/oracle-xe script generated was avoided
    by removing all the configuration files that were previously created while installing
    the product. The following command can be used to accomplish that task.
    *$ dpkg --purge oracle-xe*
    2.Next, Initially the password I used during the configuration process was "admin".
    Although I tried a couple of times installing the product providing the aforementioned
    password, the web UI kept prompting "Invalid Credentials" message not allowing me
    to login. But, this particular issue could be avoided by giving some other simple
    password.
    Finally, got it working and once again thanks a bunch for taking the burden of
    replying this thread.
    Cheers,
    Prabath

  • Installing Oracle 10G Express Edition on Linux after installing Libaio-0.3

    I had got a error while installing 10G Express Edition on Redhat Fedora core 4 linux after installing libaio-0.3.104-2.i386.rpm
    I had given the following command in Linux Command prompt to install the oracle database 10 G Express Edition (oracle-xe-10.2.0.1-1.0.i386.rpm)
    # sudo rpm -ivh /tmp/oracle-xe-10.2.0.1-1.0.i386.rpm
    The error I had got is as follows:
    Preparing.....#####################[100%]
    1:oracle-xe Warning:/etc/init.d/oracle-xe saved as /etc/init.d/oracle-xe.rpmorig
    error:Unpacking of archive failed on file /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/ons;4698950F:cpio:MD5 Sum Mismatch

    The steps I am asking is for installing oracle 10G express edition on Redhat Fedora core 4 Linux version. Now, after downloading the fresh copy of Oracle 10G express edition from the Oracle site. I have successfully installed oracle now.
    I was getting the following errors - I have pasted previous query for the problem which I had faced after installing Oracle 10 G Express Edition successfully on Redhat Fedora Core 4 Linux.
    The Previous Query is as follows:
    Thanks For Guiding Me All of you!
    Finally, I have installed Oracle 10G Express Edition on Redhat Fedora core 4 Linux.
    Now, I am having the following problems:
    After making the changes as per my Reference mentioned in my different messages, I had done the troubleshooting steps going to Options and setting the same.
    1.When I try to load the http://127.0.0.1:8080/apex page it gives an error popup:
    " The connection was refused when attempting to contact 127.0.0.1:8080 "
    2. After opening the Run the SQL Command Line by clicking on applications and When I say " Connect System and when prompted for password, I have entered the password and gives another error as follows:
    ORA-01034 : Oracle not available
    ORA-27101: Shared Memory realm does not exist
    Linux Error:2:No such file or directory
    3. When I try to manually start the Listener or Services, It gives one more error:
    Root Not a Member of DBA Group
    I need to What is happening or What is the Problem and How will I rectify them?

  • Installing Oracle 10g Express Edition on x86_64

    Hi,
    I tried installing Oracle 10g express edition on Arch Linux X86_64 but could not get it running.
    I followed guide here http://alodib.com/?q=node/32.
    Installation went well. Then I configured it, apparently went well. But could not get it running.
    I have following output
    $>sudo /etc/rc.d/oracle-xe restart
    :: Stopping Oracle Database                                              [FAIL]
    :: Starting Oracle Database                                              [DONE]
    $>sudo /etc/rc.d/oracle-xe restart
    :: Stopping Oracle Database                                              [FAIL]
    :: Starting Oracle Database                                              [DONE]
    $>sudo /etc/rc.d/oracle-xe status
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 26-DEC-2011 12:58:24
    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                26-DEC-2011 12:17:16
    Uptime                    0 days 0 hr. 41 min. 7 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=localhost.localdomain)(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
    $> sqlplus
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Dec 26 13:17:43 2011
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Enter user-name: system
    Enter password:
    oracleXE: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
    ERROR:
    ORA-12547: TNS:lost contact

    1) which Linux(freeware) flavor should I install ?Ordinarily, I'd recommend getting Oracle Linux (http://eDelivery.oracle.com/linux) because the default install includes all the prerequisite RPM packages you will need. And failing that, also offers another RPM package "oracle-validated" which will cause the installation of the necessary prerequisites.
    But... you mentioned customer: if this is a revenue-producing situation and customer money is at stake, I strongly recommend they obtain commercial O/S support with either Oracle, Red Hat, or maybe SuSE/Novell. Compared to the cost of a downed business, an O/S support arrangement is cheap, cheap, cheap.
    2) is there any virtual enviornment available for Linux Os on which I can install 10g Express Edition database ?Sure. You can run Oracle VirtualBox on most Linux, Windows, or Solaris boxes. http://VirtualBox.org for info.
    3) If available, is there any difference in using the Linux Os in Virtual enviornment and actual installing Linux ? will there be any difference in installing database and configuration for both the cases?No real differences in either environment.
    4) need download link for latest version of Red Hat Linux setupWhat, you didn't try http://eDelivery.oracle.com/linux yet?

  • Problems to initiate oracle 10g express edition

    Good afternoon I am speaking of Brazil with a text translator.
    But I have installed Hundreds and I am trying to install oracle 10g express edition release 2.
    I am with a problem in the Oracle 10g Express Edition in the installation part when I vo to initiate the service, it does not initiate.
    And when I give I command /etc/init.d/oracle-xe status appears the following message: Your default context is user_u: system_r: unconfined_t. Of it you want you choose different one? [n]
    I do not know more what to make to decide this.
    I thank the attention.
    Gabriel.
    Message was edited by:
    user523701

    Oracle XE has it's own forum - to register and discuss XE problems with XE experts use URL http://www.oracle.com/technology/xe/registration
    Once you have registered, you sign in to the forums and the link to the XE forum is there. But you do have to sign in as the user who registered XE.
    You will also need to provide a few more pieces of information:
    1) actual distro and version of Linux
    2) userid used to install XE (should be root)
    3) userid used to run "/etc/init.d/oracle-xe start" (should be root)

  • Oracle 10g Express won't open after Windows Patches

    Hi all,
    Yesterday I successfully installed Oracle 10g Express on a new Windows 2003 server with SP1. However today I can't open the Database Homepage - it is returning an error: "The page cannot be displayed" when I am trying to connect to http://127.0.0.1:8080/apex
    The only thing I can see as having changed between last night and this morning was that when I shut down the server last night 50 Windows Patches were installed. I wasn't paying enough attention last night and by the time I realised what was going on I couldn't stop the installation of these patches.
    So, does anyone know which Windows Patch may have caused this issue and if so is there a MS Patch Fix (surprise, surprise) or do I just uninstall that patch.
    I really don't want to have to go through the pain of formatting the machine and starting again.
    Thanking you,
    GR

    Check that none of the patches restarted/reset the firewall.

  • Trying to uninstall oracle 10g express edition

    Hello,
    The title says it all.
    I installed the application earlier and I'm now trying to unistall it.
    I tried to use the "classic" unistall function from the control panel but it didn't work. When I clicked "unistall" the oracle icon disappeared and but the program is still there.
    Is there any other way to unistall it?
    The version is "oracle 10g express edition" installed on Windows vista.
    Thanks in advance for you're help!
    Gladys.
    Edited by: Badaboum on 18 janv. 2009 03:26
    Edited by: Badaboum on 18 janv. 2009 03:49

    I used this process and it worked:
    1. Stop all oracle services
    2. Delete all oracle registry entries
    3. Delete C:\program files\oracle directory
    4. Delete oracle_home directory
    5. Delete oracle items from the start menu.
    Interesting link for other that may be in the same situation in the future:
    http://www.oracle-base.com/articles/misc/ManualOracleUninstall.php
    extract from the link:
    QUOTE
    In the past I've had many problems uninstalling all Oracle products from Windows systems. Here's my last resort method:
    * Uninstall all Oracle components using the Oracle Universal Installer (OUI).
    * Run regedit.exe and delete the HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE key. This contains registry entires for all Oracle products.
    * Delete any references to Oracle services left behind in the following part of the registry:
    HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Ora*
    It should be pretty obvious which ones relate to Oracle.
    * Reboot your machine.
    * Delete the "C:\Oracle" directory, or whatever directory is your ORACLE_BASE.
    * Delete the "C:\Program Files\Oracle" directory.
    * Empty the contents of your "c:\temp" directory.
    * Empty your recycle bin.
    At this point your machine will be as clean of Oracle components as it can be without a complete OS reinstall.
    Remember, manually editing your registry can be very destructive and force an OS reinstall so only do it as a last resort.
    END OF QUOTE

  • How can i create a new database instance in oracle 10g express edition?

    hello everybody
    i'm a student
    i am developing a database application
    i'm using oracle 10g express edition
    to run my application i need to create another database instance
    but i didn't find any option for doing so in that product
    if there is pls tell me where it is?
    if not pls tell me how to manually create it?
    regards,
    Chaitanya

    Chaitanya Babu M wrote:
    yaa i'm sure about that .
    i want one more instance of database.Can you perhaps explain why? I have a fair share of production and development servers - and not a single one of them needs to run more than one database instance.
    So I'm interested in what requirement you are trying to satisfy by using two database instances on a single platform.
    Oh yeah - if you want to create a custom XE instance (different SID, different tablespace sizes, more/less PL/SQL stuff installed, hack standard), make a copy of your XE db creation script (in your XE's +$ORACLE_HOME/bin+ and called createdb.sh ) and modify that for your needs.
    PS. even with a different SID, only a single XE instance can be run at a time - you can however have 2 different ones defined and then use one at a time (e.g. testing international settings, init param differences, etc.)

  • Oracle 10g express edition can support forms 6i & reports

    I have installed oracle 10g express edition and installed forms 6i. while connecting forms 6i into ora 10g express edition it is not connecting in windown xp platform.
    It is showing only "dont send error". I want to know oracle 10g express edition can support forms & reports.
    Please give me solution.
    Thanks
    Govindarajan

    this is from metalink :(https://metalink.oracle.com/metalink/plsql/f?p=140:1:8190633972492825) for windows 2003
    Application Tier Certifications
    OS      Product      Server      Status      Addtl.      Info.      Components      Other      Issues
    2003      6.0.8.26.0 Patch 17      9.2      Desupported      Yes      Yes      N/A      N/A
    2003      6.0.8.26.0 Patch 17      10g      Desupported      Yes      Yes      N/A      N/ASeems you are right, but if you filter only certified version result is NONE!
    And anther link is prooving that:
    https://metalink.oracle.com/metalink/plsql/f?p=200:27:8190633972492825::::p27_id,p27_show_header,p27_show_help:609971.992,1,1
    Nice start to read is:
    http://www.oracle.com/technology/products/forms/htdocs/FormsSOD.html

Maybe you are looking for

  • About Apache2 with RBAC

    Hi all, I'm trying to configure Apache2 with RBAC for reduce some privileges and run this service only with user webservd ...but the parent process (root) still exists! my steps: # svcadm -v disable -s apache2 # svccfg -s apache2 svc:/network/http:ap

  • How to completely remove programs?

    How do you completely uninstall programs on Mac OS? I was freeing up disk space yesterday and uninstalling pre-installed progs that I dont need so I wanted to get rid of GarageBand. I dragged GarageBand from the Applications folder to Trash but that

  • Idoc generation and reprint for smartforms and sapscripts

    Dear Experts, Currently our scenario is as below. We are using XML for all outputs. once IDOC is generated it is passed to XML port and print is issued. To reprint IDOC we have a customised program where in we can enter idoc number and print output.

  • HT4865 Hi, I need to edit my apple ID, any tips?

    Hi, The APPLE ID I have needs to be edited, I dont have an other APPLE ID, I am just looking to change the name, can anybody point me in the right direction? Thank you

  • I cant make call with europe unlimited

    I cannot make calls with europe unlimited subscription. Can you please help? I have received email confirmation that my purchase is delivered.