Page 1 of 1

500 Internal Server Error (GD missing)

Posted: Mon Jul 27, 2009 1:20 pm
by m3xx
Hi,

I have a "500 Internal Server Error" when the admin.cgi is called. The login.cgi is shown the error comes only after sending the login button.

According ErrorLog can be found libgd.so.2
admin.cgi: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory, referer: http://vod-blog.com/cgi-bin/te/login.cgi

Re: 500 Internal Server Error

Posted: Tue Jul 28, 2009 8:57 am
by texpert
GD library for C is missing on your server. Remember, for C, not for some script language.
You will also notice that "image.cgi" is not working. You have to install gd-devel 2.0 for C programming language and it can be found/installed here:
FreeBSD: /usr/ports/graphics/gd/
Linux: yum install gd-devel

regards,
Jim

Re: 500 Internal Server Error

Posted: Tue Jul 28, 2009 10:28 am
by m3xx
Hi Jim,

GDlib which is already installed and is under / usr / bin exists. There is a second error message
Premature end of script headers: admin.cgi, referer:
regards,
Sebastian

Re: 500 Internal Server Error

Posted: Tue Jul 28, 2009 12:58 pm
by m3xx
So problem solved;)

dist-upgrade to Lenny the libc6 ist in etch to old

regards,
Sebastian