MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: Red Hat 6.0 + MV3.14 + Virtuald run/install probs







On Sat, 24 Jul 1999, Marius Schaefer wrote:

> ******    message to minivend-users from Marius Schaefer <maillist@b-p-a.com>     ******
> inetd-mode with a "chroot /usr/home/<user>"
> [snip]
> 
> ~/mvend/src/config.h line 38 to
> #define LINK_FILE      "/mvend/etc/socket"
> 
> and
> 
> ~/mvend/src/vlink.pl line 26 to
> my $LINK_FILE    = '/mvend/etc/socket';

This might be part of the problem.  The chroot tells Apache that its root
directory is /usr/home/foo.  Then, when the CGI part of MV is run, it has
that environment (I think), so when it looks for the socket, it is looking
for /usr/home/foo/mvend/etc/socket, not /mvend/etc/socket.

I am not sure this is right, but I have shot myself in the foot this way
with other things in the past.  You might want to see what another CGI
says its current directory is.  

Best,
Kyle





Search for: Match: Format: Sort by: