Upgraded 9.2.0.6 on Windows - How to Start Database Automatically?
I upgraded a 9.0.1.5FIPS database used as a metadata repository for OracleAS 10g (9.0.4) to 9.2.0.6 to meet a customer's security requirements.
The Windows service for the database is set to automatic and the instance starts automatically but the database is no longer started. I must issue a STARTUP command to mount and start the database. Before this was done automatically when the Windows service started.
Anyone know how I can configure the database to mount and start when the instance is started?
TIA,
Jim
Hi Nicolas,
Thanks very much for the instructions. I altered the system as you described and shutdown and restarted the database:
SQL> alter system set compatible = '9.2.0.6.0' scope=spfile;
System altered.
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 185671468 bytes
Fixed Size 454444 bytes
Variable Size 134217728 bytes
Database Buffers 50331648 bytes
Redo Buffers 667648 bytes
Database mounted.
Database opened.
SQL> show parameter compatible
NAME TYPE VALUE
compatible string 9.2.0.6.0
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> exit
ERROR:
ORA-12152: TNS:unable to send break message
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.6.0 - Production (with complications)
D:\orahome3\bin>sqlplus /nolog
SQL*Plus: Release 9.2.0.6.0 - Production on Wed Nov 30 08:20:36 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> connect / as sysdba
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 185671468 bytes
Fixed Size 454444 bytes
Variable Size 134217728 bytes
Database Buffers 50331648 bytes
Redo Buffers 667648 bytes
Database mounted.
Database opened.
Now I get these error messages in oradim.log when I stop and start the Windows service:
Wed Nov 30 08:25:14 2005
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Wed Nov 30 08:25:16 2005
ORA-01078: failure in processing system parameters
Any ideas on what else I could look at?
Thanks!
Jim
Similar Messages
-
How to bounce database automatically
Dear all,
I want to write a script and schedule it in crontab, if it is ebs I have scripts addbctl.sh and addlnctl.sh to stop database and listner. But in another application (not ebs) these scripts are not available and I have to manually bounce database, giving commands SHUTDOWN IMMEDIATE and STARTUP after logging in into sqlplus, Is there any way to do this.
Regards,
CharanHi Charan;
I have exported ORACLE_HOME and ORACLE_SID, but still not working. This is the script after exporting them
export ORACLE_HOME=/aa/aa/aa/aa/aa
export ORACLE_SID=aaa
sqlplus apps/pwd
select count(*) from dba_objects where status='INVALID';
exit
echo "the date of checking is $(date)"Firslty you are mention how you bounde database in your thread and now you are trying to solve your script. This scirpt doesnt mention any db related issue.
So what you want to want
1. Bounde db
2. Edit sh?
If you mention sh than your sh not correct, you can try to type something like
export ORACLE_HOME=/xxx/11.2.0
export ORACLE_SID=VIS
$ORACLE_HOME/bin/sqlplus apps/xxxd @/xxx/cm_invalid.sql log=/xxx/cm_invalid.log
You can check log or can send email to yourself
PS:cm_invalid.sql=your query
Regard
Helios -
How to start LibreOffice automatically with a forced VCL UI?
Hello,
I use MATE with dual monitor here and since LibreOffice was updated from 3.4.6 to 3.5.1 it doesn't work anymore in one of the screens. It does work well in the smaller screen (presumably the one the system thinks is the main screen, as most things are primarily loaded there), but in the larger screen it crashes immediately after starting. It gives this error, when ran from shell:
(soffice:3126): Gdk-CRITICAL **: IA__gdk_screen_get_monitor_geometry: assertion `monitor_num < screen_x11->n_monitors' failed
(soffice:3126): Gdk-CRITICAL **: IA__gdk_screen_get_monitor_geometry: assertion `monitor_num < screen_x11->n_monitors' failed
The program 'soffice' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
(Details: serial 2718 error_code 8 request_code 62 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
Sometimes it repeats this sentence
Gdk-CRITICAL **: IA__gdk_screen_get_monitor_geometry: assertion `monitor_num < screen_x11->n_monitors' failed
hundreds of times (for several seconds) in shell before stopping.
It only works in the larger screen if I force one of those UIs, according to the wiki:
SAL_USE_VCLPLUGIN=gen lowriter
SAL_USE_VCLPLUGIN=kde4 lowriter
When forcing gen the menus and buttons look very small, so the only option is to force kde4
So while the bug is not solved, how do I automatically force the kde4 UI for both screens, either when loading LibreOffice from command line ("libreoffice"), opening a file double clicking it or from a menu item?
Thanks!It seems this bug can be fixed with little effort:
http://cgit.freedesktop.org/libreoffice … 34ade62f03
I hope this change will be integrated into the official repository ASAP. -
How to start Testdrive automatically on Debian?
Hi all,
I installed the latest Testdrive on my Debian - Server.
Now I want the Testdrive to start each time the Server is rebooted (hopefully not too often ).
How is the best way to automatically log in as n4sadm and startsap n4shost in the environment of this user...?
Thx
Greets
Markus VölkerHi Markus,
I'd create an init script called
/etc/init.d/saptestdrive
which contains
#!/bin/bash
case "$1" in
start)
su - n4sadm -c "startsap n4shost"
sleep 30
stop)
su - n4sadm -c "stopsap"
sleep 30
restart)
$0 stop
$0 start
echo "Usage: $0 {start|stop|restart}"
exit 1
esac
exit 0
You then need two links to your preferred runlevel (either 3 or 5):
ln -s /etc/init.d/saptestdrive /etc/rc3.d/S99saptestdrive
ln -s /etc/init.d/saptestdrive /etc/rc3.d/K01saptestdrive
Alternatively, you could edit /etc/rc.local (adding su - n4sadm -c "...") and it should work,
Thanks,
Hannes -
How to Start Database Instance ???
Hi All,
I Installed 8.1.7 as well as I created 3 database. OEM console and DBA studio are working fine. But I found that 2 among 3 database were shutdown. I can logon as sysdba to the said database. But unable to start/ mount/ open the database.
Can any one kindly help me....
Thanks in advance
Uma PandaORA-01034 ORACLE not available
Cause: Oracle was not started. Possible causes include the following:
The SGA requires more space than was allocated for it.
The operating-system variable pointing to the instance is improperly defined.
Action: Refer to accompanying messages for possible causes and correct the problem mentioned in the other messages. If Oracle has been initialized, then on some operating systems, verify that Oracle was linked correctly. See the platform-specific Oracle documentation. -
Undo Datafile deleted, How to startup database?
Hi
I was getting that message when startup database
SQL> startup
ORACLE instance started.
Total System Global Area 167772160 bytes
Fixed Size 1218292 bytes
Variable Size 83888396 bytes
Database Buffers 75497472 bytes
Redo Buffers 7168000 bytes
Database mounted.
ORA-01157: cannot identify/lock data file 7 - see DBWR trace file
ORA-01110: data file 7: '/u01/app/oracle/oradata/impl2pk/undotbs02.dbf'
Later on got to know that a datafile was deleted.
Anybody help me how to start database now?
Thankshttp://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:5669213349582Khurram
-
How to Upgrade Service Manager 2012 SP1 with Windows 2008 R2 to SCSM 2012 R2 with Windows 2012 R2
Hi,
We are using Service Manager 2012 SP1 UR2 with Windows 2008 R2.
I am planning to upgrade Service Manager to R2 with Windows 2012 R2. I found the steps to upgrade SCSM 2012 Sp1 to R2 but need assistance to upgrade with 2012 R2 OS.
Please suggest how to achieve the above mentioned objective.
Regards, Syed Fahad AliVirtualization solves this problem handily, by allowing you to create a new server to run the new program on the same hardware. it also solves the related problem of moving off unsupported hardware without changing OS or application. VMware is my personal
favorite, but Hyper-V, Xen, and VirtualBox all have similar capabilities.
Compare the cost of work and confidence in success of a upgrade, where any of thousands or millions of uncontrolled settings could cause an issue, to the cost of work and confidence in success of installing a new OS instance and configuring a known state
for the new environment.
In short, upgrades should no longer be a thing. there are just too many ways they can go wrong, and it's far too easy to create a new OS with minimal expense and effort. -
Upgrade SM 7.0 to EhP1 - Windows service SAP SID _ inst.no does not start
Hi gurus,
I have to upgrade our Solution manager 7.0 (Windows 2003 32-bit, NW 7.0 SP15, Kernel SP185, non-unicode) to the latest SP of EhP1. I downloaded the upgrade and update guides and followed them.
1. Updated to SPAM 700 SP38.
2. Stopped the server and updated the Kernel to 32-bit non-unicode 7.01 SP69.
3. I tried to start the services SAPOSCOL and SAP<SID>_00 and both did not started sayin the application is broken and needs reinstall.
4. I downgraded to Kernel 23-bit non-unicode 7.01 SP55 and tried again - the service SAPOSCOL started but the service SAP<SID>_00 did not.
5. I downgraded to Kernel 23-bit non-unicode 7.01 SP15 and tried again - the same as with SP55.
6. I restored the original Kernel and the server started normally.
The update guide says I first should update SPAM and the Kernel and after that run SAINT to import the EhP1 components selected in MOPZ.
I found a suggestion to run SAINT import before the Kernel upgrade - should I do it?
How can I resolve the problem?
Thanks everyone!
PetarThank you Paul!
I finally found [another thread|How to Upgrade kernel 7.0 to 7.01; with similar problem solved by SAP note 684106. It solved my problem too.
I will try to continue update from the current state but will have in mind if something goes wrong your advice. I will write later for the results.
Regards,
Petar -
Upgrade to Acrobat Pro XI on Window 8.1 downloads, installs and configures. Then pressing the launch button in the dialog box doesn't launch program.
Using the start button, Acrobat Pro should appear. But it might not, being Windows 8. Maybe it puts an icon on your desktop, maybe not.
How about checking c:\program files (X86)\adobe\acrobat 11.0\acrobat. If you have this folder, look for Acrobat.exe. -
How to start a application with a login window?
hi there
does anyone have any idea on how to start an application with a login window? a login window is the first frame or window to be displayed when an application starts running. and only correct login id and password have been entered the real application will start. any sample out there? thank you.You can start a new thread by making a thread object and passing it an implementation of a runnable object. Runnable has just one method, public void run(), this is was gets executed in a second thread. perhaps the code you would use would look something like this.
<code>
// set up thread for login window
new Thread(new Runnable() {
public void run() {
// construct your login window here
// when you are done processing the
// password....
if(goodPassword) {
authorized = true; // a global variable
notifyAll(); // don't forget this
else {
System.exit(42);
}).start();
// control does not stop this code gets executed while
// the above thread is running.
// Set up main program here. This is done in the
// backround.
while(!authorized) {
synchronized(this)
{ wait(50); }
// now when the user logs in this frame pops
// up real quick.
myFrame.setVisible(true);
</code>
Hope you can figure it out.. good luck :) -
i recently got a new laptop so my itunes library is empty but i want to upgrade my ipod without losing my music. how can i do this? please someone HELP!!!
but i got music from my old laptop and my little brothers laptop so basically its no way i can take whats already on my ipod and put it on my computer and drag and drop it to my new itunes library
-
Why I'm lost my Bookmarks Bar when I upgrade my mobile me to icloud? How can I get it back to my iMac, iPhone 4, iPhone 4S, iPad, iPad2?
last thing you can try would be go to settings, general, settings, reset all settings
if that does not work, a factory restore will be needed... -
I just bought a refurbished iPad, model MC496LL. IOS 5.1.1 Can I upgrade iOS to 6 or 7? How?
No. That's a first generation iPad.
(98112) -
My 6th generation nano isn't recognized by my computer. When I plug it in an error message pops up, which says "USB Device Not Recognized". Does anyone know how to start trouble shooting this? I updated both windows and iTunes.
Work through all the suggestions in this Apple support document first.
iPod: Does not appear in Windows or iTunes and Device Manager is empty
B-rock -
Hi how can i fix my pc if the screen display "windows failed to start"
I was try repair my pc but in the screen only display the following message : Windows failed to start.Arecent hardware or software change might be the cause.To fix the problem;
1.-Insert your windows installation disc and restart your computer.
2.-Choose your lenguage settings,and then click "next"
3.-Click "repair your computer"
If you dont have this disc contac your system administrator or computer manufacturer for assistence.
File"\windows\system32\windload.exe
status:0xc0000221
info: The file is possible corrupt.Its header checksum does no match the computed checksum.
I just dis all thos things,reinstal recovery cd but always display the same on the screen ,HOW CAN FIX THIS PROBLEM,thank youI was reinstall the system many times but always is the same message on screen
If you restored the hard drive to its original factory-new contents using the Toshiba recovery media, then the problem is almost certainly due to malfunctioning hardware.
Locate a Service Center
-Jerry
Maybe you are looking for
-
Standard report like Supplier/Vendor Ledger in AP R-12?
Dear All, Can anyone let me know standard report like Supplier/Vendor Ledger in AP R-12? regards, Abdul Hafeez
-
Faded-Out / Trimmed DDL's Selected Text in Adobe Reader X(10)
Hi folks, My PDF form look good in all the preceding versions of Adobe Reader, but after upgrading to Adobe Reader X(10), the drop-down list box's selected text is getting faded-out/trimmed from it's right-side as you can see in the enclosed image. B
-
PDF shows different or no color
I have Received a PDF in EMail. The sender shows different colors on some of the pages. Diagrams and charts sometime appear black and white. Verified we are looking at the same email attachment. Using Adobe Acrobat Writer 10 Pro and Reader 10 - s
-
Standard Texts and Text Modules
Hi, How to include standard texts and text modules in Adobe Print Forms? Is there any solution? Thanks !
-
Problem in loading external HTML content using SpryHTMLDataSet in Firefox
I have a very simple placement of the contents of an HTML DIV within a subsidiary HTML file (statespecificassets.html) into a main HTML document, using SpryHTMLDataSet in Dreamweaver CS4. The relevant bits of code in the main HTML doc: In the header: