Debug und Logs


Hallo @ Community,

wir haben zur Zeit massive Probleme mit Cronjobs. Der Hauptcronjob "starter2" läuft ohne Fehler bzw. ohne jegliche Ausgabe druch, jedoch laufen alle Jobs im Prozessstarter auf "error".

Gibt es eine Möglichkeit ein Log anzusehen wo der Wurm drin ist, oder ggf. Debuging einzuschalten?

Vielen Dank und schöne Grüße


2 Antworten

Nach einem telefonat mit der Hotline habe ich nun ein Logfile.

Sagt jemanden diese FM was?

Array( [cmd] => cd *******/xentral/cronjobs && /usr/sbin/php72-fpm command.php 47 1699595 ZDAzNTFjODY= 2>&1 [parameter] => documentbatches [returnvar] => 64 [lastLines] => Array ( [0] => -F, --nodaemonize [1] => force to stay in foreground, and ignore daemonize option from config file [2] => -O, --force-stderr [3] => force output to stderr in nodaemonize even if stderr is not a TTY [4] => -R, --allow-to-run-as-root [5] => Allow pool to run as root (disabled by default) ) [output] => Array ( [0] => Usage: php72-fpm [-n] [-e] [-h] [-i] [-m] [-v] [-t] [-p ] [-g ] [-c ] [-d foo[=bar]] [-y ] [-D] [-F [-O]] [1] => -c | Look for php.ini file in this directory [2] => -n No php.ini file will be used [3] => -d foo[=bar] Define INI entry foo with value 'bar' [4] => -e Generate extended information for debugger/profiler [5] => -h This help [6] => -i PHP information [7] => -m Show compiled in modules [8] => -v Version number [9] => -p, --prefix

[10] => Specify alternative prefix path to FastCGI process manager (default: /usr). [11] => -g, --pid [12] => Specify the PID file location. [13] => -y, --fpm-config [14] => Specify alternative path to FastCGI process manager config file. [15] => -t, --test Test FPM configuration and exit [16] => -D, --daemonize force to run in background, and ignore daemonize option from config file [17] => -F, --nodaemonize [18] => force to stay in foreground, and ignore daemonize option from config file [19] => -O, --force-stderr [20] => force output to stderr in nodaemonize even if stderr is not a TTY [21] => -R, --allow-to-run-as-root [22] => Allow pool to run as root (disabled by default) ))

Habe eine Rückmeldung von meinem Provider bekommen:

 

Sie können keinen FPM-Prozess über die Command-Line starten. Bitte verwenden Sie für die Ausführung das CLI von PHP. Der Pfad lautet "/usr/bin/php72".

Wie kann man das ändern?

 

Danke und Gruß

 

Antworten