From apwww@hyperreal.org Mon Aug 4 13:21:54 1997 Received: (from apwww@localhost) by hyperreal.org (8.8.5/8.8.5) id NAA17377; Mon, 4 Aug 1997 13:21:54 -0700 (PDT) Message-Id: <199708042021.NAA17377@hyperreal.org> Date: Mon, 4 Aug 1997 13:21:54 -0700 (PDT) From: Renteria Tabares Juan Reply-To: renteria@cervantes.dgsca.unam.mx To: apbugs@hyperreal.org Subject: NIS+ X-Send-Pr-Version: 3.2 >Number: 967 >Category: os-solaris >Synopsis: NIS+ >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: closed >Class: support >Submitter-Id: apache >Arrival-Date: Mon Aug 4 13:30:01 1997 >Last-Modified: Tue Aug 5 20:30:07 PDT 1997 >Originator: renteria@cervantes.dgsca.unam.mx >Organization: >Release: 1.2.1 >Environment: root@docencia:/export/home/www >uname -a SunOS docencia 5.5.1 Generic sun4u sparc SUNW,Ultra-1 >Description: o.k. im run apache 1.2.1 in one server the NIS+, and not ejecute programas the CGI im send one error the bad configuration ..BUT im run apache 1.2.1 in other server, not have NIS+, and the programas the CGI, yes RUN what up? and teh configuration and software is the copy. only change the name server in httpd.conf... the server NIS+ nos RUN... the programs CGI... PERL.. only .SH >How-To-Repeat: El program is the copy for 2 servers... Server not have NIS example: http://halebopp.dgsca.unam.mx/cgi-bin/hola.cgi and yes RUN .... erros_log: [Mon Aug 4 13:26:55 1997] Server configured -- resuming normal operations Server NIS + example: http://docencia.dgsca.unam.mx/cgi-bin/hola.cgi error_log : [Mon Aug 4 15:16:21 1997] access to /export/home/www/cgi-bin/hola.cgi failed for halebopp.dgsca.unam.mx, reason: Premature end of script headers yes ejecute teh program the cgi ;) Messagesend the users: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, renteria@cervantes.dgsca.unam.mx and inform them of the time the error occurred, and anything you might have done that may have caused the error. >Fix: not suport apache 1.2.1 NIS+ ????%3 >Audit-Trail: State-Changed-From-To: open-analyzed State-Changed-By: marc State-Changed-When: Mon Aug 4 13:49:04 PDT 1997 State-Changed-Why: I do not think this is related to NIS+. I think there is some other difference between your two servers. Does the CGI run properly if you try to execute it from the command line? Try finding the minimal CGI necessary to give the error and send me a copy of it to look at. From: Marc Slemko To: Apache bugs database Subject: Re: os-solaris/967: NIS+ (fwd) Date: Mon, 4 Aug 1997 15:22:54 -0600 (MDT) ---------- Forwarded message ---------- Date: Mon, 4 Aug 1997 16:15:53 -0600 (CST) From: "Renteria Tabares J." To: Marc Slemko Cc: apache-bugdb@apache.org, marc@apache.org Subject: Re: os-solaris/967: NIS+ > Does the CGI run properly if you try to execute it from > the command line? > Yes O.k. 1 Server is Solaris 2.5.1 alone sistem operative and other server (the problems) instaled NIS+, Solarnet SunNet Manager and work nfs :), and one alias the server is docencia.dgsca.unam.mx > Try finding the minimal CGI necessary to give the error > and send me a copy of it to look at. > > O.k. one program welcome.pl, http://halebopp.dgsca.unam.mx/cgi-bin/welcome.pl ans yes RUN http://machupicchu.dgsca.unam.mx/cgi-bin/welcome.pl OR http://docencia.dgsca.unam.mx/cgi-bin/welcome.pl and not RUn... CODE THE PROGRAM: welcome.pl ******************************CUT HERE********************************** #!/usr/bin/perl print "Content-type: text/html", "\n\n"; print "", "\n"; print " Acerca del Servidor de Docencia ", "\n"; print "

Abaut this Server

", "\n"; print "

Estas Ingresando al Servidor:

", "\n"; print "
";
 print "Server Name:     ",      $ENV{'SERVER_NAME'}, "
", "\n"; print "Nombre del Servidor: ", $ENV{'SERVER_NAME'}, "
", "\n"; print "
", "\n"; print "", "\n"; exit (0); ******************************CUT HERE********************************** NOTE: Im install Apache in my server (the problems) and yes run .. im after install NIS+ and the problems begin, the problems the cgi :( NOTE2: the problem persist Thanks :) Renteria From: Marc Slemko To: Apache bugs database Subject: Re: os-solaris/967: NIS+ (fwd) Date: Tue, 5 Aug 1997 12:33:03 -0600 (MDT) ---------- Forwarded message ---------- Date: Tue, 5 Aug 1997 15:17:52 -0600 (CST) From: "Renteria Tabares J." To: Marc Slemko Cc: apache-bugdb@apache.org, marc@apache.org Subject: Re: os-solaris/967: NIS+ > Synopsis: NIS+ > > State-Changed-From-To: open-analyzed > State-Changed-By: marc > State-Changed-When: Mon Aug 4 13:49:04 PDT 1997 > State-Changed-Why: > I do not think this is related to NIS+. I think there is > some other difference between your two servers. > Hello, i have the solution the problem the NIS+ o.k. the solution is next: Im install perl5.003 after the install NIS+ so, im delete perl5.003, now im install perl5.003 join NIs+, and sorprise yep yep .. run all the CGI thanks... Atte. Administracion de Servidores-DCD .---. .----------- Renteria Tabares Juan / \ _ / ------ Administracion de Servidores / / \/^\/ ----- DCD - DGSCA - UNAM ////// ' ` --- //// / // : R : --- Tel. (015) 622 80 14 // / / /` '-- Fax. (015) 622 85 57 //DCD-DGSCA //.\\ UNAM renteria@cervantes.dgsca.unam.mx =============UU===UU======================================================= '//||\\` DIRECCION DE COMPUTO PARA LA DOCENCIA State-Changed-From-To: analyzed-closed State-Changed-By: marc State-Changed-When: Tue Aug 5 20:30:07 PDT 1997 State-Changed-Why: Very odd. The user reports that recompiling perl after installing NIS+ fixed the problem. >Unformatted: