Re: [possible-spam:2.172] [campsite-support] Install Error
  • Do you have namedVirtualHost set in httpd.conf?
    any error messages in logs?
    any error message in browser window?

    Ondra

    phorum@code.campware.org píše v St 18. 04. 2007 v 19:40 +0200:
    > Author: Remi Baba
    > Link: http://code.campware.org/phorum/read.php?8,5487,5487#msg-5487
    > --------------------------------------------------------------------------------
    >
    > Hello,
    > Please help discern what I may be doing wrong in ACCESSING Campsite news CMS. Once this is sorted, I will be contributing it to the campsite documentation.
    > My system uses Debian 4.0-Etch Linux, with Mysql 5, PHP5 and Apache 2.
    > Another server-side program already occupies port 8080 (this is not a dedicated server)
    > Installation initiated from directory: /opt/campsite
    > My server is assigned a static IP: '192.168.10.1' and hostname 'campserver'
    > I created a directory '/var/www/campsite' which this default install totally ignored.
    >
    > The installation is successful. So, what is the PROBLEM? How do I access it ?
    > ; (
    >
    > ===
    > Debian 4.0 Etch dependencies
    > sudo aptitude install apache2 libmysqlclient15-dev mysql-client-5.0 \
    > mysql-common mysql-server-5.0 zlib1g-dev php5-mysql g++ \
    > libxml2-dev libidn11-dev libcurl3-dev libssl-dev php5-mysql \
    > php5-cli php5-imagick imagemagick
    > ====
    >
    > Install configuration
    > APACHE_USER=www-data
    > APACHE_GROUP=www-data
    > CAMPSITE_DIR=/usr/local/campsite
    > BIN_DIR=/usr/local/campsite/bin
    > SBIN_DIR=/usr/local/campsite/sbin
    > ETC_DIR=/usr/local/campsite/etc
    > WWW_DIR=/usr/local/campsite/www
    > WWW_COMMON_DIR=/usr/local/campsite/www-common
    > DEFAULT_SMTP_SERVER_ADDRESS=localhost
    > DEFAULT_SMTP_SERVER_PORT=25
    > DEFAULT_DATABASE_SERVER_ADDRESS=localhost
    >
    > PARSER configuration:
    > PARSER_START_PORT=2000
    >
    > To continue press ENTER
    >
    > STEP 1
    > Configuring Campsite (this may take a while, please wait)...done
    >
    > STEP 2
    > Compiling sources (this may take a while, please wait)...done
    >
    > STEP 3
    > Installing Campsite...
    >
    > The base package was installed. In order for Campsite to work you must install
    > at least one instance.
    > Do you want to install the default Campsite instance? (Y/N) :
    > Do you want to change the instance base parameters? (Y/N) :
    > Do you want to change the instance advanced parameters? (Y/N) :
    >
    > Running /usr/local/campsite/bin/campsite-create-instance
    > with no arguments (use default values)
    >
    > Campsite create instance utility
    > --------------------------------
    > Create instance script version: 2.7.0-rc2 "Tomas"
    > Creating instance: campsite
    > * Creating the database configuration...done.
    > * Creating the template engine configuration...done.
    > * Creating the email notifiers configuration...done.
    > * Creating the Apache configuration...done.
    > * Setting privileges to the configuration files...done.
    > * Creating site directories...done.
    > * Creating the site structure...done.
    > * Creating the Apache virtual host configuration file...done.
    > * Setting privileges for the site directories...done.
    > * Creating the database...done.
    >
    > The instance campsite was created successfuly.
    > The apache virtual host configuration file:
    > /usr/local/campsite/etc/campsite/campsite-vhost.conf
    > was created.
    > Please edit it and replace $SERVER_NAME with the appropriate value.
    >
    > Campsite was installed successfully.
    > For a complete installation log read install_log file.
    >
    > IMPORTANT!!!
    >
    > Please configure apache server before using Campsite application; make sure
    > the crond daemon is running; for details read the INSTALL file and follow
    > the instructions.
    >
    > MY CONFIGURATIONS >>
    > $ sudo nano /usr/local/campsite/etc/campsite/campsite-vhost.conf
    > I changed the $SERVER_NAME to 192.168.10.1
    > $ sudo cp /usr/local/campsite/etc/campsite/campsite-vhost.conf /etc/apache2/sites-available/
    > $ sudo ln -s /etc/apache2/sites-available/campsite-vhost.conf /etc/apache2/sites-enabled/
    > $ sudo ln -s /etc/apache2/mods-available/actions.load /etc/apache2/mods-enabled/
    >
    > No access on http://192.168.10.1/admin
    > Please help.
    >
  • 1 Comment sorted by
  • Setting NamedVirtualHost * and reseting VirtualHost *:80 solved the access problem, but generated errors on Apache restart. Please see details in my thread.