MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: Sameh on 2015-03-12, 00:05:36

Title: Error 500 - Internal Server Error
Post by: Sameh on 2015-03-12, 00:05:36
Hello ,
site show error message :
Error 500 - Internal Server Error

A generic error message, given when no more specific message is suitable

Site is new and not have any contents yet and show error .

==============
php -v
PHP 5.4.38 (cli) (built: Feb 19 2015 18:03:54)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
    with the ionCube PHP Loader v4.7.4, Copyright (c) 2002-2014, by ionCube Ltd.
==============
php-fpm -v
PHP 5.4.38 (fpm-fcgi) (built: Feb 19 2015 18:06:23)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
    with the ionCube PHP Loader v4.7.4, Copyright (c) 2002-2014, by ionCube Ltd.
==============
sh /script/sysinfo

A. Kloxo-MR: 7.0.0.b-2015031201

B. OS: CentOS release 6.6 (Final) x86_64

C. Apps:
   1. MySQL: MariaDB-server-10.0.17-1.el6.x86_64
   2. PHP: php54-5.4.38-1.ius.el6.x86_64
   3. Httpd: httpd-2.2.29-1.mr.el6.x86_64
   4. Lighttpd: --uninstalled--
   5. Hiawatha: hiawatha-9.12.0-f.3.mr.el6.x86_64
   6. Nginx: --uninstalled--
   7. Cache: --uninstalled--
   8. Dns: bind-9.9.5-1.el6.x86_64
   9. Qmail: qmail-toaster-1.03-1.3.47.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64

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

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          3829       3261        567          0        115       2559
   -/+ buffers/cache:        586       3242
   Swap:         4095          2       4093
==============
Title: Re: Error 500 - Internal Server Error
Post by: MRatWork on 2015-03-12, 00:11:49
1. Go to 'admin > servers > (localhost) > php configure > (update)'
2. Go to 'admin > switch programs > (select all to 'none') > (update) and then "(select 'nginx-proxy' in web, 'none' in webcache, 'nsd' in dns and 'bogofilter' in 'spam') > (update)"
3. Go to 'admin > webserver configure > php type > (update)'
4. Make sure, from ssh, run 'sh /script/fixweb; sh /script/restart-web -y'.
Title: Re: Error 500 - Internal Server Error
Post by: Sameh on 2015-03-12, 00:23:15
Hello ,
still have the same error .
Title: Re: Error 500 - Internal Server Error
Post by: Sameh on 2015-03-12, 00:28:28
suphp error log :
[warn] UID of script "/home/kloxo/httpd/default/index.php" is smaller than min_uid

[warn] Mismatch between target GID (7799) and GID (48) of file "/home/xxx/xx/index.php"
Title: Re: Error 500 - Internal Server Error
Post by: MRatWork on 2015-03-12, 00:34:25
Run 'sh /script/fix-chownchmod'. Better use php-fpm_event instead suphp.
Title: Re: Error 500 - Internal Server Error
Post by: Sameh on 2015-03-12, 00:35:41
Thanks , It's work good now .
Have a great day .