kernel: cdrom: open failed

| | Comments (0)

Issue:

"kernel: cdrom: open failed" errors noticed in /var/log/messages

Solution:

Edit /etc/hal/hald.conf and change /haldconfig/storage_media_check to false.

Oracle 10g Instant Client (free download available) is the easiest way for PHP to connect to a remote Oracle database, requiring installation of only three libraries.

The Instant Client libraries used by PHP access Oracle's current API, called OCI8. (This C interface takes its name from being first introduced in Oracle8.) PHP Oracle 8 Functions can call Oracle 8.1.7, 9.x, or 10.x directly, or optional abstraction classes like PEAR MDB2 and ADOdb can be used for convenience.

Download the instantclient-basic and instantclient-devel packages from the download page:

1. http://download.oracle.com/otn/linux/instantclient/11106/oracle-instantclient-basiclite-11.1.0.1-1.i386.rpm

2.  http://download.oracle.com/otn/linux/instantclient/11106/oracle-instantclient-devel-11.1.0.1-1.i386.rpm

Install the RPMs and use the following to compile and install PHP


./configure --with-apxs2=/usr/local/apache/bin/apxs --with-mysql --with-zlib --with-gd --prefix=/usr/local/php5 --with-gd --with-curl --enable-sockets --with-mysqli --with-jpeg --with-zlib --with-png --with-gd --with-curl=/usr/local/curl7  --with-oci8=instantclient,/usr/lib/oracle/11.1.0.1/client/lib/
make
make install