Listener hangs 10g Red Hat 3.0
Any ideas anyone please. I have 2 databases installed, one is a test database (not used) and the other is a development database (heavily used). After about 12 hours
the listener log shows a hang and ps ef shows 2 listener processes. The "good: listener process is pid=1234 ppid=1, and the bad one is pid=5678 ppid=1234. The only way out is to kill processes 1234 and 5678 and restart the listener. I also see this message: WARNING: subscriber for event down event is pending (something like that anyway). Also tnsnames.ora does not have an entry for the plsEXT proc? Has anyone encountered this problem - thanks
I encounter the same problem on 10.1.0.4 with CPUOct2005 patch on AIX5L. I would appreciate it, if someone can shed some light on this. It has been damaging our production database serviceability, while I still have no clue what the root cause was.
Similar Messages
-
I've downloaded Oracle 10g Express edition on to my computer running a Red Hat Fedora Linux OS. However having read the getting started page of the database setup and followed the instructions to open the Go To Database Home Page, on my applications menu section, I am greeted by a Unable to Connect to Server page. Followed by: Firefox can't establish a connection to the server at 127.0.0.1.
Has any one else had this problem? If so how can it be resolved?
I have already turned off the firewall on my OS and it has made no difference. Is it Oracles fault in that they have not maintained this page on their website? Or is it a problem with the way my computer is set?If you were able to reach to the end of the installation, then make sure both your database and listener are up and running. OracleXE requires the database to be registered against the listener to have the http access enabled.
From an OS prompt, ensure your environment variables are properly set,
ORACLE_HOME=pathToYourOracleHome
ORACLE_SID=XE #verify the instance name, xe or XE, it is case sensitive
PATH=$ORACLE_HOME/bin:$PATH
Then issue this command to verify the listener is up and running:
lsnrctl status
There you should see the http port at 8080 and the XE instance registered against the listener.
And verify the database is working:
sqlplus / as sysdba
SQL> select status from v$instance
You should see OPEN as the status.
Please post the output of the above commands.
~ Madrid -
Networking error (ORA-28547) with 10g on Red Hat Linux
Hello everybody
I'm having the following error when trying to set up a 10g database on a Red Hat machine. I can start the listener correctly, but then the Enterprise Manager shows the following error in the 'Agent Connection to Instance' section:
ORA-28547: connection to server failed, probable Oracle Net admin error (DBD ERROR: OCISessionBegin)
When I try to access using SQL*Plus, I get the same error. I don't know what can be wrong: the listener starts correctly, tnsping gives OK, both using the server name and the SID, and the config. files seem to be correct. Anyone has a clue?
Thanks in advance for your answers.
Just in case, here are (the relevant parts of) mi config. files:
listener.ora:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(PROGRAM = extproc)
(SID_NAME = oradb10g)
(ORACLE_HOME = /opt/app/oracle/)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = oradb10g))
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = st03)(PORT = 1521))
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
tnsnames.ora:
ORADB10G =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = st03)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = oradb10g)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(Key = EXTPROC0))
(CONNECT_DATA =
(SID = oradb10g)
(PRESENTATION = RO)
sqlnet.ora:
SQLNET.AUTHENTICATION_SERVICES=(NONE)
Thanks again.Sorry for the delay, I've been kind of busy :S
Here are the requested files' contents
/etc/hosts:
192.168.1.19 st00.summatec.net st00
192.168.1.33 st03.summatec.net st03
127.0.0.1 localhost.localdomain localhost
192.168.1.11 st01.summatec.net st01
/etc/nsswitch.conf:
passwd: files
shadow: files
group: files
hosts: files dns
bootparams: nisplus [NOTFOUND=return] files
ethers: files
netmasks: files
networks: files
protocols: files
rpc: files
services: files
netgroup: files
publickey: nisplus
automount: files
aliases: files nisplus
$ORACLE_HOME/sysman/config/emd.properties:
perlBin=/opt/app/oracle/perl/bin
scriptsDir=/opt/app/oracle/sysman/admin/scripts
emdRoot=/opt/app/oracle
agentStateDir=/opt/app/oracle
chronosRoot=/opt/app/oracle/sysman/emd/chronos
REPOSITORY_URL=http://st03.summatec.net:4889/em/upload/
agentSeed=802746336
agentVersion=10.1.0.4.0
UploadInterval=5
UploadFailBackoffPct= 20
UploadTimeout=1800
UploadFileSize=2048
UploadMaxBytesXML=50
UploadMaxNumberXML=5000
UploadMaxDiskUsedPct=98
UploadMaxDiskUsedPctFloor=95
emdRootCertLoc=/opt/app/oracle/sysman/config/b64LocalCertificate.txt
internetCertLoc=/opt/app/oracle/sysman/config/b64InternetCertificate.txt
emdWalletSrcUrl=http://st03.summatec.net:4889/em/wallets/emd
emdWalletDest=/opt/app/oracle/sysman/config/server
emd_email_address=
emd_email_gateway=
emd_from_email_address=
EMD_URL=http://st03.summatec.net:/emd/main/
AgentListenOnAllNICs=TRUE
NormalThreadStackSize=0
ouiLoc=/opt/app/oracle/oui
hostConfigClasspath=/opt/app/oracle/oui/jlib/xmlparserv2.jar:/opt/app/oracle/oui/jlib/OraInstaller.jar:/opt/app/oracle/oui/jlib/srvm.jar:/opt/app/oracle/oui/jlib/share.jar:/opt/app/oracle/sysman/jlib/emd_java.jar:/opt/app/oracle/sysman/jlib/log4j-core.jar
JAVA_HOME=/opt/app/oracle/jdk/jre
CLASSPATH=/opt/app/oracle/sysman/jlib/emd_java.jar:/opt/app/oracle/opmn/lib/ons.jar:/opt/app/oracle/lib/xmlparserv2.jar:/opt/app/oracle/sysman/jlib/log4j-core.jar:/opt/app/oracle/oc4j/j2ee/home/lib/http_client.jar:/opt/app/oracle/lib/dms.jar:/opt/app/oracle/lib/dmsEmd.jar:/opt/app/oracle/jlib/share.jar:/opt/app/oracle/jdbc/lib/ojdbc14dms.jar:/opt/app/oracle/jlib/jssl-1_1.jar:/opt/app/oracle/jlib/javax-ssl-1_1.jar:/opt/app/oracle/jlib/ojmisc.jar:/opt/app/oracle/lib/em_test.jar:/opt/app/oracle/jlib/ojmisc.jar:/opt/app/oracle/jlib/repository.jar:/opt/app/oracle/opmn/lib/optic.jar
agentJavaDefines=-Doracle.dms.refresh.wait.time=1000 -DUrlTiming.UseJSSE=true
LogFileMaxSize=4096
LogFileMaxRolls=4
TrcFileMaxSize=4096
TrcFileMaxRolls=4
dynamicPropsComputeTimeout=60
EMAGENT_PERL_TRACE_LEVEL=ERROR
tracelevel.main=WARN
tracelevel.emSDK.xml=WARN
tracelevel.emSDK.utl=WARN
tracelevel.ResMonitor=WARN
tracelevel.Dispatcher=WARN
tracelevel.ThreadPool=WARN
tracelevel.pingManager=WARN
tracelevel.collector=WARN
tracelevel.http=WARN
tracelevel.ssl=WARN
tracelevel.ssl.io=WARN
tracelevel.blackouts=WARN
tracelevel.upload=WARN
tracelevel.command=WARN
tracelevel.reload=WARN
tracelevel.scheduler=WARN
tracelevel.Authentication=WARN
tracelevel.metadata=WARN
tracelevel.targets=WARN
tracelevel.TargetManager=WARN
tracelevel.engine=WARN
tracelevel.javaproc=WARN
tracelevel.vpxoci=WARN
tracelevel.javavm=WARN
tracelevel.fetchlets=WARN
tracelevel.fetchlets.os=WARN
tracelevel.fetchlets.osline=WARN
tracelevel.fetchlets.oslinetok=WARN
tracelevel.fetchlets.UDM=WARN
tracelevel.fetchlets.sql=WARN
tracelevel.fetchlets.url=WARN
tracelevel.fetchlets.urllines=WARN
tracelevel.fetchlets.urllinetoken=WARN
tracelevel.fetchlets.URLTiming=WARN
tracelevel.fetchlets.propEcho=WARN
tracelevel.fetchlets.readFromFile=WARN
tracelevel.fetchlets.readMultFromFile=WARN
tracelevel.fetchlets.throwable=WARN
tracelevel.fetchlets.resourceGrab=WARN
tracelevel.fetchlets.emSDK=WARN
httpTimeoutPrimaryHeader=30
httpTimeoutSecondaryHeaders=30
httpTimeoutBody=60
$ORACLE_HOME/log/st03/client/css.log:
(the following lines are repeated several times)
2006-05-02 12:33:35.709: [ OCROSD][3070490304]utgdv:2:ocr loc file cannot be opened
2006-05-02 12:33:35.710: [ OCROSD][3070490304]utopen:1: Couldnt find ocr,[ocrmirror] location in config file
2006-05-02 12:33:35.710: [ OCRRAW][3070490304]proprinit: Could not open raw device
2006-05-02 12:33:35.710: [ default][3070490304]a_init:7!: Backend init unsuccessful : [33]
2006-05-02 12:33:35.711: [ CSSCLNT][3070490304]clsssinit: error(33 ) in OCR initialization
$ORACLE_HOME/network/log/listener.log (a representative piece):
05-MAY-2006 10:46:58 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=oradb10g)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.33)(PORT=52204)) * establish * oradb10g * 0
05-MAY-2006 10:47:07 * ping * 0
WARNING: Subscription for node down event still pending
05-MAY-2006 10:47:07 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=st03.summatec.net)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=(ADDRESS=(PROTOCOL=TCP)(HOST=st03.summatec.net)(PORT=1521)))(VERSION=169869568)) * status * 0
05-MAY-2006 10:47:08 * (CONNECT_DATA=(SID=oradb10g)(CID=(PROGRAM=perl)(HOST=st03.summatec.net)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.33)(PORT=52208)) * establish * oradb10g * 0
05-MAY-2006 10:47:28 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=oradb10g)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.33)(PORT=52212)) * establish * oradb10g * 0
(the last line is repeated several times)
$ORACLE_HOME/network/log/sqlnet.log :
Fatal NI connect error 12505, connecting to:
(DESCRIPTION=(SOURCE_ROUTE=OFF)(ADDRESS=(PROTOCOL=IPC)(Key=EXTPROC0))(CONNECT_DATA=(SID=oradb10g)(SERVER=)(PRESENTATION=RO)(CID=(PROGRAM=java)(HOST=st03.summatec.net)(USER=oracle))))
VERSION INFORMATION:
TNS for Linux: Version 10.2.0.1.0 - Production
Unix Domain Socket IPC NT Protocol Adaptor for Linux: Version 10.2.0.1.0 - Production
TCP/IP NT Protocol Adapter for Linux: Version 10.2.0.1.0 - Production
Time: 02-MAY-2006 12:35:22
Tracing not turned on.
Tns error struct:
ns main err code: 12564
TNS-12564: TNS:connection refused
ns secondary err code: 0
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Fatal NI connect error 12505, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(Key=EXTPROC0))(CONNECT_DATA=(SID=oradb10g)(PRESENTATION=RO)(CID=(PROGRAM=java)(HOST=st03.summatec.net)(USER=oracle))))
VERSION INFORMATION:
TNS for Linux: Version 10.2.0.1.0 - Production
Unix Domain Socket IPC NT Protocol Adaptor for Linux: Version 10.2.0.1.0 - Production
TCP/IP NT Protocol Adapter for Linux: Version 10.2.0.1.0 - Production
Time: 02-MAY-2006 12:38:18
Tracing not turned on.
Tns error struct:
ns main err code: 12564
TNS-12564: TNS:connection refused
ns secondary err code: 0
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
I wasn't sure which logs to post, so I included the ones in $ORACLE_HOME/logs and $ORACLE_HOME/network/logs; I hope they are helpful.
Thanks again, and sorry for the long post. -
Installation of Oracle AS 10g on Red Hat ES 3.0
Installation of Oracle AS 10g on RedHat ES 3.0 (All issues are cleared and u will b done with no error like Java Configuration Failed and make files errors)
Red Hat Enterprise Linux 3 Custom Installation
Copy from OTN Note
Start
Oracle 10g is certified to run the base release of Red Hat Enterprise Linux 3 (Advanced Server and Enterprise Server) without updates. If you have update CDs, you can use the boot CD from the update instead of the boot CD from the base release to automatically apply all updates during the installation. All updates from Red Hat are supported by Oracle.
1. Boot the server using the first CD.
o You may need to change your BIOS settings to allow booting from the CD.
2. The boot screen appears with the boot: prompt at the bottom of the screen.
o Select Enter to continue with a graphical install on the console. (For other installation methods and options, refer to the Red Hat Installation Guide.)
o The installer scans your hardware, briefly displays the Red Hat splash screen, and then begins a series of screen prompts.
3. Language Selection
o Accept the default.
4. Keyboard Configuration
o Accept the default.
5. Welcome Screen
o Click on Next.
6. Mouse Configuration
o Accept the default.
7. Installation Type
o Select Custom.
8. Disk Partitioning Setup
o A thorough treatment of disk partitioning is beyond the scope of this article, which assumes that you are familiar with disk partitioning methods.
(WARNING: Improperly partitioning a disk is one of the surest and fastest ways to wipe out everything on your hard disk. If you are unsure how to proceed, stop and get help, or you will risk losing data!)
This article uses the following partitioning scheme, with ext3 for each filesystem:
The 9GB disk on the first controller (/dev/sda) will hold all Linux and Oracle software and contains the following partitions:
- 100MB /boot partition
-1,500MB swap partitionâSet this to at least twice the amount of RAM in the system but to no more than 2GB (32-bit systems do not support swap files larger than 2GB). If you need more than 2GB of swap space, create multiple swap partitions.
-7,150MB root partitionâ This partition will be used for everything, including /usr, /tmp, /var, /opt, /home, and more. This was done purely to simplify installation for the purposes of this guide. A more robust partitioning scheme would separate these directories onto separate filesystems.
9. Boot Loader Configuration
o Accept the default.
10. Network Configuration
o It is usually best to configure database servers with a static IP address. To do so, click on Edit.
o A pop-up window appears. Uncheck the Configure using DHCP box, and enter the IP Address and Netmask for the server. Be sure that Activate on boot is checked, and click on OK.
o In the Hostname box, select manually and enter the hostname.
o In the Miscellaneous Settings box, enter the remaining network settings.
11. Firewall Configuration
o For the purposes of this walk-through, no firewall is configured. Select No firewall.
12. Additional Language Support
o Accept the default.
13. Time Zone Selection
o Choose the time settings that are appropriate for your area. Setting the system clock to UTC is usually a good practice for servers. To do so, click on System clock uses UTC.
14. Set Root Password
o Enter a password for root, and enter it again to confirm.
15. Package Group Selection
o Select only the package sets shown here. Leave all others unselected.
o Desktop
- X Window System
- Gnome
- KDE
- See my comments in the RHES 2.1 section regarding choice of GUI.
o Applications
- Editors
- Graphical Internet
o Servers
- Do not select anything in this group.
o Development
- Development Tools
o System
- Administration Tools
o Red Hat Enterprise Linux
- Do not select anything in this group.
o Miscellaneous
- Legacy Software Development
o Click on Next to proceed.
16. About to Install
o Click on Next.
17. Installing Packages
o Software will be copied to the hard disk and installed. Change disks as prompted, and click on Next when the installation is complete.
18. Graphical Interface (X) Configuration
o Accept the defaults unless the installer does not recognize your video card. If your video card is not recognized, you will not be able to continue.
19. Monitor Configuration
o Accept the default if the installer correctly identifies your monitor. Otherwise, select a compatible monitor from the list.
20. Customize Graphical Configuration
o Accept the defaults.
21. Congratulations
o Remove the installation media from the system, and click on Next.
22. The system automatically reboots and presents a new welcome screen.
o Click on Next.
23. License Agreement
o Read the license agreement. If you agree to the terms, select Yes, I agree to the License Agreement and click on Next.
24. Date and Time
o Set the Date and Time.
o If you want to use an NTP server (recommended), select Enable Network Time Protocol and enter the name of the NTP server.
25. User Account
o Create an account for yourself.
o Do not create an account for oracle at this time. Creating the oracle account is covered later in this section.
26. Red Hat Network
o If you want to use or activate your Red Hat Network account now, accept the default, click on Next, and follow the product activation instructions that accompanied your Red Hat product.
27. Additional CDs
o Click on Next.
28. Finish Setup
o Click on Next.
29. A graphical login screen appears.
30. Congratulations! Your Linux software is now installed.
End of OTN Note
Now just install compat-db-4.0.14-5.i386.rpm
Gnome-libs-1.4.1.2.90-34.1.i386.rpm
Libpng10-1.0.13-8.i386.rpm
ORBit-0.5.17-10.4.i386.rpm
Install patch 3006854
Copy libcwait.so file from /etc to /lib
And make links
mv /usr/bin/gcc /usr/bin/gcc323
mv /usr/bin/g++ /usr/bin/g++323
ln âsf /usr/bin/gcc296 /usr/bin/gcc
ln âsf /usr/bin/g++296 /usr/bin/g++
Kernel Settings as per requirement of ORACLE AS 10g in /etc/sysctl.conf
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 256 65000 200 256
fs.file-max = 131072
net.ipv4.ip_local_port_range = 1024 65000
kernel.msgmnb=65556
kernel.msgmni=4096
Then restart the computer
Login with Oracle user
now path setting as
I have done this by make two environment files
Infra.env
TMP=/tmp
Export TMP
TMPDIR=$TMP
Export TMPDIR
ORACLE_BASE=/oracle
Export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/appsrv/infra
Export ORACLE_HOME
ORACLE_SID=asdb (if u will not define SID here then while starting database u will face an error ORA-07217:sltn:environment variable cannot be evaluated)
Export ORACLE_SID
PATH=/usr/bin:/usr/sbin
Export PATH
PATH=$PATH:$ORACLE_HOME/bin (u can include command paths like dcm as u needed)
Export PATH
LD_ASSUME_KERNEL=2.4.19
Export LD_ASSUME_KERNEL
Copy this file with name as.env and change ORACLE_HOME from infra to as.
. ./infra.env
DISPLAY=localhost:0.0; export DISPLAY
Xhost +
Now u can check that DISPLAY is ok by run the command xclock if clock appears then ok else set DISPLAY with root user ok
Start installation from CD 1 .
. ./runInstaller
Press Y (There is no need to disturb, upgrade, degrade any package)
Press Y
Installation will start while installing and reaches at ~50% then go to /oracle/appsrv/infra/bin open relink file and change at line # 50 i.e. remove 2 brackets
] âo [ and at line # 102 make= /usr/ccs/bin/make to /usr/bin/make remove ccs and save the file
There will no error in installation in infrastructure
Same as done with relink file in Middle tier installation. I would like to turn ur attention for a serious problem no one asked about it. Here u have seen that a script make 3 file in /usr/local/bin for infrastructure and middle tier when u finished infrastructureâs installation plz rename that 3 files as
Mv coredb coredb-infra
Mv dbhome dbhome-infra
Mv ora ⦠oraâ¦-infra
If u overwrite that files by creating same name of middle tier files no problem.
When problem comes?
AS will work fine but when u have to install patches on AS then problem comes if u have overwrite that files. So plz rename them before creation of same files of middle tier. Thanx
Zeeshan
@CES
[email protected]Hi,
I tried uname -a and it returns the following:
Linux NLABLINUX 2.4.21-20.EL.c0 #1 Thu Sep 9 02:07:03 EDT 2004 i686 i686 i386 GNU/Linux
We have the following problems:
1. I am having a box running RHEL 3.0 (got from centos.org). I have Oracle 10g running ok. Now I tried to install ASMLIB downloaded from technet. The files are:
rpm -Uvh oracleasm-2.4.21-EL-1.0.3-1.i686.rpm \
oracleasmlib-1.0.0-1.i386.rpm \
oracleasm-support-1.0.3-1.i386.rpm \
When I tried to install these files, I got the following error:
Checking for Red Hat enterprise kernel: [FAILED]
Also when I try to run /etc/init.d/oracleasm , I get the same error
Checking for Red Hat enterprise kernel: [FAILED]
2. We created 4 raw partitions /dev/raw/raw1 - 4 using raw command.
[root@rcdell root]# ls -l /dev/raw/raw[1,2,3,4]
crw-rw---- 1 oracle dba 162, 1 Sep 9 11:05 /dev/raw/raw1
crw-rw---- 1 oracle dba 162, 2 Sep 9 11:05 /dev/raw/raw2
crw-rw---- 1 oracle dba 162, 3 Sep 9 11:05 /dev/raw/raw3
crw-rw---- 1 oracle dba 162, 4 Sep 9 11:05 /dev/raw/raw4
then tried this:
SYS at +ASM on 29-DEC-04 >create diskgroup dg1 normal redundancy
2 failgroup c1 disk '/dev/raw/raw1'
3 failgroup c2 disk '/dev/raw/raw2';
create diskgroup dg1 normal redundancy
ERROR at line 1:
ORA-00600: internal error code, arguments: [kfdsk::grpmatch], [1],
[3939617408], [], [], [], [], []
ORA-00600: internal error code, arguments: [kfgrpJoin2], [5], [], [], [], [],
ORA-15076: Emulating I/O errors on the OSM disk
ORA-15076: Emulating I/O errors on the OSM disk
ORA-15076: Emulating I/O errors on the OSM disk
ORA-15076: Emulating I/O errors on the OSM disk
Any help is appreciated.
Irshad A. Buchh
Senior Principal Consultant -
Installation of OracleAS 10g on Red Hat Linux ES 3.0
Installation of Oracle AS 10g on RedHat ES 3.0
Red Hat Enterprise Linux 3
Copy from OTN Note
Start
Oracle 10g is certified to run the base release of Red Hat Enterprise Linux 3 (Advanced Server and Enterprise Server) without updates. If you have update CDs, you can use the boot CD from the update instead of the boot CD from the base release to automatically apply all updates during the installation. All updates from Red Hat are supported by Oracle.
1. Boot the server using the first CD.
o You may need to change your BIOS settings to allow booting from the CD.
2. The boot screen appears with the boot: prompt at the bottom of the screen.
o Select Enter to continue with a graphical install on the console. (For other installation methods and options, refer to the Red Hat Installation Guide.)
o The installer scans your hardware, briefly displays the Red Hat splash screen, and then begins a series of screen prompts.
3. Language Selection
o Accept the default.
4. Keyboard Configuration
o Accept the default.
5. Welcome Screen
o Click on Next.
6. Mouse Configuration
o Accept the default.
7. Installation Type
o Select Custom.
8. Disk Partitioning Setup
o A thorough treatment of disk partitioning is beyond the scope of this article, which assumes that you are familiar with disk partitioning methods.
(WARNING: Improperly partitioning a disk is one of the surest and fastest ways to wipe out everything on your hard disk. If you are unsure how to proceed, stop and get help, or you will risk losing data!)
This article uses the following partitioning scheme, with ext3 for each filesystem:
The 9GB disk on the first controller (/dev/sda) will hold all Linux and Oracle software and contains the following partitions:
- 100MB /boot partition
-1,500MB swap partitionâSet this to at least twice the amount of RAM in the system but to no more than 2GB (32-bit systems do not support swap files larger than 2GB). If you need more than 2GB of swap space, create multiple swap partitions.
-7,150MB root partitionâ This partition will be used for everything, including /usr, /tmp, /var, /opt, /home, and more. This was done purely to simplify installation for the purposes of this guide. A more robust partitioning scheme would separate these directories onto separate filesystems.
9. Boot Loader Configuration
o Accept the default.
10. Network Configuration
o It is usually best to configure database servers with a static IP address. To do so, click on Edit.
o A pop-up window appears. Uncheck the Configure using DHCP box, and enter the IP Address and Netmask for the server. Be sure that Activate on boot is checked, and click on OK.
o In the Hostname box, select manually and enter the hostname.
o In the Miscellaneous Settings box, enter the remaining network settings.
11. Firewall Configuration
o For the purposes of this walk-through, no firewall is configured. Select No firewall.
12. Additional Language Support
o Accept the default.
13. Time Zone Selection
o Choose the time settings that are appropriate for your area. Setting the system clock to UTC is usually a good practice for servers. To do so, click on System clock uses UTC.
14. Set Root Password
o Enter a password for root, and enter it again to confirm.
15. Package Group Selection
o Select only the package sets shown here. Leave all others unselected.
o Desktop
- X Window System
- Gnome
- KDE
- See my comments in the RHES 2.1 section regarding choice of GUI.
o Applications
- Editors
- Graphical Internet
o Servers
- Do not select anything in this group.
o Development
- Development Tools
o System
- Administration Tools
o Red Hat Enterprise Linux
- Do not select anything in this group.
o Miscellaneous
- Legacy Software Development
o Click on Next to proceed.
16. About to Install
o Click on Next.
17. Installing Packages
o Software will be copied to the hard disk and installed. Change disks as prompted, and click on Next when the installation is complete.
18. Graphical Interface (X) Configuration
o Accept the defaults unless the installer does not recognize your video card. If your video card is not recognized, you will not be able to continue.
19. Monitor Configuration
o Accept the default if the installer correctly identifies your monitor. Otherwise, select a compatible monitor from the list.
20. Customize Graphical Configuration
o Accept the defaults.
21. Congratulations
o Remove the installation media from the system, and click on Next.
22. The system automatically reboots and presents a new welcome screen.
o Click on Next.
23. License Agreement
o Read the license agreement. If you agree to the terms, select Yes, I agree to the License Agreement and click on Next.
24. Date and Time
o Set the Date and Time.
o If you want to use an NTP server (recommended), select Enable Network Time Protocol and enter the name of the NTP server.
25. User Account
o Create an account for yourself.
o Do not create an account for oracle at this time. Creating the oracle account is covered later in this section.
26. Red Hat Network
o If you want to use or activate your Red Hat Network account now, accept the default, click on Next, and follow the product activation instructions that accompanied your Red Hat product.
27. Additional CDs
o Click on Next.
28. Finish Setup
o Click on Next.
29. A graphical login screen appears.
30. Congratulations! Your Linux software is now installed.
End of OTN Note
Now just install compat-db-4.0.14-5.i386.rpm
Gnome-libs-1.4.1.2.90-34.1.i386.rpm
Libpng10-1.0.13-8.i386.rpm
ORBit-0.5.17-10.4.i386.rpm
Install patch 3006854
Copy libcwait.so file from /etc to /lib
And make links
mv /usr/bin/gcc /usr/bin/gcc323
mv /usr/bin/g++ /usr/bin/g++323
ln âsf /usr/bin/gcc296 /usr/bin/gcc
ln âsf /usr/bin/g++296 /usr/bin/g++
Kernel Settings as per requirement of ORACLE AS 10g in /etc/sysctl.conf
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 256 65000 200 256
fs.file-max = 131072
net.ipv4.ip_local_port_range = 1024 65000
kernel.msgmnb=65556
kernel.msgmni=4096
Then restart the computer
Login with Oracle user
now path setting as
I have done this by make two environment files
Infra.env
TMP=/tmp
Export TMP
TMPDIR=$TMP
Export TMPDIR
ORACLE_BASE=/oracle
Export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/appsrv/infra
Export ORACLE_HOME
ORACLE_SID=asdb (if u will not define SID here then while starting database u will face an error ORA-07217:sltn:environment variable cannot be evaluated)
Export ORACLE_SID
PATH=/usr/bin:/usr/sbin
Export PATH
PATH=$PATH:$ORACLE_HOME/bin (u can include command paths like dcm as u needed)
Export PATH
LD_ASSUME_KERNEL=2.4.19
Export LD_ASSUME_KERNEL
Copy this file with name as.env and change ORACLE_HOME from infra to as.
. ./infra.env
DISPLAY=localhost:0.0; export DISPLAY
Xhost +
Now u can check that DISPLAY is ok by run the command xclock if clock appears then ok else set DISPLAY with root user ok
Start installation from CD 1 .
. ./runInstaller
Press Y (There is no need to disturb, upgrade, degrade any package)
Press Y
Installation will start while installing and reaches at ~50% then go to /oracle/appsrv/infra/bin open relink file and change at line # 50 i.e. remove 2 brackets
] âo [ and at line # 102 make= /usr/ccs/bin/make to /usr/bin/make remove ccs and save the file
There will no error in installation in infrastructure
Same as done with relink file in Middle tier installation. I would like to turn ur attention for a serious problem no one asked about it. Here u have seen that a script make 3 file in /usr/local/bin for infrastructure and middle tier when u finished infrastructureâs installation plz rename that 3 files as
Mv coredb coredb-infra
Mv dbhome dbhome-infra
Mv ora ⦠oraâ¦-infra
If u overwrite that files by creating same name of middle tier files no problem.
When problem comes?
AS will work fine but when u have to install patches on AS then problem comes if u have overwrite that files. So plz rename them before creation of same files of middle tier. Thanx
Zeeshan Ali
@CES
[email protected]Hi,
I tried uname -a and it returns the following:
Linux NLABLINUX 2.4.21-20.EL.c0 #1 Thu Sep 9 02:07:03 EDT 2004 i686 i686 i386 GNU/Linux
We have the following problems:
1. I am having a box running RHEL 3.0 (got from centos.org). I have Oracle 10g running ok. Now I tried to install ASMLIB downloaded from technet. The files are:
rpm -Uvh oracleasm-2.4.21-EL-1.0.3-1.i686.rpm \
oracleasmlib-1.0.0-1.i386.rpm \
oracleasm-support-1.0.3-1.i386.rpm \
When I tried to install these files, I got the following error:
Checking for Red Hat enterprise kernel: [FAILED]
Also when I try to run /etc/init.d/oracleasm , I get the same error
Checking for Red Hat enterprise kernel: [FAILED]
2. We created 4 raw partitions /dev/raw/raw1 - 4 using raw command.
[root@rcdell root]# ls -l /dev/raw/raw[1,2,3,4]
crw-rw---- 1 oracle dba 162, 1 Sep 9 11:05 /dev/raw/raw1
crw-rw---- 1 oracle dba 162, 2 Sep 9 11:05 /dev/raw/raw2
crw-rw---- 1 oracle dba 162, 3 Sep 9 11:05 /dev/raw/raw3
crw-rw---- 1 oracle dba 162, 4 Sep 9 11:05 /dev/raw/raw4
then tried this:
SYS at +ASM on 29-DEC-04 >create diskgroup dg1 normal redundancy
2 failgroup c1 disk '/dev/raw/raw1'
3 failgroup c2 disk '/dev/raw/raw2';
create diskgroup dg1 normal redundancy
ERROR at line 1:
ORA-00600: internal error code, arguments: [kfdsk::grpmatch], [1],
[3939617408], [], [], [], [], []
ORA-00600: internal error code, arguments: [kfgrpJoin2], [5], [], [], [], [],
ORA-15076: Emulating I/O errors on the OSM disk
ORA-15076: Emulating I/O errors on the OSM disk
ORA-15076: Emulating I/O errors on the OSM disk
ORA-15076: Emulating I/O errors on the OSM disk
Any help is appreciated.
Irshad A. Buchh
Senior Principal Consultant -
How to install oracle developer 10g on red hat 5.3
Dear forum members,
i have to install oracle developer 10g on red hat 5.3 . I am searching on google and metalink but i did not find any doccument.
If somebody has some material or any doccument for this Installation plz help me.
regardsi have fullfilled pre-requisites to install developer 10g on red hat 4.5
i copy the source in "/var/opt/oracle/" Source is in .cpio format.
i unzip this source with cat Disk1.cpio | cpio -icd.
when i run the runINstaller it cant find /var/opt/oracle/..........Disk1/products.xml file.
when i find this file with command find -name 'products*' or find -name '*.xml'
i cant find products.xml.
is there any problem with source
reply -
How to install Oracle 10g on to Red Hat Linux 5 Server
I'm new to both Linux and Oracle. I've been working on an installion of Oracle 10g on a Red Hat Linux 5 Server for about 2 weeks. I've been doing a lot of reading about installing Oracle on a Linux environment. I finally got to the installation portion and the Oracle Installer displayed a message that I had to have Red Hat 4 or 4 Enterprise to continue.
How can Install Oracle 10g onto a Red Hat 5 Linux Server"? Is there an option that I can use to bypass the OS checking?
ThanksUnfortunately there is no way to access metalink without a valid account. You could then just try to skip preinstall requisites with this clause:
./runInstaller -ignoreSysPrereqs
or this method:
Copy the oraparam.ini from the installation source install/oraparam.ini to /tmp directory.
Edit the file /tmp/oraparam.ini so this file reads:
After
[Certified Versions]
Linux=redhat-3,SuSE-9,redhat-4,UnitedLinux-1.0,asianux-1,asianux-2,redhat-5
also, make sure you have these packages installed:
# rpm -ivh gcc-c++-4.1.1-52.el5.i386.rpm gcc-4.1.1-52.el5.i386.rpm
libstdc++-devel-4.1.1-52.el5.i386.rpm glibc-devel-2.5-12.i386.rpm
glibc-headers-2.5-12.i386.rpm libgomp-4.1.1-52.el5.i386.rpm
libXp-1.0.0-8.i386.rpm compat-libstdc++-296-2.96-138.i386.rpm
compat-libstdc++-33-3.2.3-61.i386.rpm
~ Madrid. -
Oracle Upgrade 8.1.7.4 to 10g in Red hat linux
Dear All,
We are planning to upgrade our oracle database from 8i to 10g along with the Redhat linux upgrade from 2.4.9-e 27 ent to Red Hat Linux 5. In my study and also from Installation guides and oracle upgrade guides I made sure that its possible to upgrade our database from 8.1.7.4.
So I have planned the below options to do the same and not sure about the possibilities. If anyone have thoughts and idea on the same please suggest me.
We dont have plan to migrate the development hardware and the sap version is 4.7E
Option 1: Upgrade the Linux to 5 and then upgrading the database to 10g usign upgrade assistant tool
Option 2: Export the database using sapinst tool and then crashing the server. Installing linux5 and importing the database using sapinst tool.(I am aware this is not a good idea since there is no migration in hardware but it will be helpful in production since we are migrating the production system).
Option 3: Performing DBUA assistant in development and sapinst method in production.(helpful in disaster recovery)
Could you please suggest on the same?
My query is that.
If i am performing oracle export from 8.1.7.4 and if i am import the same in oracle 10g using the sapinst tool. Will this work? or it will create a problem in table level. I am looking for answers for this Question. Kindly explain me on this.
Regards
VijayRe: Restoring data from 9i to 10g
The above link was useful to me
Regards
Vijay -
Installing Oracle 10g Express Edition on Red Hat Linux
Hi,
I am new with Linux Os and have to install oracle 10g Express Edition on Red Hat Linux Os for a customer. So before proceeding, I need some guidelines.
1) which Linux(freeware) flavor should I install ?
2) is there any virtual enviornment available for Linux Os on which I can install 10g Express Edition database ?
3) If available, is there any difference in using the Linux Os in Virtual enviornment and actual installing Linux ? will there be any difference in installing database and configuration for both the cases?
4) need download link for latest version of Red Hat Linux setup
Regards
Edited by: user640001 on Feb 25, 2011 5:44 AM1) which Linux(freeware) flavor should I install ?Ordinarily, I'd recommend getting Oracle Linux (http://eDelivery.oracle.com/linux) because the default install includes all the prerequisite RPM packages you will need. And failing that, also offers another RPM package "oracle-validated" which will cause the installation of the necessary prerequisites.
But... you mentioned customer: if this is a revenue-producing situation and customer money is at stake, I strongly recommend they obtain commercial O/S support with either Oracle, Red Hat, or maybe SuSE/Novell. Compared to the cost of a downed business, an O/S support arrangement is cheap, cheap, cheap.
2) is there any virtual enviornment available for Linux Os on which I can install 10g Express Edition database ?Sure. You can run Oracle VirtualBox on most Linux, Windows, or Solaris boxes. http://VirtualBox.org for info.
3) If available, is there any difference in using the Linux Os in Virtual enviornment and actual installing Linux ? will there be any difference in installing database and configuration for both the cases?No real differences in either environment.
4) need download link for latest version of Red Hat Linux setupWhat, you didn't try http://eDelivery.oracle.com/linux yet? -
Installing oracle 10g R2 on Red Hat AS4 update 6
Has anyone been able to get 10g R2 to install on Red Hat AS 4 u6?
I have had errors on both the 64 bit version and the 32 bit version.
32 Bit Version
The 32 bit version useing the 32 bit version of oracle 10g r2 (10.2.0.1) displays this error: Enterprise manager configuration failed due to the following error - Invalid value null for parameter PORT.
The log states:
CONFIG: SQLEngine connecting with SID: murasaki, oracleHome: /opt/oracle/product/10.2.0/db_1, and user: DBSNMP
May 2, 2008 8:56:11 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
May 2, 2008 8:56:11 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Invalid value null for parameter PORT
Refer to the log file at /opt/oracle/product/10.2.0/db_1/cfgtoollogs/dbca/murasaki/emConfig.log for more details.
May 2, 2008 8:56:11 AM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Invalid value null for parameter PORT
at oracle.sysman.emcp.ParamsManager.checkParam(ParamsManager.java:2630)
at oracle.sysman.emcp.EMDBPreConfig.checkConfigParams(EMDBPreConfig.java:1285)
at oracle.sysman.emcp.EMDBPreConfig.checkParameters(EMDBPreConfig.java:1060)
at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:174)
at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:160)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:141)
at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:426)
at java.lang.Thread.run(Thread.java:534)
64 Bit version
The 64 bit versions spits out unable to make "install" various different files anywhere between 62% to 68% completed.
unfortunately i dont have more information on the error at this time. I have all the development packages installed.
any help would be greatly apreciated as i am getting no where with google and searching various forums.Please check on this link.. that may help you.
http://www.puschitz.com/InstallingOracle10g.shtml
--Girish -
Oracle 10g database installation in red hat 5
what are the packages needed for oracle 10g database installation in red hat 5?
what do you mean by yum way of installation?Check on the release notes for your platform
This is for x86-64 Linux.. read it all, then you'll find the "6 Documentation Corrections and Additions" section you'll find the RPMs that you need
http://download.oracle.com/docs/cd/B19306_01/relnotes.102/b15666/toc.htm
then go to the official doc installation of 10gR2 on x86-64 Linux
http://download.oracle.com/docs/cd/B19306_01/install.102/b15667/toc.htm
Yum is a package management tool. This is what you'll be using to install the RPMs. But first you'll have to setup the Yum repository, usually what I do is stage the DVD media on the server then make it as a repository. If ever there's a specific (higher) version that I need then I just pull it on the RedHat Network.
There are a lot of HOWTOs about Yum. You may read on this link http://docs.fedoraproject.org/yum/en/
- Karl Arao
http://karlarao.wordpress.com/ -
DBCA hanging on 9i Rel 2 / Red Hat 8.0
O/S: Red Hat 8.0
DBMS: 9i Release 2
Processor: AMD Athlon XP 2600
RAM: 1GB (Swap 2GB)
Disk partition: 10GB
As with many other correspondents of this forum, DBCA hangs at 51% progress. I have set all kernel parameters and ulimit sizes as documented, to no avail. I have tried using both BASH and KSH. HOWEVER, the parameters SHMMIN, SHMSEG and SHMVMX don't appear to exist. Maybe that's my problem...?
Many thanks in advance.Try following instructions listed here instead.
http://www.puschitz.com/InstallingOracle9i.shtml
P.S. You've a very powerful machine. 1GB... wow. -
Oracle 10g/11g database use on UEK versus Red Hat kernel? How widely used?
Greetings
is there any official or semi-official information regarding how widely used is Oracle UEK to run Oracle 10g/11g database (RAC or single-node) versus running Oracle database on Red Hat Linux or on Oracle Linux with Red Hat kernel ?
I am asking because at my customer site there is a perception that Red Hat (or Oracle Linux with Red Hat kernel) is much more widely used in production to run Oracle 10g/11g database and therefore it will provide better stability even if the performance may be somewhat reduced compared to Oracle UEK option.
So I need some sort of approximate percentage numbers of how well is UEK used in Linux Oracle community to run Oracle 10g/11g databases.
Many thanks.
Yuri BThe problem with the world is that the intelligent people are full of doubts, while the stupid ones are full of confidence. Well, in my opinion, a higher market share does not reflect the quality or reliability of a product. Take MS Windows for example. Unfortunately, the reason for success is often not due to knowledge and experience, but rather due to fear and sheep effect or herd behavior.
Perhaps you can use other arguments or questions to help you to make a decision, eg.:
Oracle has a better understanding of what Oracle products require than Red Hat.
Oracle takes full responsibility for the OS and Database, no finger pointing.
Oracle tries to provide a better product than the RHEL kernel.
The Oracle UEK kernel contains Oracle driver software, not available for RHEL 6 or later.
Oracle updates are free of charge, RHEL requires a subscription.
Oracle as a company is about 20 times bigger than Red Hat.
There can be reasons that require the use of the original RHEL kernel, for instance if the vendor of a specific driver for your hardware demands it. But otherwise... -
DBD 1.03 hangs in make test on Red Hat 6.0 with 8i
DBD-Oracle-1.03 is hanging running test.pl in make test.
top showed perl eating 95%+ cpu usage, and strace showed no
system calls being called. I first encountered this
identical hang with DBI-1.06.tar and DBD-Oracle-0.61, but
upgraded them before reporting this bug. Here's the
pedigree:
Red Hat 6.0
Some mainstream patches applied from Red Hat
Oracle 8i via web download
Oracle8i Enterprise Edition Release 8.1.5.0.0 -
Production
With the Partitioning and Java options
Red Hat's shipped perl, 5.00503
DBI-1.13
make test succeeded completely
DBD-Oracle-1.03
make test hung in test.pl
top showed perl with 95%+ cpu usage
strace showed no system calls called by perl
Do you have perl, DBD, and 8i running on Red Hat 6.0? If
so, can you try running the short test program below and see
if it hangs?
----- command line
(run in DBD top-level directory, as user oracle)
[oracle@rtcab2 DBD-Oracle-1.03]$ PERL_DL_NONLAZY=1 \
/usr/bin/perl -Iblib/arch -Iblib/lib \
-I/usr/lib/perl5/5.00503/i386-linux \
-I/usr/lib/perl5/5.00503 test.pl
----- Oracle DBI's test.pl hacked to a minimum
----- test case that hangs
$| = 1;
$dbname = '';
$dbuser = 'scott/tiger';
use Oraperl;
my @data_sources = DBI->data_sources('Oracle');
local($l) = &ora_login($dbname, $dbuser, '');
&ora_logoff($l)Cesar Silva (guest) wrote:
: Hej!
: did anyone already managed to install DBD::Oracle in a server
: with Oracle EE (with the glic2.1 patch) ???
: OS - Red Hat 6.0
: tak!
: Cesar
I was able to do that... I am running:
Oracle 8.0.5 with the Glibc patches..
RH 6.0
It compiled without problems... get the latest versions:
DBD::Oracle 1.01
DBI 1.08
Make sure you have DBI installed first...
Regards,
H
null -
Oracle 10g Installation on Red Hat Linux
Hi
I am trying to install Oracle 10g (Downloaded from Oracle Site) in a Linux Installation. I have checked with the following command about the Linux Version
# cat /etc/issue and the output is :
Red Hat Linux Release 7.1 (Seawolf)
Kernel 2.4.2-2 on an i686
Then I am giving #uname -r and the output is
2.4.2-2
Now Oracle Installation Guide for 10g for Linux is saying that
if the errata level is less than 25 on x86 system then install latest Kernel Updates.
Please Let me know from where I can get the Latest Kernel Updates appropriately and what I need to do to put that patch into Linux so that I can smoothly install the Oracle 10g.
Thanks and regards.
Keshav TripathyJer is absolutely right.... just changing the values in oraparm.ini to reflect your kernel distribution will work for you.
For example the file contains:
[Certified Versions]
Linux=redhat-2.1,UnitedLinux-1.0,redhat-3
now to add your linux into it just check your version by issuing the command #uname -r
in my case the output was "2.4.20-8smp". I just appended redhat before this value and entered in the oraparm.ini file.
The new ini file looks like:
[Certified Versions]
Linux=redhat-2.1,UnitedLinux-1.0,redhat-3,redhat-2.4.20-8smp
[Linux-redhat-2.4.20-8smp-optional]
TEMP_SPACE=80
SWAP_SPACE=150
MIN_DISPLAY_COLORS=256
Now you are all set to install. I assume that all other pre-requisites have been fulfilled.
Thanks & Regards,
Rajesh Kumar
Team Lead UNIX
Maybe you are looking for
-
Java or adobe for existing ABAP dynpro SRM 7.0
Hi All, I am a SRM/MM functional consultent with limited UI interface knowledge. Currently I am working in SRM 7.0 project. As you know SRM 7.0 UI build on Web dynpro ABAP Floor plan manager and web dynpro ABAP UI has many limitation. My client don't
-
Monitor process on windows or unix environment
Could we monitor a process using windows or unix environment using OEM?
-
Aperture asks for serial after restart
After installing Aperture on my new Mac from a Time Machine backup, Aperture asks for the serial number every time I restart my computer. I have to enter both the upgrade number and the original number every time, so this is a bit frustrating. So lon
-
I cant get my ipod touch to play through a docking station I have recently purchased. A second ipod touch works fine. Can anyone tell me why it wont play through speakers? thanks
-
I have wireless mouse does not work with boot camp
i have wireless mouse does not work with boot camp