Gossamer Forum
Home : Products : DBMan : Installation :

cannot login in DB

Quote Reply
cannot login in DB
Hi!

First I run db.cgi
and get an Internal Server Error.

[Wed Nov 15 16:29:22 2000] [error] [client 127.0.0.1] Premature end of script headers: f:/www/cgi-bin/db.cgi
[Wed Nov 15 16:29:22 2000] [error] [client 127.0.0.1] Can't locate Time/Local.pm in @INC (@INC contains: F:\usr\lib\site F:\usr\lib c:\perl\lib c:\perl\lib\site c:\perl\lib\site .) at f:/www/cgi-bin/db.cgi line 1071.

[Wed Nov 15 16:29:23 2000] [error] [client 127.0.0.1] BEGIN failed--compilation aborted at f:/www/cgi-bin/db.cgi line 1071.


line 1071 use Time::Local;

OK, I disable this line by '#'

Run db.cgi again, the logon form appears.
Try admin:admin but nothing, only

DBMan encountered an internal error.
CGI ERROR
Error Message fatal error: The crypt() function is unimplemented due to excessive paranoia. at auth.pl line 63.

Script Location f:/www/cgi-bin/db.cgi
Perl [Perle] Version 5.00402
Setup File default.cfg [defaulted]

Why is it so? My OS is windows 2000, Apache/1.3.11

Help, please.


Quote Reply
Re: cannot login in DB In reply to
Wow!
Can you get more info? Try something like adding this to the top of your db.cgi file:-
#!/usr/local/bin/perl
BEGIN {
open (STDERR, ">/path/to/server/error.txt");
}

Then you can open the text file and maybe get some more info. It was transferred in ASCIII??



Quote Reply
Re: cannot login in DB In reply to
In Reply To:
Error Message fatal error: The crypt() function is unimplemented due to excessive paranoia.
This is discussed in the Resource centre (link above) in the DBMan FAQ section.

The problem is due to using the Binary version of perl, try getting ActiveState's port of perl (known as ActivePerl) from: http://www.activestate.com/

This should also clear up some of the other problems.

Good luck!

- Mark


Astro-Boy!!
http://www.zip.com.au/~astroboy/