Quote:
Never do "yum update" on that machine. I worry about oracle will not like new version gcc or sth else.
|
I would recommend yum updating the machine.
To be able to recover from that some hints might be usefull
, so below some stuff i figured out when creating my oracle installation scripts:
-----------------------------------------------------------------------------------------------------------------
For Oracle you have to install compat rpm's
I installed the following rpm's above the core redhat installation to be able to install oracle:
glibc-kernheaders-2.4-8.34.i386.rpm
glibc-headers-2.3.2-95.20.i386.rpm
glibc-devel-2.3.2-95.20.i386.rpm
compat-gcc-7.3-2.96.128.i386.rpm
compat-libstdc++-7.3-2.96.128.i386.rpm
compat-libstdc++-devel-7.3-2.96.128.i386.rpm
compat-gcc-c++-7.3-2.96.128.i386.rpm
XFree86-xauth-4.3.0-62.EL.i386.rpm (this is to be able to use the installer)
(chech your machine which compat libraries are installed ( they are probably of another version then mine, but it should basically be the same libraries)
After that i:
- moved /usr/bin/gcc to /usr/bin/gcc.backup
- moved /usr/bin/g++ to /usr/bin/g++.backup
- renamed /usr/bin/gcc296 (which is from the compat libraries) to /usr/bin/gcc
- renamed /usr/bin/g++296 to /usr/bin/g++
i put the following stuff in the .bash_profile of user oracle:
# Oracle specific
export ORACLE_BASE=/opt/app/oracle/9.2.0
export LD_ASSUME_KERNEL=2.4.19
export ORACLE_HOME=/opt/app/oracle/9.2.0
After this i installed oracle patch 3006854. It compiles some library (/etc/libcwait.so)
and puts it in your /etc/ld.so/preload. I know there is a simular patch for 8
and i am not sure, but i think i have seen one for 10g. Get it at oracle metalink.
If you dont have a account at metalink(
www.oracle.com), then get one!.
This allowed me to run the oracle installer and install without errors and have about 8 oracle machines running without any pain for more then a year now
If you have the above stuff to check/reconfigure after the update it should allow you to do a yum update without any real danger, But as they say, warranty until the frontdoor. Be carefull and don't blame me if your up all night to restore the machine
Quote:
now I'm wait for the time(when it's down again or when low traffic) I will try new kernel parameter "kernel.shmmax =536870912". If it still not stable may be I'll reinstall everything and make it 2Gb swap.
|
I dont think twice the memory as swap space is the problem (or u should have very high loads) if your machine/database can function with the 512 Mb Shared memory it will probably never swap. Normally out of memory messages are shown on the console.
One other remark/question i have:
Do you have the fedora box running in runlevel 3 (basic ascii) or runlevel 5(graphical X windows). A collegue of mine once encountered a problem with a redhat box which ran in runlevel 5 (x-windows) and was unstable too. He put the machine back in runlevel 3 and everything was stable again. He did not investigate further
If you need graphics for management then use another PC with X running and start the management stuff over the network.