Solaris 8 + PHP 4.3.2 + Oracle 9i Instalation Hell

Hi, we've been trying to install PHP with oci8 in Solaris for ours.
The versions of the software we are using are:
Oracle 9.2.0.1.0
PHP 4.3.2
Apache 1.3.28
Solaris 8
We followed the directions from php.net and tried every sugestion in the oci8 manual section.
The farthes we got was full linking of apache and PHP, but when we started Apache with the ORACLE_HOME variable set to the correct directory, we got a core dump without any other message.
This is how we compiled apache + PHP
./configure with-apache=../apache_1.3.28 enable-track-vars
with-oracle=/oracle9i  with-dom with-zlib  without-mysql
with-oci8 without-pear
make
make install
cd ../apache_1.3.28
LDFLAGS=-R/usr/opt/csw/lib
./configure --activate-module=src/modules/php4/libphp4.a
make
make install
when gdb'ing the httpd process we get
Program received signal SIGSEGV, Segmentation fault.
0xfe9a0660 in slrac () from /oracle9i/lib/libclntsh.so.9.0
Anyone got any pointers?

Hi,
From memory, when we were compiling PHP 4.3.x on Sol 8 SPARC (64 bit) with Apache 1.3.2x and Oracle 9iR2, there was some kind of problem during compilation (using gcc) that stopped it from correctly finding the required Oracle 9i libraries.
Again from memory, we found the workaround by Googling on the Net and then doing a search and replace in the makefile prior to compilation (but after configuration), updating entries from /lib/ to /lib32/ or similar.
Don't remember the exact details, though I hope this is enough of a pointer to be helpful.
Regards and best wishes,
Justin Clift

Similar Messages

  • Help:connecting php 5.2 to oracle 10g

    gud day!
    i'm new in php and oracle. I am running a PHP5.2, oracle10g database server, Apache 2.2 and OS windows 2000. This what i got from the log file when connecting.
    PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\PHP\\ext\\php_oci8.dll' - %1 is not a valid Win32 application.\r\n in Unknown on line 0
    [Mon Feb 11 11:42:48 2008] [notice] Child 1728: Child process is running
    [Mon Feb 11 11:42:48 2008] [notice] Child 1728: Acquired the start mutex.
    [Mon Feb 11 11:42:48 2008] [notice] Child 1728: Starting 250 worker threads.
    [Mon Feb 11 11:42:48 2008] [notice] Child 1728: Starting thread to listen on port 80.
    What are other components needed to have a connection?

    i think you have successfully configured apache with php5.2.
    just run this script through browser.
    <?php
    phpinfo();
    ?>
    if you can see the php information means your php is configured with apache.
    now enable below lines in php.ini
    if not available then add these line.
    [PHP_OCI8]
    extension=php_oci8.dll
    and restart the server then run the above script again. in the out put you should be able to see this information. If you can then your php is enabled with oracle database.
    oci8
    OCI8 Support      enabled
    Version      1.2.4
    Revision      $Revision: 1.269.2.16.2.38 $
    Active Persistent Connections      0
    Active Connections      0
    Temporary Lob support      enabled
    Collections support      enabled
    Directive     Local Value     Master Value
    oci8.default_prefetch     10     10
    oci8.max_persistent     -1     -1
    oci8.old_oci_close_semantics     0     0
    oci8.persistent_timeout     -1     -1
    oci8.ping_interval     60     60
    oci8.privileged_connect     Off     Off
    oci8.statement_cache_size     20     20
    Message was edited by:
    Santhosh Kumar T

  • Oracle 9i install failing on Solaris 10

    Oracle 9i install on Solaris 10 fails at the Database creation stage with Ora error "Out of Memory"
    I have a Ultra 10 with 1GB RAM, 2GB swap and lot of space in the filesystem where I am installing Oracle
    The oracle release notes asks for increased value for shmmax, shmmni etc by editing /etc/system and according to Solaris 10, it is not required as kernel dynamically allocates those values. It looks like it is NOT. How can I verify?
    rcladm talks about shmmax values only with projects. How can I verify that all my applications running on a this box has a higher SHMMAX values and not on per project basis.
    In older versions, sysdef could tell us the current SHMMAX values. Is there any comparable commands in Solaris 10.
    I am not that comfortable with the rcladm features. Can some one show some examples.
    Is anyone successful in installing Oracle9i on Solaris 10. I heard Oracle patch set 9.2.0.5 and 9.2.0.6 is certified with Solaris 10. Does it mean the original version of 9.2 does not install on Solaris 10?

    'Net Configuration Assistant is failing" from installation. I tried twice and got the same problem. I tried to run 'netca' from the command line and got the same problem - Java runtime problem. I tried to install patch and could not find Oracle patches for Solaris 10 and the patches are for Solaris 9.
    Does anyone have suggestion?
    $ ./netca
    ld.so.1: /usr/ora/920/oracle.swd.jre/bin/sparc/native_threads/jre: fatal: relocation error: file /usr/ora/920/oracle.swd.jre/bin/../lib/sparc/native_threads/libawt.so: symbol XShmQueryExtension: referenced symbol not found (/usr/ora/920/oracle.swd.jre/bin/../lib/sparc/native_threads/libawt.so)
    ld.so.1: /usr/ora/920/oracle.swd.jre/bin/sparc/native_threads/jre: fatal: relocation error: file /usr/ora/920/oracle.swd.jre/bin/../lib/sparc/native_threads/libawt.so: symbol XShmQueryExtension: referenced symbol not found (/usr/ora/920/oracle.swd.jre/bin/../lib/sparc/native_threads/libawt.so)
    java.lang.NullPointerException
    at oracle.ewt.lwAWT.BufferedApplet.<init>(Compiled Code)
    at oracle.net.ca.NetCA.<init>(Compiled Code)
    at oracle.net.ca.NetCA.main(Compiled Code)

  • PHP 4.3.11 Oracle Instant Client  10.1.0.4 and my firewall

    I've successfully compiled php with oci8 instant client support.
    The web server is in the DMZ and Oracle on a windows machine in my
    local net .. I've set up my firewall to allow the communication
    betweeen my web server and the oracle machine by freeing the
    standard port 1521.
    when I call the ociplogin function I pass as server argument //192.168.10.3:1521/medDB which match my oracle server configuration.
    As result I become
    Warning: ociplogon(): ociopen_server: ORA-12541: TNS:no listener
    Well I've checked my firewall ad I noticed it blocked connections from
    my web server to my oracle on the port 1035.
    Today I rebooted the web server .. restarted apache
    and on the firewall I had the same blocking
    but this time on the port 1044.
    Someone knows something about this strange behaviour ?
    thank you in advance
    Alex

    Hi,
    Here is the link where you can find the ports : http://www.freshports.org/search.php?query=linux-oracle-instantclient-&search=go&num=10&stype=name&method=match&deleted=excludedeleted&start=1&casesensitivity=caseinsensitive
    One question :
    I'm trying to run sqlplus, but have a pb of version :
    (sh)$ sqlplus
    sqlplus: /lib/libc.so.6: version `GLIBC_2.3' not found (required by /compat/linux/usr/lib/oracle/10.2.0.1.20050713/client/lib/libsqlplus.so)
    sqlplus: /lib/libpthread.so.0: version `GLIBC_2.3.2' not found (required by /compat/linux/usr/lib/oracle/10.2.0.1.20050713/client/lib/libclntsh.so.10.1)
    sqlplus: /lib/libc.so.6: version `GLIBC_2.3.3' not found (required by /compat/linux/usr/lib/oracle/10.2.0.1.20050713/client/lib/libclntsh.so.10.1)
    sqlplus: /lib/libc.so.6: version `GLIBC_2.3' not found (required by /compat/linux/usr/lib/oracle/10.2.0.1.20050713/client/lib/libclntsh.so.10.1)
    sqlplus: /lib/libc.so.6: version `GLIBC_2.3' not found (required by /compat/linux/usr/lib/oracle/10.2.0.1.20050713/client/lib/libnnz10.so)
    I had the same problem when I tried to compile directly from the client.
    I can't find GLIBC_2.3.3 on FreeBSD 5.3.
    Do you know if it works with another version of FreeBSD ? or should I install an emulator (I tried red hat 8.8, but doesn't work)? I tried to compile glib2.3.3, but it hasn't been ported on FreeBSD.
    Anyway, I will try with redhat9.
    Thanks,
    Basha

  • Can oracle 11g installed on solaris 8 ?

    Can oracle 11g installed on solaris 8 ?
    Other what is the minimum solaris supported to install oracle 11g.
    Thank you in advance..

    [email protected] wrote:
    Can oracle 11g installed on solaris 8 ?
    Other what is the minimum solaris supported to install oracle 11g.
    Thank you in advance..In general, each product has an installation manual - found through http://docs.oracle.com and possibly http://tahiti.oracle.com and the install manual clearly identifies the (minimum) support OS and Release information.

  • How to find out if Oracle is Installed in server

    I apologize for the simple question but no one in here seems to know if our server has Oracle installed or not. I have no experience in Oracle and have root access to the server but dont know the command to check wether Oracle is installed or not! anyone?
    I thank you in advance for any help
    Eduardo

    This is one of those questions that can be a bit difficult to answer, given all the possibilities in the world. Since you said the magic word "root" I will assume you are on unix or at least a posix system.
    http://tahiti.oracle.com has installation guides, find the one for your platform and check that. It should give a good foundation of what you want to look for. But some people get creative and some things are decisions by the DBA.
    Since oracle may be installed and not running, looking for oracle processes may not tell you if oracle is installed. But a ps|grep ora can often give clues. It is even possible to delete files while oracle is running... (I've seen oracle uninstalled - it keeps running but new users can't log in. This is because rm a file doesn't actually remove a file until everyone is done with it.) Also, check ipcs - shared memory being used by oracle is a clue oracle is installed and/or running, but even that can be misleading with some configurations - sometimes a bungled startup will leave a mess.
    Many unix systems have clues in /etc or /var/opt. Look for files with names like oratab and oraenv. Look at your passwd and group files, see if there are users with names like 'oracle' and groups like 'dba'. Look at user .profile, .cshrc, .bashrc, .kshrc files and see if there are references to oracle environment setting. $ORACLE_BASE, $ORACLE_HOME, $ORACLE_SID are often good clues, as well as references to oraenv or similar names. Look at the system startup files and see if there are references to oracle: there could be things like /sbin/rc*/*ora*, /etc/rc.d/*/*ora*, and so forth. Often the rc directories have a link to an init directory, such as a file like /sbin/init.d/oracle. There may be an inventory around somewhere called oraInventory, perhaps under $ORACLE_BASE, and installation log files, check your install guide for names. Also, if you have found $ORACLE_HOME and $ORACLE_SID in an oratab, you might check $ORACLE_BASE/admin/$ORACLE_SID/bdump/alert*log. Be aware that $ORACLE_HOME and the "oracle home directory" probably are not the same.
    Older systems that have been clumsily dealt with may have all these things, and yet still not have "oracle installed." Good luck.
    For these reasons and more, usually you would want to specify exact platform and oracle versions.
    Edit: fixed alert log location

  • How can I get CPAN  DBD::Oracle to install with XE?

    It can't find oracle.mk so it dies. I'm also going to contact the DBD::Oracle module author, but just in case someone on these forums has already solved this, I'm also posting here. The output from the install was:
    CPAN.pm: Going to build T/TI/TIMB/DBD-Oracle-1.16.tar.gz
    Using DBI 1.48 (for perl 5.008005 on i386-linux-thread-multi) installed in /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBI/
    Configuring DBD::Oracle ...
    Remember to actually READ the README file!Especially if you have any problems.
    Using Oracle in /usr/lib/oracle/xe/app/oracle/product/10.2.0/server
    DEFINE SQLPLUSRELEASE = "1002000100" (CHAR)
    Oracle version 10.2.0.1 (10.2)
    Unable to locate an oracle.mk, proc.mk or other suitable *.mk
    file in your Oracle installation. (I looked in
    /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/lib/oracle.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/demo/oracle.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/demo/demo_rdbms.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/otrace/demo/atmoci.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/precomp/demo/proc/proc.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/precomp/demo/proc/demo_proc.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/proc/lib/proc.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/proc16/lib/proc16.mk)
    The oracle.mk (or demo_rdbms.mk) file is part of the Oracle
    RDBMS product. The proc.mk (or demo_proc.mk) file is part of
    the Oracle Pro*C product. You need to build DBD::Oracle on a
    system which has one of these Oracle components installed.
    (Other *.mk files such as the env_*.mk files will not work.)
    In the unlikely event that a suitable *.mk file is installed
    somewhere non-standard you can specify where it is using the -m option:
    perl Makefile.PL -m /path/to/your.mk
    See README.clients for more information and some alternatives.
    at Makefile.PL line 922.
    So is there a different *.mk file that can be specified per the above?

    As an FYI I tried demo_xe.mk on my Fedora Core 4 box (Perl 5.8.6) and got this.
    Using DBI 1.48 (for perl 5.008006 on i386-linux-thread-multi) installed in /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi/auto/DBI/
    Configuring DBD::Oracle ...
    Remember to actually READ the README file!Especially if you have any problems.
    Using Oracle in /usr/lib/oracle/xe/app/oracle/product/10.2.0/server
    DEFINE SQLPLUSRELEASE = "1002000100" (CHAR)
    Oracle version 10.2.0.1 (10.2)
    Found /opt/oracle/xe/app/oracle/product/10.2.0/server/rdbms/demo/demo_xe.mk
    Using /opt/oracle/xe/app/oracle/product/10.2.0/server/rdbms/demo/demo_xe.mk
    Reading /opt/oracle/xe/app/oracle/product/10.2.0/server/rdbms/demo/demo_xe.mk
    ERROR parsing /opt/oracle/xe/app/oracle/product/10.2.0/server/rdbms/demo/demo_xe.mk: Unable to determine what to link with.

  • Backup fails for a Hyper-V guest with VSS Writer failures using DPM 2012 R2 - Hyper-V guest has Oracle application installed,

    I am trying to backup a VM which before it had Oracle installed backed up with no problems.  It is a Windows 2008 R2 server which sites on an 8 node Hyper-V 2012 R2 cluster (with CSVs).  I am using DPM 2012 R2 to run the backups which have been
    successful for the last few weeks but then Oracle was installed and the backups have failed since then.
    The job fails and a large number of VSS writers go into a 'Failed' state with the 'Last Error' showing as 'Timed out'.  I then get 4 popups appear each referring to a 'temporary' drive which appears briefly in Disk Management with a RAW file system. 
    These pops say "You need to format the disk in drive X: before you can use it.  Do you want to format it?" (where
    X: is replaced by the drive letter assigned to each 'temporary' drive).
    The System event log is populated with a large number of warnings with Event 51, Disk, stating "An error was detected on device \Device\Harddisk<number>\DR<number> during a paging operation".  There are also a
    few warnings for Ntfs (eventid 57) stating that "The system failed to flush data to the transaction log.  Corruption may occur."
    Prior to these warnings there are 5 other warnings for partmgr (eventid 58) stating "The disk signature of disk
    <number x> is equal to the disk signatuire of disk <number y>" and 4 errors (eventid 1, VDS Basic Provider), "Unexpected failure.  Error code: 490@01010004".
    There is a script which is run to stop the Oracle application on the server and if this is run then the backups will complete successfully.  We have been troubleshooting this by running a certain amount of the script and seeing which part affects the
    backup and it seems that if the Weblogic (wls_reports) service is stopped then the backup will succeed but if it is running then the backup will fail and the above symptoms occur.
    Another point which may help is that there is a pre-production server which resides on a Windows 2008 R2 Hyper-V standalone server, has the same scripts and installation of Oracle but backs up without any issues.
    I have experienced VSS writer failures before with VM backups but I have not seen this before.  It is not intermittent and I can find no work around to alleviate the problem of having no backup (except stopping this service or shutting the server down,
    but as it is a production server this is not practical).
    If anyone has experienced this before or have any suggestions / advice it would be much appreciated.
    Thanks
    Chris

    Hi Chris
    I have exactly the same issue.
    2008 R2 Server running Oracle
    6 node 2012 R2 Hyper-V Cluster with CSV
    Exact same errors and popup "format disk" message.
    DPM2012 R2
    I also have some other VM's on the same cluster which do back up through DPM
    The only difference I can see is the server which has the issue has a legacy network adapter.
    Production server so cannot make any changes until later but will add new adapter and report back.
    Interesting about the Weblogic service, may test this also.
    Cheers
    Kev.

  • Running Oracle 9i client code against an Oracle 10g install on PC

    On Unix I am able to run Oracle 9i client code against an Oracle 10g install by setting ORACLE_HOME to the Oracle 10g install location and then creating a symbolic link (example: ln -fs libclntsh.so.10.1 libclntsh.so.9.0).
    On PC (in particular XP SP2) I want to do something similar without using "junctions" or "junction points". Is there a way to set an environment variable or ini file to have my 9i client code point to the right libraries? I keep getting an error saying that my client code will not run due to "orasql9.dll" not being found. The "orasql10.dll" is installed on my machine.
    Any assistance would be appreciated.

    You might want to check metalink doc,
    Client / Server / Interoperability Support Between Different Oracle Versions
    Doc ID: Note:207303.1
    Even your application built on 9i, doesn't mean it will not work with 10g database. From what I can see, running 9i executable under 10g installation to create mixed blood breed will do more harm than good. Not only it's not supported but also the outcome is unpredictable.

  • DO I NEED TO HAVE ORACLE 11G INSTALLED?

    Hi,
    I have never used Oracle before. I have a very basic doubt. I have a Peoplesoft Id and password. I wish to know if I need to have Oracle 11g installed on my laptop to be able to use Peoplesoft Code to create applications using an online database? Kindly let me know at the earliest and will be of great help.
    I greatly appreciate it.
    Thanks. :)

    You need to have app designer installed if you want to work with peopletools, which will allow you to connect 3-tier to running Oracle/Peoplesoft instance. If you want to connect 2-tier, then you'll need the 11g client installed.

  • Oracle client install on upgraded win 2k desktop

    I recently upgraded my PC from win98 to win2k. I already had the oracle client installed prior to the upgrade. I had to run the sql net config and a message came up saying my installation needed to be corrected. When I tried to reinstall the installer (y2k version), it says the oracle home (orawin95) cannot be used for an nt home but doesn't let me overide the location. I can't even get in to uninstall and start over! Is there a workaround?

    Pl indicate which version of Win 7 - you will need Professional or higher - Home versions are not supported/certified, so things may or may not work as expected.
    http://download.oracle.com/docs/cd/E11882_01/install.112/e16773/reqs.htm#CHDHGGFE
    HTH
    Srini

  • Solaris 10 x86 goes to reboot mode after installing Sun x4 PCIe Quad card

    I have an x4200 server installed with solaris 10 x86 11/06 OS. After installing the OS it comes up fine.
    Now, When I install an SUN x4 PCIe Quad Gigabit Ethernet card on PCI slot 0 and on the power up server does not comes up. It gpes into the reboot mode.
    bash-3.00# uname -a
    SunOS server1-1 5.10 Generic_118855-33 i86pc i386 i86pc
    Does any one has face this issue..

    Solution found:
    First tried to login using "console login" when solaris booted up, before the desktop login window appeared. Then, run command "kdmconfig", changed the video device to X86 VESA compatible device, which is from the x86 driver and porting kit for solaris, then test/save and exit. After that, reboot the system. Now it is working, not perfect though (due to my old monitor) :)-

  • How to find XI server has oracle driver installed or not ?

    Dear all,
    Please provide me steps to find if XI server is having oracle driver installed or not for JDBC activities.
    Thanks
    Gauarv

    HI Gaurav,
    Follow the steps:
    Go to Visual admin:
    1) chose table cluster->server->libraries->com.sap.aii.af.jmsproviderlib
    2) Check in window jar container,if JMS/JDBC libraries are uploaded correctly
    3) Look ar jars contained
    3) look at \usr\sap\<sysID>\JCOO\j2ee\cluster\server-\bin
    Also check the deployment in Visual Admin
    1) choose tab cluster->server->service->classloader viewer
    2_ Look tab in runtime component-> libraries-> com.sap.aii.af.jmsproviderlib for JDBC/JMS lib.
    Thnx
    Chirag Gohil

  • Planning not working properly when user has Oracle Jinitiator installed

    Hi we have a lot of users that have Oracle Jinitiator installed to use with a system named Banner. These users have a few issues when using 11.1.1.3 - the enter key is not recognized on web forms and users cannot see business rules to execute them.
    Has anyone run into this type of issue and have any proposed solutions?
    Thanks

    Thanks I'm not sure how this has been installed. we haven't had any issues with our 9.2.1 apps with this jinitiator but with V11 we have those problems.
    Is the UTF-8 format the default installation option?

  • TOAD giving error 'NO Oracle Client installed'

    Hi,
    I have a peculiar problem. I have installed Oracle 11gr2 64bit enterprise edition and then installed Toad 10.5 Trial. All the installations were successfull and I am able to login to the DB using SQL* PLUS as well as Oracle Propitery tool SQL Developer. However when I am trying to run Toad it is saying that 'No Oracle Client installed'.
    Do I need to install the client separately and try to connect the server using Toad or some other configuration in Toad can connect to the Oracle DB server.
    Please help.
    Thanks,
    Anirban Datta

    No you don't need to install client as you have already installed the database. In the TOAD select the correct installed client home on the right hand corner and try again.
    If not successful then restart your PC or re-install the TOAD again.
    Regards
    Asif Kabir
    Handle: ani_datta
    Status Level:      Newbie
    Registered:      Nov 8, 2008
    Total Posts:      34
    Total Questions:      *14 (12 unresolved)*
    -- Mark your helpful post as correct/helpful and close all the answered threads.

Maybe you are looking for

  • Outlook 2010 webcal not syncing with iCloud

    I've got Facebook events exported to Outlook 2010 as a webcal, but only my default calendar will sync to iCloud. How can I get the webcal to also sync with iCloud and my iOS devices? I've tried closing outlooking, re-setting up the iCloud control pan

  • Updated to OS X Snow Leopard, now I'm having problems

    i just updated to OS X Snow Leopard, now I'm receiving an error message when I try to print on my Epson? Any Ideas on how I fix it?

  • Can we create graphic and text in the same window of smartform without using template?

    we create graphic and text in the same window of smartform without using template?

  • Excel file upload failing

    hi all, i have a webdynpro application, in which i am uploading an excel  file, and reading the same file, it is working fine. But the problem is, Some times while uploading it is taking  time for the processing. after that it is failing to upload an

  • TREX 6 Installation

    Hi, I installed TREX 6.0 SP1 on a WindowsXP machine apart from the portal server and I wonder how to start the needed HTTP-server on port 8353? The TREX-service started correctly and a trexdaemon, indexserver, queue and a preprocessor are running, bu