Master URL: http://www.suse.com/oracle/
-----------------------------------------

If you need help please join the Oracle on Linux mailinglist
(suse-oracle@suse.com), instructions and an archive are available at
the URL above. This is very likely the best Oracle on Linux
mailinglist there is!

Edit /etc/profile.d/oracle.[c]sh to reflect your particular environment
(e.g. ORACLE_HOME and ORACLE_SID).

NOTE: If you are using csh (oracle.csh), then you may need to adjust export in /etc/init.d/oracle 
script with following changes: su - $ORACLE_OWNER -c "exec bash -c 'export X=Y Z=A; CMD 2>/dev/null'"

Edit /etc/sysconfig/oracle (SuSE Linux 7.3 and earlier incl. SLES-7: use
/etc/rc.config.d/oracle.rc.config) if you use the automated
startup/shutdown feature AND to set the kernel values for semaphores
and shared memory according to the Oracle instructions for Linux
(probably in the ReleaseNotes for the Oracle product).

NOTE: The setting of the kernel parameters is independent of whether or 
not Oracle is started by the script. Both functionalities - setting of
the kernel parameters and start/stop of Oracle daemons - are controlled
and operate independently, but in the same script (/etc/init.d/oracle).

Also note that for automated startup/shutdown you must also set the
line for your database in the Oracle file /etc/oratab to "Y" (last letter)
or nothing will happen, since our script uses the standard Oracle provided
script "dbstart" to do the database startup.


Should you want to start an Oracle facility not yet included in this 
/etc/init.d/oracle script it is easy to add: 
- start by adding START_ variables to /etc/sysconfig/oracle (SuSE Linux 7.3
  and earlier incl. SLES-7: use /etc/rc.config.d/oracle.rc.config)
- edit and go to the bottom of script	/etc/init.d/oracle, the one that
  does the actual work, and use one of the lines in "start)" and 
	in "stop)" as a template for what you want to add. It is one (long) line
	per service (e.g. the listener), you may want to disable line wrapping
	for easier navigation within this code.
- If you have suggestion to include, then please file improvement request at bugzilla.novell.com.


What this package does:
- creates a user "oracle" and groups "dba, oinstall" - with fixed ids
- provides several symlinks for some Oracle products that expect e.g.
  the shell in non-standard places
- installs and activates a SysV start/stop script for automated Oracle
  start/stop plus Oracle components like OCFS (cluster filesystem for
  Oracle RAC) or the Oracle Apache webserver
- the SysV script tries to guess ORACLE_HOME from /etc/oratab if it's
  not set in /etc/profile.d/oracle
- the /etc/profile.d/oracle.sh script has some logic to add /opt/gcc295/bin
  in front of the path if gcc_old is installed, and to set "ulimit", both
  only for user "oracle"
- the SysV script sets ulimits, together with the ulimit setting in 
  /etc/profile.d/oracle.sh this ensures that Oracle gets the right limits
  for max. number of files it can open and the like when started using 
  this SysV script
- the SysV script does some sanity checks, like checking if a component
  that it's been told to start is really installed 
- During installation of orarun two entries for user oracle are added to
  a file under /etc/security/limits.d/. This file is only for users logging
  in via "login", "su" and the like do not use those settings!

