MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: mohsenrag on 2016-11-30, 09:51:00

Title: Error 500 - Internal Server Error / Upload files bigger than 8MB
Post by: mohsenrag on 2016-11-30, 09:51:00
I run a new server and install kloxo successfully. also install my script and every thing is ok but just when try to upload files more than 8MB, Upload by browser done but on refresh, I get Error 500.

I read many topic in this site. I did every thing and solutions to solve problems
fixowner
fixpermission
fixweb
change PHP branch
change PHP Type
Use Apache 2.4

restart-all successfully done with no error

Code: [Select]
sh /script/sysinfo -y
A. Control Panel:
   - Kloxo-MR: 7.0.0.b-2016091501
   - Web: hiawatha-10.3.0-f.1.mr.el6.x86_64
   - PHP: php54s-5.4.45-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.8 (Final) x86_64
   - Hostname: portal.tehrannsr.org
C. Services:
   1. MySQL: MariaDB-server-10.0.27-1.el6.x86_64
   2. PHP:
      - Installed:
        - Branch: php56u-cli-5.6.28-1.ius.el6.x86_64
        - Multiple:
          * php52m-5.2.17-102.mr.el6
          * php53m-5.3.29-1.ius.el6
          * php54m-5.4.45-1.ius.el6
          * php55m-5.5.38-1.ius.el6
          * php56m-5.6.28-1.ius.el6
          * php70m-7.0.13-1.w6
      - Used: php56m-fpm
      - Multiple: disable
   3. Web Used: apache
     - Hiawatha: hiawatha-10.3.0-f.1.mr.el6.x86_64
     - Lighttpd: lighttpd-1.4.41-1.el6.x86_64
     - Nginx: nginx-1.11.6-1.el6.ngx.x86_64
     - Apache: httpd-2.2.31-1.mr.el6.x86_64
       - PHP Type: php-fpm_event
       - Secondary PHP: off
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: bind
     - Bind: bind-9.9.7-1.mr.el6.x86_64
     - DJBDns: --uninstalled--
     - NSD: --uninstalled--
     - PowerDNS: --uninstalled--
     - Yadifa: --uninstalled--
   6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.20.mr.el6.x86_64
      - smtp: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - spam: bogofilter-1.2.4-1.el6.x86_64
   7. Stats: awstats
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1877        511       1365          1         20        220
   -/+ buffers/cache:        270       1606
   Swap:         4031          0       4031
E. Disk Space:
   Filesystem            Size  Used Avail Use% Mounted on
   /dev/mapper/VolGroup-lv_root
                          45G  3.8G   39G   9% /


*** Process Time: 00:00:02:44.164809 (dd:hh:mm:ss:xxxxxx) ***

* Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
        (importance after Kloxo-MR update)

Log Error:
Code: [Select]
104.237.234.68 - - [30/Nov/2016:01:26:55 +0330] "GET / HTTP/1.1" 200 3069 "-" "-"
137.116.71.170 - - [30/Nov/2016:02:46:09 +0330] "GET /robots.txt HTTP/1.1" 200 25 "-" "CSS Certificate Spider (http://www.css-security.com/certificatespider/)"
79.181.137.92 - - [30/Nov/2016:08:14:33 +0330] "GET / HTTP/1.0" 200 3069 "-" "masscan/1.0 (https://github.com/robertdavidgraham/masscan)"

also keep-alive is enabled, post_max_size is 50MB
Title: Re: Error 500 - Internal Server Error / Upload files bigger than 8MB
Post by: MRatWork on 2016-11-30, 13:20:01
Increasing value for 'Post Max Size' and 'Upload File Max Size' in 'advanced php configure' for certain clients.
Title: Re: Error 500 - Internal Server Error / Upload files bigger than 8MB
Post by: mohsenrag on 2016-12-01, 06:57:00
Max Execution Time 180
Max Input Time  1200
Memory Limit 64M
Post Max Size 50M
Upload File Max Size 50M
Max Input Vars 3000

phpinfo is reachable here. also at the end of page there is some input to send file for test.
http://portal.tehrannsr.org/test.php
Title: Re: Error 500 - Internal Server Error / Upload files bigger than 8MB
Post by: mohsenrag on 2016-12-02, 11:02:23
WOW,
I checked same upload on other server, and 2nd server also had the same error.

Code: [Select]
Max Execution Time 180
Max Input Time  1200
Memory Limit 64M
Post Max Size 50M
Upload File Max Size 50M
Max Input Vars 3000

phpinfo is reachable here. also at the end of page there is some input to send file for test.

Title: Re: Error 500 - Internal Server Error / Upload files bigger than 8MB
Post by: MRatWork on 2016-12-02, 11:43:17
What's about upload (via 'file manager') in Kloxo-MR panel?.
Title: Re: Error 500 - Internal Server Error / Upload files bigger than 8MB
Post by: mohsenrag on 2016-12-02, 16:39:43
Hi,
From kloxo panel upload is successful. There is no problem

But when upload from Kloxo panel it use another feather, Browser (google chrome) do not show upload progress but upload progress showed by a progress bar made by kloxo.
Title: Re: Error 500 - Internal Server Error / Upload files bigger than 8MB
Post by: MRatWork on 2016-12-03, 02:46:19
If no issue from panel, that mean something wrong with apache (used by your server).
Title: Re: Error 500 - Internal Server Error / Upload files bigger than 8MB
Post by: mohsenrag on 2016-12-03, 06:19:47
We checked all settings of apache. but we cannot find what is wrong.

in the other server, simply we install LAMP without kloxo. in that server there is no problem