MiniVend Akopia Services

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

Re: Installation Completed - Can't Start Server



"Webmaster of Infothai CM Co., Ltd." <webmaster@infothai.com> writes:

> ******    message to minivend-users from "Webmaster of Infothai CM Co., Ltd." <webmaster@infothai.com>     ******
> 
> n 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 and 3.14, which makes me 
> think it is a BSDI problem?

The right fix should be using the Perl variable $^X.

Bye
        Racke

-- 
LinuXia - Solutions of Cool Competence - Internetprogramming and more
D-30163 Hannover, Waldstra&#223;e 4, 0511-3941290 (http://www.linuxia.de/)
Wir realisieren Onlineshops mit Minivend (http://www.minivend.com)
und MiniMate (http://www.linuxia.de/minimate/).


Search for: Match: Format: Sort by: