Can't start emctl after system reboot
I installed 11g on Redhat E 5 last week. After instellation i use sqlplus and dbcounsole It work fine.
https:// hostnamerhena:1158/em
was working fine!
Then I stop database from EM then shotdown the system.
Then After a week today I tried to start system It is strange!!!!!
sqlplus is working fine but EM is not accessable.
SO I use following command
emctl start dbconsole
It give strange message
https://localhost.localdomain:1158/emconsole/aboutApplication
Starting Oracle Entriprise Manager 11 g Database Control.........................
failed.
Logs are generated
2008-08-18 23:34:19,124 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.479 - Integration Class not found:oracle.sysman.pp.dn.ui.intg.DltNodeIntegration
2008-08-18 23:34:19,124 [PAFDaemon] WARN jdbc.ConnectionCache _getConnection.353 - Got a fatal exeption when getting a connection; Error code = 17002; Cleaning up cache and retrying
2008-08-18 23:34:19,125 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.479 - Integration Class not found: oracle.sysman.pp.common.ui.intg.ProvCommonIntegration
2008-08-18 23:34:19,127 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.479 - Integration Class not found: oracle.sysman.pp.paf.sample.ui.intg.PAFDemoIntegration
2008-08-18 23:34:19,508 [PAFDaemon] ERROR emSDK.config getAgentState.4868 - java.io.IOException: java.io.IOException: /u01/app/oracle/product/11.1.0/db_1/bin/emctl: cannot execute
java.io.IOException: java.io.IOException: /u01/app/oracle/product/11.1.0/db_1/bin/emctl: cannot execute
at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
at java.lang.Runtime.exec(Runtime.java:591)
at java.lang.Runtime.exec(Runtime.java:507)
at oracle.sysman.emd.targetIntg.Util.runOSCommand(Util.java:804)
at oracle.sysman.emd.targetIntg.agent.AgentTargetInstaller.getAgentState(AgentTargetInstaller.java:4862)
at oracle.sysman.emd.targetIntg.agent.AgentTargetInstaller.getAgentState(AgentTargetInstaller.java:4806)
at oracle.sysman.pp.paf.util.OmsProperties.<init>(OmsProperties.java:56)
at oracle.sysman.pp.paf.impl.PAFDepot.getInstanceLogDir(PAFDepot.java:716)
at oracle.sysman.pp.paf.impl.PAFDepot.cleanupOldLckFiles(PAFDepot.java:462)
at oracle.sysman.pp.paf.impl.PAFDepot.startup(PAFDepot.java:457)
at oracle.sysman.pp.paf.ui.intg.ProvisioningAdvisorIntegration$1.run(ProvisioningAdvisorIntegration.java:229)
at oracle.sysman.pp.paf.impl.PAFDepot$5.execute(PAFDepot.java:642)
at oracle.sysman.pp.paf.util.UnaryFunctionThread.run(UnaryFunctionThread.java:119)
=======================================
First of all how come localhost comes now when i did hostname it say hostnamerhane???
I am wondering whats wrong with it.
Thanks
AR
Hi Aaron
Can you please send us the status of the following commands
ps -efd | grep oracle
emctl status dbconsole
Please note also
Ensure that you start your services in the proper order:
- establish IP address on the active node
- start the TNS listener
- start the database
- start dbconsole
- test functionality
In case of failure…
- Establish IP on failover box
- start TNS listener lsnrctl start
- start the database dbstart
- start dbconsole emctl start dbconsole
- test functionality
If you want to manually stop or shutdown a service:
Stop the application
Stop DB Control emctl stop dbconsole
Stop TNS listener lsnrctl stop
Stop DB dbshut
Stop IP
We have to reconfigure the dbconsole, depending on the results of the commands.
Note: For subsequent database / DBConsole installs requiring different hostnames than the physical hostname, simply set ORACLE_HOSTNAME variable to the new virtual hostname and run emca.
There is no need to re-install the RDBMS server using the new hostname value for DBConsoles running from the same ORACLE_HOME but using different virtual hostnames for different SID values.
If you would like to prevent the dbconsole from listening on all NICs of the cluster member based on the hostname and SID example in this Note, you can add host="lxdb.acme.com" in the web-site tag of http-web-site.xml present in ORACLE_HOME/oc4j/j2ee/OC4J_DBConsole_lxdb.acme.com_DBC/config directory.
<web-site host="<virtual-ip>" port="<your dbconsole port>" display-name="OC4J Java HTTP Web Site">
Then restart dbcontrol.
On Oracle 10g I used the following Note:452305.1
Subject: How to Configure the 10.2 DB Console in a Failsafe Environment
To do the reconfiguration
Message was edited by:
Hub
Similar Messages
-
Can't Start Portal After Install
After downloading and installing the of evaluation Portal 4.0 SP1, I get the following message upon startup when I enter the system password that I entered during installation:
Starting WebLogic Server ....
The WebLogic Server did not start up properly.
Exception raised:
java.lang.IllegalAccessError: try to access method weblogic/management/internal/
Helper.preloadMBeanInfos()V from class weblogic/management/Admin
at weblogic.management.Admin.initialize(Admin.java:210)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:362)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
at weblogic.Server.main(Server.java:35)
Reason: Fatal initialization exception
I even tried "weblogic" for the system password and I get the same message.
What password should I use to start the server?I've followed the directions and am experiencing the exact same problem. Brand
new installation of Weblogic server 6.1 SP2 with examples. That install is working.
Then added Portal 4.0 SP1, updated the license file and I have the same issue
with the Illegal access exception resulting in the "Fatal initialization exception"....
Hmm!
[email protected] (Bowrat) wrote:
Below listed are the common errors you run into during installation
process:
- You need to have the correct version numbers of both the weblogic
server and the portal server. For instance the portal server 4.0 (eval
copy) will only run on WebLogic 6.1 SP1. So check the edocs for
supported platforms
- Make sure you have the installed the full version of the weblogic
server (including examples)
- Finally, you need to run the UpdateLicense.cmd file to update the
license.bea under ur Bea Root
Give it a shot after u have checked all of the above three - goodluck
- Bowrat
www.Bowstreet.com
Steve Anderson <[email protected]> wrote in message news:<[email protected]>...
From: Steve Anderson <[email protected]>
Newsgroups: weblogic.support.install
Subject: Can't Start Portal After Install
References:
NNTP-Posting-Host: 209.11.114.150
X-Original-NNTP-Posting-Host: 209.11.114.150
Message-ID: <[email protected]>
Date: 13 Feb 2002 20:25:53 -0800
X-Trace: 13 Feb 2002 20:25:53 -0800, 209.11.114.150
Organization: BEA SYSTEMS Inc
Lines: 18
XPident: firewall-user
Path: newsgroups.bea.com!209.11.114.150
Xref: newsgroups.bea.com weblogic.support.install:9600
After downloading and installing the of evaluation Portal 4.0 SP1,I get the following message upon startup when I enter the system password
that I entered during installation:
Starting WebLogic Server ....
The WebLogic Server did not start up properly.
Exception raised:
java.lang.IllegalAccessError: try to access method weblogic/management/internal/
Helper.preloadMBeanInfos()V from class weblogic/management/Admin
at weblogic.management.Admin.initialize(Admin.java:210)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:362)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
at weblogic.Server.main(Server.java:35)
Reason: Fatal initialization exception
I even tried "weblogic" for the system password and I get the samemessage.
What password should I use to start the server? -
Error Message: "Skype can not start because the system is not available"
Try to reset all Skype settings. Quit Skype or use Windows Task Manager to kill any Skype.exe process. Go to Windows Start and in the Search/Run box type %appdata% and then press Enter or click the OK button. The Windows File Explorer will pop up. There locate a folder named “Skype”. Rename this folder to something different, e.g. Skype_old. Next go to Windows Start and in the Search/Run box type %temp%\skype and then press Enter or click the OK button. Delete the DbTemp folder. Restart Skype. N.B. If needed, you will still be able to re-establish your call and chat history. All data is still saved in the Skype_old folder.
Okay!
I'm newbie here, but it doesn't matter. I dont want to do here anything else, just write off my opinion about the Microsoft's "new" Skype, and I hope they will read...
This is a cropped image - of course hungarian, because I'm hungarian, but I think many of us could see this as well. How this is possible? "The Skype can not start because the system is not available" *** What kind of system? The Skype was on a P2P system, where is impossible that the system is not available! This is why the skype was much better than the Microsoft's messenger. Then they bought it, and make it wrong...
I found a solution for this problem, this can happen if my client is not updated. But IT IS!
How does it works? Can we use the **bleep** Skype how we would like to use? Or this time we need to find an other application (like Viber), and using that while they not buying that as well, just because that is better?
Edited to conform with the Community Guidelines
Subject/title edited to better reflect post content. -
Can't start Tomcat after installing Bea WorkShop for JSP
Hi,
I have been using Eclipse SDK Version: 3.1.2 Build id: M20060118-1600 and Web Tools Project 1.0.2 and Tomcat 5.0 and Tomcat 5.5 for about 2 months with no problems. But now I Can't start Tomcat after installing Bea WorkShop for JSP plug-in. I get "Server Tomcat v5.0 @ localhost failed to start". Any help would be greatly appreciated.I installed BEA Workshop for JSP Version: 3.1.0
Build id: 536. I only wanted to install the plug-in to my existng Eclipse 3.1 / WTP application. The only option that I saw was to download the entire FullWorkshopFreeInstall-536.zip, which is 192,496 KB. During the installation, there is a screen that you can specify to only install the plug-in - and I selected that option. Today, I chose to uninstall the BEA Workshop for JSP and then I was again able to start Tomcat server. I then did a complete install of BEA Workshop for JSP into a totally separate location. My original Eclipse installation still works fine, but my Workshop for JSP Version (which is now a completely new installation) has the same problem with Tomcat that I reported with the plug-in. I am using j2sdk1.4.2_08 and have tried both Tomcat 5.0 and Tomcat 5.5. I have the same problem with both Windows XP Home Edition and Windows XP Professional.
Thanks for your assistance.
Ron -
OSMF self start playback after system sleep
Hi,
We've found an issue with OSMF player: in case you load a page with video, then send system to sleep - after system wakeup playback starts itself. This is valid if you are using f4m file or rtmp stream. Those issues are visible on OSMF demos: here http://www.osmf.org/dev/1.6gm/StrobeMediaPlayback.html there are no issues, but here http://www.osmf.org/dev/1.6gm/debug.html video starts itself after system wakeup. Changing source to flv allows to get rid of the issue.
Also, if you load page, than start it and pause it - the issue will not reproduce as well.
Control bar behaves also very strange: playback time and scrollbar are updated according to actual playback, but play button (not pause) is presented. on case i push play - video restarts.
Systems: MacOS (10.7.5, build 11G63), Firefox 20, Chrome 26, Flash (11.7.700.169); Windows 7: Firefox 17, Flash (11.6.602.180); our cluents also mentioned they have same issues on Win8 under Internet Explorer, Firefox and Chrome.This problem was resolved for me using suggestions in another discussion thread.
Please see this link to that discussion for the solution:
https://discussions.apple.com/message/20300165#20300165 -
We changed PORTAL password by going top sqlplus and OAS. Thinking it will make changes at both places. Now we see that when we start OAS. OC4J_BI_FORM does not start???
I provided an answer in the Portal Security forum:
Can not start OC4J_BI_FORM after PORTAL user password change -
Help needed - Can't access OneKey Recovery restoration option after system reboot,
Hi,
I run OneKey Recovery, after I choose "recovery", and system reboot.....system automatically log in Windows 7 again, rather than access OneKey Recovery restoration option.
I am using G570 and OneKey Recovery version is 7. this issue never happened before, it always reboot to OneKey Recovery restoration before....please help. ThanksYou shouldn't need Command + R since the Option key will present you with the Recovery boot volume. Seems something is amiss there, I'm willing to bet you may have been using a wireless keyboard.
-
Oracle 10G Db Starts-up After Server Reboot, BUT Goes DOWN After Some Time
Hi All,
I am really puzzled over this one. I have couple of servers running DB on them and I have used scripts to auto-enable them when server(s) reboot.
But there is one server where I see this funny behavior.
The DB comes-up after server reboot.
I can verify that in the startup logs and some more logs that I created.
I can see that LISTENER is able to communicate also.
But after a while, the DB shuts-down....!!
I have checked all the places I could. I have also tried to see the difference between this server and others (I did not install this one), but can not see any difference.
Is there anyway to find out (log) what is shutting down the DB??
Any help will be much appreciated as I am at my wits end.
Following is snap-shot from my logs:
Fri Mar 16 20:42:29 EDT 2007
Running dbstart.
Done with starting all, let's check status...
Fri Mar 16 20:42:42 EDT 2007
LSNRCTL for Solaris: Version 10.2.0.1.0 - Production on 16-MAR-2007 20:42:42
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Solaris: Version 10.2.0.1.0 - Production
Start Date 16-MAR-2007 00:46:56
Uptime 0 days 19 hr. 55 min. 46 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oracle/product/10.2.0/Db_1/network/admin/listener.ora
Listener Log File /oracle/product/10.2.0/Db_1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.103.253.50)(PORT=1521)))
Services Summary...
Service "orcl" has 2 instance(s).
Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orcl_XPT" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
Current Status:
# date
Fri Mar 16 21:30:40 EDT 2007
# su - oracle -c "lsnrctl status"
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
LSNRCTL for Solaris: Version 10.2.0.1.0 - Production on 16-MAR-2007 21:30:53
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Solaris Error: 146: Connection refused
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.103.253.50)(PORT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Solaris Error: 146: Connection refusedI was just looking at that.. Thanks for the tip.
Following is what I see. But not sure what does it tell me?? Please help......
From alert_orcl.log:
<snip>
db_recovery_file_dest_size of 2048 MB is 0.00% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Fri Mar 16 20:42:41 2007
Errors in file /oracle/product/10.2.0/Db_1/admin/orcl/udump/orcl_ora_7700.trc:
ORA-00604: error occurred at recursive SQL level 1
ORA-12663: Services required by client not available on the server
ORA-36961: Oracle OLAP is not available.
ORA-06512: at "SYS.OLAPIHISTORYRETENTION", line 1
ORA-06512: at line 15
Fri Mar 16 20:42:42 2007
Completed: ALTER DATABASE OPEN
From /oracle/product/10.2.0/Db_1/admin/orcl/udump/orcl_ora_7700.trc
# cat /oracle/product/10.2.0/Db_1/admin/orcl/udump/orcl_ora_7700.trc
/oracle/product/10.2.0/Db_1/admin/orcl/udump/orcl_ora_7700.trc
Oracle Database 10g Release 10.2.0.1.0 - 64bit Production
ORACLE_HOME = /oracle/product/10.2.0/Db_1
System name: SunOS
Node name: gcars0j6
Release: 5.10
Version: Generic_118833-24
Machine: sun4u
Instance name: orcl
Redo thread mounted by this instance: 1
Oracle process number: 15
Unix process pid: 7700, image: oracle@gcars0j6 (TNS V1-V3)
*** SERVICE NAME:() 2007-03-16 20:42:37.548
*** SESSION ID:(159.3) 2007-03-16 20:42:37.548
Thread 1 checkpoint: logseq 255, block 2, scn 8602014
cache-low rba: logseq 255, block 3
on-disk rba: logseq 255, block 767, scn 8602399
start recovery at logseq 255, block 3, scn 0
----- Redo read statistics for thread 1 -----
Read rate (ASYNC): 382Kb in 0.16s => 2.33 Mb/sec
Total physical reads: 4096Kb
Longest record: 3Kb, moves: 0/1066 (0%)
Change moves: 1/8 (12%), moved: 0Mb
Longest LWN: 308Kb, moves: 0/29 (0%), moved: 0Mb
Last redo scn: 0x0000.0083431e (8602398)
----- Recovery Hash Table Statistics ---------
Hash table buckets = 32768
Longest hash chain = 1
Average hash chain = 149/149 = 1.0
Max compares per lookup = 1
Avg compares per lookup = 1925/2083 = 0.9
*** 2007-03-16 20:42:37.702
KCRA: start recovery claims for 149 data blocks
*** 2007-03-16 20:42:37.705
KCRA: blocks processed = 149/149, claimed = 149, eliminated = 0
*** 2007-03-16 20:42:37.706
Recovery of Online Redo Log: Thread 1 Group 2 Seq 255 Reading mem 0
----- Recovery Hash Table Statistics ---------
Hash table buckets = 32768
Longest hash chain = 1
Average hash chain = 149/149 = 1.0
Max compares per lookup = 1
Avg compares per lookup = 2054/2074 = 1.0
Error in executing triggers on database startup
*** 2007-03-16 20:42:41.963
ksedmp: internal or fatal error
ORA-00604: error occurred at recursive SQL level 1
ORA-12663: Services required by client not available on the server
ORA-36961: Oracle OLAP is not available.
ORA-06512: at "SYS.OLAPIHISTORYRETENTION", line 1
ORA-06512: at line 15 -
Can't start up after disconnect ethernet network of 2 macs
I tried conecting 2 macs via ethernet. Personal file sharing was turned on with both. Printer sharing seemed not to work, so that was disabled on both. Ethernet cable from systems to router connected to cable modem. Seemed to work well for my purpose -- access to second drive on old 733 G4.
Before I disconnected the ethernet cable, I turned off file sharing on both machines. They seemed to run fine after disconnect. Then turned off the G4.
I left the iMac running with some software active for one day while away from home. Returned to see blank screen. Moved trackball to wake from what I thought was display sleep but nothing happened.
Install disk (10.4.4) will start up machine, but cannot install to the internal drive since it is not seen. Disk Utility shows drive, but no volume to repair disk.
My question: Can I start up my iMac in a way to bypass looking for a network startup and see the internal drive?
20" iMac Core Duo 2.0 Ghz Mac OS X (10.4.6)"Target Mode will only work with ATA disks"
No, that is not correct, also works with SATA, which is in all Intel Macs. However, I think I recall that both computers need to be updated to the same Mac OS X version, such as 10.4.6
Apple article Startup key combinations for Intel-based Macs
Apple article with example of Firewire Target Disk usage with Intel Macs
Back to attempting normal startup:
hold down the "option" key instead of the x key above, and hold until the disk option you want to select appears. From my experience, the iMac Intel will show the startup disc choices quickly, within less than a minute under normal conditions, much quicker than the G5's. -
Can't start RoboHelp5 after I used trial of RH6
I installed the trial version of RH6 on my computer. (Before
doing so, I made backups of my project, in case of non
compatibility with RH5). After the trial period I decided not to
buy it yet and uninstalled RH6, because I couldn't find important
differences (at least not concerning the functions I'm using) and
because the font problem (conversion from Arial to Times, even with
the Adobe patch and after uninstalling alle security updates for
Office) was the same with RH6.
Now I can't start my projects at all. When I try to start the
RH Explorer I get a message, that the registry AppPath can't be
read. I uninstalled both: Office and RH completely, reinstalled
Office 2003, then RoboHelp, but the same problem is appearing.
Even the projects I saved as backup and that I never opened
in RH6 don't work any more.
Any idea what I can do? (can there be hidden elements of RH6
which are not deleted automatically, when uninstalling with the
Software menu in my control panel?)On my site there is a topic about installing and
uninstalling. In it there is reference to an Adobe topic covering a
full uninstall which does require some registry editing. That was
written for X5 but I think it will cover RH6. I cannot guarantee
that though.
Make sure you create a System Restore point before you start
playing with the registry and only do that if you feel confident.
If not, enlist some help from IT or a developer. -
Can't start UCSM after java upgrade
Hi
After I have been recommended to upgrade to newest java, I can't start UCS Manager anymore.
I try from a Windows 7 64 Bits computer and a Windows 8 64 Bits computer.
Same error.
As you see, I have java 1.7.0_07. It is higher than the reguirement.
UCSM version is 2.0(2q)
Because there is some security issues with earlier java versions, I don't want to downgrade.
Do anyone have any solution on this problem?
I have uninstalled every version of Java, and just installed the newest, but it didn't help
Thanks for any help.Hi Sting,
For you to use 1.7 you need to have UCSM version 2.0.3a and above.
http://www.cisco.com/en/US/docs/unified_computing/ucs/release/notes/OL_25363.html
(check the system requirement section).
At this point, the only option for you is to downgrade back to a 1.6 version.
./Abhinav -
Can't start up after power failure.
Greetings.
Here in the Santa Cruz mountains we experience occasional power outages. After an outage, when I attempt to re-start the computer, it doesn't get past the spinning spokes (or whatever you call that thing). The thing just keeps spinning until I press the power button, shut the computer off, and re-start. After one or two tries, it starts up, but I'd like to know how to prevent the problem in the first place.
G4 Dual 450 Mac OS X (10.3.9) 1 GB RAMThe first thing you should do after an abnormal shutdown is boot from your OS X Installer Disc and use Disk Utility to repair both the hard drive and permissions.
There are two ways to prevent a problem like this:
1. Buy an external Firewire drive and backup software. Maintain a bootable backup of your system on the external drive. Update incrementally on a regular schedule - Daily for your work files; weekly for the entire system.
2. Buy an Uninterruptible Power Supply (UPS) with sufficient capacity to keep your system running long enough for you to shutdown normally until power is restored. Usually this means a UPS with enough capacity for about 10 minutes of operating time on battery. Of course you can buy as much capacity as you are willing to spend money for if you want longer operating times during blackouts. -
Recovery session canceled due to errors. Can't start DB after kernel panic.
Hi all,
I have a cluster Oracle 10 DB that was incorrectly shutdown (node 1 got a kernel panic when I disconnected the cluster interconnect and after a while node 2 also had a panic).
Now the DB doesn't start and I already tried an endless loop of solutions that don't work and lead me right to the start. I was hoping someone could help me fix this bloody thing please. This DB was running in archive log mode.
/export/home/oracle
oracle@dbsce066/1 - TSP/(CLIENT_10.2.0)/SERVER_10.2.0/(CRS_10.2.0)
sqlplus '/ as sysdba'SQL*Plus: Release 10.2.0.3.0 - Production on Mon Jul 18 23:18:24 2011
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 9680453632 bytes
Fixed Size 2162704 bytes
Variable Size 1570701296 bytes
Database Buffers 7969177600 bytes
Redo Buffers 138412032 bytes
Database mounted.
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
SQL> shutdown
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup mount
ORACLE instance started.
Total System Global Area 9680453632 bytes
Fixed Size 2162704 bytes
Variable Size 1553924080 bytes
Database Buffers 7985954816 bytes
Redo Buffers 138412032 bytes
Database mounted.
SQL> recover database using backup controlfile until cancel;
ORA-00283: recovery session canceled due to errors
ORA-01110: data file 87: '/export/home/oracle/dev/DX/dx_index10_logging3'
ORA-01110: data file 86: '/export/home/oracle/dev/DX/dx_index10_logging2'
ORA-00372: file 86 cannot be modified at this time
ORA-01110: data file 86: '/export/home/oracle/dev/DX/dx_index10_logging2'
SQL> select name,status,file# from v$datafile where name like '%index10_logging%';
NAME
STATUS FILE#
/export/home/oracle/dev/DX/dx_index10_logging1
ONLINE 85
/export/home/oracle/dev/DX/dx_index10_logging2
RECOVER 86
/export/home/oracle/dev/DX/dx_index10_logging3
ONLINE 87
SQL> ALTER DATABASE OPEN resetlogs ;
ALTER DATABASE OPEN resetlogs
ERROR at line 1:
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/export/home/oracle/dev/DX/dx_system'
SQL>
I also saw the "_allow_resetlogs_corruption". But I would like to leave this as last resort.
Thanks in advanceThank you everyone for the advices. I used this tutorial to implement the allow reset logs corruption, but still it didn't allow me to startup the DB normally without errors or recover the datafile 86.
@@ How to use "_allow_resetlogs_corruption"
@@ http://dba-oracle.fr/dba/content/view/14/9/
vi /export/home/oracle/products/10.2.0/dbs/initDX1.ora
"/export/home/oracle/products/10.2.0/dbs/initDX1.ora" 94 lines, 4520 characters
DX1.undo_tablespace=dx_undo1
DX1.log_archive_dest_1= 'LOCATION=/export/home/oracle/dev/DX/archivelog1 REOPEN=10'
DX1.local_listener="(address=(protocol=tcp)(HOST=localhost)(PORT=1531))"
### cluster specific parameters
*.cluster_database = true
*.cluster_database_instances = 2
allowresetlogs_corruption=TRUE
"/export/home/oracle/products/10.2.0/dbs/initDX1.ora" 95 lines, 4553 characters
SQL> STARTUP MOUNT
ORACLE instance started.
Total System Global Area 9680453632 bytes
Fixed Size 2162704 bytes
Variable Size 1570701296 bytes
Database Buffers 7969177600 bytes
Redo Buffers 138412032 bytes
Database mounted.
SQL> ALTER DATABASE OPEN RESETLOGS;
ALTER DATABASE OPEN RESETLOGS
ERROR at line 1:
ORA-01110: data file 86: '/export/home/oracle/dev/DX/dx_index10_logging2'
ORA-00372: file 86 cannot be modified at this time
ORA-01110: data file 86: '/export/home/oracle/dev/DX/dx_index10_logging2'
SQL> SELECT 'alter database datafile /export/home/oracle/dev/DX/dx_index10_logging2 END BACKUP;' from v$datafile;
'ALTERDATABASEDATAFILE/EXPO
alter database datafile /export/home/oracle/dev/DX/dx_index10_logging2 END BACKUP;
alter database datafile /export/home/oracle/dev/DX/dx_index10_logging2 END BACKUP;
alter database datafile /export/home/oracle/dev/DX/dx_index10_logging2 END BACKUP;
SQL> recover database until cancel using backup controlfile;
ORA-00283: recovery session canceled due to errors
ORA-01110: data file 87: '/export/home/oracle/dev/DX/dx_index10_logging3'
ORA-01110: data file 86: '/export/home/oracle/dev/DX/dx_index10_logging2'
ORA-00372: file 86 cannot be modified at this time
ORA-01110: data file 86: '/export/home/oracle/dev/DX/dx_index10_logging2'
SQL> recover database;
ORA-00283: recovery session canceled due to errors
ORA-01610: recovery using the BACKUP CONTROLFILE option must be done
SQL> alter database open;
alter database open
ERROR at line 1:
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
SQL> shut
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
root@dbsce066> ls -l /export/home/oracle/dev/DX/
total 450
lrwxrwxrwx 1 root other 29 Apr 13 2010 dx_index10_logging1 -> /dev/md/oraindex1dg/rdsk/d651
lrwxrwxrwx 1 root other 29 Apr 13 2010 dx_index10_logging10 -> /dev/md/oraindex1dg/rdsk/d660
lrwxrwxrwx 1 root other 29 Apr 13 2010 dx_index10_logging2 -> /dev/md/oraindex1dg/rdsk/d652
I can access the file and it is readable:
root@dbsce066> ls -ltr /export/home/oracle/dev/DX/dx_index10_logging2
lrwxrwxrwx 1 root other 29 Apr 13 2010 /export/home/oracle/dev/DX/dx_index10_logging2 -> /dev/md/oraindex1dg/rdsk/d652
root@dbsce066> ls -ltr /dev/md/oraindex1dg/rdsk/d652
lrwxrwxrwx 1 root root 44 Aug 2 17:59 /dev/md/oraindex1dg/rdsk/d652 -> ../../../../../devices/pseudo/md@0:3,652,raw
root@dbsce066> dd if=/dev/md/oraindex1dg/rdsk/d652 of=/dev/null
^C18564+0 records in
18564+0 records out
root@dbsce066>
SQL> select * from v$datafile where FILE#=86;
FILE# CREATION_CHANGE# CREATION_TIME TS# RFILE# STATUS
ENABLED CHECKPOINT_CHANGE# CHECKPOINT_TIME UNRECOVERABLE_CHANGE#
UNRECOVERABLE_TIME LAST_CHANGE# LAST_TIME OFFLINE_CHANGE#
ONLINE_CHANGE# ONLINE_TIME BYTES BLOCKS CREATE_BYTES BLOCK_SIZE
NAME
PLUGGED_IN BLOCK1_OFFSET
AUX_NAME
FIRST_NONLOGGED_SCN FIRST_NONLOGGED_TIM
86 184062 2010-04-13:17:18:24 62 86 RECOVER
READ ONLY 498989920 2011-07-18:15:28:29 0
485512497
496226794 2011-07-16:00:01:53 660602880 80640 660602880 8192
/export/home/oracle/dev/DX/dx_index10_logging2
0 8192
NONE
0
select STATUS,ENABLED,NAME from v$datafile where FILE#=86
STATUS ENABLED NAME
RECOVER READ ONLY /export/home/oracle/dev/DX/dx_index10_logging2
SQL> select name from v$tablespace where TS#=62;
NAME
DX_INDEX10_LOGGING2
SQL> alter tablespace DX_INDEX10_LOGGING2 read write;
alter tablespace DX_INDEX10_LOGGING2 read write
ERROR at line 1:
ORA-01109: database not open
SQL> ALTER DATABASE DATAFILE 86 ONLINE;
Database altered.
SQL> select STATUS,ENABLED,NAME from v$datafile where FILE#=86;
STATUS ENABLED
NAME
RECOVER READ ONLY
/export/home/oracle/dev/DX/dx_index10_logging2
SQL>
SQL> alter tablespace DX_INDEX10_LOGGING2 end backup;
alter tablespace DX_INDEX10_LOGGING2 end backup
ERROR at line 1:
ORA-01235: END BACKUP failed for 1 file(s) and succeeded for 0
ORA-01199: file 86 is not in online backup mode
ORA-01110: data file 86: '/export/home/oracle/dev/DX/dx_index10_logging2'
SQL> select log_mode from v$database;
LOG_MODE
ARCHIVELOG
SQL> SELECT FILE#, ERROR, ONLINE_STATUS, CHANGE#, TIME FROM V$RECOVER_FILE;
FILE# ERROR ONLINE_ CHANGE# TIME
86 ONLINE 498989920 2011-07-18:15:28:29
SQL> recover database until cancel using backup controlfile;
ORA-00279: change 497920329 generated at 07/18/2011 12:53:10 needed for thread 2
ORA-00289: suggestion : /export/home/oracle/dev/DX/archivelog1/LOG_DX_8574_2_716223168.ARC
ORA-00280: change 497920329 for thread 2 is in sequence #8574
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
auto
ORA-00308: cannot open archived log '/export/home/oracle/dev/DX/archivelog1/LOG_DX_8574_2_716223168.ARC'
ORA-27037: unable to obtain file status
SVR4 Error: 2: No such file or directory
Additional information: 3
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/export/home/oracle/dev/DX/dx_system'
@@ Attempt to start DB without that datafile:
SQL> ALTER DATABASE DATAFILE '/export/home/oracle/dev/DX/dx_index10_logging2' OFFLINE DROP;
Database altered.
SQL> SHUTDOWN IMMEDIATE;
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> SQL> startup
ORACLE instance started.
Total System Global Area 9680453632 bytes
Fixed Size 2162704 bytes
Variable Size 1570701296 bytes
Database Buffers 7969177600 bytes
Redo Buffers 138412032 bytes
Database mounted.
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
SQL> ALTER DATABASE OPEN NORESETLOGS;
ALTER DATABASE OPEN NORESETLOGS
ERROR at line 1:
ORA-01588: must use RESETLOGS option for database open
SQL> ALTER DATABASE OPEN RESETLOGS;
ALTER DATABASE OPEN RESETLOGS
ERROR at line 1:
ORA-01245: offline file 76 will be lost if RESETLOGS is done
ORA-01110: data file 76: '/export/home/oracle/dev/DX/dx_data10_logging2'
SQL>
@@ Nothing works. I can't even start the DB without that datafile. So I give up of this recovery scenario. Re-install from scratch. -
[SOLVED] Can't Start MySQL after upgrading to 5.1.41-3
I can't start mysqld with 'mysqld start'.Here is my mysqld output:
[ahao@sky ~]$ mysqld start
091125 18:33:48 [Note] Plugin 'FEDERATED' is disabled.
091125 18:33:48 [Note] Plugin 'ndbcluster' is disabled.
091125 18:33:48 InnoDB: Started; log sequence number 0 44233
mysqld: Too many arguments (first extra is 'start').
Use --verbose --help to get a list of available options
091125 18:33:48 [ERROR] Aborting
091125 18:33:48 InnoDB: Starting shutdown...
091125 18:33:49 InnoDB: Shutdown completed; log sequence number 0 44233
091125 18:33:49 [Note] mysqld: Shutdown complete
This is my /var/lib/ complete with permission settings:
[ahao@sky ~]$ cd /var/lib ; ls -al
total 84
drwxr-xr-x 20 root root 4096 2009-11-25 18:08 .
drwxr-xr-x 13 root root 4096 2009-11-25 13:51 ..
drwxrwx--- 2 root policykit 4096 2009-05-10 09:10 PolicyKit
drwxr-xr-x 2 policykit root 4096 2009-05-10 09:10 PolicyKit-public
drwxr-xr-x 3 root root 4096 2009-09-19 12:19 bluetooth
drwxr-xr-x 2 root root 4096 2009-09-16 22:09 dbus
drwxr-xr-x 2 root root 4096 2009-11-23 17:38 dhcpcd
drwxrwxrwt 2 root root 4096 2009-07-19 18:17 ex
drwxr-xr-x 2 root root 4096 2009-09-16 22:38 hwclock
drwxr-x--- 2 root locate 4096 2009-10-22 06:55 locate
-rw-r--r-- 1 root root 462 2009-09-20 00:02 logrotate.status
drwxr-xr-x 2 root root 4096 2009-09-17 09:14 misc
drwxr-x--- 2 root locate 4096 2009-11-25 18:09 mlocate
drwxrwxrwx 4 mysql mysql 4096 2009-11-25 18:33 mysql
drwxr-xr-x 6 root root 4096 2009-09-07 08:54 nfs
drwxr-xr-x 4 root root 4096 2009-11-25 18:08 pacman
drwx------ 3 root root 4096 2009-11-21 03:30 polkit-1
drwxr-xr-x 2 root root 4096 2008-09-06 14:33 rarian
drwxr-xr-x 2 root root 4096 2009-09-17 09:14 syslog-ng
drwxr-xr-x 3 root root 4096 2009-10-19 20:10 wicd
drwxr-xr-x 2 root root 4096 2009-11-21 02:35 xkb
/etc/mysql/my.cnf is out-of-the-box
What seems to be the problem here? Please shed some light...thank you
Last edited by akiglobal (2009-11-26 07:41:00)How silly of me.....first of all...I entered 'mysqld start', I should have just entered 'mysqld', second of all, I didn't change the file permission on /var/run/mysqld. I change /var/run/mysqld file permission into 'chmod 777 /var/run/mysqld -R', after that mysql works!
-
Can't open iphoto after complete reboot.
Hi!
My computer stoped working a while back and I had the harddrive replaced, now I can't open iphoto after importing it from time mashine. I still have the same OS X (10.6.8) on a Mac Book pro from 2009. I can't buy the new one, or update it, because my OS X is too old and after seeing all the problems with the new system I don't really want to install it. How do I make iphoto work again? When I try to open it, it just says it can't open because of a problem (no, really?).Is there a crash report? Have you tried reinstalling it?
To re-install iPhoto
1. Put the iPhoto.app in the trash (Drag it from your Applications Folder to the trash)
2. Download it from the App Store to reinstall It's on your Purchases List* there.
For older versions that have been installed from Disk you'll need these additional steps:
2a: On 10.5: Go to HD/Library/Receipts and remove any pkg file there with iPhoto in the name.
2b: On 10.6: Those receipts may be found as follows: In the Finder use the Go menu and select Go To Folder. In the resulting window type
/var/db/receipts/
2c: on 10.7 or later they're at
/private/var/db/receipts
A Finder Window will open at that location and you can remove the iPhoto pkg files.
3. Re-install.
If you purchased an iLife Disk, then iPhoto is on it.
If iPhoto was installed on your Mac when you go it then it’s on the System Restore disks that came with your Mac. Insert the first one and opt to ‘Install Bundled Applications Only.
*Sometimes iPhoto is not visible on the Purchases List. it may be hidden. See this article for details on how to unhide it.
http://support.apple.com/kb/HT4928
One question often asked: Will I lose my Photos if I reinstall?
iPhoto the application and the iPhoto Library are two different parts of the iPhoto programme. So, reinstalling the app should not affect the Library. BUT you should always have a back up before doing this kind of work. Always.
Maybe you are looking for
-
Is it possible to pass table name as parameter to function calls?
Let's say I would like to retrieve data from table BSAD, BSID, BSIS, BSAS with the exact same WHERE conditions. I.E. SELECT SINGLE * FROM bsis WHERE bukrs = zbukrs AND belnr = zbelnr AND gjahr = zgjahr
-
"You've been signed out" CC Message
My CC Desktop Application manager became signed out last night, and responded with the 'You've been signed out' message every time I tried to log back on. So I had a Google and found the 'Delete opm.db' tip. I tried to be caucious and just add a .b
-
recent upgraded to CC2014 but now no version of InDesign will open on my iMac...please help
-
Calling a function every time a canvas component is viewed
hi all, i have a function in a canvas component which i need to call every time i view that component. is there a way to generate an event each time a i view that component.. 'show' works only when the component turns from invisble to visible.. thanx
-
Where Oh Where Did My Download Go??
I purchased a song at the iTunes store. The purchase went through fine, it states in my account order history that the song was purchased but I can not find it anywhere. I did all the recommended searches from the support page but it is no where to b