Starting oracle database
How can I start Oracle on my machine without manipulating the boot start scripts?
When I use "svrmgrl" and "STARTUP" I get the message the "oracle_sid" is not configured!?
export ORACLE_HOME=/path_to_your_OH
export ORACLE_SID=NAME OFYOUR_SID(default ORCL)
svrmgrl
connect internal
startup
exit
lsnrctl start
Jason Pepper
Principal Product Manager
Enterprise Intenet Tools
Oracle Corp
Similar Messages
-
How can i start oracle databases? i am using Oracle 8.1.6 for linux.
when i run dbstart,it gives me following message:
Database "ora4cweb" warm started.
but when i use sqlplus,it says:
ORA-01034: ORACLE not available
i made a mistake ,i shutdown my linux before i shutdown oracle databases,how can i start oracle databases now?thanks in advance.try it without the scripts...
login to linux as oracle
start server manager
svrmgrl
connect internal
startup
select sysdate from dual;if that works
exitcheck listener
lsnrctl
statif nothing running type
start
exitnull -
How to let SOA Suite automatically start Oracle Database services if necess
It occurs from time to time that I forget to start Oracle database services
before I start Soa Suite. Can I somehow let SOa Suite startup script check in advance
if Oracle database services need to be started (and start them automatically if necessary)?
PeterHi,
This is a familiar issue. I've come up with the following solutions.
1) On my linux machine, I start the database (EE) and soa suite at boot time using /etc/oratab.
2) On my windows machine, I start the database (XE) at boot time, as a service that automatically starts. The soa suite is started manually. I could start the suite automatically as a service also, but because it takes up so much memory and I do not always want to run the suite, I prefer to start manually. In any way, the database is started automatically before the soa suite.
Hope this will help you.
Kind regards,
H -
How to start Oracle database in solaris Machine
I installed Oracle database in my solaris machine. Everything went fine .. I was able to install it and test the database if it's working or not.
Something happened that made me shut down and restart the solaris machine, the problem is that Oracle is not running, so I have to start it manually, and I'm not sure how to do that ... Is there a way to start Oracle automatically once the solaris machine is started ...
I'm using the SSH Secure Shell Client to configure and install everything into the solaris machine ..Here is the work around for starting oracle instance automatically.
1) logon the system as root user.
2) under /etc/init.d/ directory, create a file name oraclestart(name the file to what you feel comfortable). eg: /etc/init.d/oraclestart.
with the following content:
#!/bin/sh
# Created by Henry Nguyen
# Date 10/11/2005
# Script to automatic start and stop oracle instances on server
ORACLE_HOME=/export/home/oracle/product/9.2.0.1.0 (diffrent on your system)
if [ ! -f $ORACLE_HOME/bin/dbstart || ! -f $ORACLE_HOME/bin/dbshut ]; then
echo missing oracle start/stop script
exit 1
fi
case "$1" in
'start')
su - oracle -c '$ORACLE_HOME/bin/dbstart'
su - oracle -c '$ORACLE_HOME/bin/lsnrctl start'
'stop')
su - oracle -c '$ORACLE_HOME/bin/lsnrctl stop'
su - oracle -c '$ORACLE_HOME/bin/dbshut'
esac
3) create 2 soft link as following:
ln -s /etc/init.d/oraclestart /etc/rc2.d/S99oraclestart
ln -s /etc/init.d/oraclestart /etc/rc0.d/K10oraclestart
Note the S99 and K10: that are Solaris priorities to when start and stop an oracle instance and those letter must be capitalized.
Hope this will help you -
How to Install emacs, openssh and start oracle database and get a connect?
As suggested by another poster, I installed the prebuilt appliance at [http://www.oracle.com/technetwork/community/developer-vm/index.html] and [http://www.oracle.com/technetwork/server-storage/virtualbox/downloads/index.html] with the intent of running oracle database in a linux vm as a guest on windows 7 and connecting to it using JDBC from the windows host.
This is running but I don't know how to install other stuff. I tried "sudo yum install openssh" and "sudo yum install emacs" and "sudo service sshd status" and none of these worked (it could not find these packages). I could not get apt-get or app-get or aptget to work either. I was hoping that "uname -a" would tell me if this was fedora or debian or something else but no luck. What command do I use to learn the distro name?
How do I make ifconfig tell me what the ip address so I can use "scp" and "ssh" to get into the box? Ok, /sbin/ifconfig works and I see there is only a loopback address. Ack! How do I create a socket so I can ssh into this little beastie?
How do I disable the firewall or (better yet) punch holes in it so I get use JDBC and ssh, scp and samba from windows 7?
I tried firing up the SQL Developer 3.1 and getting a test connection with username and password of "oracle" with no luck. How do I get a test connection to work?
How do I determine if the database is running? If not, how do I start it and stop it and restart it?
Thanks
Siegfried
Edited by: user8816970 on Sep 15, 2012 6:29 PM
Edited by: user8816970 on Sep 15, 2012 6:33 PMThere is no "oracle" account native to the database itself. This is just the default account that owns the application. Log on as oracle/oracle to the OS. (OEL) You can change the passwords of the sys and system account by setting your $ORACLE_HOME and $ORACLE_SID. Default SID is orcl on a database install. Also set a path to the oracle binaries in the form of $ORACLE_HOME/bin.
Then sqlplus / as sysdba
Change passwords of sys and system using the following example.
ALTER USER SYS IDENTIFIED BY [password];
ALTER USER SYSTEM IDENTIFIED BY [password];
The supplied appliance runs oracle enterpirse linux. Not debain or fedora.
Why do you need "emacs"?
I haven't personally load this appliance with Virtual Box but there has to be a readme file somewhere that details all the passwords and etc. -
How to start oracle database server and client in windows 8
Hi at all
I'm a new entry in this forum and I'm a beginner with database oracle.
I used always SQL Server as database and it was easy to use after installation.
With SQL Server configuration management program I could to launch the SQL Server (SQLEXPRESS) service and the database server start up!!
With SQL Server management studio I could to launch the client application, then was establishing a connection to the server and all was working fine!
Now, how to work with oracle database?
I installed oracle server and client version 11g R2 on windows 8, but how can I start the server database? .. and how can I start the client application for querying?
regards in advance.
P.S.: Sorry for my english.SomeoneElse
thanks for the response.
I setting the service to start manually because otherwise windows is slow to startup.
In particular I have precisely this oracle service on my operating system after installation.
- ) OracleVssWriterSYSDBA
- ) OracleDBConsolesysdba
- ) OracleJobSchedulerSYSDBA
- ) OracleMTSRecoveryService
- ) OracleOraDb11g_home1ClrAgent
- ) OracleOraDb11g_home1TNSListener
- ) OracleServiceSYSDBA
What are the services that start the server and I have to launch?
What is the client program in menu --> start -- > all program --> Oracle - OraClient 11g home..... that I have to use for querying database?
thanks. -
Unable to start Oracle Database Express Edition (XE) on window 7 - 64 bit
I installed Oracle Database Express Edition (XE) on a WINDOWS 7 - 64 bit machine. I tried "Get Started" and http://localhost:8080/apex. It does not start/connect of anything. Please help.
Thanks.
DebbieI received the following message from lsnrctl status
and sqlplus / as sysdba.
C:\>lsnrctl status
LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 20-JUL-2012 17:09
:16
Copyright (c) 1991, 2010, 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
32-bit Windows Error: 2: No such file or directory
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=MW777SXH4ITNY4.dir.svc.a
ccenture.com)(PORT=1521)))
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
32-bit Windows Error: 1004: Unknown error
C:\>sqlplus / as sysdba
SQL*Plus: Release 11.2.0.2.0 Production on Fri Jul 20 17:10:04 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
SQL> select sysdate from dual
2 /
SYSDATE
20-JUL-12
SQL>
Does this mean I am up and running? I selected from dual. I will continue to play with the DB.
If I download SQL Developer, should the version be for 32-bit or 64-bit for PC - Windows 7 - 64 - bit?
Thanks.
Edited by: 893328 on Jul 20, 2012 2:58 PM
Edited by: 893328 on Jul 20, 2012 2:58 PM -
Unable to start oracle database
Hi,
[oracle@proddb5 ~]$ export NLS_LANG=american_america.utf8
[oracle@proddb5 ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Sep 22 13:59:56 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-12705: Cannot access NLS data files or invalid environment specified
Enter user-name:
[oracle@proddb5 ~]$ unset NLS_LANG
[oracle@proddb5 ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Sep 22 14:00:16 2008
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
SQL> startup
ORACLE instance started.
Total System Global Area 285212672 bytes
Fixed Size 2020224 bytes
Variable Size 121638016 bytes
Database Buffers 159383552 bytes
Redo Buffers 2170880 bytes
ORA-12709: error while loading create database character set
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit
os: Red Hat Enterprise Linux AS release 4
can you please suggest me what to do??Refer to Metalink NOTE:1076156.6 and NOTE:160478.1
-
Problem starting Oracle Database
I've just installed Oracle 8.0.5 on Linux Red Hat 5.2. I didn't
have problems during the installation, but after that ...
First of all, my "dbora" script doens't work. I don't know why,
because it's in the directory /etc/rc.d/init.d. Then, when I try
to start it manually, the follow mistake appear:
===
./dbora: [!: command not found
===
It seems that it is a sintaxe error, but I copied exactly as in
the Installation Guide, like as:
=======
# Set ORA_HOME to be equivalent to the ORACLE_HOME
# from which you wish to execute dbstart and
# dbshut
# Set ORA_OWNER to the user id of the owner of the
# Oracle database in ORA_HOME
ORA_HOME=/u01/app/oracle/product/8.0.5
ORA_OWNER=oracle
if [! -f $ORA_HOME/bin/dbstart -o ! -d $ORA_HOME]
then
echo "Oracle startup: cannot start"
exit
fi
case "$1" in
'start')
# Start the Oracle database:
su - $ORA_OWNER -c $ORA_HOME/bin/dbstart &
'stop')
# Stop the Oracle database:
su - $ORA_OWNER -c $ORA_HOME/bin/dbshut &
esac
su - oracle -c "lsnrctl start"
======
Is there any mistake?
Besides, when I try to start the Oracle Database, through the
command "dbstart", the following messages appear:
=============
Database "orac" possibly left running when system went down
(system crash?).
Notify Database Administrator.
Oracle Server Manager Release 3.0.5.0.0 - Production
(c) Copyright 1997, Oracle Corporation. All Rights Reserved.
Oracle8 Enterprise Edition Release 8.0.5.1.0 - Production
With the Partitioning and Objects options
PL/SQL Release 8.0.5.1.0 - Production
SVRMGR> Password:
Password:
ORA-01031: insufficient privileges
SVRMGR> ORA-01031: insufficient privileges
SVRMGR>
Server Manager complete.
Oracle Server Manager Release 3.0.5.0.0 - Production
(c) Copyright 1997, Oracle Corporation. All Rights Reserved.
Oracle8 Enterprise Edition Release 8.0.5.1.0 - Production
With the Partitioning and Objects options
PL/SQL Release 8.0.5.1.0 - Production
SVRMGR> Password:
Password:
ORA-01031: insufficient privileges
SVRMGR> ORA-01031: insufficient privileges
SVRMGR>
Server Manager complete.
Database "orac" warm started.
==============
Although it seems that the Database was started ('Database "orac"
warm started'), I don't know why the mistake ORA-01031 appears.
Was the Database "orac" started correctly?
After, when I try to use the Server Manager to connect to the
Database as system/manager, the following message appears:
========
SVRMGR> connect system/manager
ORA-01034: ORACLE not available
=======
Has this mistake something to do with the first one (ORA-01031)?
Could someone help me? I'd be very grateful.
Rodney A. Ramos.
nullAaron Kaplan (guest) wrote:
: Rodney A. Ramos (guest) wrote:
: : I've just installed Oracle 8.0.5 on Linux Red Hat 5.2. I
didn't
: : have problems during the installation, but after that ...
: : First of all, my "dbora" script doens't work. I don't know
why,
: : because it's in the directory /etc/rc.d/init.d. Then, when I
: try
: : to start it manually, the follow mistake appear:
: : ===
: : ./dbora: [!: command not found
: Hi!
: There seems indeed to be a problem here - AFAIK the guy who
wrote
: the startup srcipt made a syntax mistake.
: Try changing the line:
: : if [! -f $ORA_HOME/bin/dbstart -o ! -d $ORA_HOME]
: to:
: if [ ! -f $ORA_HOME/bin/dbstart -o ! -d $ORA_HOME ]
: notice the space right after the first "[" and right before the
: last "]"
: (Read the man pages for sh or bash whatever you use and look
: under "if", also "man test" should bring some insight).
: Hope it helps. Tell me if it worked.
: Aaron.
Dear Aaron,
It worked perfectly. Thank you very much!
However, I'm still having problem to connect to the Database. The
fact is that the dbora script calls the dbstart script ("su -
$ORA_OWNER -c $ORA_HOME/bin/dbstart &") and, inside this script,
we have the command "connect internal". At this point, I receive
the error message "ORA-01031: insufficient privileges".
I don't know if this has influency at the startup of the
Database, because at the end of the process I receive the message
"Database "orac" warm started".
But what I know is that I don't managed to connect to the
Database using the svrmgrl or the sqlplus. I receive the error
message "ORA-01034: ORACLE not available" for every account I
try: system/manager, sys/change_on_install, oracle/xxxx (the
account I installed Oracle), and when I try "connect internal",
it asks me for a password!!!
Thanks once more,
Rodney A. Ramos.
null -
Password to start Oracle Database 9i
Hi,
I have just downloaded and installed Oracle9i Personal Edition Release 1(9.0.1.1.0) for Windows 98. When I run the option Start Oracle 9i Database under Database Administration, it asks for a password. What is the password?
ThanksHey Melvyn, have u found any other response?
I have the same problem, but I haven't found any solution.
Other OTN Members thinks that we have problem with SQLPlus login... instead we can't START Oracle because when we click on the specified menu voice "START ORACLE ETC...", a dialog appears requesting ONLY a password...
We haven't set any password during installation step and any other KNOWN PWD is good.
mmm it is a big mistery -
Problem starting oracle database in notebook,
Hi,
Sub: Problem starting database in notebook,
I installed windows 2000 professional(OS) and installed oracle 9i on it. I have been hibernating my notebook since two weeks, i am facing a problem, when i restart my system, system is unable to start my database unless i restart the listener at services.msc. My system speed is 500 mhz, 256 RAM. 10 GB HD. If anyone has a answer pls help me.
Thanks in advance
Mahesh RagineniAaron Kaplan (guest) wrote:
: Rodney A. Ramos (guest) wrote:
: : I've just installed Oracle 8.0.5 on Linux Red Hat 5.2. I
didn't
: : have problems during the installation, but after that ...
: : First of all, my "dbora" script doens't work. I don't know
why,
: : because it's in the directory /etc/rc.d/init.d. Then, when I
: try
: : to start it manually, the follow mistake appear:
: : ===
: : ./dbora: [!: command not found
: Hi!
: There seems indeed to be a problem here - AFAIK the guy who
wrote
: the startup srcipt made a syntax mistake.
: Try changing the line:
: : if [! -f $ORA_HOME/bin/dbstart -o ! -d $ORA_HOME]
: to:
: if [ ! -f $ORA_HOME/bin/dbstart -o ! -d $ORA_HOME ]
: notice the space right after the first "[" and right before the
: last "]"
: (Read the man pages for sh or bash whatever you use and look
: under "if", also "man test" should bring some insight).
: Hope it helps. Tell me if it worked.
: Aaron.
Dear Aaron,
It worked perfectly. Thank you very much!
However, I'm still having problem to connect to the Database. The
fact is that the dbora script calls the dbstart script ("su -
$ORA_OWNER -c $ORA_HOME/bin/dbstart &") and, inside this script,
we have the command "connect internal". At this point, I receive
the error message "ORA-01031: insufficient privileges".
I don't know if this has influency at the startup of the
Database, because at the end of the process I receive the message
"Database "orac" warm started".
But what I know is that I don't managed to connect to the
Database using the svrmgrl or the sqlplus. I receive the error
message "ORA-01034: ORACLE not available" for every account I
try: system/manager, sys/change_on_install, oracle/xxxx (the
account I installed Oracle), and when I try "connect internal",
it asks me for a password!!!
Thanks once more,
Rodney A. Ramos.
null -
Problem in starting oracle database
i have currently installed oracle express edition 11g ,it installed successfully but now when i trying to start it from the shortcut on my desktop it is giving message
Firefox can't establish a connection to the server at 127.0.0.1:8080 how can i solve this problem
my OS is windows xp SP3 plz helpHi,
I think the installation went wrong somehow (XP pro is supported, XP not but you probably can get it working too ).
You could try the action again but first manually set the ORACLE_SID by typing :
SET ORACLE_SID=XE
and then try to start it up again with :
sqlplus / as sysdba
startup
If this still fails you could check C:\oraclexe\app\oracle\diag\rdbms\xe\xe\trace\alert_xe.log to see if any extra information is logged at the end of the file about the ORA-01041
Regards
Bas -
Unable to start Oracle DataBase 11g on Linux machine
Hi friends,
Issue : NOT able to start the Oracle Data Base 11g on Linux machine
I've successfully installed Oracle-DB-11g on my Linux machine.
Note : I haven't declared or exported any variable(s) , actually I'm not sure how and where to do this.
Can someone look into my issue , and please let me know if i have to export any variables and how/where?
ThanksHi;
You need to set your env. or put them in .bash_profile file
Please see
http://www.oracle-base.com/articles/11g/oracle-db-11gr2-installation-on-oracle-linux-5.php << section Additional Setup
Regard
Helios -
Oracle database does not start timezone mismatch
Hi
I am new on oracle database. My server has restart and now when I try to start oracle database I get this error can anyone help to come out this error.
oracle@host [~]# /home/u01/app/oracle/oracle/product/10.2.0/db_1/bin/emctl start dbconsole
TZ set to US/Michigan
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://server:1158/em/console/aboutApplication
Timezone mismatch: The agentTZRegion value (US/Michigan) in
/home/u01/app/oracle/oracle/product/10.2.0/db_1/database/sysman/config/emd.properties
does not match the current environment TZ setting(US/Michigan).
The dbconsole cannot run with this mismatch.
If US/Michigan is the correct timezone, set your timezone environment variable to US/Michigan and repeat the 'emctl start dbconsole' operation.
If US/Michigan is not the correct timezone, make sure that the timezone in your environment is correct, and then run the following command in your local Oracle Home: 'emctl resetTZ agent'
The output of this command will include detailed instructions to follow, to correct the mismatch.
Thanks in advance
Edited by: user6550464 on Mar 29, 2009 11:46 PMAnd now You see the reason for error message.
emctl thinks that time zone is US/Michigan (its from emd.properties file)
but on linux timezone is set to Asia/Calcutta
Yoiu should understand which one timezone is correct. If it's US - then talk with server sysadmin, he will set correct one timezone on linux.
If correct one is on linux - then follow metalink note how to change timezone for agent.
If none of them are correct, then You will have to follow both steps. -
SAP cannot start Oracle after Upgrading to 10g
I have upgraded Oracle to 10g (10.2). After upgrading I run startsap but sapstart can start Oracle database but R3trans cannot verify that the database is started.
the following log are in startdb.log. Please give me an idea what to do to solve this problem.
S27adm 22> more startdb.log
Mon Jun 2 13:00:22 GMT: 2008
LOGFILE FOR STARTING ORACLE
Mon Jun 2 13:00:22 GMT: 2008
checking required environment variables
ORACLE_HOME is >/oracle/S27/102_64<
ORACLE_SID is >S27<
Mon Jun 2 13:00:22 GMT: 2008
check initora
Mon Jun 2 13:00:22 GMT: 2008
check initora
Mon Jun 2 13:00:22 GMT: 2008
checking V2 connect
TNS Ping Utility for HPUX: Version 10.2.0.2.0 - Production on 02-JUN-2008 13:00:22
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
/oracle/S27/102_64/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (COMMUNITY = SAP.WORLD)(PROTOCOL = TCP)(HOST = er3asu81)(PORT = 1553)) (CONNECT_DATA = (SERVER = DEDICATED) (
SERVICE_NAME = S27.world)))
OK (0 msec)
tnsping: V2 connect to S27
Mon Jun 2 13:00:22 GMT: 2008
Connect to the database to check the database state:
R3trans: connect check finished with return code: 12
Database not available
Mon Jun 2 13:00:22 GMT: 2008
Shutdown database
First trying to shutdown the database - May be,
the database is in the nomount or mount state
Mon Jun 2 13:00:22 GMT: 2008
starting database
SQL*Plus: Release 10.2.0.2.0 - Production on Mon Jun 2 13:00:23 2008
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 2533359616 bytes
Fixed Size 2199816 bytes
Variable Size 2025713400 bytes
Database Buffers 503316480 bytes
Redo Buffers 2129920 bytes
Database mounted.
SP2-0158: unknown SET option "charwidth"
no rows selected
Not a terminal
Not a terminal
Database altered.
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
With the Partitioning and Data Mining options
Mon Jun 2 13:00:46 GMT: 2008
Connect to the database to verify, that the database is now open
R3trans check finished with return code: 12
ERROR: Startup of database failed
Notify Database Administrator.
Mon Jun 2 13:00:46 GMT: 2008
/usr/sap/S27/SYS/exe/run/startdb: Terminating with error code 2Verify .dbenv* files in your <sid>adm home directory and update them as recommended in 10g upgrade documentation in the SAP Marketplace.
If still not resolved, do R3trans -d from <sid>adm home directory and post the recent trans.log file to review further.
Good Luck
Nag Anthati
Maybe you are looking for
-
Problem in Calling URL for Line Item of Perticular Purchase Requisition.
Hi Experts, I am calling a external window from the web dynpro which is working fine. I am trying to open transaction ME53 in the browser and i am successful in that. But now when i open that transaction there were two requirements: *1) It should
-
I've been programming a fairly complex Flash app for a while now. It began as a Flash 8 app. I am more of a programmer than a designer, so my program was pretty much implemented in *.as files even in Flash 8. I've been porting the application to Flex
-
Use my idop no my Mac and Windows
Who do I re-set my Ipod so that it would recognize both my and Windows 2000XP and my MacOS. I'm sure many of you out there can sympathize with this: 1 Ipod and access to all your goodies. 1 account. Anywhere in the world. Koppis
-
Hi, i am working on to modify a standard program by copying it. the stadandrd tcode is MB52. i copied the program and making changes.. My requirement is to add to know fields. they are 1. material date 2. no.of days from today the material is created
-
Changing Required Delivery Date to the Existing Purchase Order date In VA01
Hi All My requirement is while creating a sales order I want to know Is there any exit to move the PO date in Header details of VA01 to the Req Delivery Date in Sales tab or change the Req. Delivery date to the existing PO date in sales tab of VA