500 Internal Server Error (GD missing)

Our support will answer all your general questions here.

Moderator: Rock

Post Reply
m3xx
Posts: 6
Joined: Tue Jun 30, 2009 12:09 pm

500 Internal Server Error (GD missing)

Post 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
texpert
Site Admin
Posts: 719
Joined: Sat Mar 14, 2009 5:54 pm

Re: 500 Internal Server Error

Post 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
m3xx
Posts: 6
Joined: Tue Jun 30, 2009 12:09 pm

Re: 500 Internal Server Error

Post 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
m3xx
Posts: 6
Joined: Tue Jun 30, 2009 12:09 pm

Re: 500 Internal Server Error

Post by m3xx »

So problem solved;)

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

regards,
Sebastian
Post Reply