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

Get either 500 error or Error including libraries

Quote Reply
Get either 500 error or Error including libraries
Hello from Germany!

After I contacted my Provider several times they got my links-script run - unfortunately they forget to tell me about changes they made and so I overwrote my working script with an old version.

After trying for days I stopped, as I either receive an
Error 500
or, after changing the paths in links.cfg I got
Error including libraries: Can't locate kunden/home/pages/eurabel.de/mopedfahrer/cgi-bin/links/admin/db.pl in @INC (@INC contains: /usr/lib/perl5/i586-linux/5.00404 /usr/lib/perl5 /usr/lib/perl5/site_perl/i586-linux /usr/lib/perl5/site_perl .) at admin.cgi line 28.

What the hell is wrong? I think the guys from my provider changed something in links.cfg (the paths) and something in admin.cgi. But I don't know what and they didn't reply on my questions for days now.

Can anyone give me a hint?

Thanks a lot,
Denis
Quote Reply
Re: Get either 500 error or Error including libraries In reply to
Oh, one more thing:
Of course I copied averything in strictly ASCII-mode of my FTP-explorer and also the PERL-Syntax-CHECKER got no mistakes. Sometimes even the CGI-Output-Viewer showed the correct Frame-Set-Page of the admin.cgi.

Really, I don't know what else can be wrong.

Thanks for any replys,
Denis
Quote Reply
Re: Get either 500 error or Error including libraries In reply to
Check the path given by $db_lib_path in the links.cfg file. It is incorrect.

Dan Smile
Quote Reply
Re: Get either 500 error or Error including libraries In reply to
yup, check your permissions.

--mark

------------------
Due to repeated requests for support via ICQ, I am once again offering support online.

The ONLY number I will accept requests on is #53788453. Messages sent to my other numbers will not pass through to me, as I have security settings set to ignore messages from users not on that list.

I don't know how often I will be active on this number, as it is for only when I am free to offer assistance.

Could this signature be any longer? :)
Quote Reply
Re: Get either 500 error or Error including libraries In reply to
Thanks for answering, Mark!
Just one question:
could you tell me how I should chmod
- the cgi-bin folder itself
- the links.cfg file
- all files with .pl, .def and .pm ending in admin directory?

All sub-directories to the admin folder and files conatined therein I set to chmod 666 ('allow everything to anybody') is that ok?

It's just because I cannot check all combinations (if they should matter) of chmod settings.

Thanks
Denis
Quote Reply
Re: Get either 500 error or Error including libraries In reply to
Thanks for your answer, Dan!

The $db_lib_path equals the $db_script_path
So, whatever I change there, it leads me to an error 500.
The error 500 page suggest to check
- if file was transferred in ASCII (yes, I did)
- if path to perl is correct (yes, it is and it is perl 5.004)
- if the sendmail command is right (it is)
- if chmod rights are set correctly (I hope so)

So, I wonder if it can be the chmod. But actually I set everything to what's recommended in the links readme.

Can it be that it's not running because meanwhile I set a pa▀word per .htaccess for the admin directory?

Thanks a lot for further comments,
Denis
Quote Reply
Re: Get either 500 error or Error including libraries In reply to
cgi-bin and all non-data dir - 0755
data dir - 0666
===================================
links.cfg file - 0644
.pl and .pm files - 0755
.def files - 0644
===================================

Only the admin subdirectories backup, data, footer and header need to be chmod to 0666.

Dan Smile
Quote Reply
Re: Get either 500 error or Error including libraries In reply to
Thanks again, Dan, will try it over the weekend.

Denis
Quote Reply
Re: Get either 500 error or Error including libraries In reply to
Couldn't wait, tried it now while still at work.
Of course, it's not running. But got contact to my provider again. Should they find the solution, I will post it here.

Thanks again,
Denis