Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

Can't locate cgi-bin/links/admin/db.pl

Quote Reply
Can't locate cgi-bin/links/admin/db.pl
Hello,

I get this error when I run Admin.cgi:

Error including libraries: Can't locate cgi-bin/links/admin/db.pl in @INC (@INC contains: /usr/lib/perl5/i386-linux/5.00404 /usr/lib/perl5 /usr/lib/perl5/site_perl/i386-linux /usr/lib/perl5/site_perl .) at admin.cgi line 28.

Make sure they exist, permissions are set properly, and paths are set correctly.

Can anyone help?

Thanks,
Mike
Quote Reply
Re: Can't locate cgi-bin/links/admin/db.pl In reply to
Another dumb mistake on my part. I wasn't using my root directory Smile

Mike
Quote Reply
Re: Can't locate cgi-bin/links/admin/db.pl In reply to
Error including libraries: Can't locate /cgi-bin/search/admin/db_utils.pl in @INC (@INC contains: /home/httpd/cgi-bin/search /usr/lib/perl5/i386-linux/5.00404 /usr/lib/perl5 /usr/lib/perl5/site_perl/i386-linux /usr/lib/perl5/site_perl .) at /home/httpd/cgi-bin/search/add.cgi line 31.

Make sure they exist, permissions are set properly, and paths are set correctly.


------------------
--

Rafael Faria
Flash World - Professional Resources
Quote Reply
Re: Can't locate cgi-bin/links/admin/db.pl In reply to
rafa,

The solution to your problem is already stated by Mike. Your links.cfg has to use the full paths for $db_script_path and $build_root_path. For example, $db_script_path should look something like this (assuming that "/home" is your root directory):

Quote:
$db_script_path = "/home/httpd/cgi-bin/search/admin";

I hope this helps.