Hello,
This might be sligly off topic, but I don't know what else to look for. 
I have a PHP codes that connect to a local ORACLE database and performs some 
simple query. It works from shell. I want to do it by cron. It always failed 
that it cannot logon to the ORACLE.

I made sure I set up all the necessary environment variables, and it still 
don't work. 
What could possibly be different in the cron "environment" from my regular 
user? 
Furthermore, this fail only reproducable when the cron daemon actually run it. 
If I use kcron, and click "Run Now", it works fine. But when the it's time 
for the cron daemon to actually run it, it will fail. This makes it really 
hard to figure out what's wrong. I have to wait until the next time the cron 
run and check my e-mail before I know anything. Any help there?

Here is the error message.

ERR: OCIlogon(username, password, ) failed.<BR>
Content-type: text/html
X-Powered-By: PHP/4.3.3RC2-dev

Thanks for any help.
RDB
-- 
Reuben D. Budiardja
Department of Physics and Astronomy
The University of Tennessee, Knoxville, TN
-------------------------------------------------


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

Reply via email to