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

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

 



Is there anything in your error log that says why it failed? (whatever
error_log points to in php.ini, or maybe what ErrorLog points to in
httpd.conf)

Arno

-----Original Message-----
From: Ivo F.A.C. Fokkema [mailto:I.F.A.C.Fokkema@xxxxxxx]
Sent: 08 August 2006 01:42
To: php-general@xxxxxxxxxxxxx
Subject:  Cron running 'Hello world' script dies with "Could not
startup."


Hi guys,

I'm really stuck with this error and since my backup scripts are no
longer running automatically through cron, I really need to get this
fixed soon :)

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.

Thanks for any input!

Ivo

--

-- 
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