note 8872 modified in oci8.setup by sixd
| From: | sixd@php.net | Date: | Fri, 26 Jun 2009 18:11:14 +0000 |
| Subject: | note 8872 modified in oci8.setup by sixd | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-157560@lists.php.net to get a copy of this message | ||
couple of notes about startup/shutdown on linux: (redhat, maybe others)
export LD_PRELOAD=/usr/lib/libpthread.so
Caused the start/stop script to fail to stop the httpd process.
The LD_PRELOAD environment var caused the 'ps' command to core dump. I went bald figuring
that out.
Easiest fix I could think of was to move all the oracle/php varialble exports so they are only set
in the start section of the httpd script.
Never thought setting those vars globally in the script would cause problems. That's what I
get for thinking...
One other note: Make sure the httpd process is shutdown before Oracle.
eg:
/etc/rc.d/rc0.d/K15httpd
/etc/rc.d/rc0.d/K25Oracle
Lingering connections to oracle may cause shutdown to take forever.
gl & hf
-Joe
--was--
couple of notes about startup/shutdown on linux: (redhat, maybe others)
export LD_PRELOAD=/usr/lib/libpthread.so
Caused the start/stop script to fail to stop the httpd process.
The LD_PRELOAD environment var caused the 'ps' command to core dump. I went bald figuring
that out.
Easiest fix I could think of was to move all the oracle/php varialble exports so they are only set
in the start section of the httpd script.
Never thought setting those vars globally in the script would cause problems. That's what I
get for thinking...
One other note: Make sure the httpd process is shutdown before Oracle.
eg:
/etc/rc.d/rc0.d/K15httpd
/etc/rc.d/rc0.d/K25Oracle
Lingering connections to oracle may cause shutdown to take forever.
gl & hf
-Joe
http://php.net/manual/en/oci8.setup.php