[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: Problems starting server
****** message to minivend-users from "Webmaster of Infothai CM Co., Ltd." <webmaster@infothai.com> ******
On Minivend 3.11 and earlier on BSDI 3.1, I found that most of the perl
control programs had to be modified to work. Specifically, the programs
would try to locate the perl interpreter automatically, but for some
reason it didn't work - instead of locating perl it located the program
being interpreted by perl. So, at the end of the start program, for instance,
it would try to launch minivend with a statement:
system $PERL, $PerlFlags, $VEND, $Func_flag, @ARGV;
which was executed as:
system start, ...
This makes the start program recursively invoke itself forever until you
run out of resources.
My fix was to replace this type of statement:
$PERL = $PERL || 'perl';
with this type of statement:
$PERL = '/usr/.../perllocation'; (put in your own information!!!)
in all control programs that used the perl locator code. There may be
other workable approaches as well (set either $PERL or $perl in the
environment might be one that is easier).
I assume that the problem still exists in 3.12. If not, "never mind".
Regards,
Mike
On Wed, 12 May 1999 03:33:41 -0300, Andres Biscione wrote:
>****** message to minivend-users from "Andres Biscione" <bikio@aper.net> ******
>
>Hello-
>
> I'm a new subscriber to this list, as well as a new user of Minivend
>(I hope). Having tried for many days to install the program, I didn't came
>up with the correct way to do it. I faced the "We're sorry, the Minivend
>server is unavailable" error, and checking in the mail list history, I found
>lots of mails talking about this. Though, I haven't yet solved my problem,
>which I think has its origin in the fact that I can't start the Minivend
>server.
>
> The problem is that I must start the Minivend server using
>/cgi-dir/mvend/bin/start. But two things may happen, depending on which user
>tries to start the server:
>
> 1) When trying to start the server logged as 'minivend', it just
>seems to become tilt. Nothing else happens for hours.
>
> 2) When trying to start it as root, a message is prompted telling
>that it can't be ran that way, and finally it offers to run it as minivend.
>When I answer 'yes' to this question, the problem becomes the following:
>
> "Do you want me to start it as 'minivend' now? [y] y
> su: could not retrieve requested class information
> aper: {31} % May 31 13:38:50 aper su: start: unknown class"
>
> This, I think, is a "unix-related" problem, but I really don't
>understand what this means. Is there something in my system that doesn't
>allow me to run the file as 'minivend'? Some system info follows:
>
> Minivend version: 3.12
> PERL: 5.004
> BSDI BSD/OS 3.1
>
> I'd really appreciate your help with this. Thanks a lot in advance,
>
>
> Andres Biscione
> Buenos Aires - Argentina
>
>-
>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
>
webmaster@infothai.com
http://www.infothai.com
-
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