I am trying to upgrade from 0_1_3 to 0_1_4. When i go to the index or any other cgi i only get some fields that should be found on the page. When I look in my apache error logs i find:

Use of uninitialized value at /usr/lib/cgi-bin/index.cgi line 19.
Use of uninitialized value at /usr/lib/cgi-bin/index.cgi line 20.
Use of uninitialized value at /usr/lib/cgi-bin/index.cgi line 20.
DBI->connect(dbname=freeipdb;host=127.0.0.1;port=) failed: connectDB() -- connect() failed: Connection refused
Is the postmaster running (with -i) at '127.0.0.1' and accepting connections on TCP/IP port 'user=freeipdb'?
at /usr/lib/cgi-bin/index.cgi line 20
Use of uninitialized value at /usr/lib/cgi-bin/index.cgi line 371.
Use of uninitialized value at /usr/lib/cgi-bin/index.cgi line 371.
Use of uninitialized value at /usr/lib/cgi-bin/index.cgi line 371.
Can't call method "prepare" on an undefined value at /usr/lib/perl5/5.005/i386-linux/ipdb_lib.pl line 1323.


It appears that config.pm is not being read therefore the script cannot connect to the db as it is not named freeipdb. I had this problem in 0_1_3 and worked around it by finding all references in the cgi's to the variables found in config.pm. Once I found these i simply hard coded the correct values and it worked. I guess the bottom line is that I would really find a way to do this without having to go throught the afformentioned process again. Does anyone know why config.pm would be ignored?

P.S.
I'm working with three /21's and this really the only way for me to effectivley keep track of them.

--
Joseph J. Gresham Jr.
Systems Integration Consultant/Network Engineer
Onshore Inc.
312-850-5200 x.138



Reply via email to