Re: Cron running 'Hello world' script dies with "Could not startup."

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 08 Aug 2006 09:10:53 -0400, John Nichel wrote:
> Ivo F.A.C. Fokkema wrote:
>> Suddenly my backup scripts die with the error "Could not startup.". Only
>> through the cron, it runs fine through the console. I've tried all kinds
>> of tests with other PHP scripts, tried a different PC, asked my
>> distribution mailing list, tried Google and searching this list,
>> nothing...
>> 
>> Script:
>> <?php
>> echo "Hello\n";
>> ?>
>> 
>> This is the crontab line:
>> * * * * * /usr/bin/php -f /home/ifokkema/test.php
>> 
>> - Running the exact same command from the command line works perfectly.
>> - Cron output is nothing more than "Could not startup.".
>> - Have not changed the PHP installation or a cron related package.
>> - Distribution: Ubuntu Dapper, problems started July 31st. Possibly
>> after an upgrade, can't remember.
>> - Tried on different Ubuntu Dapper install, same result.
>> - PHP version: 4.4.2-1build1
>> - Yes, I've verified that I'm using the PHP-cli executable.
> 
> Does the user running the cron have permission to execute the php binary?

Yes, the file's owner is me and it's my crontab. Also, I've made the file
readable to all, just in case. All directories up the directory tree are
readable/executable, as well.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux