Bonjour à tous, me voici nouveau sur ce forum, à la recherche d'un peu d'aide ... je m'explique !
J'ai une Cron, qui pointe sur un fichier .php
Ce fichier PHP va chercher des données sur un site web disant, et les stock dans une bdd SQL. La fonction marche parfaitement, et lorsque je lance le fichier PHP de la cron, tout se passe comme prévu (c'est d'ailleurs comme ça que je met à jour mes données depuis quelques jours)
Sauf que vous l'aurez compris, la cron ne fonctionne plus du tout, je n'arrive même pas a écrire un peu de texte dans un fichier log sans rien d'autre.
Du jour au lendemain elle ne fonctionne plus. J'ai éventuellement une piste, c'est que le trafic de mon site web fortement augmenté du jour au lendemain (de 100 visites/jour à > 1000/jour) , c'est la seul chose qui ai changé entre le moment ou elle fonctionnais, et maintenant.
J'ai bien sûr consulté pas mal de topics depuis quelques jours, dont beaucoup parlent des chemins absolus ou relatifs, mais j'ai tout passé en absolu et rien ne fonctionne ...
Un peu de logs pour aider :
Les logs cron
Code:
[2016-05-17 12:01:03] ## OVH ## END - 2016-05-17 12:01:03.498934 exitcode: 255
[2016-05-17 12:37:03] ## OVH ## START - 2016-05-17 12:37:03.233344 executing: /homez.2334/statofusbx/www/majServeurs.php
[2016-05-17 12:37:03] ## OVH ## ERROR command '/homez.2334/statofusbx/www/majServeurs.php' must be executable
[2016-05-17 12:37:03]
[2016-05-17 12:37:03] ## OVH ## END - 2016-05-17 12:37:03.323580 exitcode: 255
[2016-05-17 13:01:03] ## OVH ## START - 2016-05-17 13:01:03.212595 executing: /usr/local/php5.4/bin/php /homez.2334/statofusbx/www/majServeurs.php
[2016-05-17 13:01:03]
[2016-05-17 13:01:03] ## OVH ## END - 2016-05-17 13:01:03.330443 exitcode: 255
[2016-05-17 14:01:02] ## OVH ## START - 2016-05-17 14:01:02.411052 executing: /usr/local/php5.4/bin/php /homez.2334/statofusbx/www/majServeurs.php
[2016-05-17 14:01:02] /home/statofusbx/www
[2016-05-17 14:01:02] ## OVH ## END - 2016-05-17 14:01:02.499169 exitcode: 255
[2016-05-17 14:37:03] ## OVH ## START - 2016-05-17 14:37:03.240619 executing: /homez.2334/statofusbx/www/majServeurs.php
[2016-05-17 14:37:03] ## OVH ## ERROR command '/homez.2334/statofusbx/www/majServeurs.php' must be executable
[2016-05-17 14:37:03]
[2016-05-17 14:37:03] ## OVH ## END - 2016-05-17 14:37:03.319199 exitcode: 255
[2016-05-17 15:01:02] ## OVH ## START - 2016-05-17 15:01:02.801578 executing: /usr/local/php5.4/bin/php /homez.2334/statofusbx/www/majServeurs.php
[2016-05-17 15:01:02]
[2016-05-17 15:01:02] ## OVH ## END - 2016-05-17 15:01:02.979580 exitcode: 0
[2016-05-17 16:01:03] ## OVH ## START - 2016-05-17 16:01:03.657114 executing: /usr/local/php5.4/bin/php /homez.2334/statofusbx/www/majServeurs.php
[2016-05-17 16:01:03]
[2016-05-17 16:01:03] ## OVH ## END - 2016-05-17 16:01:03.734343 exitcode: 0
[2016-05-17 16:37:03] ## OVH ## START - 2016-05-17 16:37:03.084288 executing: /homez.2334/statofusbx/www/majServeurs.php
[2016-05-17 16:37:03] ## OVH ## ERROR command '/homez.2334/statofusbx/www/majServeurs.php' must be executable
[2016-05-17 16:37:03]
[2016-05-17 16:37:03] ## OVH ## END - 2016-05-17 16:37:03.183441 exitcode: 255
[2016-05-17 17:01:03] ## OVH ## START - 2016-05-17 17:01:03.039749 executing: /usr/local/php5.4/bin/php /homez.2334/statofusbx/www/majServeurs.php
[2016-05-17 17:01:03]
[2016-05-17 17:01:03] ## OVH ## END - 2016-05-17 17:01:03.140084 exitcode: 255
Les logs error :
Code:
[Tue May 17 00:37:02 2016] [error] [client 10.0.55.51] [host statofusbx.cluster003.ovh.net] request failed: error reading the headers
[Tue May 17 01:01:02 2016] [error] [client 10.0.55.51] [host statofusbx.cluster003.ovh.net] request failed: error reading the headers
[Tue May 17 01:37:02 2016] [error] [client 10.0.55.51] [host statofusbx.cluster003.ovh.net] request failed: error reading the headers
[Tue May 17 01:37:03 2016] [warn] [client 127.0.0.1] [host statofusbx.cluster003.ovh.net] (22)Invalid argument: Cannot fix environment variables for container, continue anyway.
[Tue May 17 02:37:02 2016] [error] [client 10.0.55.51] [host statofusbx.cluster003.ovh.net] request failed: error reading the headers
[Tue May 17 03:37:02 2016] [error] [client 10.0.55.51] [host statofusbx.cluster003.ovh.net] request failed: error reading the headers
[Tue May 17 04:37:02 2016] [error] [client 10.0.55.51] [host statofusbx.cluster003.ovh.net] request failed: error reading the headers
[Tue May 17 05:37:02 2016] [error] [client 10.0.55.51] [host statofusbx.cluster003.ovh.net] request failed: error reading the headers
[Tue May 17 12:01:02 2016] [error] [client 10.0.55.51] [host statofusbx.cluster003.ovh.net] request failed: error reading the headers
[Tue May 17 12:37:02 2016] [error] [client 10.0.55.51] [host statofusbx.cluster003.ovh.net] request failed: error reading the headers
[Tue May 17 12:37:03 2016] [warn] [client 127.0.0.1] [host statofusbx.cluster003.ovh.net] (22)Invalid argument: Cannot fix environment variables for container, continue anyway.
[Tue May 17 13:01:02 2016] [error] [client 10.0.55.51] [host statofusbx.cluster003.ovh.net] request failed: error reading the headers
[Tue May 17 14:01:01 2016] [error] [client 10.0.55.51] [host statofusbx.cluster003.ovh.net] request failed: error reading the headers
[Tue May 17 14:37:02 2016] [error] [client 10.0.55.51] [host statofusbx.cluster003.ovh.net] request failed: error reading the headers
[Tue May 17 15:01:02 2016] [error] [client 10.0.55.51] [host statofusbx.cluster003.ovh.net] request failed: error reading the headers
[Tue May 17 16:01:02 2016] [error] [client 10.0.55.51] [host statofusbx.cluster003.ovh.net] request failed: error reading the headers
[Tue May 17 16:37:02 2016] [error] [client 10.0.55.51] [host statofusbx.cluster003.ovh.net] request failed: error reading the headers
[Tue May 17 17:01:02 2016] [error] [client 10.0.55.51] [host statofusbx.cluster003.ovh.net] request failed: error reading the headers
J'ai un peu tout tenté depuis quelques jours, mais rien n'y fait.
Toute aide ou piste sera apprécié !
Merci d'avance !