[Labs-l] Problem with running PHP CLI in cron/jsub

Legoktm legoktm.wikipedia at gmail.com
Sun May 11 22:38:58 UTC 2014


On 5/11/14, 3:22 PM, Maciej Jaros wrote:
> Hi.
>
> I have a problem with my cron job. The job is running bash script that 
> cd into my tool directory and run index.php. The bash script works 
> perfectly fine when I run it through SHH/PuTTy.
>
> The problem seem to be with running through cron/jsub. I get an error 
> message like so:
>     libgcc_s.so.1 must be installed for pthread_cancel to work
>     /data/project/dna/dna_refresh.sh: line 8:  2652 
> Aborted                 (core dumped) php ./index.php >> $logFile
This is covered in the FAQ: 
<https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Help#Why_am_I_getting_errors_about_libgcc_s.so.1_must_be_installed_for_pthread_cancel_to_work.3F>

-- Legoktm



More information about the Labs-l mailing list