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. 2024-03-28, 22:57:47

Author Topic: Error 500 - Internal Server Error / Upload files bigger than 8MB  (Read 4182 times)

0 Members and 1 Guest are viewing this topic.

Offline mohsenrag

  • Junior Member
  • *
  • Posts: 47
  • Karma: +0/-0
  • Gender: Male
    • View Profile
    • Social Netwrok @ Your Company
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
« Last Edit: 2016-11-30, 09:53:11 by mohsenrag »
Mohsen RooholAmin
Sepehr Mahan Co

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Increasing value for 'Post Max Size' and 'Upload File Max Size' in 'advanced php configure' for certain clients.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline mohsenrag

  • Junior Member
  • *
  • Posts: 47
  • Karma: +0/-0
  • Gender: Male
    • View Profile
    • Social Netwrok @ Your Company
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
Mohsen RooholAmin
Sepehr Mahan Co

Offline mohsenrag

  • Junior Member
  • *
  • Posts: 47
  • Karma: +0/-0
  • Gender: Male
    • View Profile
    • Social Netwrok @ Your Company
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.

Mohsen RooholAmin
Sepehr Mahan Co

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
What's about upload (via 'file manager') in Kloxo-MR panel?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline mohsenrag

  • Junior Member
  • *
  • Posts: 47
  • Karma: +0/-0
  • Gender: Male
    • View Profile
    • Social Netwrok @ Your Company
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.
Mohsen RooholAmin
Sepehr Mahan Co

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
If no issue from panel, that mean something wrong with apache (used by your server).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline mohsenrag

  • Junior Member
  • *
  • Posts: 47
  • Karma: +0/-0
  • Gender: Male
    • View Profile
    • Social Netwrok @ Your Company
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
Mohsen RooholAmin
Sepehr Mahan Co

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.044 seconds with 21 queries.

web stats analysis