Akopia Akopia Services

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

Re: [mv] bug report: MV4.02 makecat stalls (further info and a workaround)



******    message to minivend-users from Mark Stosberg <mark@summersault.com>     ******


Hello!

  Since no one had any ideas on my problem (below), I decided to
research my own problem. :) 

Here's as far as I got: 
  I added print statements in makecat to trace the problem. I had traced
it has far as
the "ReadParse" routine in IniConf.pm when I decided to check my
etc/makecat.cfg file. 
  It hasn't been modified for over a month and it has this huge file
size: 
-rw-r--r--  1 mvend  mvend  10541108 Feb 17 18:28 ../etc/makecat.cfg  

The top of the file looks normal and the bottom repeats this part over
and over and over...

<snip>
# New catalog definition '?' written by makecat
aliases=
cgidir=
cgiurl=
catuser=
demotype=
imagedir=
imageurl=
mailorderto=
minivenduser=
minivendgroup=
permtype=
samplehtml=
sampleurl=
servername=
catroot=
# New catalog definition '?' written by makecat
aliases=
cgidir=
cgiurl=
catuser=
demotype=
imagedir=
imageurl=
mailorderto=
minivenduser=
minivendgroup=
permtype=
samplehtml=
sampleurl=
servername=
catroot=
</snip>

I'm guessing that a month ago I tried to do 'makecat ?' trying to see
what the options are (apparently neither the ? or -h option are
supported). Something went crazy and appended these lines over and over
to the makecat file. 

I removed etc/makecat.cfg, re-ran makecat, and things worked again.

Cool.

    -mark



Mark Stosberg wrote:
> 
> ******    message to minivend-users from Mark Stosberg <mark@summersault.com>     ******
> 
> Hello,
> 
>   I'm experiencing an unexpected issue with the "makecat" script that
> comes with MV4.02
> 
> Just after running the script (as root) and entering a catalog name, the
> script appears to stall, while 'top' reports that the memory and cpu
> usage is slowly and steadily growing (past 15 megs when I stopped it!).
> Below is a paste of what my simple session looked like:
> 
> <snip>
> su-2.02# /usr/local/mvend/bin/makecat
> 
> Select a short, mnemonic name for the catalog. This will be
> used to set the defaults for naming the catalog, executable,
> and directory, so you will have to type in this name frequently.
> 
> NOTE: This will be the name of 'vlink' or 'tlink', the link CGI
> program. Depending on your CGI setup, it may also have the
> extension .cgi added.
> 
> If you are doing the demo for the first time, you might use "basic".
> 
> Catalog name? store
> makecat -- MiniVend catalog installation program.
> 
> *** We will be making a catalog named 'store'. ***
> 
> ^C
> </snip>
> 
> This happened whether I ran the script as "root", "mvend", or as the
> intended catalog user.
> 
> I'm using FreeBSD 3.1 and Perl 5.005_02
> 
> Any ideas?
> 
> Thanks,
> 
>    -mark
>
-
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


Search for: Match: Format: Sort by: