Posted by Colin McKinnon on 05/11/05 17:48
jerrygarciuh wrote:
> Hello,
>
> I have a script running in the wee hours via cron job. When I access the
> script via browser it works like a charm. I noticed it was not succeeding
> and ran it manually from the command line and it threw a Segmentation
> Fault.
>
> Googling produces a ton of information on this subject but al of specific
> to certain binaries and it doesn't seem germaine to solving my problem.
>
> Any one have any advice? Whole script is below.
>
I wouldn't expect a script to produce a segmentation fault - more likely to
be a change/fault in the binaries somewhere (particularly if you are using
mod_php in your webserver). Try some different stuff from the CLI to find
the fault, meanwhile use wget / curl to run the script via the webserver.
HTH
C.
Navigation:
[Reply to this message]
|