Search notes:

/usr/local/bin/oraenv

oraenv is a shell script used to set environment variables (aka «Oracle environment»?) in a Bourne shell.
The script prompts the user for the database SID except if the environment variable ORAENV_ASK is not set to no in which case the current value of ORACLE_SID is used.
The special value * (asterisk) can b e
$ source /usr/local/bin/oraenv
In order to trace the execution of the script, the environment variable ORACLE_TRACE can be set to T (which causes set -x)
oraenv works for Bash, Korn and Bourn Shells. From a C-shell, the script coraenv should be executed instead.

See also

/etc/oratab
oraenv is copied from $ORACLE_HOME/bin to the directory pointed at with the environment variable LBIN (typically /usr/local/bin) by $ORACLE_HOME/install/utl/rootinstall.sh.

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Linux/fh...', 1759407471, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Linux/fhs/usr/local/bin/oraenv(54): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78