Error of ORA_12514 open from starting after a stop, just improved 9i to 10g

Hello

Noobe here, once again! See you soon and good new year to all!

How can I modify script to start db which was extinguished before the backup?

We are experiencing a problem with backups, failure is running SQL * more start after his stop. I upgraded with success our 9i and 10g, 10.2.0.5.0 on Windows server 2003, 32-bit edition. We have a back_script.bat that runs only modifications I had to make in this context were the names for the new Oracle services, but this isn't a problem. When I saw the actions in the command file, it fails to sql > startup open; action, get the error "ORA-12514 TNS:listener does not currently of service requested in connect descriptor" which is different here between 9i and 10 g that now it does not work? Commenting on the line calling our oracle_stop_start.sql I get successful > exp dumps, but it could be running process because I'm not just prior to export.

I have a complete picture of the physical server running in a virtual one that I am able to test. I hope that I won't put too much info here, but here is some information! The file batch and little stop_start script date from prior to my participation.

Here are the relevant passages of our backup_script.bat:

SET NLS_LANG = AMERICAN_AMERICA. UTF8
SET ORACLE_SID = wind

net stop Windchill3_MethodServer (the third application for the part that uses the database of the wind)

@D:\ptc\windchill\backups\oracle_stop_start 'system/manager@wind as sysdba' sqlplus

owner system/manager@wind exp = file=...\oracle_backup.dmp...etc comments, etc, etc.


This is oracle_stop_start.sql

stop immediately;
startup, open;
quit smoking


As stated previously, this worked at least since 2007 where recent changes have been made in the batch file. Now, it will fail to sql > startup open; throw the ORA-12514 error. I can reproduce this execution of each statement in a DOS shell. The command shutdown closed, dismounts and stops the database. I tried to change the start statement for sql > START DISCOVERED wind. but who makes no difference. I found that if I get sql * more and reconnect / nolog (in the same shell window) so I can restart the instance, what I do is:
/nolog sqlplus
sql > connect sys / * have sysdba;
SQL > startup open the wind;

This starts the Oracle instance successfully, mount and open the database. Otherwise, how would I do that? I certainly can duplicate these actions, by adding the lines necessary for oracle_start_stop.sql, but is there a better and cleaner way to do this? Right now, I just want to these existing scripts. Once this is done, then I'll study and learn more about RMAN and datapump export/import and update our backup procedures.

The reflections and suggestions?

Thank you
Tom

It may be a difference in behavior between 9i and 10g. Looks like you connect through sql * net (sqlplus "system/manager@wind as sysdba), then the parameter ORACLE_SID is not part of your connection. When the database is shutdown you are no longer connected to a database. When you issue the command to start the ORACLE_SID is not defined, so there is no specified service.

If you run this on the database server, try setting the ORACLE_SID and then run your script like:

{code} sqlplus ' system/manager as sysdba' @D:\ptc\windchill\backups\oracle_stop_start {code}

and you should always have the service for your connection.

John

Tags: Database

Similar Questions

  • Anyone know when will fixed the problem of material with the "IPAD PRO"? The question that keeps it from starting after the load.

    Anyone know when will fixed the problem of material with the "IPAD PRO"? The question that keeps it from starting after the load.

    According to Apple, it has been addressed in the latest update of the iOS, iOS 9.2.

  • Noron 360 sometimes cannot be started on Windows 8 when starting after a stop!

    Hello

    I have a desktop computer running Norton 360 first Edition version (current) 20.4.0.44 with the latest definitions for viruses on Microsoft Windows 8 Professional with Media Center. Norton 360 , sometimes fails to start on Windows 8 , when starting after a stop.

    Since I first installed the new version of 'version-less' 2013 Norton 360 on Windows 8, it sometimes does not start at startup after a stop and did not bother to mobilize support for that matter because I thought that Symantec or Microsoft could be aware of the problem and that an update or a patch will be available soon. Norton 360 prompted me to apply a new patch today, and after applying the patch, I have realized that the amended version of the version 20.3.0.36 to version 20.4.0.44. Moreover, I also noticed that the aforesaid problem with Norton 360 persists, and if my memory is good, Norton 360 sometimes also does not start after the resumption of hibernation. I used to put the computer to sleep and I never have this issue when hybrid sleep. For Norton 360 upward and run again, I usually just give the computer a reboot.

    I believe that the function "quick start" in power options Windows 8 are originally Norton 360 sometimes fails start. I haven't noticed this problem on computers that are running Windows XP or Windows 7. If Symantec or Microsoft may arrive at a solution to this problem without having to turn off the quick start of Windows 8feature, I would be very grateful!

    Kind regards

    Arthur Durand

    Hi Doug,.

    Kindly let me know what Norton product, you try to use, and if download you the latest version of the internet, or you install a version earlier than either downloaded or a disc? Please also post the specifications of your computer and operating system incl. architecture and the edition you are running.

    Regarding your question: are you affected by the same problem that I did? Only Norton only lack of start from time to time, or Norton fails it run continuously?

    If Norton sometimes does not start on a computer that is running Microsoft Windows 8:

    Disable the "quick start" function in Windows 8 by going to the bar of charms > settings > Panel > material and audio > Power Options > Choose this as the power button , then click on change settings that are currently unavailable, uncheck the enable fast start (recommended) and click on save changes. Restart your computer to test if Norton starts up. If Norton still does not start, uninstall Norton completely, restart your computer, download and run the latest version of Norton removal tool from Symantec website, computer restartyour once more. Then download the latest version of your Norton product either downloading the trial, or you connecting to your Norton account if you have a valid subscription and clicking on the button to download next to your subscription. Install the latest version of your Norton product and manually run the direct updated until all the updates and hotfixes without restarting have been installed and no updates are available before stopping or restarting your computer!

    If Norton does not at all on a computer running Microsoft Windows 8:

    Uninstall Norton completely, restart your computer, download and run the latest version of the Norton removal tool from Symantec website, computer restartyour once more. Then download the latest version of your Norton product either downloading the trial, or you connecting to your Norton account if you have a valid subscription and clicking on the button to download next to your subscription. Install the latest version of your Norton product and manually run the direct updated until all the updates and hotfixes without restarting have been installed and no updates are available before stopping or restarting your computer!

    Please feel free to ask me more questions about, or contact me if you have problems, uninstalling, reinstalling, downloading, install the latest version of your product, Norton , or if you are having trouble updating your Norton product! I would also gladly provide via TeamViewer remote assistance, if you need my help!

    Please mark this answer as useful and/or answered if you found my answer helpful and/or my reply has answered your question!

    Kind regards

    Arthur Durand

  • A patch prevents the system from start - after KB981852

    Now I got my Windows 7 x 64 no longer starts after the automatic update of last night. Seems that some hardware configurations are not affected. I can't start for something else than to the console. I tried to remove everything "removable". All I need is to begin the system only once, to run some software to make backups. Unfortunately, I don't have restore points, or images of my system. In the newspapers of the restoration, I could see 'BadPatch '.

    Hi MichaelKim,

    Do you get any error messages when you try to start?

    Step 1: Try the Startup Repair tool and check if the problem persists

    Startup Repair:- Startup Repair is a Windows Recovery tool that can fix certain problems, such as system files missing or damaged that could preventWindows to start properly.

    Access system recovery options. Follow the steps mentioned in the link below

    What are the 7 system recovery options windows?

    http://Windows.Microsoft.com/en-us/Windows7/what-are-the-system-recovery-options-in-Windows-7

     

    Step 2: Try to remove the update pending via the Windows Recovery Environment command prompt (WIN RE)

     

    (a) access advanced menu boot options by pressing the key F8 during restart the computer > on the screen Advanced Startup Options > optionSelect repair your computer (as mentioned in the previous step)

    (b) now select recovery command line tool

    (c) at the command prompt, type Dism/Online/Get - Packages , and then press ENTER.

    This will produce a list of updates installed and packets.  They will look like this:

    The package identity: WUClient-SelfUpdate-Core-TopLevel ~ 31bf3856ad364e35 ~ x 86 ~ ~ 7.4.7600.226

    Status: installed

    Output type: Feature Pack

    Install time: 25/09/2009 12:02 AM


    Find the most recent and then make a note of the name of the package.

    (d) then run the command: dism Online/Remove-Package/PackageName:WUClient-SelfUpdate-Core-TopLevel ~ 31bf3856ad364e35 ~ x 86 ~ ~ 7.4.7600.226 (name of update of the previous step)

    Restart the computer and test to see if the problem persists

    Thank you, and in what concerns:

    Ajay K

    Microsoft Answers Support Engineer

    Visit our Microsoft answers feedback Forum and let us know what you think

  • Error message cannot open Control Panel after installing the bsaving, missing rundll32.exe application.

    Original title: If I reinstall Windows XP is that what he's going to recover my rundll32.exe file?  It cannot be found anywhere. Thank you.

    This has happened after I acquired a discount to purchasing application called «bsaving» Now I can't access control panel to uninstall the software.

    Hello

    (1) what exactly happens when you try to open Control Panel?
    (2) what is the accurate and complete error message?
    (3) don't you make changes on the computer before the show?

    This problem occurs because of a missing or corrupted Rundll32.exe file. This problem can also be caused by a virus.

    Method 1:
    I suggest you try the procedure described in the article and see if it helps.

    Cannot find the Rundll32.exe file when you open Control Panel
    http://support.Microsoft.com/kb/812340

    Method 2:
    If the problem persists you can scan your computer anti-virus using the Microsoft Safety Scanner.

    Microsoft safety scanner will help us to get rid of software viruses, spyware and other malicious software.

    The Microsoft Security Scanner is a downloadable security tool for free which allows analysis at the application and helps remove viruses, spyware and other malware. It works with your current antivirus software.

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.

    Warning: If you run the antivirus program that is infected by the virus scan will get deleted. Therefore, reinstall the program. Also, if files and folders are affected by the virus, while they might even get deleted.

    For more information, please see the link.

    Solve problems with programs that cannot be installed or uninstalled
    http://support.Microsoft.com/mats/Program_Install_and_Uninstall

    I hope this information helps!

  • Error is preventing Windows from starting

    A message keeps appearing:

    Windows didn't start because the following file is missing or damaged

    \WINDOWS\SYSTEM32\CONFIG\SYSTEM

    You can try to repair this file by starting windows setup original CD ROM.select "r" on the first screen to start repair

    I don't have the original disc start. What can I do?

    Fiona

    Hello

    Thanks for posting in the Microsoft community

    From your problem description, I understand that you are facing problem starting Windows. Please let me know if you do not experience this problem.

    1. don't you make changes to the computer before the show?
    2. what operating system is installed on the computer?

    If you use a Windows OEM (OEM), the largest part of the OEM computer will come with the recovery console. Then sign in to the recovery console and perform the Startup Repair.

    What are the system recovery options in Windows 7?
    http://Windows.Microsoft.com/en-us/Windows7/what-are-the-system-recovery-options-in-Windows-7

    Hope this information is helpful and let us know if you need help with Windows in the future. We will be happy to help.

  • Satellite M40-133: problem starting after a stop

    When my Satellite M40 - 133 EN if I start it again all that I get is the Toshiba welcome screen.
    If it is left for a while it will start as usual. When executing it is quite hot.

    Help, please.

    To me, this looks like a problem with overheating.
    It seems that the laptop can not start and start properly due to high internal temperature.

    The main reason why an overheating problem is very simple.
    Don t cooling modules work correctly. In my view, that dust and debris prevent cooling with maximum performance running fans.

    Simply cleaning fan should help you.
    From time to time, I clean my fans too. I use a jet of compressed air. These sprays are very useful to get rid of dust and most computer/computer laptop dealers offer these sprays.

    If it will not improve the situation, then a mobile technician needs to disassemble the laptop and recommended to clean properly. In addition, it should renew the thermal grease that is placed between the CPU and the cooling module, too.

    Good luck

  • I have a gateway dual core w vista sp2 (10/10/12) latest version of windows update was able to start after his stop.

    There was a large number of updates and after repair is restored to the previous, I suppose that nothing works properly now.  Word and excel will not start now and have macafee ISP software freebie.  Everything started having all sorts of fun with this computer after upgrades and will never buy another operating system of windows again.  You lost me for mac because I'm sick of working on these to get the Junk to run.

    Hello

    There are a lot of repair Vista and recovery information in the connection of the gateway, including the recovery to factory settings.

    http://support.gateway.com/s/software/MICROSOF/Vista/7515418/7515418asi.shtml

    See you soon.

  • Equium A300D - 16 c. do not start after his stop.

    Please, it is a problem that I seem to not understand. I used my laptop Equium A300d - 16 c with no problems for over a year until last night. I was installing a software (nokia PC suite) that you are prompted to restart the computer. the closure was normal and so he could restart, was a problem. It displays nothing but a screen empty. It is obvious it does not start as when I press the power button it goes immediately. Only the power led is on. Another thing I notice is that the DVD-ROM reads any disk placed inside, but there is no display of any kind.

    My first reaction was that it may be overheating, so I cleaned the vents and amazed the dust of all compartments. but the problem still persists. Please, I want to know what may be the problem before you take it for repairs. Need help. Thank you.

    Post edited by: Tobyjoe_2

    Hello

    It is not easy to explain exactly why this happens, but I would like to know if you see something on the screen when you turn on your laptop.
    See Toshiba welcome screen?
    You can enter the BIOS settings?

  • P7 - 1520t: PC does not start after a stop, but it will be after a reboot

    Since the last update March 1, my pc went all black screen and nothing happens, so I downgraded to its original condition with w8, with all fees have not kept what it is, I'm back on w10 and my problem remains the same, I can't start windows , not even with the recovery DVD or USB support. I have to remove all the power of my motherboard, so that I can boot and F1, I have install all the latest drivers available for all my components and remove all my material added always the same, if I restart without problems, but if I stop it when the CPU turns on, but windows will never load.

    Thank you in advance to those who can save me!

    P7 - 1520t - Intel i5-3330

    -16 GB of ram

    -64-bit W10

    -Integrated intel hd graphics

    H-Joshua-H61-Μatx (MB)

    I installed W8 if UEFI and everything worked well, have store 8.1 trough upgrade of windows, and I'm happy, all my stuff is working properly, is not going to install 10 tho... was good OS, but with all that is happening I will stay at 8.1, I put more money on fixing W10, they didn't even know what to do.

  • 4540 proBook s does not start after stopping

    Brand new Probook s 4540, B7A48EA #BED, of the box. Memory 4 GB DDR3, 500 GB, processor i3, SUSE Linux disk.

    I have install the battery, connect the power supply and turn on laptop. Linux installation started, got the message 'creating recovery root tarball' and wait, wait and wait with the same message of Linux. I rebooted the laptop and after that got Linux message 'Cannot find size info part of recovery' and restarted itself, every 120 seconds.

    I turned it off, by pressing the power button / stop 5 sec.

    After that, I can't turn on laptop. When I press the power button / stop, power, drive, browser and Flash of LED wireless, you can hear disc trying to turn but fail and all the lights go out and about 2 seconds later all lights flash once again, drive tries to spin but fail again and laptop does not start.

    I have 'power reset', updated the BIOS (F.40), removed the drive and DVD drives, tried without battery but no change in behavior. I returned the drive and the original DVD. After removing the memory, portable lights, as if, and caps lock flashing of LED 3 times which means error memory. After that, I did a "reset power" once again, reinstall memory and try to start the laptop. After pressing the power button / stop at the beginning I had same symptoms I described, and after 2 portable seconds began. I installed Windows 7 Pro. Laptop computer can be restarted Windows, but after stopping, he can't press start button to start / stop.

    One way to start is to move the memory in the other slot, but it cannot start after his stop. After his return in the first memory location can be started again until the next stop. And when start, does not start from the beginning, but after 2 seconds, for his second try. The BIOS memory test, the EFI system diagnostic and memtest86 has errors. I tried with different memory module but got the same symptoms.

    Should I change a motherboard?

    After replacing the motherboard (systemboard), everything works.

  • Windows want to HP 7 freezes picture windows at startup after a stop

    HP ENVY 700-327C of office computer running windows 7.  The first image of windows freezes when starting after his stop.  Will restart after system recovery. Any ideas?

    Hello stevecnm,

    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the Forums of HP, I would like to draw your attention to the Guide of the Forums HP first time here? Learn how to publish and more.

    I understand that your computer hangs at the Windows startup screen when it starts after a stop, and I guess you mean it starts after a repair system no recovery.

    If I am incorrect and it is the recovery of the system, then the problem you describe seems to be a physical problem and I think it would be better if you contact HP Support for service options.

    If however it is the repair of the system, I would recommend that you follow the steps I outlined below:

    Step 1. Click Start

    Step 2. Click on all programs

    Step 3. Click on accessories

    Step 4. Right click on command prompt

    Step 5. Click on run as administrator

    Step 6. Type "sfc/scannow".

    Step 7. When the scan is finished restart your computer

    If the problem is resolved, we are done.

    If the problem is not resolved, then I recommend that you look at and follow the HP Support document: backup of files (Windows 7), which will guide you through to ensure your personal files are stored. Once your personal files are backed up correctly I suggest review you and follow the HP Support document: performing a recovery of HP (Windows 7) system, that will repair your computer back to factory settings.

    If this does not solve your problem then I think it would be better if you contact HP Support for service options.

    I want to thank you for display on the HP Forums. Have a great day!

  • On Win 7 after update itunes Error Message error 7 (Windows error 127) whenever I have start download iTunes

    On Win 7 after update itunes Error Message error 7 (Windows error 127) whenever I have start download iTunes

    HI MikeGeorgen,

    I understand that you have updated iTunes on your Windows 7 computer, but now you see an error when you try to open it. I know it's important to have iTunes working properly, so you can sync your device, so I'm happy to help you.

    Make sure that you logged in as an administrator on your computer, and that you have the latest Windows updates. Then check out the additional troubleshooting steps that are listed here:

    Remove and reinstall iTunes and the components of the software for Windows 7 and later versions

    Thank you for using communities Support from Apple. See you soon!

  • Why Firefox run/open to all, any how I try to start, after being updated to v41.0.1?

    After the update for Firefox 41.0.1, yesterday I'm not able to start or open Firefox. My operating system is Windows XP. I have received no error messages and have no reason to think that the update failed. I scanned my computer several times and have no reason to think that I have no viruses/malware/etc... All other browsers are functioning normally and my computer does not have other symptoms that I noticed.

    A window saying that Firefox would be updated after its restart or the next time I opened it, and I shortly thereafter turned off my computer. When I turned it back on and tried to start Firefox, nothing happened. I tried to open it via the Run..., by clicking the shortcut on the desktop, by going to the Firefox folder and try to start from there, and every other way that has been suggested by several pages here. Nothing works. No matter what I do, the Task Manager shows never firefox.exe is running. As a result, I couldn't try all alternatives that rely on my being able to use Firefox in some way. However, I tried all the other suggestions. Nothing has worked. I can not yet use the Profile Manager; When I try, nothing happens. Like most pages sternly warn me that reinstall or downgrade Firefox will either do nothing, or be dangerous, that I have no idea what else to try. I suppose that, at this stage, that means probably I'm missing something obvious, but I still have no idea what I might be missing.

    Thank you very much in advance for your help! It is GREATLY appreciated.

    Hi, take a look at this first - Firefox does not start - solutions, but if anything can help, it may be that this can be resolved by performing a clean reinstall. This means that you delete your Firefox program files, and then reinstall Firefox. This process does not delete your Firefox profile (such as bookmarks and passwords) data, since this information is stored in a different location.

    To do a clean reinstall of Firefox, follow these steps: Note: you can print these steps or consult them in another browser.

    1. Download the latest version of Firefox from mozilla.org office (or choose the download for your operating system and language on this page) and save the file to install it on your computer.
    2. Once the download is complete, close all Firefox Windows (or open the Firefox menu

      Click the close button

    ).

  • Remove the Firefox installation folder, which is located in one of these locations, by default:
    • Windows:

      • C:\Program Files\Mozilla Firefox
      • C:\Program Files (x 86) \Mozilla Firefox
    • Mac: Delete Firefox in the Applications folder.
    • Linux: If you have installed Firefox with the distribution-based package manager, you must use the same way to uninstall: see Install Firefox on Linux. If you have downloaded and installed the binary package from the Firefox download page, simply remove the folder firefox in your home directory.
  • Now, go ahead and reinstall Firefox:
    1. Double-click on the downloaded Setup file and go through the steps in the installation wizard.
    2. Once the wizard is completed, click to open Firefox directly after clicking the Finish button.
  • More information on the resettlement of Firefox can be found here.

    WARNING: Do not use an uninstaller to third parties as part of this process. This could permanently delete your Firefox profile data, including but not limited to, extensions, cache, cookies, bookmarks, personal settings and passwords saved. They can be retrieved easily unless they have been backed up on an external device! See back up and restore the information contained in the profiles of Firefox.

    Please report to say if this helped you!

    Thank you.

  • Firefox does not start after the upgrade: error code 2324

    I updated Firefox on my desktop running Windows 7 Enterprise (64-bit). Installer stub downloads and works through the installation, but does not automatically start Firefox. If I click on the link in the task bar, nothing happens. Same thing with that pinned to the start menu. If I go to the Mozilla folder and load Firefox from there, I get a message saying "Setup has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2324. »

    Hello

    Some Firefox problems can be solved by performing a clean reinstall. This means that you remove Firefox program files, and then reinstall Firefox. Please follow these steps:

    Note: You can print these steps or consult them in another browser.

    1. Download the latest version of Firefox from http://www.mozilla.org office and save the installer to your computer.
    2. Once the download is complete, close all Firefox Windows (click on quit in the file menu or Firefox).
    3. Remove the Firefox installation folder, which is located in one of these locations, by default:
      • Windows:

        • C:\Program Files\Mozilla Firefox
        • C:\Program Files (x 86) \Mozilla Firefox
      • Mac: Delete Firefox in the Applications folder.
      • Linux: If you have installed Firefox with the distribution-based package manager, you must use the same way to uninstall: see Install Firefox on Linux. If you have downloaded and installed the binary package from the Firefox download page, simply remove the folder firefox in your home directory.
    4. Now, go ahead and reinstall Firefox:
      1. Double-click on the downloaded Setup file and go through the steps in the installation wizard.
      2. Once the wizard is completed, click to open Firefox directly after clicking the Finish button.

    More information on the resettlement of Firefox can be found here.

    WARNING: Uninstaller or the use of Firefox and not run a third remover as part of this process, because who could permanently delete your Firefox data, including but not limited to, extensions, cache, cookies, bookmarks, personal settings and passwords saved. These can be recovered, unless they have been backed up on an external device!

    Please report back to see if this helped you!

    Thank you.

Maybe you are looking for