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

System Path for Network Solutions Account?

Quote Reply
System Path for Network Solutions Account?
I successfully installed and ran Links 2.0 on a different server, but now that I have switched to Network Solutions I cannot seem to get Links running. I get this message when I try to run admin.cgi:

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

Make sure they exist, permissions are set properly, and paths are set correctly.
So these are the paths I set in links.cfg:

# Paths and URL's to Important Stuff
# --------------------------------------------------------
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/cgi-bin/links/admin";
$db_dir_url = "http://www.tricot-treat.com/cgi-bin/links/admin";

# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://mydomain.com/cgi-bin/links";

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/htdocs/links/pages";
$build_root_url = "http://mydomain.com/links/pages";


I would be eternally grateful for help with this very basic question!
Quote Reply
Re: [Floristan] System Path for Network Solutions Account? In reply to
 OK, I've sorted it out. But not soon enough to be able to delete my original post. Sorry.
Quote Reply
Re: [Floristan] System Path for Network Solutions Account? In reply to
Can you post what you did? I'm having the same error at Network Solutions.

j.
Quote Reply
Re: [jalandoak] System Path for Network Solutions Account? In reply to
Hi,

Sounds like you are using RELATIVE PATHS, not the FULL PATHS.

For example:

Relative: /cgi-bin/links/admin
Full: /home/username/domain.com/cgi-bin/links/admin

A god way to find this out, is with a simple script like so (attached).

Just upload to your admin folder, CHMOD to 755 - and run it from your browser.

Hope that helps.

Cheers

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] System Path for Network Solutions Account? In reply to
Thanks for the help, but I can't get the script to run. I get an Internal Server Error.

I set the CHMOD to 755 and changed the Perl line to #!/usr/local/bin/perl but that didn't seem to help. I need find the error logs. I just started with Net Sol, so I haven't figured our where everything is at yet.

Added:
I found the error logs and it doesn't show any errors (at least for this problem).

j.

Last edited by:

jalandoak: Mar 2, 2008, 2:35 PM
Quote Reply
Re: [jalandoak] System Path for Network Solutions Account? In reply to
Hi,

Do you have SSH or Telnet working?

Try running from there:

cd /path/to/folder
perl acevars.cgi

..and see what the output is.


Have you *ever* had perl scripts working on the current server btw?

acevars.cgi is a VERY basic script, so should work.

Cheers

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates