index.cgi last session fix

"Serving " <[email protected]>
Newsgroups gmane.comp.isp.ispman.devel
Message-ID <[email protected]>
Hi Joerg

The latest cvs update in HEAD is giving me errors :

http://cp.ispman.dom/admin/

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

    Error message:
    Premature end of script headers: index.cgi 

    If you think this is a server error, please contact the webmaster 

Error 500

and apache error log shows 

[Thu Jul 08 01:41:44 2004] [error] [client 192.168.0.100] Premature end of script headers: index.cgi
[Thu Jul 08 01:41:44 2004] [error] [client 192.168.0.100] Can't locate auto/CGI/Session/autosplit.ix in @INC (@INC contains: /opt/ispman/lib /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at /usr/lib/perl5/5.8.0/AutoLoader.pm line 160.
[Thu Jul 08 01:41:44 2004] [error] [client 192.168.0.100]  at /opt/ispman/lib/CGI/Session.pm line 9
[Thu Jul 08 01:41:44 2004] [error] [client 192.168.0.100] Base class package "CGI::Session::ID::MD5" is empty.
[Thu Jul 08 01:41:44 2004] [error] [client 192.168.0.100] !(Perhaps you need to 'use' the module which defines that package first.) at /opt/ispman/lib/CGI/Session/File.pm line 8
[Thu Jul 08 01:41:44 2004] [error] [client 192.168.0.100] BEGIN failed--compilation aborted at /opt/ispman/lib/CGI/Session/File.pm line 12.
[Thu Jul 08 01:41:44 2004] [error] [client 192.168.0.100] Compilation failed in require at /opt/ispman/htdocs/admin/index.cgi line 14.


ofcourse line 14 is require CGI::Session::File;


I have perl-CGI-2.81  installed on RH9


I installed  perl-CGI-Session-3.95-1.noarch.rpm perl-DB_File-1.804-88.3.i386.rpm perl-FreezeThaw-0.43-2.rhl9.noarch.rpm 

it working fine and there is no files being written in /tmp at all :)


now the funny this is that I have an identical replica server that does not show these errors and ispman works fine. But, there are files being written into /tmp but they don't have pass  files but the reseler and client login is still not working properly.

I can't explain it. :))

Anyway, Great job. Thanx.


Serving 




-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.