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

Internal Server Error with Links 1.11 under Linux

Quote Reply
Internal Server Error with Links 1.11 under Linux
Hi !

I have tried to install Links 1.11 under RH5.0 without success. I'm running Apache 1.3.3 and perl 5.005_03.

After installation i always get Internal Server error ( 500 ) when trying to access the admin.cgi. After checking the error_log &
access_log i have only found Premature end ... errors.

Pse. find an excerpt from my links.cfg :
# PATH of Admin Script directory. No Trailing Slash. *
$db_script_path = "/home/peter.hrobar/web/links/admin";
# URL of Admin Script directory. No Trailing Slash. *
$db_dir_url = "http://localhost/~peter.hrobar/links/admin";
# URL of Admin Script.
$db_script_url = $db_dir_url . "/admin.cgi";

# PATH of Pages to be built. No Trailing Slash. *
$build_root_path = "/home/peter.hrobar/web/links";
# URL of Pages to be built. No Trailing Slash. *
$build_root_url = "http://localhost/~peter.hrobar/links";
# PATH of What's New page. No Trailing Slash.
$build_new_path = $build_root_path . "/New";
# PATH of What's Cool page. No Trailing Slash.
$build_cool_path = $build_root_path . "/Cool";
# PATH of the header and footer directories. No Trailing Slash.
$db_header_path = $db_script_path . "/header";
$db_footer_path = $db_script_path . "/footer";

The email address field is also set. I have checked the permissions etc. -> everything was OK.

perl -c admin.cgi -> OK
perl -w admin.cgi ->

Use of uninitialized value at links.cfg line 116.
Useless use of private variable in void context at /home/peter.hrobar/web/links/
admin/db.pl line 443.
Useless use of private variable in void context at /home/peter.hrobar/web/links/
admin/db.pl line 453.
Use of uninitialized value at admin.cgi line 53.
Use of uninitialized value at /home/peter.hrobar/web/links/admin/db.pl line 1068
.
Use of uninitialized value at /home/peter.hrobar/web/links/admin/db.pl line 1071.

Maybe refer to errors, but I'm not a Perl expert.

Any help appreciated,

pH

------------------
Dijital
Quote Reply
Re: Internal Server Error with Links 1.11 under Linux In reply to
check the permissions, check that you uploaded in ascii (or unzipped on unix with -a switch), and that you are using the correct path to perl 5.

Why are you using links 1.11 and not 2.x?

--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: Internal Server Error with Links 1.11 under Linux In reply to
Thanks it's working ... the root cause was ASCII downloading. ( Originally I have used WinZip on a samba shared volume, then as you recommended 'unzip -a' from telnet and that solved my problem )

Thanks again. ( I guess you can close this )

pH
Quote Reply
Re: winzip problem In reply to
The Winzip program must be my problem too- I'm having the same problems. Can someone recommend an unzip program I can download that won't mess up my cgi files? I don't have the unzip -a program. I'm on Windows NT.

thanks,
Sigrid

Quote Reply
Re: winzip problem In reply to
NEVERMIND! I downloaded another unzip program and now everything seems to be working. Weird about the winzip.