Starting up the database
Hi, I hav installed oracle database 10g in oel5.I want to know how to start the database?
pls help me,
user8818950 wrote:
I didn't edit any export as you have said,but i went with the following,
oracle@localhost ~]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Tue Oct 20 16:40:31 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options At this point, we see you are connected to a running instance.
>
SQL> connect system
Enter password:
ERROR:
ORA-01017: invalid username/password; logon denied
So you were connected to a running instance (as sysdba), now you try to reconnect as SYSTEM and don't know the password.
>
Warning: You are no longer connected to ORACLE.
SQL> connect scott
Enter password:
ERROR:
ORA-28000: the account is locked
And now you try to connect as SCOTT but the account is locked.
and did i need any thing to change in my .bash_profile
# Oracle Settings
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1 export ORACLE_HOME
ORACLE_SID=TSH1; export ORACLE_SID
ORACLE_TERM=xterm; export ORACLE_TERM
PATH=/usr/sbin:$PATH; export PATH
PATH=$ORACLE_HOME/bin:$PATH; export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib;
export CLASSPATH
if [ $USER = "oracle" ] ; then
if [ $SHELL = "/bin/ksh" ] ; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
pls sugest me the solution to open with scott and system.SCOTT and SYSTEM do not "open" or "start" the database/instance. Besides, it is already started and open. You are not haveing a problem opening the database, you are having a problem connecting with certain accounts.
Solution: for SYSTEM, change the password to something you can remember; for SCOTT, unlock the account.
Edited by: EdStevens on Oct 20, 2009 10:03 AM
Similar Messages
-
Starting up the database( Solaris 9 Oracle 9i)
Hi Gurus,
I've got a database that has 2 instances running on it. I had shutdown the database for some maintancance but now the problem is that after I startup I then checked this:
ps -ef |grep pmon it returns only 1
ora902 24138 24116 0 07:51:50 pts/2 0:00 grep pmon
ora902 1679 1 0 Dec 08 ? 0:00 ora_pmon_pll01
whereas it should return 2
ora902 24138 24116 0 07:51:50 pts/2 0:00 grep pmon
ora902 1679 1 0 Dec 08 ? 0:00 ora_pmon_pll01
ora902 2444 1 0 Dec 08 ? 0:00 ora_pmon_DEATDB01
How do I start this one:
ora902 2444 1 0 Dec 08 ? 0:00 ora_pmon_DEATDB01
Thank you.The second database apparently didn't start.
As you don't disclose your startup procedures, only generic advice is possible.
If you don't use the Oracle provided dbstart (which you should) start up the database manually.
If you do use dbstart, check the oratab to see whether the database starts up automatically.
If it should start up automatically, check the alert log why it didn't start.
Newdba's should read documentation and do not jump to this forum straightaway.
Learning Oracle should be done by using the documentation, instead of asking volunteers to abstract it.
Sybrnad Bakker
Senior Oracle DBA -
Takes more time to start & shutdown the database
Hi All,
I have created a database in oracle9i by following manual steps. Every thing was created successfully and am able to start the database and shutdown also.
but the problem is while giving the startup command it takes more time to start the database and the same during the shutdown. So anyone help me..
the follwing are the pfile specifications:
db_name=practice
instance_name=practice
control_files= 'E:\practice\control\control1.ctl',
'D:\practice\control\control2.ctl'
db_block_size=2048
db_cache_size=20m
shared_pool_size=20m
background_dump_dest='E:\practice\bdump'
user_dump_dest='E:\practice\udump'
Thanks in AdvanceEvery thing was created successfully and am able to start the database and > shutdown also.Please restate the above.
problem is while giving the startup command it takes more time to start the >database and the same during the shutdownHow have you compared? Could it be O/S resources, installation of additional software; you have not mentioned the O/S and complete version of your database.
You can review the following although I am bit unclear;
http://download.oracle.com/docs/cd/B10501_01/server.920/a96533/instreco.htm#440322
Adith -
My computer is an iMac that was made in late 2009, and was purchased by me in 2010. It has a 3.06 GHz Intel Core 2 Duo processor. I have more than 800 GB of storage available. Last week I installed the Yosemite OS. I'm having trouble with the upgrading of iPhoto. When it says it's upgrading the database, it never finishes. I've started the process a few times, and the progress line always gets to the same place when it sits and spins for hours at a time without any more progress. I thought about putting some of my 10,000 + pictures on discs to see if that would help, but I can't open iPhoto to get at them. Would that help, anyway? My son thinks this computer is too old to accept all updates. The hard drive was replaced 2 years ago.
Thanks for any help.Option 1
Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
If that fails:
Option 2
Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
Regards
TD -
[Solved]Starting up the database
Hi Gurus,
I have installed Oracle 10g Release2 in my Windows XP machine.
I created 2 databases A and B.
Now I would like to start the database manually.
I set the ORACLE_SID=A. If I want to use the OS authentication I can go with
sqlplus /nolog
SQL> connect / as sysdba.
Now I get connected to an ideal instance and it goes good from there. But if I want to use the encrypted File autherntication (connecting from remote machine) what should I do while connecting?
Thanks in advance.You need to statically configure your database with the listener. See this example :
[oracle@linux5_10 admin]$ cat listener.ora
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = db102)
(ORACLE_HOME = /home/oracle/base/OraHome10) )
[oracle@linux5_10 admin]$ lsnrctl start
LSNRCTL for Linux: Version 10.2.0.3.0 - Production on 16-JUL-2008 17:14:00
Copyright (c) 1991, 2006, Oracle. All rights reserved.
Starting /home/oracle/base/OraHome10/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.3.0 - Production
System parameter file is /home/oracle/base/OraHome10/network/admin/listener.ora
Log messages written to /home/oracle/base/OraHome10/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.3.0 - Production
Start Date 16-JUL-2008 17:14:01
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /home/oracle/base/OraHome10/network/admin/listener.ora
Listener Log File /home/oracle/base/OraHome10/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
Services Summary...
Service "db102" has 1 instance(s).
Instance "db102", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
[oracle@linux5_10 admin]$
C:\>sqlplus sys/manager@db102 as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jul 16 17:14:31 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 239075328 bytes
Fixed Size 1261104 bytes
Variable Size 201327056 bytes
Database Buffers 33554432 bytes
Redo Buffers 2932736 bytes
Database mounted.
Database opened.
SQL> -
I have a personal Oracle Database for practice the Developer (Forms and Reports) and when I start the computer the database start, but now it doesn't wants start. When I try to start, it give that error ORA-01033. I don't know what I do. I can't start sql anything. Somebody help me.
JoaThere are three options
1)Use command prompt and sqlplus
c:> sqlplus /nolog
SQL> connect "sys/<password> as sysdba"
SQL> shutdown abort
SQL> startup
The password used while creating the password file can be used here.
2) Using service manager remove all oracle services. Using task manager click on "end task" for oracle.exe process.
3) Restart the windows machine.
Message was edited by:
motech -
Aperture crash when start and the database is damaged
Hello
I have been playing around with a trial of Aperture
My mac crashed when i was importing a big library -my fault, because the hot-
After that Aperture has not been able to start, until i have deleted the database -moved to a different location-
Is this the normal behaviour when the database is broken?
Would be nice if Aperture was able to "keep alive" even when the photo database library was broken
Something like "Sorry it seems the library has a problem, do you want to create a new one or choose one that actually exists?"
BrunoBruno
have a read of the articles at these two links
Aperture 3: Troubleshooting Basics
http://support.apple.com/kb/HT3805
Aperture 3: Frequently Asked Questions (FAQ)
http://support.apple.com/kb/HT4007
See if these help.
Tony -
Problem in starting up the database
Hi,
I have fixed the sysdate then changed it to fixed=none..and after that when we get down the database for backup it not getting up...we r using th pfile only and when i am trying wth startup pfile option it is showing like
LRM-00101 - unknown parameter name 'oracle home'
LRM-00101 - unknown parameter name 'context file'
LRM-00116 - syntex error at '>' follwoing 'Hp UX'
ORA-01078-failure in processing system parameters.
Kindly guide me the solution
Thanks.Your spfile seems to be corrupted. You didn't use an editor (eg "vi") to edit it did you ? The spfile is a binary file and should be manipulated ONLY through ALTER SYSTEM commands.
Do you have a backup of it ? Or a pfile backup ? -
Issue with starting up the database
Hi,
I got restored the database files ,control files and logfiles from last backup of same instance.
Now when i connect with sysdba with connect sys/password as sysdba
then startup nomount
it is showing insufficient privileges.
Kindly suggest on this
Thanksuser644122 wrote:
Hi,
I got restored the database files ,control files and logfiles from last backup of same instance.
Now when i connect with sysdba with connect sys/password as sysdba
then startup nomount
it is showing insufficient privileges.
Kindly suggest on this
First suggestion, post your db version and o/s. The error basically means that you don't have privs to do what ever you trying to do. Are you really sure that you are using a correct password. Try recreating the password file and use a new password stored in it.
HTH
Aman.... -
Error while startting up the database
Hi all,
I'm getting the following error while i'm starting up the oracle instance.
QL*Plus: Release 11.1.0.7.0 - Production on Thu Nov 15 13:54:22 2009
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup nomount
ORA-27504: IPC error creating OSD context
Thankshard to say ...
do you experiment this on the ASM instance ? what is up and running in your env ?
check if the private NIC is not connected to a switch. -
Error starting up the database
successfully installed Oracle9i(R2) on Linux9
and created a database ORCL
but when i try to startup the database the following error shows up
ORA-12709 error while loading create database character set
can anyone help me out, asap?Can you post your environment?
Greets
Lutz -
Hi,
I got a problem!
Yesterday i had manully shut down the data base using:
shut down immediate
and i had closed the sql editor
Now when i am trying to connect to the database using sys/manager,i am unable to connect getting an error messge oracle not available.Ofcourse it will not when i my self has shut it down!Now how can i connect to my database???
Regards,
Gururaja
[email protected]Hi,
i got the solution this is just for imformation.
(I am using windows i dont knw abt unix)
Go to control pannel\administrative tools\services
There we wl find the oracle services oracle homeagent,oracle homeclient.etc
Right click on the OracleserviceOracle service and select the restart option ,the database wl restart .
Rergards,
Gururaja
[email protected] -
Error in starting up the database . . . .
Dears,,
While startup DB, i faced the following error:
ORA-01190: control file or data file 1 is from before the last resetlogs
ORA-01110: data file 1: ' /oracle/..../system01.dbf '
How can solve this please ?Dears,,
I restored system01.dbf and make recovery as following:
RMAN>RUN{
sql ' alter database datafile 1 offline ';
restore datafile 1;
recover datafile 1;
sql ' alter database datafile 1 online ';
But while starting up db , i faced another problem with system02.dbf
So, i made full restore database from more recent backup as following:
RMAN> restore database;
After finishing restoring i made recover as following:
RMAN> recover database;
I faced the following errors:
RMAN-00571: =======================
RMAN-03002: failure of recover command at 01/14/2010 21:30:53
ORA-00283: recovery session canceled due to errors
RMAN-11003: failure during parse/execution of SQL statement:
alter database recover logfile '/backup/flash_recovery_area/EBS/archivelog/2010_01_13 /o1_mf_1_3_5nv9kzc3_.arc'
ORA-00283: recovery session canceled due to errors
ORA-12801: error signaled in parallel query server P000
ORA-00600: internal error code, arguments: [3020], [392], [2], [1], [4], [52128], [388], []
ORA-10567: Redo is inconsistent with data block (file# 392, block# 2)
ORA-10564: tablespace APPS_TS_TX_DATA
ORA-01110: data file 392: '/oracle/EBS/db/apps_st/data/a_txn_data01.dbf'
ORA-10560: block type 'KTFB B -
Error while installing the Database instance in SAP4.7 on Server2003
Hi All,
I am trying to install SAP4.7 in server2003 which is installed on VMWare. I have successfully installed SAP instance. Now while creating database instance; i have given all the required detials and check all the paramenters. But when i click to start creating the database i got the error messgae that database instance can not be installed. I have chekced the error log but could not find the resolution.
Please see the below error log and advice on what should be done.
=======================================
INFO 2010-10-10 03:58:07
Processing of host operation t_HostInfo_SHARED succeeded.
INFO 2010-10-10 03:58:14
The 'saploc' share exists at directory 'C:\usr\sap'. Choosing drive C: as SAP System drive.
INFO 2010-10-10 03:58:17
The 'saploc' share exists at directory 'C:\usr\sap'. Choosing drive C: as SAP System drive.
INFO 2010-10-10 04:02:33
Copying file C:/Documents and Settings/Administrator/Desktop/SAP/EXPORT_DB/disk1/EXPORT1/DB/ORA/DBSIZE.XML to: DBSIZE.XML.
INFO 2010-10-10 04:02:33
Creating file C:\SAPinst ORACLE SAPINST\DBSIZE.XML.
INFO 2010-10-10 04:02:33
Copying file system node C:\Documents and Settings\Administrator\Desktop\SAP\EXPORT_DB\disk1\EXPORT1/DB/ORA/DBSIZE.XML with type NODE to DBSIZE.XML succeeded.
INFO 2010-10-10 04:02:33
Processing of all file system node operations of table tORA_filecopy succeeded.
INFO 2010-10-10 04:02:34
Copying file C:/Documents and Settings/Administrator/Desktop/SAP/EXPORT_DB/disk1/EXPORT1/DB/DDLORA.TPL to: DDLORA.TPL.
INFO 2010-10-10 04:02:34
Creating file C:\SAPinst ORACLE SAPINST\DDLORA.TPL.
INFO 2010-10-10 04:02:34
Copying file system node C:\Documents and Settings\Administrator\Desktop\SAP\EXPORT_DB\disk1\EXPORT1/DB/DDLORA.TPL with type NODE to DDLORA.TPL succeeded.
INFO 2010-10-10 04:02:34
Processing of all file system node operations of table tORA_filecopy succeeded.
INFO 2010-10-10 04:02:47
Moving file C:/SAPinst ORACLE SAPINST/DDLORA.TPL to: orig_ddl_ora_tmp.tpl.
INFO 2010-10-10 04:02:47
Moving file C:/SAPinst ORACLE SAPINST/changed_ddl_ora_tmp.tpl to: DDLORA.TPL.
INFO 2010-10-10 04:02:47
Removing file C:/SAPinst ORACLE SAPINST/orig_ddl_ora_tmp.tpl.
ERROR 2010-10-10 04:03:27
MSC-01003 ESyException: ESAPinstException: error text undefined
ERROR 2010-10-10 04:03:27
FJS-00012 Error when executing script.
ERROR 2010-10-10 04:03:27
FCO-00011 The step fillR3loadPackageTable with step key SAPSYSTEM|ind|ind|ind|ind|ind|0|SAPComponent|ind|ind|ind|ind|ind|0|DatabaseLoad|ind|ind|ind|ind|ind|0|fillR3loadPackageTable executed with status ERROR.
ERROR 2010-10-10 04:03:27
FSL-02015 Node C:\SAPinst ORACLE SAPINST\and\DATA does not exist.
=======================================
Many thanks in advance.
Regards,
Anuj JaglanHi Rajesh,
Thanks for you reply. I have removed the space with (_) from the folder's name. But still it is throwing the same error. See the below error log.
===============
Moving file C:/SAPinst_ORACLE_SAPINST/changed_ddl_ora_tmp.tpl to: DDLORA.TPL.
INFO 2010-10-10 20:32:16
Removing file C:/SAPinst_ORACLE_SAPINST/orig_ddl_ora_tmp.tpl.
ERROR 2010-10-10 20:33:06
MSC-01003 ESyException: ESAPinstException: error text undefined
ERROR 2010-10-10 20:33:06
FJS-00012 Error when executing script.
ERROR 2010-10-10 20:33:06
FCO-00011 The step fillR3loadPackageTable with step key SAPSYSTEM|ind|ind|ind|ind|ind|0|SAPComponent|ind|ind|ind|ind|ind|0|DatabaseLoad|ind|ind|ind|ind|ind|0|fillR3loadPackageTable executed with status ERROR.
ERROR 2010-10-10 20:33:06
FSL-02015 Node C:\SAPinst_ORACLE_SAPINST\and\DATA does not exist.
==================
Also let me know if this could be the reason of less space on hard disk or I am installing SAP on the same drive on which server is installed.
Regards,
Anuj Jaglan -
Database Control always gets "The database status is currently unavailable"
I have two 10.1.0 databases installed on a Windows XP machine. Instance orcl always gets this message. Instance orcltwo does not. If I shut down orcl and then start the web database control page I can select the startup button and it starts up the database and then goes back to the pages that says that the database is not available. The console for that database is running with no errors that I can find. The DBSNMP account is not locked. The SYSMAN account is not locked. There are no errors in any log file that I can find. What am I doing wrong here. The orcltwo instance has no problems at all.
Just to share this experience with everyone. This happened with Grid Control (not sure if it applies to Database Control).
All the targets in EM (except the Agent) showed Down or Unavailable for two weeks. This is how I checked it.
Note that if the Agent is not able to upload Metrics to the repository due to one reason or the other, you will not be able to see the current status.
Assuming your ORACLE_HOME is different from your AGENT_HOME. Check the emagent trace file in the Agent home.
e.g with AGENT home as D:\oracle\agent\
check D:\oracle\agent\sysman\log\emagent.trc to see the latest error message.
Then check the upload directory to see if there are xml files waiting to be uploaded
e.g D:\oracle\agent\sysman\emd\upload
This directory should be clear of .xml file if your metrics loading is working.
From the Agents Monitoring screen in Enterprice Manager (Management System -> Agent), under the Upload session where there is Upload Metric Data button, check for "Last Successful Upload" and "Data Pending Upload " and any error messages. If the Metric upload is not working, the Data Pending uplaod will be more than 0.00MB and the error message link will show you the xml file it is unable to load. Which you will find in my example D:\oracle\agent\sysman\emd\upload
I my example upload file B0002332.xml is the one I found on the error url and when I viewed it in the directory, the structure is different from others. This inability to load it caused all other upload files to be queuing. There was a line in it as
<METRIC_GUID><![CDATA[=3F6739EE03C21CE7CA5E32FD9185]]></METRIC_GUID>
Looking at the structure of other files, I took a guess (not the best , this is a test EM) and changed it to
<METRIC_GUID>80C23F6739EE03C21CE7CA5E32FD9185</METRIC_GUID>
Then all the two weeks 32MB of xml files loaded automatically within seconds. Logoff EM and Login, everything showed the correct status.
Hope this helps.
Maybe you are looking for
-
G5 will not boot up, KP's got me good!
Hello to all, I am ready to call it quits. Pulling out the few hairs I have left. The Problem: Everything was fine until I decided to upgrade my hard disk. Purchased a Seagate 500GB model ST3500320AS SATA drive. I decided to do a clean install, pulle
-
User exit or badi for FB03 to deactivating 'DELETE' button in attacmentlist
Hi All, I have a requirement to put an authorization check on the 'DELETE' function in the attachment list of FB03 transaction. Meaning, if user is not authorized to delete, then he cannot delete the (link) attachment. Any user exits to do that enhan
-
List / database currency in FAGLFLEXT reporting (FGI0)
Hi everyone We have a number of New GL reports that can be run under transaction FGI0. However, they all have the same problem, that when displaying the reports as "Graphical report output" the users can go in under Setting -> Currency and enter a cu
-
Sorting numberic data in a spry table
First Problem: I am having trouble getting an secondary sort to work in a spry table. As long as I do a single sort every thing works just fine, but as soon as I try to do a secondary sort.... nothing works. Second Problem: The data I am using ranges
-
Adobe Reader 11 Closes Seconds After Openeing
I have Adobe Reader 11 and it will open for a few second and then close automatically. I have windows 7. I have used Adobe's cleaning tool to remove all traces of the reader and then restarted my computer. I downloaded it again and reinstalled the re