Re: Re: 2.2.0 install problem
Mugur Rus <[email protected]> Wed, 20 Apr 2005 03:11:34 -0700 (PDT)
| Newsgroups | gmane.comp.cms.campsite.general |
|---|---|
| Message-ID | <[email protected]> |
> Which doesn't allow for setting of the web server user & group, that I > saw. I just hunted around & edited the make.env file by hand, but that > caused another problem when I went to create a new instance. Type: make distclean ./install Please set the web server user & group when asked if you wanted to modify the install configuration. Go on with install. At the end of install you should get something like: -------------------------------------------------- STEP 2 Compiling sources (this may take a while, please wait)...done The root password is needed in order to install campsite. Please supply password. Root password: Preparing install environment...OK Configuration done STEP 3 Installing CAMPSITE...ERROR -------------------------------------------------- Now run: /usr/local/campsite/bin/create_instance --db_server_address [addr] \ --db_user [user] --db_password [password] --apache_user [apache_user] \ --apache_group [apache_group] Replace the [] arguments with appropriate values. > Umm... That isn't what's going on here. I get a 404 when I got to > http://[site_name]/admin/ It means that you did not set the apache virtual host correctly. Please check you apache configuration file. Look for NameVirtualHost. It must look like: NameVirtualHost [my_ip_address]:80 Please make sure you edited the file: /usr/local/campsite/etc/campsite/campsite-vhost.conf and replaced $SERVER_ADDRESS with your server IP address, $SERVER_NAME with apache virtual host name. This virtual host name must be registered in DNS, otherwise it won't work. Now include the campsite-vhost.conf file from apache main configuration file: Include /usr/local/campsite/etc/campsite/campsite-vhost.conf Restart apache. > http://[site_name]/admin-files/ brings up a login screen, with a broken > image (trying to load from http://[site_name]/admin/img/sign_big.gif which > is impossible with no admin directory). Entering any user/pass > (admin/admn00 or anything else) and clicking on LOGIN results in a blank > page; the full HTML of which is [html][body][/body][/html] I know it seems strange to you but http://[site_name]/admin/ and http://[site_name]/admin/img/sign_big.gif should work even though there is no admin directory. The admin.php script takes care of this. If it didn't work it's an apache configuration problem. > Watching the MySQL log shows that no attempt is made to authenticate > against the database. Do you have the PHP module installed and activated? > Has anyone here been able to do a clean install of 2.2.0 yet and have it > work? Maybe I'm just overlooking something, and I'll be the furst to admit > I can be daft at times. :) Actually yes, there are campsite 2.2.0 instances installed and working :) Regards, Mugur __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com