CPanel Installation

Post Reply
rpiazza79
Posts: 3
Joined: Fri Mar 11, 2005 9:41 am

CPanel Installation

Post by rpiazza79 »

Hello,

I am trying to install Webinator Eval on a CPanel shared host for a client of mine and here is the error I am receiving, it seems as though no files or symlinks are being created in the cgi-bin folder??

CGI extension [ENTER for none]:
Stopping monitor processes.....done
Checking dir with a web fetch...failed, will try again
Trying again with file...*** Failed ***
The URL http://www.opinion-pages.com/cgi-bin/te ... html?-dump
could not be fetched.
Possibly the CGI URL prefix (http://www.opinion-pages.com/cgi-bin)
or the CGI extension (none) is wrong.
The web server response was: HTTP/1.1 500 Internal Server Error

Thanks!
User avatar
mark
Site Admin
Posts: 5513
Joined: Tue Apr 25, 2000 6:56 pm

CPanel Installation

Post by mark »

500 error means the server is messed up and couldn't handle the request. Check the webserver's error logs for more details about that error.
rpiazza79
Posts: 3
Joined: Fri Mar 11, 2005 9:41 am

CPanel Installation

Post by rpiazza79 »

Here is a snippet of errors in the log:

[2005-03-11 09:45:20]: error: file is either setuid or setgid: (/home/oppages/public_html/cgi-bin/texis)
[Fri Mar 11 09:45:20 2005] [error] [client 204.11.51.196] File does not exist: /home/oppages/public_html/500.shtml
[Fri Mar 11 09:45:20 2005] [error] [client 204.11.51.196] Premature end of script headers: /home/oppages/public_html/cgi-bin/texis
User avatar
mark
Site Admin
Posts: 5513
Joined: Tue Apr 25, 2000 6:56 pm

CPanel Installation

Post by mark »

The install sets "texis" setuid to ensure that they always run as the same user (very important). You could modify the install script slightly so that it doesn't make it setuid. In that case you'd have to run the install and any command line texis usage as the webserver userid.

In the install script change
chmod u=rwxs
to
chmod u=rwx
and change
chmod u+s
to
chmod u-s
Then try to install while logged in as the webserver user (as set in the webserver's config, not root).
rpiazza79
Posts: 3
Joined: Fri Mar 11, 2005 9:41 am

CPanel Installation

Post by rpiazza79 »

It has installed. I'll have my client test it out. Thanks for your help.
Post Reply