The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problema con la subida de archivos SSL / PHP.ini mod_fcgid , MaxRequestLen

Discussion in 'Discusión en Español' started by adriannx, Mar 1, 2015.

  1. adriannx

    adriannx Member

    Joined:
    Mar 1, 2015
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Lima, Peru
    cPanel Access Level:
    Root Administrator
    Hola soporte Cpanel, WHM.

    Tengo un problema que me va confudiendo mientras voy investigando..

    El problema que quiero solucionar es sobre la subida de archivos desde el backend y frontend de mi sitio web.

    Uso joomla 3.3.6.
    Tengo un servidor dedicado.
    Tengo como panel WHM
    Cpanel

    Lo primero que configure fue el PHP Configuration editor, para añadir el atamaño de los archivos que quiero subir a mi web. Al principio funciono ma somenos, ya que yo queria subir mas de 3GB en cantidad y 500MB por archivo. No funciono esa configuracion por lo que solo podia subir 3 archivos de 130MB , en cantidad 400MB maximo. El problema aqui es que mi joomla no reconocia la configuracion que hice en el php.

    Mas tarde compre un certificado SSL, despues de haberlo activado ya no podia subir 3 archivos de 130MB ni siquiera un archivo. Navegando por internet para solucionar el problema encontre esto:

    1.-https://www.howtoforge.com/apache2-mod_fcgid-http-request-length-exceeds-maxrequestlen
    2.-http://forums.cpanel.net/f442/apache-graceful-restarts-fastcgi-mod_fcgid-cant-lock-process-table-pid-151373-p2.html
    3.-http://stackoverflow.com/questions/18279007/413-request-entity-too-large-on-https
    4.-http://stackoverflow.com/questions/8744107/increase-max-execution-time-in-php
    5.-https://doc.owncloud.org/server/7.0/admin_manual/configuration/big_file_upload_configuration.html

    De esos links referidos solo pude entender 3 pero no me funcionaron. Luego de editar el mod_fcgid, en FcgidMaxRequestLen para agregar la cantidad de 100000000. Luego intente subir archivos para saber si esta configuracion funcionaria, el resultado fue que nuevamente podia subir archivos pero solo 3 archivos de 130Mb y en cantidad 400MB, asi es.. volvi como al principio, tenia el primer problema, luego de investigar nuevamente, intente configurar y añadir unos codigos en: Apache configuration/Include editor. Aqui fue cuando me di cuenta que la configuracion que habia hecho al añadir FcgidMaxRequestLen 100000000 estaba mal, ya que la opcion Include editor no me funcionaba y me decia sobre un error en FcgidMaxRequestLen 100000000. Luego tuve dejar la configuracion por defecto de FcgidMaxRequestLen , y claro ahora estoy con el problema 2 del SSL.

    Esto me esta volviedo loco, ya no se que editar y que si.. hace apenas 3 dias que obtuve mi dedicado y con ellos el manejo de raiz de todo los Paneles como WHM, Cpanel, acceso al dedicado usando Putty y tambien VMware vSphere.

    Por favor algun soporte de Cpanel fuera tan amable de ayudarme.

    Saludos Cordiales!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    I suggest finding an alternative method to upload these files other than PHP. Most web servers are not designed to accept uploads of that size through Apache/PHP. Instead, have you considered alternate methods of uploads such as FTP?

    Thank you.

    Translation:

    Hola :)

    Yo sugiero encontrar un método alternativo para cargar estos archivos distintos de PHP. La mayoría de los servidores web no están diseñados para aceptar archivos de ese tamaño a través de Apache / PHP. En su lugar, ¿ha considerado métodos alternativos de archivos como FTP?

    Gracias.
     
  3. adriannx

    adriannx Member

    Joined:
    Mar 1, 2015
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Lima, Peru
    cPanel Access Level:
    Root Administrator
    Hola y gracias por responder, lo que sugiere no es una solucion al problema.
    La idea es que los usuarios suban archivos desde el frontend.

    Regards!
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    What's the specific error message you see in /usr/local/apache/logs/error_log or within the account's error_log file when the upload fails?

    Thank you.

    Translation:

    ¿Cuál es el mensaje de error específico que se ve en /usr/local/apache/logs/error_log locales usr o dentro del archivo error_log de la cuenta cuando falla la subida?

    Gracias.
     
  5. adriannx

    adriannx Member

    Joined:
    Mar 1, 2015
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Lima, Peru
    cPanel Access Level:
    Root Administrator
    Hola, gracias por responder, aqui esta el error_log

    Code:
    [Wed Feb 25 15:26:33 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Wed Feb 25 15:26:33 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Wed Feb 25 15:26:33 2015] [notice] ModSecurity for Apache/2.8.0 (http://www.modsecurity.org/) configured.
    [Wed Feb 25 15:26:33 2015] [notice] ModSecurity: APR compiled version="1.5.1"; loaded version="1.5.1"
    [Wed Feb 25 15:26:33 2015] [notice] ModSecurity: PCRE compiled version="8.36 "; loaded version="8.36 2014-09-26"
    [Wed Feb 25 15:26:33 2015] [notice] ModSecurity: LUA compiled version="Lua 5.1"
    [Wed Feb 25 15:26:33 2015] [notice] ModSecurity: LIBXML compiled version="2.9.2"
    [Wed Feb 25 15:26:33 2015] [notice] Status engine is currently disabled, enable it by set SecStatusEngine to On.
    [Wed Feb 25 15:26:34 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Wed Feb 25 15:26:34 2015] [notice] Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations
    Access denied for user 'leechprotect'@'localhost' (using password: YES)
    [Wed Feb 25 15:28:23 2015] [notice] Graceful restart requested, doing restart
    [Wed Feb 25 15:28:24 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Wed Feb 25 15:28:24 2015] [notice] Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations
    Access denied for user 'leechprotect'@'localhost' (using password: YES)
    [Wed Feb 25 15:28:26 2015] [notice] Graceful restart requested, doing restart
    [Wed Feb 25 15:28:28 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Wed Feb 25 15:28:28 2015] [notice] Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations
    Access denied for user 'leechprotect'@'localhost' (using password: YES)
    [Wed Feb 25 15:28:55 2015] [notice] Graceful restart requested, doing restart
    [Wed Feb 25 15:28:56 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Wed Feb 25 15:28:56 2015] [notice] Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations
    [Wed Feb 25 15:31:17 2015] [notice] Graceful restart requested, doing restart
    [Wed Feb 25 15:31:18 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Wed Feb 25 15:31:18 2015] [notice] Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations
    [Wed Feb 25 15:32:13 2015] [notice] caught SIGTERM, shutting down
    [Wed Feb 25 15:32:14 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Wed Feb 25 15:32:14 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Wed Feb 25 15:32:14 2015] [notice] ModSecurity for Apache/2.8.0 (http://www.modsecurity.org/) configured.
    [Wed Feb 25 15:32:14 2015] [notice] ModSecurity: APR compiled version="1.5.1"; loaded version="1.5.1"
    [Wed Feb 25 15:32:14 2015] [notice] ModSecurity: PCRE compiled version="8.36 "; loaded version="8.36 2014-09-26"
    [Wed Feb 25 15:32:14 2015] [notice] ModSecurity: LUA compiled version="Lua 5.1"
    [Wed Feb 25 15:32:14 2015] [notice] ModSecurity: LIBXML compiled version="2.9.2"
    [Wed Feb 25 15:32:14 2015] [notice] Status engine is currently disabled, enable it by set SecStatusEngine to On.
    [Wed Feb 25 15:32:15 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Wed Feb 25 15:32:15 2015] [notice] Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations
    [Wed Feb 25 15:32:39 2015] [notice] Graceful restart requested, doing restart
    [Wed Feb 25 15:32:40 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Wed Feb 25 15:32:40 2015] [notice] Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations
    [Wed Feb 25 15:36:53 2015] [error] [client 179.7.75.108] File does not exist: /usr/local/apache/htdocs/favicon.ico
    [Wed Feb 25 15:36:53 2015] [error] [client 179.7.75.108] File does not exist: /usr/local/apache/htdocs/favicon.ico
    [Tue Feb 24 00:12:59 2015] [notice] caught SIGTERM, shutting down
    [Tue Feb 24 00:13:01 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Tue Feb 24 00:13:01 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Tue Feb 24 00:13:01 2015] [notice] ModSecurity for Apache/2.8.0 (http://www.modsecurity.org/) configured.
    [Tue Feb 24 00:13:01 2015] [notice] ModSecurity: APR compiled version="1.5.1"; loaded version="1.5.1"
    [Tue Feb 24 00:13:01 2015] [notice] ModSecurity: PCRE compiled version="8.36 "; loaded version="8.36 2014-09-26"
    [Tue Feb 24 00:13:01 2015] [notice] ModSecurity: LUA compiled version="Lua 5.1"
    [Tue Feb 24 00:13:01 2015] [notice] ModSecurity: LIBXML compiled version="2.9.2"
    [Tue Feb 24 00:13:01 2015] [notice] Status engine is currently disabled, enable it by set SecStatusEngine to On.
    [Tue Feb 24 00:13:02 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Tue Feb 24 00:13:02 2015] [notice] Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations
    [Tue Feb 24 00:13:42 2015] [notice] caught SIGTERM, shutting down
    [Tue Feb 24 00:13:44 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Tue Feb 24 00:13:44 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Tue Feb 24 00:13:44 2015] [notice] ModSecurity for Apache/2.8.0 (http://www.modsecurity.org/) configured.
    [Tue Feb 24 00:13:44 2015] [notice] ModSecurity: APR compiled version="1.5.1"; loaded version="1.5.1"
    [Tue Feb 24 00:13:44 2015] [notice] ModSecurity: PCRE compiled version="8.36 "; loaded version="8.36 2014-09-26"
    [Tue Feb 24 00:13:44 2015] [notice] ModSecurity: LUA compiled version="Lua 5.1"
    Regards!
     
    #5 adriannx, Mar 3, 2015
    Last edited by a moderator: Mar 3, 2015
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Feel free to open a support ticket using the link in my signature and we can have one of our Spanish-speaking analysts take a closer look. You can post the ticket number here so we can update this thread with the outcome.

    Thank you.

    Translation:

    Siéntase libre para abrir un ticket de soporte utilizando el enlace en mi firma y podemos tener uno de nuestros analistas de habla hispana a echar un vistazo más de cerca. Puede publicar el número de ticket aquí para que podamos actualizar este hilo con el resultado.

    Gracias.
     
  7. adriannx

    adriannx Member

    Joined:
    Mar 1, 2015
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Lima, Peru
    cPanel Access Level:
    Root Administrator
    Acabo de enviar un ticket, gracias!

    Regards!
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Could you let us know the ticket number so we can update this thread with the outcome?

    Thank you.

    Translation:

    ¿Podría hacernos saber el número de ticket para que podamos actualizar este hilo con el resultado?

    Gracias.
     
  9. adriannx

    adriannx Member

    Joined:
    Mar 1, 2015
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Lima, Peru
    cPanel Access Level:
    Root Administrator
    Hola, cuando se acabe mi suscripcion de LiteSpeed tendre que desactivarlo, pero al hacerlo me lanza este error:

    444.PNG

    Este es mi ticket : 6192899

    Por favor seria tan amable de ayudarme con este problema, es el mismo, solo que he desactivado el Litespeed.
     
    #9 adriannx, Mar 5, 2015
    Last edited by a moderator: Mar 6, 2015
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    To update, it looks like ticket number 6192899 has been addressed by adding the correct entries to the account's individual php.ini file, as it did not match the global php.ini file.

    Thank you.

    Translation:

    Para actualizar, parece que el número del billete 6192899 se ha abordado mediante la adición de las entradas correctas en el archivo php.ini individual de la cuenta, ya que no coincide con el archivo php.ini global.

    Gracias.
     
Loading...

Share This Page