MiniVend Akopia Services

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

Setting up Minivend on RHL 5.2 w/ Perl 5.005_02--HELP!!!!!!



******    message to minivend-users from raisplin <raisplin@rcn.com>     ******

Hello,

I am new to minivend and to the list.  I am having problems with 
installing Minivend on my Redhat 5.2 system.

Here is the basic jist of what I have done and what happens.

1. Made a new virtualhost in /etc/httpd/conf/httpd.conf 
   document root for this host is /www/docs/store.domain.com
   CGI Directory (via ScriptAlias) is /www/cgis/store.domain.com

2. ran the configure script from the Minivend-3.11 directory in /usr/src 
(where I untarred it
   to)

3. answers to questions in ./configure are as follows with any errors 
that appeared:
     I am substituting 'domain' for my actual domain. Note: if values 
were already in
     brackets were correct, I only pressed 'enter' and did not actually 
type them in.  they
     are included here for the purpose of being thorough.

Where is your MiniVend to be installed? [/root/mvend] 
/www/docs/store.domain.com

Get Term::ReadKey module?          [yes] yes
Get Term::ReadLine::Perl module?   [yes] yes
Get MD5 module?                    [yes] yes
Get SQL::Statement module?         [yes] yes
Get MIME::Base64 module?           [yes] yes
Get URI::URL module?               [yes] yes

User who will run MiniVend?        minivend
Group to own MiniVend?             [minivend] minivend

Make the simple demo now?          [yes] yes

Catalog name?                      simple

Enter path to httpd.conf file:     [/etc/httpd/conf/httpd.conf] 
/etc/httpd/conf/httpd.conf

Permission Mode?                   [M] M
Default server?                    [store.domain.com] store.domain.com
Do you have a CGI directory?       [y] y

CgiDir?                            [/www/cgis/store.hcvn.com] 
/www/cgis/store.domain.com
CgiBase?                           [/cgi-store] /cgi-store
DocumentRoot?                      [/www/docs/store.domain.com] 
/www/docs/store.domain.com
VendRoot?                          [/www/docs/store.domain.com] 
/www/docs/store.domain.com

BaseDir?                           [~/catalogs] ~/catalogs

MiniVendUser?                      [minivend] minivend

Press ENTER to edit...
[esc] :wq           <-----NO EDITS MADE TO THIS FILE

Continue and make the catalog?     [y] y

Server name?                       [store.domain.com] store.domain.com
DemoType?                          [simple] simple
permtype?                          [M] M

MiniVendUser?                      [minivend] minivend
CatUser?                           minivend
MiniVendGroup?      <----LEFT THIS BLANK AS SUGGESTED

MailOrderTo?                       [minivend] minivend

CatRoot?                           [/catalogs/simple] /catalogs/simple
CgiDir?                            [/www/cgis/store.domain.com] 
/www/cgis/store.domain.com

CgiUrl?                            [/cgi-store/simple] /cgi-store/simple
Aliases?                           [/simple] /simple

DocumentRoot?                      [/www/docs/store.domain.com] 
/www/docs/store.domain.com

SampleHtml? [/www/docs/store.domain.com/simple] 
/www/docs/store.domain.com/simple
ImageDir?   [/www/docs/store.hcvn.com/simple/images] 
/www/docs/store.domain.com/simple/images
ImageUrl?                          [/simple/images] /simple/images

##ERROR HAPPENS HERE##
Couldn't set ownership of : No such file or directory
##END ERROR##

MiniVend can use either UNIX- or internet-domain sockets.
Most ISPs would prefer UNIX mode, and it is more secure.

If you already have a program there, or use a common program
and the FullURL directive, select NONE. You will then need
to copy the program by hand or otherwise ensure its presence.

INET or UNIX mode?                 [UNIX] UNIX

Checking directories........................................
/catalogs/simple: directory exists!

/www/docs/store.hcvn.com/simple: directory exists!
The above directories already exist. Overwrite files? [n] y

Add catalog to minivend.cfg?       [y] y

Start the MiniVend server?         [yes] yes
Do you want me to start it as 'minivend' now? [y] y

## ERROR HAPPENS HERE ##
MiniVend V3.11
_mv_admin config error: Couldn't open 
'/www/docs/store.hcvn.com/admin/products/d
atabase.asc' read/write: Permission denied


_mv_admin: error in configuration. Skipping.
_mv_admin: config error. Skipping.
Configuring catalog simple...done.
MiniVend server started in INET and UNIX mode(s) (process id 24167)

Start Netscape with http://ns1:7786/mv_admin? [yes] no <--note NOT using 
Netscape because am telnetted to the server from home.

ok, so that's my config.  before I did that config, I had previously 
cd'ed to /www/docs/store.domain.com and did a rm -Rf * to remove anythign 
in the directory and leave me with a nice clean directory.  I had also 
done this for /www/cgis/store.domain.com.

It appears that the permissions are a problem on the mv_admin.  Here are 
the permissions for all the files in the direcotry with database.asc:

-rw-r--r--   1 root     root          161 Feb 20 18:09 database.asc
-rw-r--r--   1 root     root          107 Feb 20 18:09 directive.asc
-rw-r--r--   1 root     root           59 Feb 20 18:09 locale.asc
-rw-r--r--   1 root     root          534 Feb 20 18:09 products.asc
-rw-r--r--   1 root     root         3433 Feb 20 18:09 wizard.asc

and when I go to my newly configured http://store.domain.com/simple or 
http://store.domain.com/cgi-store/simple

http://store.domain.com/cgi-store/simple returns with a 404 error and

http://store.domain.com/simple returns with "The Art Store", so obviously 
something worked right, however....ANY link that I click on that page 
returns a 404 error, so I am thinking that something is not right as if 
it is a demo, the fetures should at least work more than "hey look, here 
is the first page...ha ha ha, too bad you can't do anything else.."

so, now for the brief version...what am I doing WRONG here?  I have 
gotten the exact same results even on a earlier version of PERL and I am 
stumped and very frustrated....this is 5 days into trying to install 
it....

Thanks in advance for any help that can be provided,

Greg Evans



-
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: