Oracle XE not running on CentOS machine

Hi,
I have installed Oracle-XE on a CentOS machine few months back and it was running fine since then, however for the past 2 days it is not running after I rebooted the machine.
When I checked the status of /etc/init.d/oracle-xe the output was
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 21-AUG-2012 12:32:42
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                21-AUG-2012 12:32:35
Uptime                    0 days 0 hr. 0 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=pcrf.open-ims.test)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
  Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfullyI am not able to connect any user with sql*plus command window, it just gives
conn techm
Enter password:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directoryHere are my tnsnames.ora and listener.ora
tnsnames.ora
# tnsnames.ora Network Configuration File:
XE =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = pcrf.open-ims.test)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = XE)
EXTPROC_CONNECTION_DATA =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
      (SID = PLSExtProc)
      (PRESENTATION = RO)
  )listener.ora
# listener.ora Network Configuration File:
SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = PLSExtProc)
      (ORACLE_HOME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
      (PROGRAM = extproc)
LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
      (ADDRESS = (PROTOCOL = TCP)(HOST = pcrf.open-ims.test)(PORT = 1521))
DEFAULT_SERVICE_LISTENER = (XE)Edited by: Peeyush on Aug 21, 2012 12:18 AM

This is the Oracle Apex Listener forum.
Please post on {forum:id=251}.
Hint: You perhaps need to START your DB.
Edited by: Prabodh on Aug 21, 2012 1:26 PM

Similar Messages

  • Oracle Job not running properly

    Hi All,
    I am facing an issue with oracle jobs.
    I have writtent the script of a job scheduled to be executed automatically after 2 seconds.It works on a table and dequeue the data in that table.
    Now the job is not able to execute for next time.If i execute the job immediately then also it does not run for next time.
    so where could be the problem...
    Please give me pointers.
    Thanks in advance :)
    Thanks n Regards
    Arun

    user10280915 wrote:
    Hi All,
    I am facing an issue with oracle jobs.
    I have writtent the script of a job scheduled to be executed automatically after 2 seconds.It works on a table and dequeue the data in that table.
    Now the job is not able to execute for next time.If i execute the job immediately then also it does not run for next time.
    so where could be the problem...
    Please give me pointers.
    Thanks in advance :)
    Thanks n Regards
    ArunThings that you'll need.
    1. JOB_QUEUE_PROCESSES to be non-zero
    2. A commit after submitting the job
    3. The job not to be broken.
    4. don't schedule very frequently (say <5s) if the os is Linux :( ).
    I'd check in the above order.
    Niall

  • Jobs in oracle are not running properly -

    Hi
    In my database i have some 10 jobs and they are running successfully but the next date is not getting updated to athe new interval. Because of that the jobs are not running furhter.
    Is there any solution for this
    Oracle 9.2.0.6
    O/S linux
    Rp

    RAJ> @JOBS2
    scheduled jobs
    Last This Next Run
    WHAT LOG_USER Job B fail Date Date Date Interval
    DQ_UPDATION; DOTSOFT 124 N 0 11-NOV-08: 15:59:35 : 16-NOV-08: 15:59:35 5.00
    P_SEND_PG_MAILS; DOTSOFT 250 N 0 14-NOV-08: 02:00:03 : 15-NOV-08: 02:00:00 1.00
    PLRANL; DOTSOFT 83 N 0 14-NOV-08: 00:00:03 : 15-NOV-08: 00:00:00 1.00
    P_MAIL_DIS; DOTSOFT 492 N 0 14-NOV-08: 00:00:03 : 15-NOV-08: 00:00:00 1.00
    FRSJOBS; DOTSOFT 106 N 0 14-NOV-08: 00:00:03 : 15-NOV-08: 00:00:00 1.00
    bill_net_os_details_proc; DOTSOFT 24 N 0 14-NOV-08: 00:00:03 : 15-NOV-08: 00:00:00 1.00
    FRS_REPEAT_UPDT; DOTSOFT 674 N 0 14-NOV-08: 07:00:03 : 14-NOV-08: 15:00:00 .33
    FRS_REPEAT_FAULT_UPDT; DOTSOFT 675 N 0 14-NOV-08: 07:00:05 : 14-NOV-08: 15:00:00 .33
    portal_application; DOTSOFT 692 N 0 14-NOV-08: 07:02:01 : 14-NOV-08: 08:02:01 .04
    an_printpack.an_process(sysdat DOTSOFT 532 N 0 14-NOV-08: 06:35:40 : 14-NOV-08: 07:05:40 .02
    e-1,sysdate, 'DOTSOFT', 'D');
    MONTHCRON; DOTSOFT 164 N 0 11-NOV-08: 15:59:35 : 11-DEC-08: 00:00:00 29.33
    npc_scan_job; DOTSOFT 392 N 11 14-NOV-08: 00:00:03 : 15-NOV-08: 00:00:00 1.00
    RECON_ALLPAID_PKG.RECON_ALLPAI DOTSOFT 228 N : : 18-NOV-08: 16:48:15
    D;

  • Oracle 8 not connecting from client machines

    hello
    i am using oracle 8 on windows environment. the problem is that oracle is connecting on the server machine but not on client machine for some days. sometimes i do connects but sometimes the application helds for long time and no response is obtained. Application is residing on the server and drive has been mapped on the client machines. What can be the possible cause. ping on the network is ok.
    Waiting...
    iftikhar ahmad
    Lahore

    oracle 8Wauv a historic database from 1997 - http://tonguc.wordpress.com/2006/12/27/history-of-oracle/
    do you really have to stay at that version first of all, 11gR1 is out and 9iR2 is de-supported recently and I couldnt find this release's documentation also.
    What about tnsping and sqlplus connection from your clients and listener status on your server - lsnrctl status
    You may need to set, take and analyze sql*net traces - http://download.oracle.com/docs/cd/B19306_01/java.102/b14355/apxtblsh.htm#i1004660
    Best regards.

  • Deployment status sucess but program does not run in client machine

    Hello Guys,
    I have created a package program to Run a batch script Install.bat
    Program Properties:
    Command Line: Install.bat
    Run: Normal
    After Running: No action required.
    Run Mode: Run with administrative rights (Allow interact with users)
    When i deploy this package i see Success in deployment status very soon, But the program doesnot run in client machine.
    Please find my batch script below for more info.(manually installed Install.bat in system context cmd, it works perrfectly )
    Please help me, where am going wrong
    rem ECHO OFF
    SETLOCAL
    SET WORKING=%~dp0
    echo Installing Office 365 pro plus NY package:
    echo ------------------------------------------
    %WORKING%setup.exe /configure %WORKING%install32ny.xml
    IF NOT EXIST "C:\Program Files\Microsoft Office 15\root\" (goto _ExitInstall)
    :_CopyingFile
    echo Copying Script to Office 365 INSTALLDIR:
    echo ----------------------------------------
    XCOPY %WORKING%Pin-Unpin.vbs "C:\Program Files\Microsoft Office 15\root" /C /F
    IF NOT EXIST "C:\Program Files\Microsoft Office 15\root\Pin-Unpin.vbs" (goto _ExitActivesetup)
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\Office365ProPlusNY" /v "StubPath" /d "cscript.exe \"C:\Program Files\Microsoft Office 15\root\Pin-Unpin.vbs\""
    /t REG_SZ /f
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\Office365ProPlusNY" /v "Version" /d "1.0" /t REG_SZ /f
    %WORKING%Launch.vbs
    exit /b %errorlevel%
    :_ExitInstall
    echo Aborting Installation:
    echo ----------------------
    echo Office 365 installation failed.
    echo %errorlevel%
    exit /b 3
    :_ExitActivesetup
    echo Aborting Installation:
    echo ----------------------
    echo Activesetup Script error to INSTALLDIR
    echo %errorlevel%
    exit /b 4

    It's just starting the command lines one after the other and after that simply returns a success of starting all the commands.  Two things you should do to successfully use a batch file like this:
    Use start-wait constructions, so the next action won't start before the previous action is finished. For the exact command lines see:
    http://technet.microsoft.com/en-us/library/bb491005.aspx;
    First test the batch file with psexec, to see how it behaves with SYSTEM credentials.
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • Why Oracle 11gR2 not supported on Virtual machine

    Dear All,
    I have googled this topic and have found various view from different people.
    I just need to know solid reason for why Oracle do not support VMWARE. I am not talking about Oracles VM Virtual Box but the others.
    Will highly appreciate your suggestions.
    Regards,
    Imran

    Hi Imran,
    The Oracle support policy states that “Oracle will only provide support for issues that either are known to occur on the native OS, or can be demonstrated not to be as a result of running on VMware.” This statement may
    create a perception that customers are somehow at risk, but the growing number of customers virtualizing Oracle on VMware have chosen to do so after carefully weighing the benefits against this implied risk.
    VMWare believe that three considerations are especially relevant to this assessment:
    • You can evaluate the risk by considering the following facts:
    ––VMware does not modify the native OS, so the solution Oracle provides for the native OS is fully expected to work for that same OS running on VMware.
    ––VMware has received no reports of incidents in which vSphere was determined to have caused a technical issue in the Oracle application or database.
    ––At worst, Oracle might ask a customer to reproduce the issue on a physical server, particularly if Oracle’s solution does not work. This request is seldom made, and even in the physical world Oracle reserves the
    right to request reproduction on different physical hardware in this situation.
    • You can negotiate the terms in your support agreement with Oracle and insist that Oracle provide you with the support commitment that meets your needs, including support for Oracle products running on vSphere.
    Some industry analysts have stated that it is commercially unacceptable to have policies that are difficult for Oracle customers to locate on Oracle’s Web site and that are changeable without notice.
    • VMware has its own policy to support customers running Oracle applications on VMware, available at https://www.vmware.com/support/policies/oracle-support.html. If required, VMware will take ownership of
    the support request and pursue rapid resolution, in collaboration with the Oracle support organization through TSANet as needed. Because VMware customers virtualize all types of Tier 1 applications, we have
    significant expertise in making this a seamless support experience.
    We are running many mission critical systems in VMware products.
    Provide your email id, I can send you the good white paper on Understanding Oracle Certification, Support and Licensing for VMware Environments
    With Regards,
    Sai

  • Oracle dbsonsole not running after drop temp files

    before drop temp tablespace
    i was create temp2 tablespace as default temp tablespace
    after that
    i have droppped temp files last to first
    temp4.dbf ..3..2
    when i have clicked to delete temp table space in dbconsole
    after a few time dbconsole not running
    in iexplore
    i have tired to start db control again with emctl start dbconsole
    it was already running
    then i have command
    emctl status dbconsole
    is not running
    i have looked log file i see temp file warning
    now what can i do to start dbconsole again

    Dbconsole doesn't work proper without temp files. So you should create temp file for temporary tablespace in some other tool.

  • Powershell Startup script is not running on client machine

    Hi,
    We have a OU which has some computer accounts. We have a powershell script which sets the value of HKLM\system\currentcontrolset\services\usbstor  - start - 4. I created a GPO in which this script is set in startup mode. I have applied
    this GPO object to the OU. In parameter tab i have kept it blank. But this scrpit doesn't run all on any of the machines. I have checked the script running manually and it works.
    I have gone through the microsoft blog's and have performed in that way also but no output.
    1. What more setting i need to do on GPO object ? 
    2. Or where should keep the script in server sysvol folder ?
    Thanks

    Hello Amit,
    A couple of things to check:
    Do you put the Powershell scripts in appropriate tab when you are trying to configure your script?
    I believe it does not complete successfully because Powershell and related services is not started yet in start up process.
    You can run it successfully because you are logged on and all the related services are started. 
    Since you are trying to apply GPO to windows 7 and higher operating systems, you can apply registry settings using GPO preferences. More info:
    Configure a Registry Item
    Regards.
    Mahdi Tehrani   |  
      |  
    www.mahditehrani.ir
    Please click on Propose As Answer or to mark this post as
    and helpful for other people.
    This posting is provided AS-IS with no warranties, and confers no rights.
    How to query members of 'Local Administrators' group in all computers?

  • Remote dbconsole not running on local machine.

    Hi all,
    My production DB 10g release 2 is on linux.EM dbconsole is successfully running on production server.Problem is my local machine is on windows xp service pack 3.When I tried to access 10g EM, it displays the login page ,when I supplied username/password it didn't give any error,but the page didn't open again come to username/pasword.
    Any help from ur side is appreciated.
    Regards,
    Asma

    Hi Asma,
    Lai had a good suggestion for you to check on the local machine. Did that help?
    There are known issues with hostnames that contain an underscore "_" or other characters that are not commonly used for hostnames.
    Thank you,
    Farouk

  • Does Oracle 11gR2 XE run on VM

    Does Oracle 11gR2 XE run on Virtual Machine? Is there any restriction to run Oracle XE on virtual machine?

    XE is free to use, subject to these restrictions - http://docs.oracle.com/cd/E17781_01/install.112/e18802/toc.htm#BABIECJA
    Your VM OS may or may not be free. What is the purpose of using this XE install ? If it is for personal learning, then you can install VM (Virtualbox at http://www.virtualbox.org), Oracle Enterprise Linux (from http://linux.oracle.com) and 11g XE for free.
    HTH
    Srini

  • How to Display Alerts evenwhen application is not running

    hi freinds
    i want to tell the user that some data has gone into a
    particular table through a back end procedure
    (process/job) ..through an alert on the screen.
    this has to be done in each of the client machine
    or (those selected) even when the application is not running in
    the machine,
    can we use any scheduler or any such things in the server.
    Please do let me know
    Syam
    null

    Communication through files tends to fail if the
    program exits abnormally and leaves the file in a
    "running" state.If you store the pid the only way it fails is if the
    program exits abnormally and then another process
    starts up using the same pid as is stored in the file
    before you restart your application. Basically it is
    not likely to happen and if it does you just drop the
    pid file.The point is that Java programs can't, generally, handle signals. That's what the commons Daemon stuff provides.
    The standard way of stopping a unix background task is to use the stored pid to throw a "kill" at the process, whiich the process intercepts and does what you asked, e.g. close down tidily or reread it's configuration.
    Java knows nothing about process ids.

  • BlackBerry Desktop will not run: "BlackBerry Desktop has stopped working" / APPCRASH

    With no apparent cause, BlackBerry Desktop 6.0.2 will not run on my machine any more; I get the standard Windows error dialog, "BlackBerry Desktop Software has stopped working"; the OS appears to search for a solution, but after 1-2 seconds, the dialog disappears.  The full error log:
    Description:
      Stopped working
    Problem signature:
      Problem Event Name:           APPCRASH
      Application Name:    Rim.Desktop.exe
      Application Version:6.0.2.44
      Application Timestamp:        4db5e0d4
      Fault Module Name:KERNELBASE.dll
      Fault Module Version:          6.1.7600.16385
      Fault Module Timestamp:     4a5bdbdf
      Exception Code:       e0434f4d
      Exception Offset:     0000b727
      OS Version:  6.1.7600.2.0.0.256.48
    Locale ID:     1033
    This is on Win7 Professional.  Uninstall/reboot/reinstall does not fix it.  Any thoughts?

    You could try troubleshoot compatibility in Win7. 
    Please give me Kudos if you feel like I helped you
    Thank you
    cuse165

  • Servlet File Not running on Server

    Hi All,
    I have a servlet file named "TestServlet", when I run this file(http://mydomain.com/TestServlet) on server it won't run, but its running on my local machine. Am using Tomcat 5.5.9 and jdk1.5.0_05 and Server configuration also same as my local machine configuration. Please! let me know any suggestion that why its not running on server machine.
    *1. web.xml is:*
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
        PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
        "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
        <display-name>My Servlet</display-name>
        <description>
          My Test Servlet
        </description>
        <servlet>
            <servlet-name>TestServlet</servlet-name>
            <servlet-class>com.test.TestServlet</servlet-class>
        </servlet>
        <servlet-mapping>
            <servlet-name>TestServlet</servlet-name>
            <url-pattern>/TestServlet</url-pattern>
        </servlet-mapping>
         <welcome-file-list>
              <welcome-file>index.html</welcome-file>
              <welcome-file>index.htm</welcome-file>
              <welcome-file>index.jsp</welcome-file>
         </welcome-file-list>
    </web-app>*2. TestServlet.java file is:*
    package com.test;
    import java.io.IOException;
    import java.io.PrintWriter;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class TestServlet extends HttpServlet
         public void doPost (HttpServletRequest req, HttpServletResponse response)throws ServletException, IOException
              * Set the content type(MIME Type) of the response.
              response.setContentType("text/html");
              PrintWriter out = response.getWriter();
              * Write the HTML to the response
              out.println("<html>");
              out.println("<head>");
              out.println("<title> A very simple servlet example</title>");
              out.println("</head>");
              out.println("<body>");
              out.println("<h1>Welcome To TestServlet</h1>");
              out.println("</body>");
              out.println("</html>");
              out.close();
        public void doGet(HttpServletRequest request, HttpServletResponse response)
        throws IOException, ServletException
            doPost(request, response);
    }Thanks in Advance,
    Prasath Arjunan.

    PrasathArjunan wrote:
    Yes, I can run my JSPs on my server without any error,
    I don't know which port it has listening in my Server(Tomcat),
    My server also have installed Apache HTTP server and my application is under ROOT directory only.If you don't know then it is most likely the default 8080 port.
    I ask because in your url example you do not provide a port number, so requests are going to port 80. If you have Apache HTTP running there then you must have a connector installed in Apache HTTP that forwards requests to Tomcat? Because then I'd say the mappings are not entirely correct and servlet requests do not reach Tomcat. Post the connector configuration if you are using one.

  • Oracle XE 11g x64 does not run. No *DBF files inside of the XE folder. Windows 7 Pro x64.

    Hello everyone!
    I hope you are doing well all. In my case I have some troubles by installing Oracle XE 11g on my PC. My OS is Windows 7 Pro x64.
    1. I activated the Administrator mode on my PC (net user Administrator /active:yes)
    2. Started the setup as Administrator. The setup process was finished successfully with no errors showed.
    3. Started the Database, OracleServiceXE, OracleXETNListener and other services.
    4. Tried to connect using sqlplus-> connect system ->password, what in result gave me ORA-01034 Oracle not available and ORA-27101 Shared memory realm does not exist errors.
    5. Then I recognized that my C:\oraclexe\app\oracle\oradata\XE folder is empty when it should be usually full with 6 DBF file.
    6. I opened the cloneDBCreation.log and it contains these data:
    SQL> Create controlfile reuse set database "XE"
      2  MAXINSTANCES 8
      3  MAXLOGHISTORY 1
      4  MAXLOGFILES 16
      5  MAXLOGMEMBERS 3
      6  MAXDATAFILES 100
      7  Datafile
      8  'C:\oraclexe\app\oracle\oradata\XE\system.dbf',
      9  'C:\oraclexe\app\oracle\oradata\XE\undotbs1.dbf',
    10  'C:\oraclexe\app\oracle\oradata\XE\sysaux.dbf',
    11  'C:\oraclexe\app\oracle\oradata\XE\users.dbf'
    12  LOGFILE
    13  GROUP 1 SIZE 51200K,
    14  GROUP 2 SIZE 51200K,
    15  RESETLOGS;
    SP2-0640: Not connected
    SQL> exec dbms_backup_restore.zerodbid(0);
    SP2-0640: Not connected
    SP2-0641: "EXECUTE" requires connection to server
    SQL> shutdown immediate;
    ORA-12560: TNS:protocol adapter error
    SQL> startup nomount pfile="C:\oraclexe\app\oracle\product\11.2.0\server\config\scripts\initXETemp.ora";
    ORA-12560: TNS:protocol adapter error
    SQL> Create controlfile reuse set database "XE"
      2  MAXINSTANCES 8
      3  MAXLOGHISTORY 1
      4  MAXLOGFILES 16
      5  MAXLOGMEMBERS 3
      6  MAXDATAFILES 100
      7  Datafile
      8  'C:\oraclexe\app\oracle\oradata\XE\system.dbf',
      9  'C:\oraclexe\app\oracle\oradata\XE\undotbs1.dbf',
    10  'C:\oraclexe\app\oracle\oradata\XE\sysaux.dbf',
    11  'C:\oraclexe\app\oracle\oradata\XE\users.dbf'
    12  LOGFILE
    13  GROUP 1 SIZE 51200K,
    14  GROUP 2 SIZE 51200K,
    15  RESETLOGS;
    SP2-0640: Not connected
    SQL> alter system enable restricted session;
    SP2-0640: Not connected
    SQL> alter database "XE" open resetlogs;
    SP2-0640: Not connected
    SQL> alter database rename global_name to "XE";
    SP2-0640: Not connected
    SQL> alter system switch logfile;
    SP2-0640: Not connected
    SQL> alter system checkpoint;
    SP2-0640: Not connected
    SQL> alter database drop logfile group 3;
    SP2-0640: Not connected
    SQL> ALTER TABLESPACE TEMP ADD TEMPFILE 'C:\oraclexe\app\oracle\oradata\XE\temp.dbf' SIZE 20480K REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED;
    SP2-0640: Not connected
    SQL> select tablespace_name from dba_tablespaces where tablespace_name='USERS';
    SP2-0640: Not connected
    SQL> select sid, program, serial#, username from v$session;
    SP2-0640: Not connected
    SQL> alter user sys identified by "&&sysPassword";
    SP2-0640: Not connected
    SQL> alter user system identified by "&&systemPassword";
    SP2-0640: Not connected
    SQL> alter system disable restricted session;
    SP2-0640: Not connected
    SQL> @C:\oraclexe\app\oracle\product\11.2.0\server\config\scripts\postScripts.sql
    SQL> connect "SYS"/"&&sysPassword" as SYSDBA
    ERROR:
    ORA-12560: TNS:protocol adapter error
    SQL> set echo on
    SQL> spool C:\oraclexe\app\oracle\product\11.2.0\server\config\log\postScripts.log
    I spent around 2 days to come to this reason and now I do not know what to do next.
    My actions to resolve this problem:
    1. Checked if my user has administrative rights and belongs to ora_dba. It does!
    2. Turned Microsoft UAC off.
    3. Set the system and local variables of ORACLE_BASE, ORACLE_HOME, ORACLE_SID, PATH, TNS-ADMIN to the appropriate values in Enivornment Variables:
         - ORACLE_BASE -> C:\oraclexe
         - ORACLE_HOME -> %ORACLE_BASE%\app\oracle\product\11.2.0\server
         - ORACLE_SID -> XE
         - Added to PATH -> C:\oraclexe\app\oracle\product\11.2.0\server\bin;
         - TNS_ADMIN -> %ORACLE_HOME%\network\admin
    4. Removed Oracle XE 11g and reinstalled to another drive. No sense!
    Some more errors:
    1. C:\oraclexe\app\oracle\product\11.2.0\server\config\log\XE.bat.log
    Instance created.
    DIM-00019: create service error
    O/S-Error: (OS 1387) Ein Mitglied konnte in der lokalen Gruppe nicht hinzugefugt oder entfernt werden, da das Mitglied nicht vorhanden ist.
    It means -> O/S-Error: (OS 1387) Unable to add or remove a member from the local group because this member does not exist.
    I understand that I need to logon as batch job. I added me to this policy in User Rights Assignments, but still I get these "DIM-00019: create service error" and "O/S-Error: (OS 1387)". And I guess just therefore my database is not starting well.
    2. 127.0.0.1:8080/apex/f?p=4950 is not starting in browser. It is probably because the database is not running appropriately. For this issue have already seen one topic in Google that the HTTP Properties inside the Listener Status must be set to 8080 to make this link work. But in my case I do not see this line in my Listener Status:
    Some other information relevant to the issue:
    1)  echo %USERNAME% - Administrator
         echo %USERDOMAIN% - ildar-PC
    2) Listener.log:
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
          (PROGRAM = extproc)
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
          (PROGRAM = extproc)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
          (ADDRESS = (PROTOCOL = TCP)(HOST = ildar-PC)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    3) Tnsnames.log
    XE =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = ildar-PC)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
    4) Sqlnet.log:
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    5) While connecting by sqlplus, I get this errors/messages:
    6) Confirmation that I've got admin rights and I am in ORA_DBA:
    If u need some more information from me, please let me know!!
    Guys please help me to solve this issue, 'cause I've almost got frustrated to find out the solution of this problem. Thank you beforehand!!
    Kind regards,
    ildar

    I have tried to install both of them lots of times but in each case I receive the same in my XE.bat file:
    Instance created.
    DIM-00019: create service error
    O/S-Error: (OS 1387) Unable to add or remove a member from the local group because this member does not exist.
    Have checked OS 1387 error at Microsoft Support and as possible cause of the problem they give as follows:
    This issue can occur if the environment has a disjointed namespace (i.e. the domain has different NetBIOS and DNS names). For example, assume that the domain has a NetBIOS name of "domain.com" and a DNS name of "domain-old.com." When users are added in the Windows UI, they are displayed in the format of domain\ComputerName. However, you notice in the error log that there was an attempt to add a computer account in the format of domain-old\ComputerName. (System Center 2012 R2 Data Protection Manager install fails and generates ID: 4323: "A member could not be added")
    Tried to find out my DNS name, but it is impossible because I don't have any domain installed and my machine is not connected to it. Some other blog (Install Oracle 11gR2 on Windows) advices to work with adding my computer account to some non-real windows domain (just for the purpose of resolving the network) as well and reinstall the database then. If I undestand it right I need minimum 2 machines for this. But I own just one, where the server is based and thought that is enough to run the database... no idea ..

  • Unable to connect to Oracle database running on Windows machine from linux.

    Hi,
    I'm not able to connect to oracle database running on Windows machine from Linux machine. I'm geting the below mentioned error. I have given below the code I used to connect to database and database propertes.Do I need to use any specific driver?
    Please help me.
    Thanks,
    Sunjyoti
    Code :
    import oracle.jdbc.pool.OracleDataSource;
    import java.sql.Connection;
    import java.util.*;
    import java.sql.*;
    import java.io.*;
    class try2{
    public static void main(String args[]) {
    try {
              System.out.println("hi");
    // Load the properties file to get the connection information
    Properties prop = new Properties();
    prop.load(new FileInputStream("/home/sreejith/EDIReader/Connection.properties"));
    // Create a OracleDataSource instance
    OracleDataSource ods = new OracleDataSource();
    System.out.println("prop is "+prop);
    configureDataSource(ods, prop);
    Connection conn=null;
    // Create a connection object
    conn = ods.getConnection();
         System.out.println("Connection is"+conn);
    // Sets the auto-commit property for the connection to be false.
    conn.setAutoCommit(false);
    } catch (SQLException sqlEx){ // Handle SQL Errors
    System.out.println("In exception "+sqlEx);
    } catch(Exception excep) { // Handle other errors
    System.out.println(" Exception "+ excep.toString());
    private static void configureDataSource(OracleDataSource ods, Properties prop) {
    // Database Host Name
    ods.setServerName(prop.getProperty("HostName"));
    // Set the database SID
    ods.setDatabaseName(prop.getProperty("SID"));
    // Set database port
    ods.setPortNumber( new Integer( prop.getProperty("Port") ).intValue());
    // Set the driver type
    ods.setDriverType ("thin");
    // Sets the user name
    ods.setUser(prop.getProperty("UserName"));
    // Sets the password
    ods.setPassword(prop.getProperty("Password"));
    Connection properties :
    # Your Database Connection details
    HostName = 10.20.3.19
    SID = EDIREAD
    Port = 1521
    UserName = dbuser
    Password = dbuser
    Error I'm getting is
    error while trying to connect with odbc datasource
    [root@iflexpau2217 EDIReader]# java try2
    hi
    prop is {HostName=10.20.3.19, Password=dbuser, UserName=dbuser, SID=EDIREAD, Port=1521}
    In exception java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Also I tried to connect with weblogic JDBC driver
    Code is here:
    import java.io.BufferedReader;
    import java.io.ByteArrayInputStream;
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.io.FileReader;
    import java.io.IOException;
    import java.sql.Blob;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.PreparedStatement;
    import java.sql.SQLException;
    //import com.entrust.toolkit.util.ByteArray;
    public class trial{
         public static void main(String args[]) throws IOException{
              System.out.println("hi");
              Connection p_conn = null;
              PreparedStatement xml_insert = null;
              try {
         // Load the JDBC driver
                   System.out.println("hi2");
         // String driverName = "oracle.jdbc.driver.OracleDriver";
    String driverName = "weblogic.jdbc.oracle.OracleDriver";
         System.out.println("hi2");
         Class.forName(driverName);
         // Create a connection to the database
         String serverName = "10.20.3.19";
         String portNumber = "1521";
         String sid = "EDIREAD";
         //String url = "jdbc:oracle:thin:@" + serverName + ":" + portNumber + ":" + sid;
    String url = "jdbc:bea:oracle://10.20.3.19:1521";
         String username = "dbuser";
         String password = "dbuser";
    System.out.println("connection is:"+p_conn+"user name is"+username+"password is"+password);
         p_conn = DriverManager.getConnection(url, username, password);
         System.out.println("connection is:"+p_conn+"user name is"+username+"password is"+password);
              xml_insert=p_conn.prepareStatement("insert into PRTB_SUBUNIT (SUBUNT_ID,SUBUNT_SUB_UNIT,SUBUNT_PHYUNT_ID) values (?,?,?)");
              //InputStream in=null;
              File l_file=new File("/home/sreejith/EDIReader/propertyfiles/inputfile/BUG_10802_ES_CSB19_68.txt");
              BufferedReader input =null;
              input=new BufferedReader(new FileReader(l_file));
              String line = null;
              StringBuffer trial=new StringBuffer();
              while (( line = input.readLine()) != null){
                   trial.append(line);
                   trial.append(System.getProperty("line.separator"));
              //InputStream is = new BufferedInputStream(new FileInputStream(l_file));
              System.out.println(trial.toString());
              //Blob b ;
              //byte[] bytes=trial.toString().getBytes();
              //System.out.println("Size-->"+bytes.length);
              xml_insert.setString(1,new String("SpecailChar"));
              //xml_insert.setBinaryStream(2,new ByteArrayInputStream(bytes),15920);
              xml_insert.setString(3,"SpecailChar");
              xml_insert.executeUpdate();
              p_conn.commit();
              } catch (ClassNotFoundException e) {
                   System.out.println("ClassNotFoundException:"+e.getMessage());
              // Could not find the database driver
              } catch (SQLException e) {
                   System.out.println("SQEXCEPTIN:"+e.getMessage());
              // Could not connect to the database
              }catch (FileNotFoundException e) {
                   System.out.println("filenot found:"+e.getMessage());
              // Could not connect to the database
    Error I'm getting is
    error while trying with jdbc:
    SQEXCEPTIN:[BEA][Oracle JDBC Driver]Error establishing socket to host and port: 10.20.3.19:1521. Reason: Connection refused

    Is the Windows firewall active? Have you enabled the port on the firewall, if it is?

Maybe you are looking for