On Wednesday 02 April 2003 09:07 am, Christian Campbell wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Gurus,
>
> I am attempting to move a home grown (although not programmed by me) PHP
> application from a Mandrake 7.3 box to a RedHat 8 box.  My old config was
> Apache 1.3 and PHP 4.0.3.  I'm now running Apache 2.0.40 and PHP 4.2.2.
>
> The PHP script calls a shell script that lives on a NFS mount, mounted to a
> Solaris 8 box.  Within the script are many copy, delete commands and such,
> but one specifically does not execute.  It is a SQL loader command.

Is the database server on the solaris or linux box? is the linux box has the 
SQL client for loading that SQL loader?

The linux box only reads the script. It does not do remote execution on the 
Solaris box. The one that does all the execution of all the commands in the 
shell script is the linux box, so make sure all those commands, esp SQL 
loader, can be done from the Linux box.

RDB


> Here's the strange part:  If you log on to the Solaris 8 box, and run the
> script from the shell, it executes with no problem.  But, if you run the
> PHP script that calls the shell script over the NFS mount, it executes, but
> does not execute the SQL loader command.
>
> This worked on my old config of Apache 1.3/PHP 4.0.3.
>
> Can anyone point me in a direction?  Is this an Apache, PHP, NFS or OS
> problem?  If anyone needs more info, or a clearer explanation, I will do
> so.
>
> HELP!
>
> Thanks,
>
> Christian
>
>
> Christian P. Campbell
> Systems Engineer
> Information Technology Department - Systems
> Bruegger's Enterprises
> Desk: (802) 652-9270
> Cell: (802)734-5023
> Email:  [EMAIL PROTECTED]
>
> PGP public key available via PGP keyserver
> or http://www2.brueggers.com/pgp/ccampbell.html
>
> "One of the most overlooked advantages to computers
> is...  If they do foul up, there's no law against whacking
> them around a little."    -- Joe Martin
>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGP 8.0
>
> iQA/AwUBPorun23nRx+VRFMHEQIbUwCgsxng0sKYJc/lHfYc6RvLhyPyO/wAn33g
> 6LUVchUSoUw87Vy5QcESBezy
> =iEQq
> -----END PGP SIGNATURE-----

-- 
-------------------------------------------------
/"\  ASCII Ribbon Campaign against HTML
\ /  email and proprietary format
 X   attachments.
/ \
-------------------------------------------------
Have you been used by Microsoft today?
Choose your life. Choose freedom.
Choose LINUX.
-------------------------------------------------



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to