Got 500 Internal Server Error

Help
Kevin
2012-05-19
2012-10-06
  • Kevin
    Kevin
    2012-05-19

    HI,

    I tried to configure IIPImage to my machine, and got 500 Internal Server
    Error.
    The server encountered an internal error or misconfiguration and was unable to
    complete your request.

    And when I go to the log file I got this:
    (13)Permission denied: FastCGI: can't create server "/var/www/img1/cgi-
    bin/iipsrv.fcgi": bind() failed

    I applied all the permission for the folder of img1, and its subdirectories,
    also assign the group owner to apache, but still got this error...
    I struggled with this all day, but nothing works...

    The permission details for the img1 folder.
    drwxrwxrwx 5 apache apache 4096 May 18 19:36 img1
    drwxr-xr-x 2 apache apache 4096 May 18 19:36 cgi-bin
    drwxrwxrwx 3 apache apache 4096 May 18 19:45 ipc_dir
    drwxr-xr-x 2 apache apache 4096 May 18 19:36 log

    Because I have no idea about fastcgi before, and just want to learn to use
    it.....

    If you can help me, I will be really thankful....

     
  • Kevin
    Kevin
    2012-05-19

    The system that I am using is centos.

     
  • Ruven
    Ruven
    2012-05-19

    Try this advice for CenOS users from the IIPImage web site and from the README
    included with the server:

     
  • Kevin
    Kevin
    2012-05-20

    Hi ruven,

    I am sorry for reaching you late, and I am really thankful for your advice.

    I specify the following line in my httpd configuration:
    FastCgiIpcDir /var/www/ipc_dir/

    So is this what you are talking about????

    But it still cannot work.

    I am not sure how to configure FcgidlPCDir in apache???

    I also tried IIPImage in ubuntu, and it works great there. I only have problem
    with centos5.x

    Thanks your reply~~

     


Anonymous


Cancel   Add attachments