Execution
Date
07 Nov 2025 12:29:22 +0000
Duration
00:07:49.08
Controller
ssh-gw-4.layershift.com
User
root
Versions
Ansible
2.16.11
ara
1.7.3 / 1.7.3
Python
3.10.10
Summary
398
Hosts
8
Tasks
3162
Results
1
Plays
1
Files
0
Records
Task result details
-
StatusCHANGED
-
Duration00:00:40.20
-
PlayCheck for PHP FPM errors using standalone script
-
TaskExecute the FPM error check script
-
Date07 Nov 2025 12:33:11 +0000
-
Module / Actionansible.builtin.shell (/home/ssh-gateway/ansible/kuly/zz-rm10179-check-for-php-errors.yaml:20)
| Field | Value |
|---|---|
| changed |
True |
| cmd |
set -o pipefail /root/zz-rm10179-check-for-php-errors.sh --check-only |
| delta |
0:00:01.352675 |
| end |
2025-11-07 12:32:32.998792 |
| failed_when_result |
False |
| invocation |
{ "module_args": { "_raw_params": "set -o pipefail\n/root/zz-rm10179-check-for-php-errors.sh --check-only\n", "_uses_shell": true, "argv": null, "chdir": null, "creates": null, "executable": "/bin/bash", "expand_argument_vars": true, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true } } |
| msg |
non-zero return code |
| rc |
1 |
| start |
2025-11-07 12:32:31.646117 |
| stderr |
tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified ERROR 2025-11-07T12:32:32Z Found 1 problematic handler(s) currently in use! |
| stderr_lines |
[ "tput: No value for $TERM and no -T specified", "tput: No value for $TERM and no -T specified", "ERROR 2025-11-07T12:32:32Z Found 1 problematic handler(s) currently in use!" ] |
| stdout |
INFO 2025-11-07T12:32:31Z Starting FPM Error Check (Type: all) - Check Only: true INFO 2025-11-07T12:32:31Z Checking PHP handlers: INFO 2025-11-07T12:32:31Z /opt/alt/php51/usr/bin/php /opt/alt/php52/usr/bin/php /opt/alt/php53/usr/bin/php /opt/alt/php54/usr/bin/php /opt/alt/php55/usr/bin/php /opt/alt/php56/usr/bin/php /opt/alt/php74/usr/bin/php /opt/alt/php81/usr/bin/php /opt/alt/php82/usr/bin/php /opt/alt/php83/usr/bin/php /opt/alt/php-internal/usr/bin/php /opt/plesk/php/7.4/bin/php /opt/plesk/php/8.1/bin/php /opt/plesk/php/8.2/bin/php /opt/plesk/php/8.3/bin/php INFO 2025-11-07T12:32:31Z ------------------------ INFO 2025-11-07T12:32:31Z Testing handler: /opt/alt/php51/usr/bin/php INFO 2025-11-07T12:32:31Z -> Found error pattern 'already loaded' in output for /opt/alt/php51/usr/bin/php INFO 2025-11-07T12:32:31Z Testing handler: /opt/alt/php52/usr/bin/php INFO 2025-11-07T12:32:31Z Testing handler: /opt/alt/php53/usr/bin/php INFO 2025-11-07T12:32:31Z Testing handler: /opt/alt/php54/usr/bin/php INFO 2025-11-07T12:32:32Z -> Found error pattern 'already loaded' in output for /opt/alt/php54/usr/bin/php INFO 2025-11-07T12:32:32Z Testing handler: /opt/alt/php55/usr/bin/php INFO 2025-11-07T12:32:32Z Testing handler: /opt/alt/php56/usr/bin/php INFO 2025-11-07T12:32:32Z Testing handler: /opt/alt/php74/usr/bin/php INFO 2025-11-07T12:32:32Z Testing handler: /opt/alt/php81/usr/bin/php INFO 2025-11-07T12:32:32Z Testing handler: /opt/alt/php82/usr/bin/php INFO 2025-11-07T12:32:32Z Testing handler: /opt/alt/php83/usr/bin/php INFO 2025-11-07T12:32:32Z Testing handler: /opt/alt/php-internal/usr/bin/php INFO 2025-11-07T12:32:32Z Testing handler: /opt/plesk/php/7.4/bin/php INFO 2025-11-07T12:32:32Z Testing handler: /opt/plesk/php/8.1/bin/php INFO 2025-11-07T12:32:32Z Testing handler: /opt/plesk/php/8.2/bin/php INFO 2025-11-07T12:32:32Z Testing handler: /opt/plesk/php/8.3/bin/php INFO 2025-11-07T12:32:32Z Querying database for currently used handlers... INFO 2025-11-07T12:32:32Z Problematic handler detected: type=alt, version=php51, display_version=51, full_name=alt-php51-fpm, path=/opt/alt/php51/usr/bin/php INFO 2025-11-07T12:32:32Z Problematic handler detected: type=alt, version=php54, display_version=54, full_name=alt-php54-fpm, path=/opt/alt/php54/usr/bin/php INFO 2025-11-07T12:32:32Z === PROBLEMATIC HANDLERS IN USE === INFO 2025-11-07T12:32:32Z alt-php54-fastcgi (version: php54) INFO 2025-11-07T12:32:32Z INFO 2025-11-07T12:32:32Z === PROBLEMATIC HANDLERS NOT IN USE === INFO 2025-11-07T12:32:32Z alt-php51 INFO 2025-11-07T12:32:32Z Found 1 alt-php problematic handler(s) not currently in use. [CHECK-ONLY] Would run common fixes. INFO 2025-11-07T12:32:32Z Run again the script with: "/root/zz-rm10179-check-for-php-errors.sh" to verify if there are problems on unused php handlers to be fixed. === FPM ERROR CHECK SUMMARY === Mode: true Status: :warning: 1 in use: alt-php54-fpm, :check: 1 would fix: alt-php51 Log file: /var/log/alma_maintain/php_fpm_error_checker_and_fixer_2025-11-07_123231.log ================================ |
| stdout_lines |
[ "INFO 2025-11-07T12:32:31Z Starting FPM Error Check (Type: all) - Check Only: true", "INFO 2025-11-07T12:32:31Z Checking PHP handlers:", "INFO 2025-11-07T12:32:31Z /opt/alt/php51/usr/bin/php", "/opt/alt/php52/usr/bin/php", "/opt/alt/php53/usr/bin/php", "/opt/alt/php54/usr/bin/php", "/opt/alt/php55/usr/bin/php", "/opt/alt/php56/usr/bin/php", "/opt/alt/php74/usr/bin/php", "/opt/alt/php81/usr/bin/php", "/opt/alt/php82/usr/bin/php", "/opt/alt/php83/usr/bin/php", "/opt/alt/php-internal/usr/bin/php", "/opt/plesk/php/7.4/bin/php", "/opt/plesk/php/8.1/bin/php", "/opt/plesk/php/8.2/bin/php", "/opt/plesk/php/8.3/bin/php", "INFO 2025-11-07T12:32:31Z ------------------------", "INFO 2025-11-07T12:32:31Z Testing handler: /opt/alt/php51/usr/bin/php", "INFO 2025-11-07T12:32:31Z -> Found error pattern 'already loaded' in output for /opt/alt/php51/usr/bin/php", "INFO 2025-11-07T12:32:31Z Testing handler: /opt/alt/php52/usr/bin/php", "INFO 2025-11-07T12:32:31Z Testing handler: /opt/alt/php53/usr/bin/php", "INFO 2025-11-07T12:32:31Z Testing handler: /opt/alt/php54/usr/bin/php", "INFO 2025-11-07T12:32:32Z -> Found error pattern 'already loaded' in output for /opt/alt/php54/usr/bin/php", "INFO 2025-11-07T12:32:32Z Testing handler: /opt/alt/php55/usr/bin/php", "INFO 2025-11-07T12:32:32Z Testing handler: /opt/alt/php56/usr/bin/php", "INFO 2025-11-07T12:32:32Z Testing handler: /opt/alt/php74/usr/bin/php", "INFO 2025-11-07T12:32:32Z Testing handler: /opt/alt/php81/usr/bin/php", "INFO 2025-11-07T12:32:32Z Testing handler: /opt/alt/php82/usr/bin/php", "INFO 2025-11-07T12:32:32Z Testing handler: /opt/alt/php83/usr/bin/php", "INFO 2025-11-07T12:32:32Z Testing handler: /opt/alt/php-internal/usr/bin/php", "INFO 2025-11-07T12:32:32Z Testing handler: /opt/plesk/php/7.4/bin/php", "INFO 2025-11-07T12:32:32Z Testing handler: /opt/plesk/php/8.1/bin/php", "INFO 2025-11-07T12:32:32Z Testing handler: /opt/plesk/php/8.2/bin/php", "INFO 2025-11-07T12:32:32Z Testing handler: /opt/plesk/php/8.3/bin/php", "INFO 2025-11-07T12:32:32Z Querying database for currently used handlers...", "INFO 2025-11-07T12:32:32Z Problematic handler detected: type=alt, version=php51, display_version=51, full_name=alt-php51-fpm, path=/opt/alt/php51/usr/bin/php", "INFO 2025-11-07T12:32:32Z Problematic handler detected: type=alt, version=php54, display_version=54, full_name=alt-php54-fpm, path=/opt/alt/php54/usr/bin/php", "INFO 2025-11-07T12:32:32Z === PROBLEMATIC HANDLERS IN USE ===", "INFO 2025-11-07T12:32:32Z alt-php54-fastcgi (version: php54)", "INFO 2025-11-07T12:32:32Z ", "INFO 2025-11-07T12:32:32Z === PROBLEMATIC HANDLERS NOT IN USE ===", "INFO 2025-11-07T12:32:32Z alt-php51", "INFO 2025-11-07T12:32:32Z Found 1 alt-php problematic handler(s) not currently in use. [CHECK-ONLY] Would run common fixes.", "INFO 2025-11-07T12:32:32Z Run again the script with: \"/root/zz-rm10179-check-for-php-errors.sh\" to verify if there are problems on unused php handlers to be fixed.", "=== FPM ERROR CHECK SUMMARY ===", "Mode: true", "Status: :warning: 1 in use: alt-php54-fpm, :check: 1 would fix: alt-php51", "Log file: /var/log/alma_maintain/php_fpm_error_checker_and_fixer_2025-11-07_123231.log", "================================" ] |