Unable to STARTUP after SHUTDOWN

HELP !!
My main experience is with M/S SQL Server. I am taking an Oracle class and am having a really weird problem. If I log into SQL Plus with SYSDBA privileges and initiate a SHUTDOWN IMMEDIATE, it shuts down successfully, but I am never able to startup (although I can startup from the Database Control or by re-booting). This is a new install for school and I have never been able to make it work. and Yes, I have waited more than a minute for the LISTENER to try and re-start.
Example:
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Feb 17 19:12:08 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> connect sys/ dallas@oraclass AS SYSDBA
Connected.
SQL> SHUTDOWN IMMEDIATE
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> STARTUP
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
SQL>
If I log into SQL Plus with SYSDBA privileges and initiate a SHUTDOWN IMMEDIATE, it shuts down successfully, but I am never able to startup (although I can startup from the Database Control).
I get the error:
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
LSNRCNT STATUS sees the SID ORACLASS prior to the shutdown (and the other two DB’s PPCU and TEST01), but after the shutdown, it does not see ORACLASS.
I checked the LISTENER services after the shutdown, and they are running.
I have tried solutions from this forum and others with no success. The main DB is called ORACLASS, but the other two DB’s have the same problem. My Domain is EricsTablet.ericoracle.com and the SID is oraclass.
My IP is 192.168.1.104 the loopback IP is 10.10.10.10
I have even uninstalled and reinstalled Oracle 10g.
Here are all the relevant files. If you can think of something I haven’t tried, please let me know.
C:\oracle\product\10.2.0\db_1\NETWORK\log\listener.log
http://www.spacecoasthomes.net/listener.log
C:\oracle\product\10.2.0\db_1\database\oradim.log
http://www.spacecoasthomes.net/oradim.log
C:\oracle\product\10.2.0\admin\oraclass\pfile\init.ora.122008192731
http://www.spacecoasthomes.net/init.ora.122008192731
C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
http://www.spacecoasthomes.net/listener.ora
C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\sqlnet.ora
http://www.spacecoasthomes.net/sqlnet.ora
C:\oracle\product\10.2.0\db_1\NETWORK\trace\listener.trc
http://www.spacecoasthomes.net/listener.trc
LSNRCNT STATUS prior to shutdown
http://www.spacecoasthomes.net/lsnrcnt_post.jpg
LSNRCNT STATUS after shutdown
http://www.spacecoasthomes.net/lsnrcnt_prior.jpg

It looks like you are correct. I can connect via the DOS startup of SQL Plus, but not the Windows startup of SQL plus, See here:
C:\Documents and Settings\>set ORACLE_SID=oraclass
C:\Documents and Settings\>sqlplus sys/dallas as sysdba
SQL*Plus: Release 10.1.0.2.0 - Production on Sun Feb 17 20:44:42 2008
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Pr
oduction
With the Partitioning, OLAP and Data Mining options
C:\Documents and Settings\>sqlplus sys/dallas as sysdba
SQL*Plus: Release 10.1.0.2.0 - Production on Sun Feb 17 20:49:31 2008
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 171966464 bytes
Fixed Size 787988 bytes
Variable Size 145488364 bytes
Database Buffers 25165824 bytes
Redo Buffers 524288 bytes
Database mounted.
Database opened.
SQL>
So why is one version of SQL plus local and another remote ?
Can you explain exactly what I need to put in the listener.ora file to make this work? I'm not sure I understand completely your solution.
Here is the existing Listener.ora file:
# listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = EricsTablet.ericoracle.com)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
Thank You in advance !
Eric
Message was edited by:
pmcs

Similar Messages

  • Startup open ORA_12514 error after Shutdown, just upgraded 9i to 10g

    Hi,
    Noobe here, again! Cheers and happy New Year to all!
    How should I edit script to start db that has been shutdown prior to backup?
    We are having a problem with backups, failure is occurring executing SQL*Plus startup after shutdown. I successfully upgraded our 9i to 10g, 10.2.0.5.0 on Windows server 2003, 32-bit. We have a back_script.bat that runs all this, the only edits that I had to make within this were the names for the new Oracle services, but that is not a problem. When I run through the actions in the batch file, it fails at the sql>startup open; action, throws the error "ORA-12514 TNS:listener does not currently nkow of service requested in connect descriptor" What is different here between 9i and 10g that now this doesn't work? By commenting out the line calling our oracle_stop_start.sql I am getting successful >exp dumps, but there could be processes running 'cause I'm not stopping everything before proceeding with the export.
    I have a complete image of the physical server running in a virtual that I am able to test on. Hopefully I'll not put too much info in here, but here is some background! Both the batch file and little stop_start script predate my involvement.
    Here are the pertinent statements in our backup_script.bat:
    SET NLS_LANG=AMERICAN_AMERICA.UTF8
    SET ORACLE_SID=wind
    net stop Windchill3_MethodServer (the third party application that uses the database wind)
    sqlplus "system/manager@wind as sysdba" @D:\ptc\windchill\backups\oracle_stop_start
    exp system/manager@wind owner=guest file=......\oracle_backup.dmp.....etc, etc, etc
    Here is oracle_stop_start.sql
    shutdown immediate;
    startup open;
    quit
    As stated earlier, this has worked at least since 2007 when the last edits were made to the batch file. Now it fails at the sql>startup open; throwing the error ORA-12514. I can duplicate this executing each statement in a dos shell. The shutdown command closes, dismounts and shuts down the database. I have tried changing the startup statement to sql>STARTUP OPEN wind; but that makes no difference. I have found that if I exit sql*plus and log back in /nolog (in the same shell window) then I can restart the instance, what I do is:
    sqlplus /nologsql>connect sys/* as sysdba;
    sql>startup open wind;
    This does successfully start the Oracle instance, mount and open the database. How else might I do this? I can certainly duplicate these actions, adding the necessary lines to oracle_start_stop.sql, but is there a better & cleaner way to do this? Right now I just want to make these existing scripts work. Once that is done, then I'm going to investigate and learn more about RMAN and datapump export/import and update our backup procedures.
    Any thoughts & suggestions?
    Thank you,
    Tom

    It might be a difference in behaviour between 9i and 10g. It looks like you are connecting through sql*net (sqlplus "system/manager@wind as sysdba), so the ORACLE_SID setting is not part of your connection. When the database is shutdown you are no longer connected to any database. When you issue the startup command the ORACLE_SID is not set so there is no service specified.
    If you are running this on the database server, try setting the ORACLE_SID then running your script like:
    {code}sqlplus "system/manager as sysdba" @D:\ptc\windchill\backups\oracle_stop_start{code}
    and you should still have the service set for your connection.
    John

  • Tomcat server remains started after shutdown

    i was using tomcat sucessfully few daysn back.but now it is not shutting down even after giving command.
    some new things i noticed are
    * tomcat window that appears at the begning closes now while startup
    * after shutdown command, it shows some exceptions(errors)
    i am able to launch what i want but it is not closing.so plz tell me how to overcome this.tahnks in advance

    * after shutdown command, it shows some
    exceptions(errors)You never mentioned (or bothered to mention) the
    exception. Post that with the complete stack trace.i thought it to be a usual problem ok here is exception
    Catalina.stop: java.net.ConnectException: Connection refused: connect
    java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:161)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148)
    at java.net.Socket.connect(Socket.java:425)
    at java.net.Socket.connect(Socket.java:375)
    at java.net.Socket.<init>(Socket.java:290)
    at java.net.Socket.<init>(Socket.java:118)
    at org.apache.catalina.startup.Catalina.stop(Catalina.java:581)
    at org.apache.catalina.startup.Catalina.execute(Catalina.java:402)
    at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
    my opinion:i think it is finding tomcat already stop.that's why it is showing this .but in this case file should not launch in browser but it is launching that means tomcat is running .so ! where is the problem

  • Unable to capture startup and shutdown event of Photoshop in automation Plugin.

    Hi,
    I am creating an automation plugin and I want to register some events. I have seen listener plugin sample to register event in startup and unregister event in shutdown. I have used same code in my plugin but I am unable to capture the startup nad shutdown event of Photoshop. On clicking the menu item of my plugin the calls come inside the AutoPluginMain but during the startup or shutdown of plugin, the calls does not come inside the AutoPluginMain.
    I am unable to detect the cause of the problem. Can someone please giude me??
    Thanks in advance.

    Hi Tom,
    Thanks for the suggestion.
    Yes, I am working on Windows. As you suggested, I compiled .rc file but the compile option for .r file was disabled. After compiling the .rc file, I again rebuild the complete project and tested my build. But still I was not able to achive the desired result.
    Any other thing that I need to do to make it work?
    Thanks

  • Init.ora setting not effective after shutdown/startup

    Hi there,
    I've set optimizer_features_enable = 8.1.7 (both lower caps and upper caps) in init.ora
    After shutting down oracle and starting up again,
    show parameter opt still shows 9.2.0
    SQL> show parameter opt
    NAME TYPE VALUE
    filesystemio_options string asynch
    object_cache_optimal_size integer 102400
    optimizer_dynamic_sampling integer 1
    optimizer_features_enable string 9.2.0
    optimizer_index_caching integer 0
    optimizer_index_cost_adj integer 100
    optimizer_max_permutations integer 2000
    optimizer_mode string CHOOSE
    I've to change other parameters e.g. shared_pool_size in the same init.ora file and it's effective after shutdown/restart.
    Please advise how to set optimizer_features_enable.

    9.x has something called SPFILE also...
    SQL> show parameter spfile
    If it shows a file name value, something like spfilesid.ora, changes to init.ora would make not much difference :)

  • Using launchd to send an email on startup and shutdown

    Hello All !
    I'd like to get an email whenever my Mac starts up and shuts down, since I have to leave it unattended for quite some long periods of time (and even with the help of a UPS, power goes out anyway...). My Mac runs under Mac OS X Lion.
    I found some help on the Internet, mainly from this page : http://www.syntaxtechnology.com/2009/06/email-on-shutdown-and-restart/ , which applies to Linux, and hoped it could work on Mac OS X (I thought at first I could just drop a script in something like /etc/init.d/ or /etc/rc.d/rc5.d but well... we have launchd instead...).
    The first method listed in the page above worked well, but sends an email only on startup (for a reminder: you add a line that starts with @reboot in your crontab, and a command that sends directly an email).
    I then tried to adapt the second method to Mac OS X, and succeeded partially: I wrote a small script based on what was shown on that page (a start and stop function, start gets called when the script is started, and stop gets called based on a trap on various kill signals, with an infinite wait loop: see below). I also wrote the plist file, loaded it in launchd and rebooted my Mac several times to test everything.
    I get an email on each startup (yeah!), but the shutdown mail gets sent only at the next startup. So I guess that postfix gets killed by the shutdown process *before* being able to send my shutdown email :-(
    So here are my main questions, if someone can help me:
    1. is there a way to precisely call a script during the shutdown process, meaning giving it a priority so it gets called before postfix dies ? (like the rc directories and the naming conventions (KnnScriptName and SnnScriptName) found on some Linux/Unix).
    2. is it possible to do that with launchd ? if not, what would be the Mac OS X sanctionned way of doing this ?
    Other things:
    3. my shell script writing ability is kind of rusty, so maybe I made some "very bad shell writingTM": l'm not sure putting an infinite while loop with a 15 second pause in it is the best way of telling a script to do nothing. There might other things in there that would make an Unix guru jump out of his chair: please tell me :-)
    This is my plist:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC “-//Apple Computer//DTD PLIST 1.0//EN” “http://www.apple.com/DTDs/PropertyList-1.0.dtd”>
    <plist version=“1.0”>
    <dict>
    <key>Disabled</key>
    <false/>
    <key>Label</key><string>org.amarante.startshutemail</string>
    <key>ProgramArguments</key>
    <array>
    <string>/Library/Scripts/startshutemail-launchd.sh</string>
    <string>start</string>
    </array>
    <key>RunAtLoad</key><true/>
    </dict>
    </plist>
    And this is the script that does the job:
    #!/bin/bash
    # PHL 20120604 startshutemail-launchd.sh
    # Send an email on startup and shutdown (version for launchd)
    # Based on script and explanations found here:
    # http://www.syntaxtechnology.com/2009/06/email-on-shutdown-and-restart/
    # Modification history
    # PHL 20120604 v01 First version
    # Environment variables #################################################
    DEST_EMAIL="[email protected]"
    SRV_NAME=Amarante
    EVENT_TIME=$(date +%Y/%m/%d-%H:%M:%S)
    RESTART_SUBJECT="[$SRV_NAME] $EVENT_TIME : System Startup"
    RESTART_BODY="This is an automated message to notify you that $SRV_NAME started successfully at $EVENT_TIME."
    SHUTDOWN_SUBJECT="[$SRV_NAME] $EVENT_TIME : System Shutdown"
    SHUTDOWN_BODY="This is an automated message to notify you that $SRV_NAME is shutting down now ($EVENT_TIME)."
    # Functions ##########
    stop()
    echo "$SHUTDOWN_BODY" | mail -s "$SHUTDOWN_SUBJECT" $DEST_EMAIL
    return 0
    start()
    echo "$RESTART_BODY" | mail -s "$RESTART_SUBJECT" $DEST_EMAIL
    return 0
    # Main part #########
    case $1 in
    stop)
    stop
    start)
    start
    esac
    # trap kill signals to send an email
    trap stop HUP INT QUIT ABRT KILL ALRM TERM TSTP
    # sleep until killed
    while :
      do
        sleep 15
      done
    Thanks for your help, and any comment :-)
    Paul-Henri

    Thanks a lot for your answer, Camelot, even if it sorts of confirm what I suspected. Pinging a machine from an external observer is a solution, but it will also report broken links problems and not only a computer shutting down, and it raises the next tier of problems, general network reliability after individual system reliability. It's something I'll have to look at for sure.
    It's weird there isn't any way to access the way the shutdown process works.
    One of the commenters (#14) on the page from Syntaxtechnology had a similar problem: he added a "sendmail -q" in his script to force sendmail to go to work and service the queue before shutting down, which I can try, but he also added a delay to the stop process of sendmail, which is something I'm not sure I can do on Mac OS X (and that might disappear one day with one of the OS updates).
    Unless there is a way to change the launchd.plist file for postfix and add an ExitTimeOut option in it (I found this idea here : https://discussions.apple.com/message/17229690#17229690 )
    Cheers,
    Paul-Henri

  • After shutdown I have to log in twice.  The first time it starts to load, then goes black, then gives me login page again.  Do you think I have a virus?  Or is this Yosemite bug?

    Just updated to Yosemite on my MBP.  After shutdown now when I login, it starts the process (the bar starts to move), then the screen goes black, then it asks me to login again and this time it is a successful startup.  Is this a Yosemite bug or do I have a virus?  I also have some funny tiling on the screen at youtube and some other websites.  Another bug? 

    Reinstalling OS X Without Erasing the Drive
    Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the main menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu.
    Reinstall OS X: Select Reinstall OS X and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.
    Also see:
    Reinstall OS X Without Erasing the Drive
    OS X Yosemite- Reinstall OS X
    OS X Mavericks- Reinstall OS X
    OS X Mountain Lion- Reinstall OS X
    OS X Lion- Reinstall Mac OS X
         Note: You will need an active Internet connection. I suggest using Ethernet
                     if possible because it is three times faster than wireless.

  • 10.6.1 Slow Startup and Shutdown

    Did anyone notice the difference between the 10.6.1 startup and shutdown times and the 10.6 times ?
    I had to do a clean install of 10.6 and ignore the 10.6.1 update to get back speed in startup and shutdown.
    Is there anyway to solve this.
    Thanks.

    I had the same problems, and I figured out the cause. It seems that somehow the ownership of my root directory (/) wasn't assigned to the root account anymore, but to myself instead. This made the kernel prelinking fail since it requires that root is the owner. This is how you solve this after launching the Terminal app:
    {quote:title=terminal commands}sudo chown root:admin /
    sudo kextcache -system-prelinked-kernel
    sudo kextcache -system-caches{quote}
    You'll have to enter your password after the first command.
    Hope this helps someone, since it was really frustrating to have these slower startup/shutdown times for me.

  • Running Oracle startup or shutdown bat file from Java code

    I have two bat files for the startup and shutdown of Oracle instance which works fine from the command prompt. But my requirement is to run it through a Java program. Please reply with full Java code. Also mention how I would get the status of the bat files that it is successfully executed or not and if not what is the error.

    Your program is working fine, but there is another problem. What's happening now is I have to open the Login screen after the startup of oracle server is complete, but the next line of my program after Runtime.exec is the LoginScreen.show which immediately shows the login screen after executing Runtime.exec and when I am giving the login name and password and press enter, it shows Oracle not available exception, because the startup process is still in progress. I want to stop the execution of my next line of code until and unless my process of Oracle startup is complete.

  • No video or startup after chime - could it be...

    a few days ago, while away from home, my pb would only chime and then not startup. you can hear a small chirp of disk activity, but then only the fan. the only way out was to hold the power button and power down. i tried everything, zapping the pram, swapping batteries, hooking up an external monitor, reseating the ram, and resetting the pmu. finally i called apple and he agreed that it must be the video card or the logic board, and set-up a order to send me the shipping box. as we were finishing up, the pb, upside down, battery removed and lid closed - came on. ? i flipped it over, and opened it up and it was starting up normally. after doing some backups, i shut it down, and tried to restart. same black screen, no activity. after 4-5 power downs, and restarts, some including pram zapping (sometimes it won't reset the pram - or at least not re-chime) it would eventually startup. after startup everything is fine, no problems, no crashes. i even cloned the entire drive without a hitch. monday when i was home again, it took about 3 or 4 attempts to start again. after it was up for about 10-15 min. a networking dialog came up - searching for MDD_X (my desktop g4) with only a cancel button - i hit cancel. strange thing is i never tried to connect to the desktop, and don't have anything setup to auto connect to it. a few minutes later the same thing, this time i waited instead of canceling, and it evetually gave up with a dialog to the effect of - the connection doesn't exist or isn't available. after that, the pb starts up normally so far.
    on a similar topic - i realized a long time ago that a shutdown problem was actually a network issue. if i'm sharing a disk in my MDD G4 and have it mounted on the pb, if i don't eject it on my pb before shutting down the MDD G4 when i try to shut down the pb it results in a apparent hang right before shutting down. it just stays on the blue screen (or maybe gray) but no indication that it's looking for a connection. i have to restart the MDD G4, and as soon as it comes up, the pb shuts down. it used to be more foolproof, all the way back to os7, that when you shut down a machine that was sharing a disk, it would ask you how long do you want to give them to disconnect, or just disconnect, and the client side would get a dialog saying you've got so many seconds, or that you've been disconnected. osx seems to be dumb in that regard. is there a preference i'm missing?
    and more importantly - is it normal or possible that a network connection search could halt the startup even before the video starts up? or should i be worried that my logic board has a problem still. i don't want to wait until my applecare runs out.
    thanks

    Thanks Tom,
    Yes, I can find the clip just fine using the reveal in finder function. It pops up and I played it back in Quicktime. No problems there.
    Here's a screenshot of what I have. The parts that are selected do not have any video or audio after export. The ones that are not selected play fine after export. I don't understand what could be the issue since they are from the same source clip.

  • Shell Script  for Startup and Shutdown the database

    Hi,
    i want Shell Script for Startup and Shutdown the database in Solaries.
    could any one can hep me where i can get this script. or send to me to [email protected]
    Thanks & Regards,
    Gangi reddy

    SHUTDOWN
    SHUTDOWN ABORT]
    Shuts down a currently running Oracle instance, optionally closing and dismounting a database.
    Terms
    Refer to the following list for a description of each term or clause:
    ABORT
    Proceeds with the fastest possible shutdown of the database without waiting for calls to complete or users to disconnect.
    Uncommitted transactions are not rolled back. Client SQL statements currently being processed are terminated. All users currently connected to the database are implicitly disconnected and the next database startup will require instance recovery.
    You must use this option if a background process terminates abnormally.
    IMMEDIATE
    Does not wait for current calls to complete or users to disconnect from the database.
    Further connects are prohibited. The database is closed and dismounted. The instance is shutdown and no instance recovery is required on the next database startup.
    NORMAL
    NORMAL is the default option which waits for users to disconnect from the database.
    Further connects are prohibited. The database is closed and dismounted. The instance is shutdown and no instance recovery is required on the next database startup.
    TRANSACTIONAL [LOCAL]
    Performs a planned shutdown of an instance while allowing active transactions to complete first. It prevents clients from losing work without requiring all users to log off.
    No client can start a new transaction on this instance. Attempting to start a new transaction results in disconnection. After completion of all transactions, any client still connected to the instance is disconnected. Now the instance shuts down just as it would if a SHUTDOWN IMMEDIATE statement was submitted. The next startup of the database will not require any instance recovery procedures.
    The LOCAL mode specifies a transactional shutdown on the local instance only, so that it only waits on local transactions to complete, not all transactions. This is useful, for example, for scheduled outage maintenance.
    Usage
    SHUTDOWN with no arguments is equivalent to SHUTDOWN NORMAL.
    You must be connected to a database as SYSOPER, or SYSDBA. You cannot connect via a multi-threaded server. For more information about connecting to a database, see the CONNECT command earlier in this chapter.
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a90842/ch13.htm#1013607
    Joel Pérez

  • Can't start up after shutdown - ORA-12514

    Hi -
    I installed 11gR2 on RHEL 5.4, creating a database during installation.
    After shutting down via SQLPlus (remotely), I found I am unable to startup.
    Attempts to startup via SQLPlus fail with: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor.
    However, I am able to startup via Enterprise Manager.
    I have been viewing similar threads but cannot seem to get the issue resolved.
    # listener.ora Network Configuration File: /home/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = s2.srs-7.net)(PORT = 1521))
    ADR_BASE_LISTENER = /home/app/oracle
    # tnsnames.ora Network Configuration File: /home/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    ELF =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = s2.srs-7.net)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = elf.srs-7.net)
    tnsping:
    [oracle@s2 bin]$ tnsping elf
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 04-MAR-2010 22:21:56
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    /home/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = s2.srs-7.net)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = elf.srs-7.net)))
    OK (0 msec)
    Stop and Start Listener: (shows "listener supports no services")
    [oracle@s2 bin]$ lsnrctl stop
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 04-MAR-2010 22:16:18
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    The command completed successfully
    [oracle@s2 bin]$ lsnrctl start
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 04-MAR-2010 22:16:24
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Starting /home/app/oracle/product/11.2.0/dbhome_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    System parameter file is /home/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Log messages written to /home/app/oracle/diag/tnslsnr/server12/listener/alert/log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=s2.srs-7.net)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 04-MAR-2010 22:16:24
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /home/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File /home/app/oracle/diag/tnslsnr/server12/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=s2.srs-7.net)(PORT=1521)))
    The listener supports no services
    The command completed successfully
    My environment
    [oracle@s2 bin]$ env
    HOSTNAME=s2.srs-7.net
    SHELL=/bin/bash
    TERM=xterm
    HISTSIZE=1000
    TMPDIR=/tmp
    KDE_NO_IPV6=1
    USER=oracle
    TEMP=/tmp
    LD_LIBRARY_PATH=/home/app/oracle/product/11.2.0/dbhome_1/lib:/lib:/usr/lib:/usr/local/lib
    LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
    ORACLE_SID=elf
    ORACLE_BASE=/home/app/oracle
    KDEDIR=/usr
    MAIL=/var/spool/mail/oracle
    PATH=/home/app/oracle/product/11.2.0/dbhome_1/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin
    INPUTRC=/etc/inputrc
    PWD=/home/app/oracle/product/11.2.0/dbhome_1/bin
    LANG=en_US.UTF-8
    KDE_IS_PRELINKED=1
    ORACLE_TERM=xterm
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    SHLVL=1
    HOME=/home/oracle
    LOGNAME=oracle
    CLASSPATH=/home/app/oracle/product/11.2.0/dbhome_1/JRE:/home/app/oracle/product/11.2.0/dbhome_1/jlib:/home/app/oracle/product/11.2.0/dbhome_1/rdbms/jlib
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    ORACLE_HOME=/home/app/oracle/product/11.2.0/dbhome_1
    G_BROKEN_FILENAMES=1
    _=/bin/env
    OLDPWD=/home/app/oracle/product/11.2.0/dbhome_1
    I have tried to add a static entry (below) to my listener,ora file, but this not does not solve the issue and prevents starting up even via EM until the entry is removed:
    ELF =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = s2.srs-7.net)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = elf.srs-7.net)
    All else (so far) seems to be functioning normally and I have encountered only this issue.
    Any input would be greatly appreciated.
    S Rosen.
    Edited by: ScottRn on Mar 4, 2010 2:02 PM

    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    SQL> exit
    Disconnected from Oracle Database 11g Release 11.2.0.1.0 - Production
    [oracle@s2 bin]$ env | sort
    _=/bin/env
    CLASSPATH=/home/app/oracle/product/11.2.0/dbhome_1/JRE:/home/app/oracle/product/11.2.0/dbhome_1/jlib:/home/app/oracle/product/11.2.0/dbhome_1/rdbms/jlib
    G_BROKEN_FILENAMES=1
    HISTSIZE=1000
    HOME=/home/oracle
    HOSTNAME=s2.srs-7.net
    INPUTRC=/etc/inputrc
    KDEDIR=/usr
    KDE_IS_PRELINKED=1
    KDE_NO_IPV6=1
    LANG=en_US.UTF-8
    LD_LIBRARY_PATH=/home/app/oracle/product/11.2.0/dbhome_1/lib:/lib:/usr/lib:/usr/local/lib
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    LOGNAME=oracle
    LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
    MAIL=/var/spool/mail/oracle
    OLDPWD=/home/app/oracle/product/11.2.0/dbhome_1
    ORACLE_BASE=/home/app/oracle
    ORACLE_HOME=/home/app/oracle/product/11.2.0/dbhome_1
    ORACLE_SID=elf
    ORACLE_TERM=xterm
    PATH=/home/app/oracle/product/11.2.0/dbhome_1/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin
    PWD=/home/app/oracle/product/11.2.0/dbhome_1/bin
    SHELL=/bin/bash
    SHLVL=1
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    TEMP=/tmp
    TERM=xterm
    TMPDIR=/tmp
    USER=oracle
    [oracle@s2 bin]$ sqlplus
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Mar 5 00:34:21 2010
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Enter user-name: */ as sysdba*
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 2042241024 bytes
    Fixed Size 1337548 bytes
    Variable Size 503318324 bytes
    Database Buffers 1526726656 bytes
    Redo Buffers 10858496 bytes
    Database mounted.
    Database opened.
    SQL> exit
    Disconnected from Oracle Database 11g Release 11.2.0.1.0 - Production
    [oracle@s2 bin]$
    Thanks,
    Scott
    Edited by: ScottRn on Mar 4, 2010 3:41 PM

  • Spontaneous startups and shutdowns

    Ever since I got my G5 in 2004, I've had spontaneous startup/shutdown problems. I will wake up in the morning or come home from work and find the computer on and at the login prompt (I have set no such predetermined startup time.) Or, I'll be working and all of a sudden it powers down and then powers back up (it will bring me back to the same screen and what I was doing), but after repeated occurrences of shutdown/startup, usually in short succession, it will permanently shut down, requiring me to shut off the battery backup into which it is plugged to reset the whole system. Then things settle down for a while. Then a month or two later, it will go through another bad spate of spontaneous startups and shutdowns, almost like it just got over a cold only to contract a new one.
    At first, Apple said it was a motherboard problem which they replaced; that didn't solve my problem. Then they said it was a bad video cable to the monitor and repaired that; that didn't solve my problem, either. They asked if I had any peripherals (printer, scanner, external HD) hooked up and said such items can cause erratic behavior (to which I felt like asking "then why do you manufacture your computers with ports in them so users CAN plug in other devices?") I've given up taking it to them because I can't make it replicate its erratic behavior and unless they see what it's doing, they can't do anything about it (and I don't think they really believe me, anyway...)
    I've reset my PRAM. I've reset my SMU (actually that happens every time I shut down the computer because I shut down the battery backup every time to prevent unsupervised morning startup.) I've run Disk Warrior. I've checked and confirmed my power source. I've literally unplugged everything (and I mean EVERYTHING) and re-connected all components. All to no avail. I even have video of it happening because Apple doesn't believe what I'm describing. Is it possible that my computer has been infected and is one of those "slave computers" that hackers use to do their bidding? I've wondered about that...
    Has anyone else experienced this?

    It almost sounds like a bad UPS.
    Have you tried bypassing the UPS? What is the rating of the thing?

  • Cant connect to DB after shutdown

    Hi everyone,
    to sync the standby > restoring incremetal backup in the standby database and recover in noredo and the shutdown the DB to start it in nomount mode.
    but after shutdown cant connect to DB.
    bash-3.00$ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.4.0 - Production on Tue Jul 19 14:58:35 2011
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    Connected.
    SQL> select status from v$instance;
    select status from v$instance
    ERROR at line 1:
    ORA-01012: not logged on
    SQL>

    Hi,
    you are already connected but your instance is not running you have to start it again. You try query dynami performance view on instance which is down.
    Your instance is in the mode wher accept connection but has no opened files (control, parameter, data) has no allocation memory like SGA etc. So you have to to start it up. You can use several option reagrds your needs e.g. STARTUP, STARTUP NOMOUNT etc.
    Docu: http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/start.htm#i1006133
    Regards,
    JK.

  • Kernel panic on startup after Software Update

    My mother's iBook G4 is unable to startup due to a kernel panic that began after the last software update.
    On boot, the computer goes to the kernel panic (You need to restart your computer) screen after a few seconds of the Apple logo screen. It cannot boot in Safe Mode or Single User mode (it hangs after reporting system uptime.)
    It can boot into Target Disk mode.
    The iBook updated its software (Java for Mac OS X 10.5 Update 6, Security Update 2009-006, HP Printer Drivers Update 1.1.1 and Safari 4.0.4) yesterday, then restarted and kernel panicked.
    This happened to my girlfriend's PowerBook right after an update too, and because she didn't have her system disks, I asked my Mom to send her copy of 10.5 to me from SF to Portland. Now, the same thing has happened while I was in SF, and the system disk is in Portland (meaning I don't have an OS disk.)
    Is there some way to fix this? I have full access to the disk on the iBook through a FireWire cable and target disk mode on my MacBook Pro (but disk utility can't check permissions.) Seems that I should be able to fix it somehow. Ideas?

    Is there some way to fix this? I have full access to the disk on the iBook through a FireWire cable and target disk mode on my MacBook Pro (but disk utility can't check permissions.) Seems that I should be able to fix it somehow. Ideas?
    Install the combo update that you can download from the Apple download site at http://www.apple.com/downloads/ . Sometimes the software update function doesn't install the updates correctly, causing just odd behaviors. The combo update has all prior updates from that OS X version included. If possible, it's good to repair permissions before and after the combo update.

Maybe you are looking for