Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2017-11-08, 01:57:04

Author Topic: All pages on slave shows 500 Internal Server Error  (Read 1533 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
And script fixweb does not work...

Quote
/script/fixweb --client=admin3

- For help, type '/script/fixweb --help'

Fixing Web server config

Quote
A. Kloxo-MR: 6.5.1.b-2014041802

B. OS: CentOS release 6.5 (Final) x86_64

C. Apps:
   1. MySQL: MariaDB-server-10.0.10-1.el6.x86_64
   2. PHP: php-5.4.27-1.el6.remi.x86_64
   3. Httpd: httpd-2.2.27-1.el6.x86_64
   4. Lighttpd: --uninstalled--
   5. Hiawatha: hiawatha-9.4-1.mr.el6.x86_64
   6. Nginx: nginx-1.5.13-1.el6.x86_64
   7. Cache: --uninstalled--
   8. Dns: pdns-3.3.1-1.el6.x86_64
   9. Qmail: qmail-toaster-1.03-1.3.38.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.16.mr.el6.x86_64

D. Php-type (for Httpd/proxy):

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:         32166      31805        360          0        903      14521
   -/+ buffers/cache:      16381      15785
   Swap:         2047       1261        786

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: All pages on slave shows 500 Internal Server Error
« Reply #1 on: 2014-04-28, 19:27:11 »
If I remove .htaccess then all is working fine. Why ?

How to rebuild htaccess files on slave ?

Quote
/script/fixweb --server=backup.xxx.pl

- For help, type '/script/fixweb --help'

Fixing Web server config

This doesn't work...

but this works:

Quote
/script/fixphp --server=backup.xxx.pl

- For help, type '/script/fixphp --help'

Fixing php.ini/php-fpm.conf/php5.fcgi/.htaccess
- '/etc/php.ini' at 'backup.xxx.pl'
- Fix 'extension_dir' path in php.ini at 'backup.xxx.pl'
- '/etc/php-fpm.d/default.conf' at 'backup.xxx.pl'
- '/home/kloxo/client/php5.fcgi' at 'backup.xxx.pl'
« Last Edit: 2015-06-16, 19:25:04 by Spacedust »

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: All pages on slave shows 500 Internal Server Error
« Reply #2 on: 2014-04-29, 04:37:50 »
Try open '/etc/php.ini' or '/opt/<phpXYm>/custom/*.ini'. If found 'cgi.rfc2616_headers = 1' and change to 'cgi.rfc2616_headers = 0'.

It's must changed if using apache/proxy because fastcgi/fcgid/suphp not able to handle 'cgi.rfc2616_headers = 1'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: All pages on slave shows 500 Internal Server Error
« Reply #3 on: 2014-04-29, 12:10:59 »
Try open '/etc/php.ini' or '/opt/<phpXYm>/custom/*.ini'. If found 'cgi.rfc2616_headers = 1' and change to 'cgi.rfc2616_headers = 0'.

It's must changed if using apache/proxy because fastcgi/fcgid/suphp not able to handle 'cgi.rfc2616_headers = 1'.

On master or slave ?

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: All pages on slave shows 500 Internal Server Error
« Reply #4 on: 2014-04-29, 12:20:41 »
All servers. Re-install also fix this issue.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: All pages on slave shows 500 Internal Server Error
« Reply #5 on: 2014-04-29, 12:30:21 »
I've reinstalled yesterday all PHP php5Xm and php5Xs versions.

I do not use php5Xm but my own php...

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix

Page created in 0.048 seconds with 18 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM