Error 500 Lightsquid



  • EStimados cuando quiero realizar un reporte en Lightsquid me da error 500 internal server, ya he probado con todo

    LightSquid and 500 - Internal Server Error

    • Remove package from GUI
    • Go to the firewall shell and type pkg_info
    • If lightsquid is listed, use PKG_delete to remove it (pkg_delete lightsquid-1.7.1_1)
    • Reinstall from GUI now and it should be fixed!
      then type in the shell :

    ln -s /usr/local/bin/perl /usr/bin/perl

    Make sure the log setting is switched on for squid and set to the standard dir and then go to lightsquid and refresh/update settings and it should work

    Esto no me sirvio alguna ayuda por fa?



  • :) hola..

    el ligthsquid depende directamente del squid, por lo que si el squid falla entonces el ligthsquid tambien fallara, por lo que comentas pareciera squid el que esta fallando, esta arriba el servicio??



  • si el squid esta funcionando bien.-….



  • reinstala tanto el paquete squid como el ligthsquid, ademas chequea si instalastes algun paquete que pueda generar comfilictos



  • Check the following directories for any perl symlinks:
    (Compruebe los siguientes directorios de enlaces simbólicos cualquier perl:)

    /usr/bin
      /usr/local/bin

    Delete any that you find, then:
    (Elimine todos los que se encuentran, entonces:)

    cd /usr/bin

    ln -s /usr/local/bin/perl /usr/bin/perl

    ls -ltr | grep -i perl

    lrwxr-xr-x  1 root  wheel      19 Sep 11 23:02 perl -> /usr/local/bin/perl

    That is how I solved the Error 500 message.
    (Así es como yo resuelto el Error 500 mensaje.)

    ;)



  • Hay q borrar solo los enlaces q tienen q ver con perl?



  • al parecer funciona tenia un erro similar y me lo resolvio….



  • No me resulto..



  • reinstalastes el squid??



  • Here is a more complete list of commands that I used, remember Lightsquid can only use Perl v5.8, if you have have not setup you symlinks properly then you will get Error500 and if you point your symlinks to Perl v5.10, you will get a blank page:
    (Aquí está una lista más completa de los comandos que he utilizado, recuerde Lightsquid sólo puede usar Perl v5.8, si usted tiene no han ajuste que los enlaces simbólicos correctamente entonces usted conseguirá Error500 y si apunta su v5.10 enlaces simbólicos a Perl, se le una página en blanco:)

    
    # cd /usr/bin
    # ls -ltr 
    ...
    lrwxrwxrwx  1 root  wheel       10 Sep 15 17:33 pkill -> /bin/pkill
    lrwxrwxrwx  1 root  wheel        6 Sep 15 17:33 tar -> bsdtar
    lrwxrwxrwx  1 root  wheel       10 Sep 15 17:33 pgrep -> /bin/pgrep
    lrwxr-xr-x  1 root  wheel       25 Sep 16 14:57 perl5 -> /usr/local/bin/perl5.10.1
    lrwxr-xr-x  1 root  wheel       25 Sep 16 14:57 perl -> /usr/local/bin/perl5.10.1
    # cd /usr/local/bin
    # ls -ltr
    ...
    lrwxr-xr-x  1 root  wheel       24 Sep 16 15:01 perl5 -> /usr/local/bin/perl5.8.8
    # rm perl5
    # ls -ltr
    ...
    # cd /usr/bin
    # ls -ltr
    ...
    lrwxrwxrwx  1 root  wheel       10 Sep 15 17:33 pkill -> /bin/pkill
    lrwxrwxrwx  1 root  wheel        6 Sep 15 17:33 tar -> bsdtar
    lrwxrwxrwx  1 root  wheel       10 Sep 15 17:33 pgrep -> /bin/pgrep
    lrwxr-xr-x  1 root  wheel       25 Sep 16 14:57 perl5 -> /usr/local/bin/perl5.10.1
    lrwxr-xr-x  1 root  wheel       25 Sep 16 14:57 perl -> /usr/local/bin/perl5.10.1
    # rm perl5
    # rm perl
    # ls -ltr
    ...
    lrwxrwxrwx  1 root  wheel       10 Sep 15 17:33 pkill -> /bin/pkill
    lrwxrwxrwx  1 root  wheel        6 Sep 15 17:33 tar -> bsdtar
    lrwxrwxrwx  1 root  wheel       10 Sep 15 17:33 pgrep -> /bin/pgrep
    # 
    # ln -s /usr/local/bin/perl /usr/bin/perl
    # ls -ltr
    ...
    lrwxrwxrwx  1 root  wheel       10 Sep 15 17:33 pkill -> /bin/pkill
    lrwxrwxrwx  1 root  wheel        6 Sep 15 17:33 tar -> bsdtar
    lrwxrwxrwx  1 root  wheel       10 Sep 15 17:33 pgrep -> /bin/pgrep
    lrwxr-xr-x  1 root  wheel       25 Sep 16 14:57 perl -> /usr/local/bin/perl
    #
    
    

    Does this help?
    (Ayuda esto?)



  • Muchas cosas me salen distintas a lo q ahi dicen.. tendria q tenerlo igual..????

    no tengo la carpeta /usr/local/bin/perl  la carpeta "perl" no la tengo..



  • :) hola locopepo.

    reinstale el squid con el ligthsquid para hacer pruebas y verificar lo que comentas aca en el foro. y efectivamente se presenta este error con el ligthsquid, ya esta muy hablado en el foro en ingles y el problema no parece tan simple.

    existe una diferencia de version del perl que usa el squid y el que usa el lightsquid, esto hace que la version con que se use el squid se instale sin problema y el squid funcione bien, ahora cuando se instala el lightsquid este no reinstala el perl nueva version por lo que muchos recomiendan que desinstalemos la version del perl y reinstalemos con la version mas reciente, otros afirman que solo necesita actualizar una libreria de perl, en ambos casos intente resolver el problema pero no funciono en nada.

    aca en el foro existen personas que manejan bien el proceso de desinstalar e instalar paquetes via consola, esperemos que nos comenten los pasos para hacer una buena desinstalacion o actualizacion del paquete perl para ver si se resuelve el problema.. ???



  • Q comando puedo utilizar para ver q version de perl tengo, quiza tenga las dos y como las puedo desintalar, para asi desintalar squid y lightsquid, y volver a instalarlo de nuevo para que quede la version apropiada de perl..

    Atte.



  • :) hola

    en bsd se tiene el comando via consola pkg_info para ver que paquetes estan instalados y su version

    tengo pensado hacer los siguiente:

    • parar el squid, –-> squid stop
    • ver la version del perl instalado con ---> pkg_info
    • desinstalar la version del perl con pkg_delete perl..versionx
    • instalar la nueva version del perl con pkg_add (segun la pagina de perl la version oficial para freebsd es: " Since September 1998 or FreeBSD 3.2 Perl 5 has been a standard component." ) tomado de http://www.cpan.org/ports/#freebsd y podria ser del siguiente repositorio: http://www.cpan.org/src/perl-5.13.5.tar.gz

    ** en estos momentos busco la version del perl y su repositorio en freebsd **



  • en el directorio /usr/local/bin tengo dos perl
    perl5.10.1
    perl5.8.9

    y cuando ejecuto pkg_delete con ninguno de los dos resulta

    pkg_delete: no such package 'perl5.8.9' installed

    eso me dice….



  • :) hola.

    en mi caso: ejecuto pkg_info y tengo el listado de paquetes instalados

    con:

    squid verifico las dependencias del squid con:```
    pkg_info squid-2.7.9 -r

    
    

    pkg_info squid-2.7.9 -r
    Information for squid-2.7.9:

    Depends on:
    Dependency: cyrus-sasl-2.1.23
    Dependency: openldap-client-2.4.22
    Dependency: perl-5.10.1_1

    
    con ligthsquid se tiene: pkg_info -r
    
    

    pkg_info lightsquid-1.7.1_1 -r
    Information for lightsquid-1.7.1_1:

    Depends on:
    Dependency: jpeg-6b_4
    Dependency: gd-2.0.35,1
    Dependency: p5-GD-2.39

    
    al intentar borrar el perl que no parece tener dependencias (version 5.8.8_1 ) se tiene:
    
    

    pkg_delete: file '/usr/local/man/man1/perlpacktut.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/perlplan9.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/perlpod.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/perlpodspec.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/perlport.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/perlqnx.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/perlre.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/perlref.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/perlreftut.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/perlrequick.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/perlreref.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/perlretut.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/perlrun.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/perlsec.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/perlsolaris.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/perlstyle.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/perlsub.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/perlsyn.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/perlthrtut.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/perltie.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/perltoc.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/perltodo.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/perltooc.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/perltoot.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/perltrap.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/perltru64.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/perltw.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/perlunicode.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/perluniintro.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/perlutil.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/perluts.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/perlvar.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/perlvmesa.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/perlvms.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/perlvos.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/perlwin32.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/perlxs.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/perlxstut.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/piconv.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/pl2pm.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/pod2html.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/pod2latex.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/pod2man.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/pod2text.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/pod2usage.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/podchecker.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/podselect.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/prove.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/psed.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/pstruct.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/s2p.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/splain.1.gz' doesn't exist
    pkg_delete: file '/usr/local/man/man1/xsubpp.1.gz' doesn't exist
    pkg_delete: file '/usr/local/bin/a2p' doesn't exist
    pkg_delete: file '/usr/local/bin/c2ph' doesn't exist
    pkg_delete: file '/usr/local/bin/cpan' doesn't exist
    pkg_delete: file '/usr/local/bin/dprofpp' doesn't exist
    pkg_delete: file '/usr/local/bin/enc2xs' doesn't exist
    pkg_delete: file '/usr/local/bin/find2perl' doesn't exist
    pkg_delete: file '/usr/local/bin/h2ph' doesn't exist
    pkg_delete: file '/usr/local/bin/h2xs' doesn't exist
    pkg_delete: file '/usr/local/bin/instmodsh' doesn't exist
    pkg_delete: file '/usr/local/bin/libnetcfg' doesn't exist
    pkg_delete: file '/usr/local/bin/perl' doesn't exist
    pkg_delete: file '/usr/local/bin/perl-after-upgrade' doesn't exist
    pkg_delete: file '/usr/local/bin/perlbug' doesn't exist
    pkg_delete: file '/usr/local/bin/perldoc' doesn't exist
    pkg_delete: file '/usr/local/bin/perlivp' doesn't exist
    pkg_delete: file '/usr/local/bin/piconv' doesn't exist
    pkg_delete: file '/usr/local/bin/pl2pm' doesn't exist
    pkg_delete: file '/usr/local/bin/pod2html' doesn't exist
    pkg_delete: file '/usr/local/bin/pod2latex' doesn't exist
    pkg_delete: file '/usr/local/bin/pod2man' doesn't exist
    pkg_delete: file '/usr/local/bin/pod2text' doesn't exist
    pkg_delete: file '/usr/local/bin/pod2usage' doesn't exist
    pkg_delete: file '/usr/local/bin/podchecker' doesn't exist
    pkg_delete: file '/usr/local/bin/podselect' doesn't exist
    pkg_delete: file '/usr/local/bin/prove' doesn't exist
    pkg_delete: file '/usr/local/bin/psed' doesn't exist
    pkg_delete: file '/usr/local/bin/pstruct' doesn't exist
    pkg_delete: file '/usr/local/bin/s2p' doesn't exist
    pkg_delete: file '/usr/local/bin/splain' doesn't exist
    pkg_delete: file '/usr/local/bin/xsubpp' doesn't exist
    pkg_delete: file '/usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so' doesn't exist
    pkg_delete: couldn't entirely delete package (perhaps the packing list is
    incorrectly specified?)

    
    al revisar la instalacion del lightsquid se observa que la version 5.8.8_1 es instalada con lightsquid, y por esta razon se da el conflicto con las dos versiones.
    
    luego de desinstalar via putty el ligthsquid con el per-5.8.8_1 pase a reiniciar el equipo y procedi a reinstalar el ligthsquid, donde observe que instalo de nuevo el perl-5.8.8_1
    
    una ves instalado funciono sin problemas el lightsquid!!  :D
    
    ![lightsquid-funciona.JPG](/public/_imported_attachments_/1/lightsquid-funciona.JPG)
    ![lightsquid-funciona.JPG_thumb](/public/_imported_attachments_/1/lightsquid-funciona.JPG_thumb)

Log in to reply