Configuring Linux to run Oracle
Reading thru Oracle install doc, says to do an "ipcs" to see
stats about MAXMEM etc. My stats show I need changes, Oracle
doc gives no hints about "what to do". Maybe I need to
"somehow" reconfigure Linux Kernel (running latest Red Hat via
Linux Unleashed book), ideas, hints? Thanks! :)
null
Martin Eberhartinger (guest) wrote:
: John Hurley (guest) wrote:
: : Reading thru Oracle install doc, says to do an "ipcs" to see
: : stats about MAXMEM etc. My stats show I need changes, Oracle
: : doc gives no hints about "what to do". Maybe I need to
: : "somehow" reconfigure Linux Kernel (running latest Red Hat
via
: : Linux Unleashed book), ideas, hints? Thanks! :)
: Dear John!
: I guess (please correct me and send an eMail to
: [email protected]) that these settings are only for
: Solaris and not for LINUX, because in the installation-Appendix
: for LINUX there is nothing for kernel parameters, but every
else
: shortly explained
: Bye
: Harti
Someone might have to correct me here, but I think the kernel
configuration is done inside the lilo.conf file by adding a
following line in:
append="params go here separated by a comma"
then you run lilo, and if lilo does not complain, simply reboot
your Linux. I would also suggest to have a boot disk handy (just
in case)
Regards
Marius
null
Similar Messages
-
/dev/shm on Oracle Linux 6.x to run Oracle 11g R2 - manual configuration?
Hello
We are building a server to run Oracle 11g R2 database (11.2.0.3 x64) on Oracle Linux 6.2 with UEK R2.
Our preference is to use AMM to have Oracle 11g R2 manage memory. We may impose some minium SGA and PGA memory allocations but basically aim to use MEMORY_TARGET to manage overall memory.
By default Linux makes the size of /dev/shm ~50% of server physical RAM, as far as I can tell.
Here is the /etc/fstab entry created by the installation:
tmpfs /dev/shm tmpfs defaults 0 0
Given this Linux server will only run Oracle 11g R2 database and some monitoring software, almost application code will run on the server. The application code will run on the separate application server and is Java based.
Can I change the */etc/fstab* entry for /dev/shm to manually increase the size to take up ~80-90% of the server physical RAM ? Is it a good idea?
The server is 64-bit, the RAM = 64 GB, so I am thinking to manually make /dev/shm to be = ~55GB, leaving ~8GB for other purposes.
Right now it's about 32GB (50%?) if I leave the /dev/shm 'defaults' on.
many thanksthanks,
I have read the doc (what little there is on this topic).
I have asked on the database forum......
just FYI - below is the proof:
SQL> show parameter mem
NAME TYPE VALUE
hi_shared_memory_address integer 0
memory_max_target big integer 4G
memory_target big integer 0
shared_memory_address integer 0
SQL> show parameter ga
NAME TYPE VALUE
lock_sga boolean FALSE
pga_aggregate_target big integer 1600M
pre_page_sga boolean FALSE
sga_max_size big integer 3G
sga_target big integer 1600M
still does not work.
And I cant change memory_max_target = 0 because I get error on startup:
SQL> alter system set memory_max_target=0 scope=spfile;
System altered.
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup;
ORA-01078: failure in processing system parameters
ORA-00843: Parameter not taking MEMORY_MAX_TARGET into account
ORA-00849: SGA_TARGET 3221225472 cannot be set to more than MEMORY_MAX_TARGET 0.
BUT if memory_max_target is > 0 then alert log says hugepages can not be used
it feels like catch-22.....
thanks
Edited by: yurib on Jun 1, 2012 4:53 PM -
How to run oracle 10g application on firefox browser.(linux)
on of my client using Linux (UBUNTU) OS.he wants to run oracle application on firefox.but firefox always asks for intall plugins..
what setting should i do to run my application on firefox linux(UBUNTU) client.When using Firefox Browser 3.0.x, you have to manually install the java plugin on your pc and copy the NPJPI150_xx.dll to the plugin directory of Firefox.
Make sure, that you use exactly the same version, as you named in your formsweb.cfg configuration.
In my case, were we use Java Plugin 1.5.0_06, I have these linse in my formsweb.cfg file:
# For Firefox:
jpi_mimetype=application/x-java-applet;jpi-version=1.5.0_06
# For IE:
jpi_classid=clsid:CAFEEFAC-0015-0000-0006-ABCDEFFEDCBA
Good luck -
Oracle 9i database configuration assisstant not running
Hi All,
My database is Oracle 9i.The configuration assisstant not running in this .can any body help?
ReenaHi Reena, this got lost in the wrong forum. try the database forum
Barry -
Configuration needed for Installing Oracle 9i-R2 on Linux Itanium
I need a specific documentation for Installing Oracle 9i-R2 on Linux Itanium server.
Oracle does not support running the 32-bit database on Itanium.64-bit Oracle database software only supports 64-bit for Itanium.
Check Metalink Note:266043.1 for details
Virag -
Run Oracle on Linux VMware kit in runlevel 3
Hi,
Anyone has managed to run Oracle on Linux VMware kit in runlevel 3 instead of 5, i.e. no GUI.I have managed to run Redhat linux in run level 3, by editing /etc/inittab and change the run level to 3.
However, the RAC services didn't managed to start up. When I run crsstat, it gets cannot connect to CRS. -
Hi Guys
I want to run Oracle forms on Linux. please explain how can i do it.
Regards
LakmalThis is a pretty vague question...
Which version of Forms are you talking about, for instance? What problems are you having?
Regards,
Robin Zimmermann
Forms Product Management -
Running ORACLE on Debian Linux
Hi!
I have installed ORACLE 10g. When I run "oracle" command from oracle user account, nothing's doing. When I run "sqlplus" and login as "/ as sysdba" then I receive a message "Connected to an idle instance.". So, what have I do to run ORACLE?
Thanks in advance.
Ps. Sorry for my bad english.Connected to an idle instance.This message means that your DB is not running, or ORACLE_SID environment variable is not set properly. Be sure that ORACLE_SID has correct value, then, if you get that message, type "startup".
-
Do you recommend vxfs to run Oracle on Linux?
We are a fortune 500 company and we are implementing Linux for an archive system with a liklihood of implementing it in many other areas. We are considering running it on vxfs (Veritas File System). If we implement the vxfs/volume manager across the company, it will cost us a pretty penny. Appx $5,000 per box.
Why not just run on ext3? Could someone please give me some pros and cons and some recommendations?
Thanks.I have managed to run Redhat linux in run level 3, by editing /etc/inittab and change the run level to 3.
However, the RAC services didn't managed to start up. When I run crsstat, it gets cannot connect to CRS. -
Running oracle database xe (express edition) on windows server 2008 r2
Is it supported to run Oracle Database XE on Windows Server 2008 R2?
Database XE is only supported as 32-bit. Current builds of Windows Server 2008 only come in x64 configurations.
Here are the Database XE system requirements for windows:
[http://docs.oracle.com/cd/E17781_01/install.112/e18803/toc.htm]
The docs say that 32-bit windows is required, yet they also say that windows server 2008 is supported.
Windows Server 2008 R2 came out in 2009, and in R2 they eliminated 32-bit OS (though there is the WOW64 subsystem to run 32-bit programs within the 64-bit OS).
See:
- [Wikipedia page about windows server 2008 with info on R2|http://en.wikipedia.org/wiki/Windows_Server_2008#Windows_Server_2008_R2]
- [Wikipedia page on "windows 32-bit on windows 64-bit"|http://en.wikipedia.org/wiki/WOW64]
Thanks,
MattHello Matt,
Is it supported to run Oracle Database XE on Windows Server 2008 R2?No.
The docs say that 32-bit windows is required, yet they also say that windows server 2008 is supported.So this means that only 32bit versions of 2008 will be supported.
Windows Server 2008 R2 came out in 2009, and in R2 they eliminated 32-bit OS (though there is the WOW64 subsystem to run 32-bit programs within the 64-bit OS).Which is probably why 2008 R2 is not supported.
You can either take the VM approach and install a 32 bit Windows or 64 bit Linux host, or you can queue in the list of persons waiting for a 64 bit Windows release. See the following thread for details (and the queue) for the latter: {thread:id=2277728}
-Udo -
Running oracle on localhost.
Hi all!
I'm having problems on running Oracle on localhost.My current hostname in linux is : localhost.I'm always able to get on EM after I create a new database,but when I restart my computer,I can no longer reach the URL: http://localhost:5500/em ,although I can access the internet.
The listener also was not starting after reboot,so I had to use netca app. to delete and create a new listener.It's working now fine,as per the status,but I can't reach EM :(.
I'm using Suse 9.3.
Can anyone give some suggestions?Thanks.
This is my /etc/hosts file:
fe00::0 ipv6-localnet
ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts
127.0.0.2 linux.site linux
127.0.0.1 localhost
This is listener.ora
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /home/oracle/oracle)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
and,tnsnames.ora:
# Generated by Oracle configuration tools.
BASE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = base.localhost)
Message was edited by:
derelictionThanks Jacco,things look good now.
I have to start em console everytime I reboot in linux.I'm using " ./emctl start dbconsole " command,and EM becomes active.
One question is,is this the way things are supposed to work?Shouldn't EM start itself up whenever I reboot? -
Configuring Web Services for Oracle XML DB
Hi all...
I think I need some help one this subject....
We have a 10G Release 2 Oracle single instance ( not RAC) install on a Linux Redhat v5.3 64 bit server. Are developers are user Visual Studio .Net and wnat to send xml files to a web service so that the xml file (containing data) can call a PL/SQL package (to be written) which will take the data out of the xml input file and insert rows into a prefined table within the instance. Now they have browsed the web and have come upon the following links...
http://docs.oracle.com/cd/B28359_01/appdev.111/b28369/xdb_web_services.htm
http://docs.oracle.com/cd/B28359_01/appdev.111/b28369/xdb22pro.htm#i1026724
Currently, within the database I looked at the schema XDB and have unlocked the account and connected as the user XDB. There are some 680 objects in the following groups...
SQL> select object_type, count(*) from dba_objects where owner='XDB' group by object_type;
OBJECT_TYPE COUNT(*)
SEQUENCE 2
PROCEDURE 5
OPERATOR 8
LOB 334
LIBRARY 12
PACKAGE 20
PACKAGE BODY 17
XML SCHEMA 25
TYPE BODY 5
TRIGGER 12
TABLE 36
INDEX 51
FUNCTION 5
INDEXTYPE 2
VIEW 2
TYPE 144
16 rows selected.
Now in the links above it mentions that the xdbconfig.xml needs to be altered etc. However, I have searched the entire $ORACLE_HOME and there is no file definition of that description.
From a DBA prospective...what do I have to install on the Linux server? I assume from the Oracle Database 10g Companion Products I need to lay down Oracle HTTP Server in a new Oracle home as the first step...or not? Does the HTML DB need to be installed as well?
And for Configuring Web Services for Oracle XML DB...what else has to be installed? And from what product line?
Thanks in Advance....
Cheers
RoegrHi Marco...
First of all ...thanks for the reply.
I followed the link and the infor in that web page. However, there were a few things that did not work....
1. The http://localhost:8080/ as is brought up a web page withe the heading as
==========
ORACLE DATABASE 10g EXPRESS EDITION LICENSE AGREEMENT..
==========
The other browser test ftp://localhost:2100/
did not find any page?
2. Then I went onto running (as the sysdba) the pl/sql to enable the ORAWSV Entry Service
however it error out. So I did a describe on DBMS_XDB and the function deleteServlet does not appear
then I had a look and this link to > http://www.liberidu.com/blog/?p=471
was for 11G and the other link > http://docs.oracle.com/cd/B28359_01/appdev.111/b28369.pdf
was for 11G.
However, we are on 10G
=================
SQL> select * from V$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
PL/SQL Release 10.2.0.3.0 - Production
CORE 10.2.0.3.0 Production
TNS for Linux: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production
==================
So is there must be other sql for 10G?
Cheers
Rog -
How RH Linux behavior with Oracle in that situation?
Hi guys,
I'm trying to figure out what is happening in my scenario:
We have a database server with Enterprise Linux RH 5 and 15 instances running Oracle 11gR2 (11.2.0.2.0).
The server has 32G of physical memory.
When Oracle instance starts, it allocates from OS physical memory the values set to sga_max_size plus pga_aggregate_target. I'm not using the parameter memory_target of Oracle 11g (set to 0). Please check how the memory is configured for the instances:
Instance SGA PGA
dgb008 -> 2G 0 (* this one uses the parameter memory_target);
dgb019 -> 4G 512M
hgb019 -> 4G 512M
dgb021 -> 2G 512M
hgb021 -> 2G 512M
dgb014 -> 4G 512M
hgb014 -> 4G 512M
dgb015 -> 1,7G 512M
hgb015 -> 1,7G 512M
dgb084 -> 4G 512M
dgb085 -> 4G 512M
dgb086 -> 2G 512M
qgb084 -> 4G 512M
qgb085 -> 4G 512M
tvt020 -> 376M 125M
Total --> 43,7G 6,7G
TOTAL--> 50,4 GB
Note that I have more Gigs configured for the instances, than I really have physically on the server... about that scenario, I have two questions, one about Linux and the other one about Oracle:
1) Why Linux shows that I have 27GB for cache? That means that is being used by Oracle? I have 13GB of swap, due to that situation. Is that behavior normal for Linux?
2) Why Oracle allow me to create new instances, once that I don't have physical memory available?
Thanks!top - 15:23:19 up 366 days, 3:37, 1 user, load average: 5.97, 9.24, 14.59
Tasks: 1208 total, 6 running, 1133 sleeping, 0 stopped, 69 zombie
Cpu(s): 33.3%us, 9.2%sy, 0.2%ni, 54.7%id, 2.5%wa, 0.0%hi, 0.2%si, 0.0%st
Mem: 32956180k total, 32860628k used, 95552k free, 97712k buffers
Swap: 67108856k total, 12246544k used, 54862312k free, 26986888k cached
% free
total used free shared buffers cached
Mem: 32956180 32754180 202000 0 98924 27005168
-/+ buffers/cache: 5650088 27306092
Swap: 67108856 12225636 54883220
% sar -r 5 5
Linux 2.6.18-194.el5 (cator2valedb029.valenet) 04/18/2012
03:24:26 PM kbmemfree kbmemused %memused kbbuffers kbcached kbswpfree kbswpused %swpused kbswpcad
03:24:31 PM 96128 32860052 99.71 102896 27010868 54889908 12218948 18.21 1402120
03:24:36 PM 97436 32858744 99.70 103024 27011508 54890036 12218820 18.21 1402352
03:24:41 PM 293776 32662404 99.11 101960 27005984 54888320 12220536 18.21 1239240
03:24:46 PM 293908 32662272 99.11 102092 27005952 54888336 12220520 18.21 1239248
03:24:51 PM 373396 32582784 98.87 102220 27006204 54888364 12220492 18.21 1239664
Average: 230929 32725251 99.30 102438 27008103 54888993 12219863 18.21 1304525 -
Problem running Oracle Portal to Go (Oracle9i 1.0.2.0.0)
I have installed Oracle9i Application Server WE 1.0.2.0.0 Standard Edition on Windows2000 Professional Edition. I am getting problems regarding running Portal to Go.
The installer said that installation was successful. Moreover I have done the configuration tasks mentioned Oracle9i installation guide under post installation steps for Oracle9i.
But Oracle Portal to Go is not running and returning error message. Are there some other tasks still to perform to configure the Oracle Portal to Go Standard Edition?
Here it is a brief Description of what I have done with the installations process
System: Pentium II 500 MHZ with 256 MB RAM and 15 GB Hard Disk so enough space available for installations.
Windows 2000 professional was freshly installed
All pre installation tasks are done like paging file size is 896MB
Important Installation steps and points are as under (Standard Edition of Oracle 9i Application Server 1.0.2.0.0):
I followed all the steps given in Oracle 9i AS installation guide
On Windows 2000 Installer never asks for reboot before actually installing the Oracle 9i application server (Chapter 4 of installation guide: preparing system for installation: step5: page 5 of 25). So I manually reboot the system
During installation when I reached Database Access Descriptor (DAD) for Oracle Portal. In TNS connect string field for Apache listener Configuration I entered the same name (abc) (chapter 4 of installation guide: installing oracle 9i Application server: step2, 3: page 10,11 of 25) as I was going to use for my Global database name later at database Identification steps (chapter 4 of installation guide: installing oracle 9i Application server: step 4: page 12 of 25)
Note: In an other installation I left the same fields (TNS connect string) blank but of no use.
(Please let me know if I have made any mistake here)
When installation of Oracle9i AS reaches 100% installer opens a command prompt and displays
ORA: 12541 TNS: No Listener
Enter user name:
When I enter SYSTEM as a user name it displays
Password:
I entered manager as password and then it displays
ORA 12560: TNSProtocol adaptor error
And once again it asks for user name and password
I once again enter system as a user and manager as password.
(Please let me know if I have made any mistake here)
After 100% completion of the installation the configuration tools screen appears
(Chapter 4 of installation guide: installing oracle 9i Application server: step 10: page 17 of 25) and the following tasks are performed
Net8 configuration Assistant succeeds
Oracle database configuration assistant succeeds
When The Oracle portal 3.0 configuration Assistant Starts
I hold the installation steps for oracle portal for a while and do some database configuration tasks that are necessary (may be some are not) for installation of portal.
(Please let me know if I have made any mistake here)
For example
Increase the table space size of Users (400 MB), and Temp (100MB) table spaces.
Validated invalid PL/SQL Modules with ULTRP.SQL script
(Please let me know if I have made any mistake here)
Installed dbms_job.sql package as it was mentioned in another guide (Oracle portal-to-Go installation Guide- Release1.0.2: Page 1: last line)
(Please let me know if I have made any mistake here)
Stopped the database and listener
And did some changes as was asked in Oracle portal-to-Go installation Guide- Release1.0.2
Edited the init<SID>.ora file and set the following fields
aq_tm_processes = 1
job_queue_processes = 4 (2 were recommended in guide but I left the already set values)
job_queue_interval = 30
(Please let me know if I have made any mistake here)
Also I did the following too (though these are recommended for Internet file system)
opern_cursors = 300 (in installation guide it is asked 255 but I kept the already set value)
shared_pool_size = 52438800 (50M was suggested and this is more than that)
processes = 200
(Please let me know if I have made any mistake here)
I started the database and listener
Proceeded the installation of Oracle Portal as is described in installation guide for Oracle 9i Application guide 1.0.2.0.0
And successfully completed the installation of Oracle Portal
There were no errors reported on the installer however when I read the installation log some errors were mentioned at the end of the file
Please see the attached log file.
I also completed all the post installation tasks at the end of chapter 4 of Oracle9i Application Server installation guide 1.0.2.0.0 except the configuration of Oracle Internet file system (is it necessary for running Oracle Portal to Go)
When I run the oracle portal to go the following situation is encountered
Working: http://localhost/pls/portal30/admin_/dadentries.htm
Error at: http://localhost/pls/portal30/portal30.home
Error: The preference path does not exist: Oracle.Portal.Page (WWC-51000)
(And this is the main source of confusion)
Working: http://localhost/pls/portal30/admin_/gateway.htm?schema=portal30
Working: http://et-wks-08:5555/invoke/wm.server.admin/adminPage
Are there any other guides and post installation steps still to follow to successfully run this Portal to Go or it is sufficient?
I can also send the installation logs of both Oracle 9i application server (installActions.log and installActions2001-05-28_03-50-56-PM.log) and Oracle portal to Go (install.log).
If you ask, I can send you the installation guides that I have followed and the screen shoots of the error messages for a detail review.
Moreover can anyone please tell me if this version of Oracle 9i Application server is ok or I must try some other version?
Also advise any other if any successful configuration and installation options.
Is it possible to run this portal to go with any other installation options/arrangements/configurations etc?
Any help from anyone will be highly appreciated.
Regards,
Muhammad Usman,
Software Engineer
EssTec Lahore, Pakistan.Hi,
If you use portal 30 instead of OAS, The installation gives you the Apache ready.
Pablo
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Tarun Singhal ([email protected]):
Hi,
I am trying to implement Portal-to-go application .
For installing Oracle Portal-To-Go 1.0.2 ,I followed oracle
documectation.Now I want to install Portal-To-Go 1.0.2
application using
a) winnt ver. 4.0 (SP3)
b) Oracle 8i
c) Oracle Application server release 4.0.8.1
d) servlet patch set
e) pl/sql cartridges.
(Oracle 8i and OAS 4.0.8.1 are installed with different oracle home directories.)
I have installed winnt , OAS rel.4.0.8.1. both are working fine
.now I want to install servlet Patch set and
pl/sql cartridges.I am unable to locate the information and software for this on oracle site.
can any body tell me why servlet patch set and pl/sql cartridges
required for this application and
from where should i download the servlet patch set software and PL/SQL cartriges
for this version.
Are the above specified softwares are compatible with each other or something extra
required for this installation. Is service pack 3 (winnt 4.0) compatible
with portal-to-go 1.0.2
Can anybody help me please ?
Regards
Preeti Madhukar
([email protected])<HR></BLOCKQUOTE>
null -
Install and configure report service on Oracle Application Server 10g
i want to know how to install and configure report service on Oracle Application Server 10g Release 3 (10.1.3.1.0)
Thanksthe case is that we developed an ADF Application, so we want to deploy it on the latest version of Oracle Application server.
our application communicate with Oracle reports (run oracle reports from our Application) as there are no Oracle report products for JEE Application.
so if there are not report service that can run on Oracle Application Server 10g Release 3 (10.1.3.1.0),
what is the other choices that oracle supports that can help us in this case ???
Maybe you are looking for
-
We are currently upgrading from Siebel 7.5 to 8.1 and are working on converting some of our Actuate Reports into BI Publisher. I am trying to create an Integration Object to use with a BI Publisher Report that will display Activities of Type = Call &
-
IPod Playlist Unstuck in iTunes 7.0
1) Driving me crazy a bit, as this is something that I just know has to be there, somewhere, but I just can't find it. 2) All prior versions had an option allowing you to keep your iPod (mine is a Shuffle) Playlist in the Source column even when the
-
What is the IP address for the HP Color Laserjet CM1312nfi MFP?
I need to install my HP printer that is hooked up to a wireless network to an iMac. (as a shared printer) What is the IP address for the HP Color Laserjet CM1312nfi MFP in order for me to install in the apple? Thanks.
-
Time machine external hard drive stalls start up
I am relatively new to Apple hardware and this is my first post. I have been using a 1TB Iomega Select external hard drive which I use with Time Machine. All has been well for the first few weeks. However recently I have noticed when I switch on my i
-
To Everyone at Blackberry I'd just like to thank you for causing me to spend almost 20 hours to date fixing all the problems with my PC (windows XP pro) that your awful sotware has caused. i really do NOT want to put this software back on my PC or an