VM conversion

Discussion in 'Server Operation' started by fast928, Dec 12, 2024.

  1. fast928

    fast928 New Member HowtoForge Supporter

    Converted a physical machine centos7.9 to vm using hypervisor convertor ssh ip & password. After doing getting fastcgi errors no php working. error_log shows "mod_fcgid: error reading data from FastCGI server" even ispconfig control panel giving same error. Machine has same ip address, everything else working standard html, email etc. Have 4-5 versions of php on the machine all running fastcgi. "Internal server error" but log shows "mod_fcgid: error reading data from FastCGI server"
     
  2. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

  3. fast928

    fast928 New Member HowtoForge Supporter

    Thanks.
    I've tried everything pretty much...
    Have an email in to the guy that converted to the hypervisor. I beginning to think something there is blocking communication.

    grep '^listen' /etc/opt/remi/php*/php-fpm.d/www.conf
    /etc/opt/remi/php56/php-fpm.d/www.conf:listen = 127.0.0.1:9006
    /etc/opt/remi/php56/php-fpm.d/www.conf:listen.allowed_clients = 127.0.0.1
    /etc/opt/remi/php70/php-fpm.d/www.conf:listen = 127.0.0.1:9007
    /etc/opt/remi/php70/php-fpm.d/www.conf:listen.allowed_clients = 127.0.0.1
    /etc/opt/remi/php74/php-fpm.d/www.conf:listen = 127.0.0.1:9004
    /etc/opt/remi/php74/php-fpm.d/www.conf:listen.allowed_clients = 127.0.0.1
    /etc/opt/remi/php81/php-fpm.d/www.conf:listen = 127.0.0.1:9008
    /etc/opt/remi/php81/php-fpm.d/www.conf:listen.allowed_clients = 127.0.0.1
    [root@localhost log]# ^C
    [root@localhost log]# netstat -an | grep 9004
    tcp 0 0 127.0.0.1:9004 0.0.0.0:* LISTEN
    showing 1 but all are listening
    error_log

    [Thu Dec 12 10:59:21.023404 2024] [fcgid:warn] [pid 15003] (104)Connection reset by peer: [client 10.41.224.105:58090] mod_fcgid: error reading data from FastCGI server
    [Thu Dec 12 10:59:21.023437 2024] [core:error] [pid 15003] [client 10.41.224.105:58090] End of script output before headers: php_dan.php
    [Thu Dec 12 10:59:21.023466 2024] [headers:debug] [pid 15003] mod_headers.c(848): AH01503: headers: ap_headers_error_filter()
    [Thu Dec 12 10:59:21.218332 2024] [authz_core:debug] [pid 15004] mod_authz_core.c(809): [client 10.41.224.105:58104] AH01626: authorization result of Require all granted: granted, referer: http://10.10.30.211:8080/php_dan.php
    [Thu Dec 12 10:59:21.218361 2024] [authz_core:debug] [pid 15004] mod_authz_core.c(809): [client 10.41.224.105:58104] AH01626: authorization result of <RequireAny>: granted, referer: http://10.10.30.211:8080/php_dan.php
    [Thu Dec 12 10:59:21.218511 2024] [core:info] [pid 15004] [client 10.41.224.105:58104] AH00128: File does not exist: /var/www/ispconfig/favicon.ico, referer: http://10.10.30.211:8080/php_dan.php
    [Thu Dec 12 10:59:21.218527 2024] [headers:debug] [pid 15004] mod_headers.c(848): AH01503: headers: ap_headers_error_filter()
    [Thu Dec 12 10:59:27.028229 2024] [fcgid:info] [pid 15000] mod_fcgid: process /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter(15026) exit(communication error), terminated by calling exit(), return code: 109
     
  4. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    What did you try?
     

Share This Page