[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: Tlink can't open socket if started via web?
****** message to minivend-users from "Rob Zimmerman" <rob@readysite.net> ******
Try,
$ su mvend ( or whatever user you have minivend running as) then start the
server.
Rob
------------------
> ****** message to minivend-users from paulc@shell11.ba.best.com ******
>
> I'm trying to help install minivend on an ISP with a friend. After the
> initial install, the cgi program (vlink, in this case) wouldn't start. The
> ISP's "Internal Server Error" page says, in part,
> "The CGI being executed cannot be a setuid or setgid program.
> The target username and group to execute as, must match the username
> and group owning the directory."
>
> When I changed the file permissions from rwsr-xr-x to rwxr-xr-x then the cgi
> file actually executed and gave me "We're sorry, the MiniVend server is
> unavailable...." Per the manual, I then tried (temporarily) setting
> etc/socket to 666 permissions, which also didn't work.
>
> Then we decided to try Tlink. In the current state of the system,
> simple.cgi is Tlink. If I start the server in debug mode and then log in
> and do
> ./simple.cgi junkparms
> I can see that it opens the socket and actually reaches the server, which
> generates various error messages because it doesn't like my parameters.
>
> However, if simple.cgi is started from the web (eg. go to the web page and
> click on a link going to /simple.cgi/browse in our domain), I again get
> "We're sorry, the MiniVend server is unavailable...." So, apparently,
> the socket open fails when simple.cgi is started by someone other than the
> owner.
>
> Does my interpretation seem accurate, and does anyone have a suggestion?
>
> Thanks.
> Paul Czyzewski
>
> -
> To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
> email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
> Archive of past messages: http://www.minivend.com/minivend/minivend-list
>
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list