Ola Amigos da Lista,


   Tenho um servidor Pentium III 450, com Linux RedHat 70, Apache 1.13.12, MySql
3.22 , Perl 5.6 e PHP 3.18 instalado....

Instalei uma ferramenta de IDS chamado Snort1.18, maravilha fuciona
corretamente, o basico pelo menos.

Depois fui tentar um administrador WEB dessa ferramenta chamada DEMARC 1.14,
todos os passos foram seguidos corretamente....

Quando digito http://www.mydomain.com/dm/demarc , aparece o seguinte erro:

    "...Internal Server Error

    The server encountered an internal error or misconfiguration and was unable
to
    complete your request.

    Please contact the server administrator, [EMAIL PROTECTED] and
inform
    them of the time the error occurred, and anything you
    might have done that may have caused the error.

    More information about this error may be available in the server error log.
    ....."

        Bem, vou para  /var/log/http/error_log e vejo o seguinte:

     "...Can't locate StaticServices.pm in @INC (@INC contains: 
    /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0
    /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0
    /usr/lib/perl5/site_perl . /usr/local/www/dm/) at /usr/local/www/dm/demarc
line
    65.
    BEGIN failed--compilation aborted at /usr/local/www/dm/demarc line 65.
    [Sat Sep 15 23:59:53 2001] [error] [client 200.197.228.47] Premature end of
    script headers: /usr/local/www/dm/demarc "


    
    Vou entao para o arquivo  "/usr/local/www/dm/demarc" que e' :

    "#NOTE
    # :set tabstop=4  (in vi[m])
    # to bring this bad boy into focus


    BEGIN{
            # CHANGE this to reflect where you have your StaticServices.pm
module
            # which SHOULD be the same as where this script resides
            push (@INC,"/usr/local/www/dm/");(E'  nesse diretorio que esta o
StaticServices.pm)
    };

    use StaticServices; #Make SURE your cgi-bin directory is in your INC array
    aboveuse DBI;
    use DBD::mysql;
    use CGI;
    use CGI::Cookie;
    use strict;
    use Digest::MD5  qw(md5_hex);

    # MIME::Base64 needed for decoding basic auth ...."

    Amigos, o que pode esta acontecendo??????
    A configuracao de pastas do meu Apache e a seguinte:
      alias /dm   ->    /usr/local/www/dm/
      alias /cgi-bin->  /var/www/cgi-bin ( no desespero joguei o
StaticServices.pm para este diretorio tambem, e nada....)
      document root ->  /var/www/html/

    Alguem ja foi bem sucedido nesta instalacao????Por favor ajude-me!!!!!



Abracos Max Faria


Assinantes em 17/07/2001: 2256
Mensagens recebidas desde 07/01/1999: 123429
Historico e [des]cadastramento: http://linux-br.conectiva.com.br
Assuntos administrativos e problemas com a lista: 
            mailto:[EMAIL PROTECTED]

Responder a