Ben April wrote:
>Joseph-
> Just a few quick questions to see if we can work this out:
> -What version of perl do you have running?
> (perl -v)
>
>
perl, version 5.005_03 built for i386-linux
>-if you try to run index.cgi from the command-line what do you get?
>
>
Results included in attached file.
>-Please send along the results of (from the cgi-directory):
> - perl -w -c ./config.pm
> - perl -w -c ./index.cgi
>
I got Syntax ok on both files.
>
>
> We'll see what that tells us.
>
> -ben
>
>On Tue, Jul 16, 2002 at 01:49:45PM -0500, Joseph Gresham wrote:
>
>>Hi I am upgrading from fipdb 0.1.3 to 0.1.4
>>In my previous installation i had this same problem, and i worked around
>>it by hardcoding the variables found in config.pm into the various
>>scripts. Anyhow I would like to have to avoid doing this again so here
>>goes....
>>Im running postgresql 6.5.3 on Debian Potato Kernel 2.4.16
>>When i try to access index.cgi
>>I am missing the FreeIPDB logo and the only fields i have are
>>block,subnet, and region.
>>My apache error.log says
>>
>>Use of uninitialized value at /usr/lib/cgi-bin/index.cgi line 17.
>>Use of uninitialized value at /usr/lib/cgi-bin/index.cgi line 18.
>>Use of uninitialized value at /usr/lib/cgi-bin/index.cgi line 18.
>>DBI->connect(dbname=freeipdb;host=127.0.0.1;port=) failed: connectDB()
>>-- connect() failed: Connection refused at /usr/lib/cgi-bin/index.cgi
>>line 18
>>Use of uninitialized value at /usr/lib/cgi-bin/index.cgi line 281.
>>Use of uninitialized value at /usr/lib/cgi-bin/index.cgi line 281.
>>Use of uninitialized value at /usr/lib/cgi-bin/index.cgi line 281.
>>Can't call method "prepare" on an undefined value at
>>/usr/lib/perl5/5.005/i386-linux/ipdb_lib.pl line 1209.
>>
>>I have changed the variables that are in the config.pm file but
>>according to the line beggining with DBI-> theses variables are not
>>being read/passed to the scripts.
>>Please help. Our ISP is dependent on this program to track our growing
>>super/sub-nets.
>>
>>--
>>Joseph J. Gresham Jr.
>>Systems Integration Consultant/Network Engineer
>>Onshore Inc.
>>312-850-5200 x.138
>>
>>
>
--
Joseph J. Gresham Jr.
Systems Integration Consultant
Onshore Inc.
312-850-5200 x.138