MiniVend Akopia Services

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

Re: Adding subcatalog into running server.



At 04:16 PM 6/16/99 , Pumin Wuvanich wrote:
>******    message to minivend-users from Pumin Wuvanich
<pumin@hotmail.com>     ******
>
>Hello,
>
>	Does anyone know how to add subcatalog into the running server?  I don't 
>like to restart the server every time when i add subcalog directive into 
>'minivend.cfg''.
>
>	I wonder how do you guys do if you have hundreds of subcatalog, and you 
>just restart the server whenever you just add one subcatalog?  Will that 
>break any current transaction?

	Restarting the server should not break any transactions, as the session db
will keep track of where the user left off.  I don't have any experience
with subcatalogs, however, I would bet that using the Bin/reconfig binary
would take care of it.

>
>     By tracing the script 'bin/makecat', i found that by adding a line 
>"Catalog  simple /home/minivend/catalogs/simple  /cgi-bin/simple
>/simple" in file "mvend/etc/restart" will allow  "simple" catalog to be 
>added into the running server.  This really works, and the server then can 
>detect all databases without restarting.  (if you want to see the code, look 
>at variable $newcfgline in script 'bin/makecat')
>
>     However, my project here will have only one catalog, and many
>subcatalogs inside.  Here is what i tried.
>      1.  I put new config file
>'/home/minivend/catalogs/simple/sub_of_simple.cfg'
>      2.  I added line "SubCatalog sub_of_simple simple
>/home/minivend/catalogs/simple /cgi-bin/sub_of_simple" into
>"minivend.cfg"
>      3.  I replace the line above in $newcfgline in 'makecat'  , and
>then i executed that restart part.  However, it didn't work.  Result
>from the log, the 'simple' catalog itself  was reconfigured, but the
>server still counldn't find 'sub_of_simple' .
>
>      I spent a lot of time on this, but still no luck.  Any suggestions 
>will be greatly appreciated.
>
>Regards,
>Pumin
>
>- MV 3.12
>- Redhat 6.0
>
>PS. i think first time my mail didn't go through, so this is second time I 
>post this msg, if you get twice, please disregard first one. Thanks.
>
>
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.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
> 

Ryan Hertz                                              tel  520-645-3812
Webmaster                                               tel  800-645-BAIT
Advertising Director                                    fax  520-645-2588
Gary Yamamoto Custom Baits, Inc.            http://www.yamamoto.baits.com


Search for: Match: Format: Sort by: