Oracle XE occasionally doesn't start correctly

Hi,
I have the services OracleServiceXE and OracleXETNSListener set to start automatically and most of the time when I try to connect to the database in the morning after booting up it works fine. However, occasionally I get TNS-12514 or TNS-12505 errors.
I can tnsping the database and the services appear to be started. In Task Manager I can see oracle.exe running but it is only using ~300KB of memory, which seems low. If I leave it for 30mins the problem is still there, so I don't think it is anything to do with Oracle still loading or trying to sort itself out.
I've searched for all the log files in the OracleXE directory and alert_xe.log has not been updated at all today but there are logs with the listener and sqlnet errors.
The good news is that if I restart OracleServiceXE then everything works as normal.
So this is more of an annoyance than anything else, but if anyone has any ideas why it does this (I've also known it stop working halfway through a day) it would be appreciated.
Thanks,
John.
BTW. I'm running on Windows XP SP2 with Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product.

Hi John
The Oracle database and the listerner software works together as follows:
When the database starts, it (the PMON proces) registers it self with the default listerner. If the database service starts before the listener, then it cannot do this. Try adding an entry in your configuration file for the listener
$ORACLE_HOME/network/admin/listener.ora
(you can lookup the syntax in the manual
Net Services Administrator's Guide
This way, the listener knows about the database, also when it is started after the database.
By the way: tnsping only talks to the listener, never to the database, and it only checks if the listener is up and running.
Hope this helps.
Best wishes,
Kennie

Similar Messages

  • Oracle BAM server doesn't start up

    Hi, I have a BAM server in a cluster and start up sometimes and not others.
    When started shuts down unexpectedly.
    Logs files doesn't show errors.
    =============================================================================================
    startWebLogic.cmd console show a "million" times, stop when shutdown server
    "(Warning) (oracle.mds) (BEA-000000) (A call to flushChanges on the current MDSSession does not specify the correct transaction key)"
    ==============================================================================================
    startManagedWebLogic.cmd console show this:
    There are 1 nested errors:
    weblogic.management.ManagementException: [Management:141247]The configuration di
    rectory C:\Oracle\Middleware\wlserver_10.3\common\bin\config does not exist and
    the admin server is not available.
            at weblogic.management.provider.internal.RuntimeAccessImpl.parseNewStyle
    Config(RuntimeAccessImpl.java:200)
            at weblogic.management.provider.internal.RuntimeAccessImpl.<init>(Runtim
    eAccessImpl.java:115)
            at weblogic.management.provider.internal.RuntimeAccessService.start(Runt
    imeAccessService.java:41)
            at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesMan
    ager.java:461)
            at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServ
    icesManager.java:166)
            at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:881)
            at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:568)
            at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:469)
            at weblogic.Server.main(Server.java:71)
    >
    <16/04/2014 11h'07 ART> <Notice> <WebLogicServer> <BEA-000365> <Server state cha
    nged to FAILED>
    <16/04/2014 11h'07 ART> <Error> <WebLogicServer> <BEA-000383> <A critical servic
    e failed. The server will shut itself down>
    <16/04/2014 11h'07 ART> <Notice> <WebLogicServer> <BEA-000365> <Server state cha
    nged to FORCE_SHUTTING_DOWN>
    Thanks!

    See the below error :
    The configuration directory C:\Oracle\Middleware\wlserver_10.3\common\bin\config does not exist and  the admin server is not available.
    It clearly mentions that config.xml file was not found - which is needed for the Admin Server to start. Check in the above location if one exists or not.

  • Oracle 8i agent doesn't start

    I use: oracle 8i 8.1.7.00 windows 2000 sp4
    This night a blackout occurs and now I can't start the agent service.
    If I try I recieved this message:
    Impossible start service oraclehome8iagnet on local computer
    Error 3221356559
    What can I do?

    I recreate the service with sc.
    sc create "OracleOraHome81Agent" binpath="C:\oracle\ora81\BIN\dbsnmp.exe"
    But when I start the service I recivied this message:
    Servizio OracleOraHome81Agent terminato con l'errore:
    %%3221356559
    And in the log nmiconf.log in oracle_home/network/log
    I see this:
    DBSNMP for 32-bit Windows: release 8.1.7 - Production on 12-NOV-07 15:29:38
    Discovering services on venus configured on host addresses {----- xxx.xxx.x.xxx}
    Warning : Could not retrieve registry value ORACLE_HOME_NAME under HKEY_LOCAL_MACHINE\Software\Oracle\HOME1
    nmxwconf Error : Unable to locate web server configuration file : [Apache httpd.conf path]
    What does it mean?

  • Oracle Process Manager doesn't start anymore - orageneric11.dll

    Hi,
    we have an OPMN installed as standalone for containing Oracle Data Integrator 11 agent. All was fine until a technical maintenance that reinstalled the antivirus and some other stuff.
    Now when i try to start OPMN service it fails and in the event log i see a "orageneric11.dll no found, try reinstalling the software".
    Have you got any idea about what happened?
    Thanks in advance

    Just reinstalled sw

  • Oracle Universal Installer doesn't start on Windows2000 prof. with P-4 processor

    Hi all,
    the problem is that when I try to install Oracle 8.1.7.0.0 EE on my computer with P-4 processor with OS WIndows2000 simply nothing happens. The installation process just starts up end exits after several seconds without any error messages.
    Earlier I succefully installed the same program on the Windows2000 with P-3 processor. Have anybody encountered already such problem?
    thanks for any help, Igor

    Thank you very much. Finally some good advice that works.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Joseph Conti ([email protected]):
    I had the same problem, here is what worked for me and why.
    The root of the problem the that older versions of the 1.1.x jdk don't function properly on a P4. See:
    http://java.sun.com/products/jdk/1.1/download-jdk-windows.html
    Notice they indicate there was a problem running Java 1.1.x on Pentium 4 machines and that JDK 1.1.8_008 has a fix for it.
    The problem is specifically with a file named SYMCJIT.DLL although this isn't clear from reading the java site. The 8i installer includes this file twice, search for it. The version provided with the Orcale installer is older then the one provided with JDK 1.1.8_008 even though if you inspect the properties of these various files they all appear to be the same.
    Download the JDK 1.1.8_008, find this file and replace the installer versions with it and all should be well!
    Joe<HR></BLOCKQUOTE>
    null

  • Oracle dbconsole 11gr2 doesn't start in VirtualBox

    Hi, I use Oracle VM virtualBox
    When I enter "emctl start dbconsole"
    There is something wrong.
    It shows:
    [oracle@orvm-674-2012-02 ~]$ emctl start dbconsole
    The following exception occurred:
    java.net.UnknownHostException: orvm-674-2012-02.local: orvm-674-2012-02.local
    at java.net.InetAddress.getLocalHost(InetAddress.java:1354)
    at oracle.sysman.emd.targetIntg.agent.AgentTargetInstaller.getLocalHost(AgentTargetInstaller.java:4282)
    at oracle.sysman.emd.targetIntg.agent.AgentTargetInstaller.printLocalHost(AgentTargetInstaller.java:4252)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.sysman.emd.targetIntg.Util$DefaultIntegrationMethod.execute(Util.java:598)
    at oracle.sysman.emd.targetIntg.TargetInstaller.execute_(TargetInstaller.java:167)
    at oracle.sysman.emd.targetIntg.TargetInstaller.execute(TargetInstaller.java:155)
    at oracle.sysman.emSDK.conf.TargetInstaller.printLocalHost(TargetInstaller.java:2364)
    at oracle.sysman.emSDK.conf.TargetInstaller.main(TargetInstaller.java:3290)
    Although there was an exception it might be possible for the program to continue.
    OC4J Configuration issue. /home/oracle/app/oracle/product/11.2.0/dbhome_2/oc4j/j2ee/OC4J_DBConsole_null_orcl not found.
    How to fix this?????
    Please help me.

    885862 wrote:
    How to check my hostname?? Sorry I am new to VirtualBox
    It's an OS question, not a VirtualBox question. You didn't state your os, so I'll assume Oracle Linux.
    Google 'set hostname in linux'. There are about a bazillion hits on it.
    I didn't see /etc/hosts
    Where were you looking?
    How to set the ORACLE_HOSTNAME enviroment variable?in your /home/.bash_profile, put this line:
    export ORACLE_HOSTNAME=<whatever value is appropriate'
    Edited by: EdStevens on Nov 19, 2012 2:54 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Cisco Network Assistant doesn't start correctly

    Hi!
    A bit of background:
    We've been replacing our 'old' Catalyst 3550 boxes with 3750 Switches, and since the web-interface on these are 'a bit lacking' in functionality(to say the least), we figured that CNA(downloaded latest version) would be just the thing...
    Except, when we try to start it, we get this message:
    Read/write access problems:
    Ingen tilgang
    =======================================
    Note: Read/write access is required for user home directory and installation directory:
    C:\Documents and Settings\BOFH
    C:\Programfiler\Cisco Systems\Cisco Network Assistant
    =======================================
    'Ingen adgang' is Norwegian for 'No access'.
    Also, I've altered my profile name in the message(No need to give away login name, is there? :-)
    Now, my PC is set up according to 'best practices' for a SECURE NETWORKED PC In an office environment.
    In other words, my user doesn't have write access to any folder in the %Program Files% areas, and that's the way we like to keep it...
    So, Who goofed up the software, and how do I get around it without compromising the security of my PC?

    That is NOT a solution.
    The reason why a user shouldn't have write access to the \program files\ folder is that it contains EXECUTABLE BINARIES, which many virii likes to infect.
    Moving the install to another folder and giving a user write access to that just moves the problem to another place.
    What COULD help is a list of subfolders(which doesn't contain binaries or other easily-infected files) or files which the program needs to have write access to, or an updated version which stores its config data somewhere else...

  • Photoshop doesn't start correctly.

    After starting Photoshop (on Mac OS X 10.7.5) several messages appear "Kopieren wird vorbereitet".
    Then it needs a long time until the Photoshop window opens (about 5 minutes).
    Anton

    Hi,
    now I found that the problem is there if I have running the application "VMware fusion" at the same time.
    After closing vmware, Photoshop starts normally.
    With running VMware at the same time, the problem is there independent of the way I start photoshop (starting ps alone without a file or by double-clicking a file).
    Anton

  • [SOLVED] X server doesn't start correctly: Connection to X server lost

    I was trying to configure wine on my x64 system and suddenly X shutted down. There is nothing helpful in xinit output, only line "xinit: connection to X server lost". I've got nVidia GeForce 9800 GT, and i'm using nvidia driver. I tried using nouveau, nv and completely reinstalling system from scratch, but nothing helped, I still get the same error.
    Here is my /etc/X11/xorg.conf.d/10-monitor : http://paste.pocoo.org/show/297106/
    /var/log/Xorg.0.log : http://paste.pocoo.org/show/297107/
    Please, help.
    Last edited by blin (2010-12-05 08:22:50)

    After some experimentation I've found that I can start X as root.
    Here is Xorg.log as i run X as root: http://paste.pocoo.org/show/299430/
    And here is Xorg.log as i run X as normal user: http://paste.pocoo.org/show/299431/
    The only difference that i can see is "Power Button: Close" when running as normal user. I think that there could be some relation to recent udev update.
    Any ideas?

  • OMS doesn't start

    My Oracle Management Server Doesn't start.. I have choosen then existing repository instead of creating a new repository at the time of installation.. When i start OMS it gives error java.lang.arrayindexoutofbounds.exception ....
    What should i do to make it working....

    dear frind
    I am also facing the same problem.
    If you find answer pl mail to me.
    Thanks in advance
    Suresh

  • Mountain Lion doesn't start, goes into terminal screen

    Ever since I upgrades to Mountain Lion from Lion, my system doesn't start correctly.  When I boot it, the screen goes into terminal and stops there.  I usually have to give the command to exit and then command boot ant it starts up.  Other times I have to shut down from terminal and restart.  The apple support has not been help full at all.  They say do this, do that and then want to hang up without resolving the issue.  Can anyone help?

    Well - I think we found the issue.  It looks to be when you power up the system and turn on the wireless keyboard as it boots up, it sends a signal that triggers single user mode.   This never happened with the previous Snow Leopard and Lion.  It looks like I should never turn off the keyboard or mouse.  They will automatically go to sleep mode after approximately 6 minutes of no system activity.  When you power the system, it will send a wake signal to the two devices.
    Following this advise from 2nd level tech support has proven to be successful.
    This is the end of this issue for me.  Thanks to all who gave me some options to try.

  • Oracle doesn't started when When I reboot the Server.

    Dear All,
    I have installed 10g using ASM and Oracle-managed files on a Windows Server 2003 (Second Edition , Service Pack 1 ) system . I have put no data in, and I take the defaults. It works fine - until the system reboots.
    Oracle doesn't started when When I reboot the Server.
    Here is what I get from sqlplus, following the instructions to start an ASM instance:
    SQL*Plus: Release 10.1.0.2.0 - Production on Mon Oct 11 10:47:53 2006
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    SQL> startup
    ORA-01078: failure in processing system parameters
    ORA-01565: error in identifying file '+DATA0/10g/spfile10g.ora'
    ORA-17503: ksfdopn:2 Failed to open file +DATA0/10g/spfile10g.ora
    ORA-15077: could not locate ASM instance serving a required diskgroup
    Thanks for helping,
    Debraj Banerjee

    It look like your ASM instance is not yet started. Try the following:
    $>export ORACLE_SID=+ASM (set ORACLE_SID=+ASM if you are on Windows)
    $>sqlplus /nolog
    SQL>startupThen you start up your other instance.

  • Oracle Agent doesn't start

    Hi. My Oracle Agent doesn't start. HOw can I fix it?
    In Windows XP on Services I check status and find
    OracleServer_OracleAgent status is "Starting"
    I can't stop it, and can't start it
    Thanks...

    what is your memory size of system. this is due to low memory size. increase pagfile area and wait for complete start of service

  • Local OC4J instance doesn't start  from oracle developer suite 10gR2

    Local OC4J instance doesn't start from oracle developer suite 10gR2

    You might also wish to consider posting your question here:
    <br>
    Forms
    <br>
    OC4J (maybe)

  • 11.2 oracle instance doesn't start on OEL 5.5

    I installed Oracle database 11.2 on OEL 5.5 . I created a instance an I want to set it to start automatic in a way described here http://download.oracle.com/docs/cd/E11882_01/server.112/e10839/strt_stp.htm#BABGDGHF. My oracle instance doesn't start automatic at boot time .
    But because messages that oracle software give it to me at boot time is very few , I tried to execute manually the procedure that starts oracle instance , /etc/init.d/dbora .
    It gives me the following output :
    /etc/init.d/dbora start
    + ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
    + ORACLE=oracle
    + PATH=/usr/kerberos/sbin:/u01/app/oracle/product/11.2.0/dbhome_1/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/oracle/bin:/u01/app/oracle/product/11.2.0/dbhome_1/bin
    ++ hostname
    + HOST=linux
    ++ uname
    + PLATFORM=Linux
    + export ORACLE_HOME PATH
    + '[' '!' '' = ORA_DB ']'
    + '[' Linux = HP-UX ']'
    + rsh linux -l oracle /etc/init.d/dbora start ORA_DB
    connect to address 89.136.140.223 port 544: Connection refused
    Trying krb4 rsh...
    connect to address 89.136.140.223 port 544: Connection refused
    trying normal rsh (/usr/bin/rsh)
    linux: Connection refused
    + '[' Linux = Linux ']'
    + touch /var/lock/subsys/dbora
    + exit
    It is strange for me . It doesn't even try to start database , and I do not understand why this error : "connecton refused" .
    I hope someone , that understand what procedure is trying to do , help me understand what mistake I did.
    Thanks,
    Aurel

    Don't post your question to multiple forums.
    You already asked this in the General Linux forum.
    Multi-posting is frowned upon as poor forum etiquette.
    That post has now been deleted, since you state you're using OEL 5.5.
    In the future, if you want a post moved then log in to the site, bring your post up on the screen and click the yellow exclamation mark icon and report "abuse" on yourself. That process works. A site admin will eventually move the thread.
    ... and isn't this other thread actually the same issue?
    Errors during boot OEL 5.5 starting a 11.2 instance

Maybe you are looking for

  • Reg. Fatal pl/sql error

    Hi All, When i run my report with passing '%' or 'ALL' in customer code parameter field for all customer, it shows following error in one of my formula column : Formula column name : cf_remark Error: 'cf_remark':Fatal PL/SQL error occured ora-06502:P

  • Problem using WRVS4400n with WPA4410n as Repeater

    hi there, we're using a WRVS4400n with V2.0.0.8-ETSI as Router and WLAN Access. - Network Mode: N-Only - Channel: 13 - Secutity: WPA2 - Isolation: disabled - Bandwith: 20/40 - Signal is allowed to be repeated Now we installed a new WAP4410n with 2.0.

  • How can I copy albums from my zen extra back to my computer in the right ord

    When I copy albums from my zen extra 60 G back to my computer the songs always are in alphabetical order. How can I copy them in the right order as they are on the CD?Thanks from GermanyRainer

  • Is there a passthrough in IWA for Oracle Access Manager?

    In case of Form-based Authentication, the form (by default) consumes the credentials after AuthN instead of POSTing it forward. This behaviour can be overridden by setting passthrough:yes as a Challenge Parameter in the Form AuthN Scheme. I am lookin

  • Iweb "home page" trouble/browser discrepancies

    My webpage is nearing completion and I'm attempting to identify and work out the bugs. In Safari, Opera and Camino the first ordered page in iWeb loads and runs properly. Domain name of michaelblatchford.com opens www.michaelblatchford.com/intromovie