Newbie question starting Oracle 9i in Linux
Hi,
While connecting to oracle using sql plus, I get the following error:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
The product manuals are not clear was what to do. Can anyone point me in the right direction? How do I start an Instance of Oracle? Any help will be appreciated.
Thanks
Terrance
Hi
I know that there is a way of asking a media (CD) for oracle server. I want to get the media for oracle9i on linux. Do you know how to get it from OTN.
Thanks
Similar Messages
-
Auto start Oracle instance in linux
Can I configure oracle to auto start an oracle instance in linux environment ?
Here are the steps to enable the oracle service start automatically during the system boot
Login as root in Linux box to execute the following steps
1. the flag set to Y in /etc/oratab file with the respective instance
2. Copy the oracle script in /etc/init.d folder
3. change the permission < chmod 755 <script filename>
4. add the service <chkconfig --add <script filename>
5 Put the service auto on <chkconfig <script filename> on >
6. To verify the oracle service startup automatic < service <script filename> stop > < service <script filename> start >
Regards
N Jandial -
Starting Oracle XE on linux by /etc/init.d/oracle-xe start
Hello,
I installed Oracle Database 10g Express Edition on a Linux Ubuntu 7.04 (feisty)
following official installation instructions found here
http://www.oracle.com/technology/software/products/database/xe/files/install.102/b25144/toc.htm#BABCEAHD
but I noticed a weird behavior.
The installation process was ok.
The configuration process (/etc/init.d/oracle-xe configure) was also ok.
I set everything on default except for the “starting on boot” option I choose NO, because the instructions let me understand that I can start the service manually by the command:
$ /etc/init.d/oracle-xe start
The configuration process at the end also started the service well, so I could test my new oracle installation on my web browser following the url http://127.0.0.1:8080/apex
Everything went fine... but...
On the next boot I wanted to start my oracle so I typed
sudo /etc/init.d/oracle-xe start
but nothing happened and the server didn't go up.
Looking into to script /etc/init.d/oracle-xe
we can find this switch
case "$1" in
start)
if test -f "$CONFIGURATION"
then
if test "$ORACLE_DBENABLED" != "true"
then
exit 0
fi
else
echo "Oracle Database 10g Express Edition is not configured. You must run
'/etc/init.d/oracle-xe configure' as the root user to configure the database."
exit 0
fi
start
this means that if you chose NO (N) for the “starting on boot” option on the configuration process (NB this choice put false in the env variable ORACLE_DBENABLED) you can't start the dbms by this script.
I try comment the few lines
then
#if test "$ORACLE_DBENABLED" != "true"
#then
# exit 0
#fi
else
and this time the server starts well.
So I deduced that something was wrong with the script and the official installation instructions.Yes... Thank you.
But I saw the problem could to be simple avoided using the options
enable/disable for the script /etc/init.d/oracle-xe,
If you choose not to start oracle at boot time, you can start it
manually by the sequence
/etc/init.d/oracle-xe enable
/etc/init.d/oracle-xe start
then when you want to stop it
/etc/init.d/oracle-xe stop
/etc/init.d/oracle-xe disable
by this last command we don't make oracle restart
at the next system boot.
I think it would be a good thing to update the reference
documentation at
http://www.oracle.com/technology/software/products/database/xe/files/install.102/b25144/toc.htm#BABCEAHD
to explain this situation better. -
Starting Oracle-Xe on Linux fedora core 5
Dear fourm members,
I had Installed Oracle Xe on linux fedora core 5 and configure it.
When i try to start the oracle Xe server I get the follwing error.
# /etc/init.d/oracle-xe start
Starting Oracle Net Listener.
Starting Oracle Database 10g Express Edition Instance.
Failed to start Oracle Net Listener using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnslsnr and Oracle Express Database using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus.
what can i do to start the service.Failed To Start Oracle Net Listener
-
Newbie question about Oracle Parallel Server and Real Application Cluster
I am trying to find out what kind of storage system is supported by the 9i Real Applicaton cluster. I have looked at the 8i Oracle Parallel Server which requires raw partitions and therefore NAS (network attached storage) that provides an interface at the file level will not work. Does anyone know if the 9i Real Application cluster has a similar requirement for raw partitions? any suggestions of whether SAN or other technology will be suitable? pointers to more information is appreciated.
RobertHi Derik,
I know this is a really broad question. No, it happens all the time! Here is a similar issue:
http://blog.tuningknife.com/2008/09/26/oracle-11g-performance-issue/
+"In the end, nothing I tried could dissuade 11g from emitting the “PARSING IN CURSOR #d+” message for each insert statement. I filed a service request with Oracle Support on this issue and they ultimately referred the issue to development as a bug. Note that Support couldn’t reproduce the slowness I was seeing, but their trace files did reflect the parsing messages I observed."+
I would:
1 - Start by examining historical SQL execution plans (stats$sql_plan or dba_hist_sql_plan). Try to isolate the exact nature of the decreased performance.
Are different indexes being used? Are you geting more full-table scans?
2 - Migrate-in your old 10g CBO statistics
3 - Confirm that all init.ora parms are identical
4 - Drill into each SQL with a different execution plan . . .
Raid 5 Don't believe that crap that all RAID-5 is evil. . . .
http://www.dba-oracle.com/t_raid5_acceptable_oracle.htm
But at the same time, consider using the Oracle standard, RAID-10 . . .
Hope this helps . . .
Donald K. Burleson
Oracle Press author
Author of "Oracle Tuning: The Definitive Reference"
http://www.rampant-books.com/t_oracle_tuning_book.htm
"Time flies like an arrow; Fruit flies like a banana". -
Problem while starting Oracle 10XE on Linux
I have installed Oracle 10G XE on linux.it has installed successfully.
but when i start the sqlplus and enter as system user it is giving an error
ORA-01034:ORACLE NOT AVAILABLE
ORA-27101:Shared Memory realm does not exist
Linux Error 2:No Such file or directoryI have installed Oracle 10G XE on linux.it has
installed successfully.
but when i start the sqlplus and enter as system user
it is giving an error
ORA-01034:ORACLE NOT AVAILABLE
ORA-27101:Shared Memory realm does not exist
Linux Error 2:No Such file or directoryOn your case, it looks easier. Please verify you have properly set your ORACLE_HOME, ORACLE_SID and PATH environment variable.
Open a sqlplus session with / as sysdba and ensure your database is up and running, otherwise, just issue startup from this prompt. Ensure your listener is up and running too, just issue lsnrctl start from the OS prompt and feedback.
~ Madrid -
Newbie question about Oracle 11G performance
I have a situation where a newer better faster server running Oracle 11gR1 is running considerably slower than an older slower server running Oracle 10gR2.
Both of these servers have the same web applications and same dumpfiles loaded into them.
I personally installed the Oracle 11g on the new server, however, I didn't install the 10gR2 on the older server, some one else did...
I have checked what I think are the basics: the tables are not missing constraints, the automatic memory management is enabled.
I know this is a really broad question.
Newer server:
Quad-Core AMD Opteron Processor 2352 2.10 GHz (2 processors)
16 GB memory
Windows Server 2008, 64 bit
Raid 5
Older Server:
Intel Xeon 1.8 GHz (2 processors)
4 GB memory
Windows Server 2003, 32 bit
Raid 5Hi Derik,
I know this is a really broad question. No, it happens all the time! Here is a similar issue:
http://blog.tuningknife.com/2008/09/26/oracle-11g-performance-issue/
+"In the end, nothing I tried could dissuade 11g from emitting the “PARSING IN CURSOR #d+” message for each insert statement. I filed a service request with Oracle Support on this issue and they ultimately referred the issue to development as a bug. Note that Support couldn’t reproduce the slowness I was seeing, but their trace files did reflect the parsing messages I observed."+
I would:
1 - Start by examining historical SQL execution plans (stats$sql_plan or dba_hist_sql_plan). Try to isolate the exact nature of the decreased performance.
Are different indexes being used? Are you geting more full-table scans?
2 - Migrate-in your old 10g CBO statistics
3 - Confirm that all init.ora parms are identical
4 - Drill into each SQL with a different execution plan . . .
Raid 5 Don't believe that crap that all RAID-5 is evil. . . .
http://www.dba-oracle.com/t_raid5_acceptable_oracle.htm
But at the same time, consider using the Oracle standard, RAID-10 . . .
Hope this helps . . .
Donald K. Burleson
Oracle Press author
Author of "Oracle Tuning: The Definitive Reference"
http://www.rampant-books.com/t_oracle_tuning_book.htm
"Time flies like an arrow; Fruit flies like a banana". -
How can I start oracle databse in linux ?
I have rebooted the machine and oracle database did not start.
How can I start manually oracle database ?
Thanks a lot !!!sqlplus
connect as sysdba
startup pfile=<Path to your init.ora> -
How do you start Oracle OEM in Linux?
Thanks in advance
from linux type
"oemapp console"
To get a list of what client apps you have just type "oemapp"
null -
Oracle 8i for Linux Starter Kit
Hello,
Need an Oracle God to help me with 8i for linux!
I am would like to learn about oracle database software. Just purchased the Starter Kit that includes 8.1.6 Enterprise Edition. Now I have done some research on the install for this and found out that it is very difficult. I tried to cookbook together the install from various posts/oracle web site/etc. I was successful in getting it to install, but could not get the stubs patch to install.
I now have a fresh install of Mandrake 8.0. No changes have been made to glibc.
First question is where to get the correct glibc rpm to keep the installer from crashing, and from causing other problems to my system. MandrakeUpdate was smoking crack and fetching a different file for glibc 2.2.2-5, then it said that it would conflict with gcc or something like that. I want to make sure I am getting the appropriate
files.
Second, on page 19 of the book, I do ok until it comes to setting the environment variables. Am I supposed to login as my Oracle user, an type '$HOME/.bash_profile' to set these variables? This relates to the problem with the stubs patch saying that ORACLE_HOME was not in the environment.
Third, I am using this link to get to the stubs file.
http://download.oracle.com/otn/linux/oracle8i/glibc-2.1.3-stubs.tar.gz
My plan is this.
1. Update the appropriate glibc rpm to allow the installer to run.
2. Install Oracle based on the books instruction verbatim.
3. Do not install the educational database. First install the stubs as above.
Questions.
Will a custom install allow me to keep the installer from attempting the database?
Once the stubs are installed, where is dbassist located to install the database after the fact?
Please Please help me with this situation. I would really like to learn databases, Oracle in particular. If this does not work, I doubt that I can return the book, considering the cd is open.
Thanks in advance for any kind assistance.
Jerold Von Hemel
jerold at vonhemel dot com
nullHere is a mini update since my last post...
ok, by updating my glibc stuffs from 2.2.2-4 to 2.2.2-5 I am able to get the runinstaller to work (it echos a bunch of 'map failed' in the console though I wonder if there is something wrong with that)... however since I am only doing now at work I can only try to install on my laptop which is does not have enough HD space. I am down to 230M left and there is no way it will install so I will try it again on my PC after I go home today. Btw, here are the files that I have updated:
glibc-2.2.2-5mdk.i586.rpm
glibc-devel-2.2.2-5mdk.i586.rpm
glibc-profile-2.2.2-5mdk.i586.rpm
ldconfig-2.2.2-5mdk.i586.rpm
nscd-2.2.2-5mdk.i586.rpm
You can get these from any mirror sites I think. Or run your MandrakeUpdate under the Config/Packaging menu (you need to select a mirror site by clicking mirror site update).
As for the SRPMS/glibc-2.2.2-5mdk.src.rpm...
I can't find this file in any of the mirror site.
However, now I am facing another issue. I tried the "echo $ORACLE_HOME" as suggested but it returns me with an empty line same as I try a make up env like "echo $dafadas"... so does this means that it is not reading the ORACLE_HOME in my .bash_profile in the oracle account? I also notice that even I did all the same procedures, while in RH6.2 the oracle install path is my $ORACLE_HOME, in Mandrake8 the path is /home/oracle/OraHome1? I stopped at this step and didn't go forward because 1, there is not enough HD space to continue and 2, I am not sure that the path is correct. If anyone reached this state and went beyond please let me know if I am on the right track or not...
P.S. I remember doing that same thing about not installing the database during the installation for oracle 8.0.5; however, I couldn't access to the database even using my oracle account later on. I don't know if that is a permission problem or something like that.
Thanks in advance
Mimic -
Question about starting Oracle 9i manually!!!!
Hi friends,
I am a student and a newbie in Installing Oracle 9i Database.
At the installation I choose the Oracle Enterprise Edition and choose also that the Installation wizard
automatically create a DB.
My problem is, that Oracle starts up every time I boot up my machine.
Now my question is: How can I configure Oracle that it don't start every time I boot up the machine??
I would like to start up Oracle only if I want it so!!
So how can I do this???
I hope that somebody of you guys can help me!!
thanxx
Schobbi1) Go to Start ` Settings `Control panel `
(admin tools if you use win2k)` Services
2)find out the serive like OracleServiceYOURDBNAME
double click that service and choose startup type to manual
this will make your database to stop starting automatically.
3)when you want to start manually
go to command prompt type
set oracle_sid=yourdatabasename
sqlplus /nolog
connect / as sysdba
startup pfile=path of your databse par file.
(startup pfile=\oracle\admin\ora\pfile\init.ora or just type startup ). -
Dumb newbie question -- shell vrs linux console
This is probably a dumb newbie question, but what is the difference between the shell screen and the linux console screen? I used another system before Arch and I believe there was only the shell screen! Does it matter which one is used? Thanks -- Larry
The console is the 2D text rendering thing. The shell is Bash, just a program that handles your input and has the console as output.
If on the other hand you mean the console at startup, and you call that the console while you call xterm, etc. shells then the answer is different. It's just a matter of configuration if you automatically start X or not. A lot people use gdm or kdm to get a graphical login screen after bootup, others just type "startx" in the console when they want to start X.
You can switch to the console with Ctrl+Alt+Fn where n is a number between 1 and 6. You can switch between consoles with Alt+Fn, X is on the last console, so to go back to X do Alt+F7. -
How to start Oracle Report Builder in Linux
Hi all
Can someone please help by telling how can i start Oracle Report Builder in Linux????
Thank you and best regards to allHello,
there should be a script rwbuilder.sh
in ORACLE_HOME/bin for 10.1.2.
in ORACLE_INSTANCE/config/reports/bin for 11g
Of course, you need to have a "X Display Server " up and running and the variable DISPLAY must be set to this "X Display Server "
Example :
export DISPLAY=123.456.789.12:0
$ORACLE_HOME/bin/rwbuilder.sh
Regards -
Not able to start Em Console for Oracle 11g in Linux 6.1
I have a RedHat Linux 6.1 Laptop. I successfully installed Oracle 11g in my laptop and configured the DB.
Post Installation everything was working fine and I could open the EM console.
After stopping the DB, I am not able to bring up the em console. Notice the below error
2014-01-27 19:32:52,014 Thread-4115646208 WARN reload: Error parsing lastupld.xml : ORAXML-229, File=file:/home/oracle/app/oracle/product/11.2.0/dbhome_1/localhost_OMSora11g/sysman/emd/lastupld.xml, Line=0, Msg=LPX-00229: input source is empty
2014-01-27 19:32:52,089 Thread-4115646208 WARN http: nmehl_connect_internal: connect failed to (localhost:1158): Connection refused (error = 111)
2014-01-27 19:32:52,089 Thread-4115646208 ERROR pingManager: nmepm_pingReposURL: Cannot connect to http://localhost:1158/em/upload/: retStatus=-1
2014-01-27 19:32:52,170 Thread-4115646208 WARN command: Job Subsystem Timeout set at 600 seconds
2014-01-27 19:32:52,197 Thread-4115646208 WARN upload: Upload manager has no Failure script: disabled
2014-01-27 19:32:52,367 Thread-4115646208 WARN metadata: Metric VirtualHosts does not have any data columns
2014-01-27 19:32:52,624 Thread-4115646208 WARN metadata: Metric hung_system_traces does not have any data columns
2014-01-27 19:32:52,937 Thread-4115646208 ERROR main: failed to initialize TargetManager
======================================
One of the links suggested it could be because of sys and sysman users being locked. I ran the "alter user sysman account unlock;" command and unlocked it.
BEFORE Unlock
./emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
http://localhost:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ............................................................................................. failed.
Logs are generated in directory /home/oracle/app/oracle/product/11.2.0/dbhome_1/localhost_OMSora11g/sysman/log
AFTER UNLOCK
./emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
http://localhost:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ..... started.
Logs are generated in directory /home/oracle/app/oracle/product/11.2.0/dbhome_1/localhost_OMSora11g/sysman/log
But the same error is noticed in both the above cases. Please assist..
AFTER UnlockHi,
As you have mentioned that the sysman account was locked I would recommend to change the sysman password as per below doc to ensure the password is consistent at both config file and DB level
How To Change the Password of the Database User Sysman (DB Control Repository Schema) (Doc ID 259379.1)
Then try accessing the DBcontrol using below URL
http://localhost:1158/em/console
Regards,
Rahul -
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
Maybe you are looking for
-
Generation of XML file from Java objects using castor
I have the following java file(Customer.java). public class Customer private String ID; private FirstName firstName; private MiddleName middleName; private LastName lastName; private ArrayList address; public ArrayList g
-
MacBook Pro will not boot up after Yosemite reinstall
I see that someone else has a similar problem but a potential responder asked A.N.Other with the same issue to start a new thread - hence this post. I have a MacBook Pro, mid-2010 (I think) 500GB HD and maximum RAM. I installed Yosemite several month
-
Getting error while updating IT 0105
Hi, I am inserting a record in Communications Infotype when user creates a IT 0006 record. I have written code in the user exit to do the job and I am using HR_INFOTYPE_OPERATION' Insert option (INS) for that. I am doing enqueue and dequeue properly.
-
Can you use the HDMI Out and the Optical Cable out at the sametime?
I would like to connect the HDMI out cable from Apple TV to connect to the HDMI digital video/audio connection to my stereo and connect the optical out on the Apple TV and connect to my Zone 2 on the same reviever. Can I use both these Apple TV outpu
-
Playcount does not sync to iTunes when I sync my iPod Touch
I never had this problem before... When I sync my iPod Touch to iTunes, the playcount does not update anymore. I have no idea if there is an incorrect setting, or if this is just a software update issue, but I really enjoy the playcount. Does anyone