Problems changing PHP-FPM to PHP-FastCGI

Discussion in 'Installation/Configuration' started by Enrique García, Feb 1, 2017.

  1. I install moodle plataform, but with several problems, some times send me error 500.
    So, just for trying I change from PHP-FPM to PHP-FastCGI with suexec.
    But since that moment the moodle send me error 500 every time I put my access info.
    I restore to the original configuration with the same problem.
    Seems, like the change is missing something.
    There's no error_log info that give me a clue of the problem.
    There's a way to restore php-apache configuration to the original?

    Please help
    Regards,
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Which exact error message do you get for the 500 error in the error.log of that website?
     
  3. In the browser HTTP ERROR 500.
    Using Debian 8, ISP Confign 3.1.2
     
  4. In the error.log there's no message. I give access to moodle, display in the browser HTTP ERROR 500, but there's no messgae in the error.log
     
  5. this is in the vhost error log
    docente.com.mx:80 201.127.86.48 - - [02/Feb/2017:10:51:42 -0600] "POST /moodle/lib/ajax/service.php?sesskey=u8BkiPmcR4 HTTP/1.1" 200 392 "http$
    docente.com.mx:80 201.127.86.48 - - [02/Feb/2017:10:51:42 -0600] "POST /moodle/lib/ajax/service.php?sesskey=u8BkiPmcR4 HTTP/1.1" 200 393 "http$
    docente.com.mx:80 201.127.86.48 - - [02/Feb/2017:10:51:42 -0600] "POST /moodle/lib/ajax/service.php?sesskey=u8BkiPmcR4 HTTP/1.1" 200 393 "http$
    docente.com.mx:80 201.127.86.48 - - [02/Feb/2017:10:51:46 -0600] "GET /moodle/admin/search.php HTTP/1.1" 500 336 "http://www.docente.com.mx/mo$
    www.fyde.com.mx:80 127.0.0.1 - - [02/Feb/2017:10:55:02 -0600] "GET / HTTP/1.1" 200 10975 "-" "Mozilla/5.0 (ISPConfig monitor)"
    docente.com.mx:80 192.99.36.47 - - [02/Feb/2017:10:55:39 -0600] "GET /w00tw00t.at.ISC.SANS.DFind:) HTTP/1.1" 400 0 "-" "-"
     
  6. error.log
    [Thu Feb 02 06:25:03.498657 2017] [:error] [pid 22251] python_init: Python version mismatch, expected '2.7.5+', found '2.7.9'.
    [Thu Feb 02 06:25:03.498782 2017] [:error] [pid 22251] python_init: Python executable found '/usr/bin/python'.
    [Thu Feb 02 06:25:03.498791 2017] [:error] [pid 22251] python_init: Python path being used '/usr/lib/python2.7/:/usr/lib/python2.7/plat-x86_64$
    [Thu Feb 02 06:25:03.498804 2017] [:notice] [pid 22251] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
    [Thu Feb 02 06:25:03.498815 2017] [:notice] [pid 22251] mod_python: using mutex_directory /tmp
    [Thu Feb 02 06:25:03.520070 2017] [ssl:warn] [pid 22251] AH01906: www.fyde.com.mx:8080:0 server certificate is a CA certificate (BasicConstrai$
    [Thu Feb 02 06:25:03.520198 2017] [ssl:error] [pid 22251] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=www$
    [Thu Feb 02 06:25:03.520210 2017] [ssl:error] [pid 22251] AH02567: Unable to configure certificate www.fyde.com.mx:8080:0 for stapling
    [Thu Feb 02 06:25:03.520552 2017] [ssl:warn] [pid 22251] AH01906: www.fyde.com.mx:443:0 server certificate is a CA certificate (BasicConstrain$
    [Thu Feb 02 06:25:03.520794 2017] [mpm_prefork:notice] [pid 22251] AH00163: Apache/2.4.10 (Debian) mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod$
    [Thu Feb 02 06:25:03.520817 2017] [core:notice] [pid 22251] AH00094: Command line: '/usr/sbin/apache2'
    [Thu Feb 02 06:25:03.520904 2017] [mpm_prefork:warn] [pid 22251] AH00167: long lost child came home! (pid 2453)
     

Share This Page