Re: [campsite-support] Climbing like a monkey.
  • hi!

    yes, you can customize where you want your www and www-common dirs
    will be placed, so you can set them to, for instance,
    /var/www/campsite/www and /var/www/campsite/www-common

    could you send to us more information about the apache error in order
    to try helping you?

    thanks for your interest in using Campsite.



    On 1/29/07, phorum@code.campware.org wrote:
    > Author: FireWolf
    > Link: http://code.campware.org/phorum/read.php?8,5198,5200#msg-5200
    > --------------------------------------------------------------------------------
    >
    > UPDATES:
    > I just gave it a go to the install on a second linux box running Etch PHP5/MySQL5. This time all the installation steps were completed fully and nicely Smile Since there's the possibility to modify the install configuration the issue no1 that I mentioned above gets solved very easily. As for the issue no2 I think that was the reason blocking the rest. Maybe it's due to the MySQLi extension not present in my first deb box running php/mysql 4 since I had no issues with etch running php/mysql5 (MySQLi included by defalut).
    > Anyway for the rest it was a very forward install procedure even for a linux newbie. It will be a peace of cake with html browser install, planned for the next versions.
    > However I'm not yet done and I need your guidance to complete the configuration and get the site fully runing:
    > -When I try to restart apache I get an error message telling me VirtualHost *:80 --mixing * ports and non -* ports with a NameVirtualHost address is not supported, proceeding with undefined results
    > -In both of my boxes I have by default the www root path set to /var/www where all my webdev playground is located. The campsite install config has by default /usr/local/campsite/... During the install should I change the WWW_DIR and WWW_COMMON_DIR to /var/www and make the install to these dirs?
    > I'm just trying to figure out where should I point the install and what files needs reediting afterwards.
    >
    > I'm very excited to fully test out Campsite so any quick input will be GREATLY appreciated
    > Thx
    >
    > --
    > Sent from Campware Forums
    > http://code.campware.org/phorum
    >


    --
    /holman
  • 8 Comments sorted by
  • Thx for the reply Holman,
    To resume the situation;
    1. here's a screenshot of the config used during the install http://img99.imageshack.us/img99/6999/screenshot2jl1.png It can help check out the settings
    2. Install process went smoothly and completed from step 1-6 like described int he manual here http://code.campware.org/manuals/campsite/2.6/index.php?id=6
    3. In step 7 when I try to restart apache I get the error described in my previous post "VirtualHost *:80 --mixing * ports and non -* ports with a NameVirtualHost address is not supported, proceeding with undefined results" I'm runing Apache2 and if you need extra info from a log file pleade indicate me the path where I should look. I'm new to the linux world so I'm not yet very familiar with filesystem structure etc.
    4. Since I couldn't restart apache via cli, I did a complete reboot of the system and followed with Step 8 from the manual. I pointed the browser to : http://localhost/campsite/www/campsite/html/ and I get the following warnings:
    Warning: require_once(/var/www//configuration.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/campsite/www-common/html/index.php on line 12
    Fatal error: require_once() [function.require]: Failed opening required '/var/www//configuration.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/campsite/www-common/html/index.php on line 12

    This is where I'm stuck and I don't know how to advance further on.

    Thx for your input

  • Hi,

    Edit the file /etc/hosts and append 'campsite' to the line:
    127.0.0.1 localhost

    like this:
    127.0.0.1 localhost campsite

    Edit the file /etc/apache2/sites-enabled/campsite-vhost.conf and modify the line:


    to:


    Set the ServerName in the virtual host to campsite:
    ServerName campsite

    Restart apache and go to http://localhost/admin/

    If it still doesn't work please send me your virtual host config file
    (/etc/apache2/sites-enabled/campsite-vhost.conf).

    Regards,
    Mugur

    --- wrote:
    > Author: FireWolf
    > Link: http://code.campware.org/phorum/read.php?8,5201,5204#msg-5204
    > --------------------------------------------------------------------------------
    >
    > Thx for the reply Holman,
    > To resume the situation;
    > 1. here's a screenshot of the config used during the install
    > http://img99.imageshack.us/img99/6999/screenshot2jl1.png It can help check out the settings
    > 2. Install process went smoothly and completed from step 1-6 like described int he manual here
    > http://code.campware.org/manuals/campsite/2.6/index.php?id=6
    > 3. In step 7 when I try to restart apache I get the error described in my previous post
    > "VirtualHost *:80 --mixing * ports and non -* ports with a NameVirtualHost address is not
    > supported, proceeding with undefined results" I'm runing Apache2 and if you need extra info from
    > a log file pleade indicate me the path where I should look. I'm new to the linux world so I'm
    > not yet very familiar with filesystem structure etc.
    > 4. Since I couldn't restart apache via cli, I did a complete reboot of the system and followed
    > with Step 8 from the manual. I pointed the browser to :
    > http://localhost/campsite/www/campsite/html/ and I get the following warnings:
    > Warning: require_once(/var/www//configuration.php) : failed to open stream: No such file or
    > directory in /var/www/campsite/www-common/html/index.php on line 12
    > Fatal error: require_once() : Failed opening required '/var/www//configuration.php'
    > (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/campsite/www-common/html/index.php
    > on line 12
    >
    > This is where I'm stuck and I don't know how to advance further on.
    >
    > Thx for your input
    >
    >
    >
    > --
    > Sent from Campware Forums
    > http://code.campware.org/phorum
    >




    ____________________________________________________________________________________
    The fish are biting.
    Get more visitors on your site using Yahoo! Search Marketing.
    http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php
  • Thx for the prompt reply Mugur

    I followed your instruction and edited both files. This time apache can be restarted via cli. When I try to reach localhost/admin/ I get a classic 404

    Here's the file you requested
    http://rapidshare.com/files/14252847/campsite-vhost.conf.html

    TIA
  • by the way, since /var/www/ is your apache document root, you do not
    need to have the campsite core files over there. perhaps you would
    like to have path settings like this instead:

    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=/var/www/campsite/www
    WWW_COMMON_DIR=/var/www/campsite/www-common

    create /var/www/campsite directory before starting the installation process.

    dont bother about this for tests purposes, actually you may use your
    current installation as is, but have this in mind when using Campsite
    for a productive site.


    On 1/31/07, phorum@code.campware.org wrote:
    > Author: FireWolf
    > Link: http://code.campware.org/phorum/read.php?8,5201,5204#msg-5204
    > --------------------------------------------------------------------------------
    >
    > Thx for the reply Holman,
    > To resume the situation;
    > 1. here's a screenshot of the config used during the install http://img99.imageshack.us/img99/6999/screenshot2jl1.png It can help check out the settings
    > 2. Install process went smoothly and completed from step 1-6 like described int he manual here http://code.campware.org/manuals/campsite/2.6/index.php?id=6
    > 3. In step 7 when I try to restart apache I get the error described in my previous post "VirtualHost *:80 --mixing * ports and non -* ports with a NameVirtualHost address is not supported, proceeding with undefined results" I'm runing Apache2 and if you need extra info from a log file pleade indicate me the path where I should look. I'm new to the linux world so I'm not yet very familiar with filesystem structure etc.
    > 4. Since I couldn't restart apache via cli, I did a complete reboot of the system and followed with Step 8 from the manual. I pointed the browser to : http://localhost/campsite/www/campsite/html/ and I get the following warnings:
    > Warning: require_once(/var/www//configuration.php) : failed to open stream: No such file or directory in /var/www/campsite/www-common/html/index.php on line 12
    > Fatal error: require_once() : Failed opening required '/var/www//configuration.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/campsite/www-common/html/index.php on line 12
    >
    > This is where I'm stuck and I don't know how to advance further on.
    >
    > Thx for your input
    >
    >
    >
    > --
    > Sent from Campware Forums
    > http://code.campware.org/phorum
    >


    --
    /holman
  • Hi,

    Please go to: http://campsite/admin/ , _NOT_ http://localhost/admin/

    If it still doesn't work check if you added campsite host name in /etc/hosts:
    127.0.0.1 localhost campsite

    After editing /etc/hosts restart apache.

    Mugur

    --- wrote:
    > Author: FireWolf
    > Link: http://code.campware.org/phorum/read.php?8,5201,5206#msg-5206
    > --------------------------------------------------------------------------------
    >
    > Thx for the prompt reply Mugur
    >
    > I followed your instruction and edited both files. This time apache can be restarted via cli.
    > When I try to reach localhost/admin/ I get a classic 404
    >
    > Here's the file you requested
    > http://rapidshare.com/files/14252847/campsite-vhost.conf.html
    >
    > TIA
    >
    > --
    > Sent from Campware Forums
    > http://code.campware.org/phorum
    >




    ____________________________________________________________________________________
    Do you Yahoo!?
    Everyone is raving about the all-new Yahoo! Mail beta.
    http://new.mail.yahoo.com
  • hi !

    change line 5 in your campsite-vhost.conf file from:

    ServerName campsite

    to

    ServerName localhost

    restart apache and try again


    On 1/31/07, phorum@code.campware.org wrote:
    > Author: FireWolf
    > Link: http://code.campware.org/phorum/read.php?8,5201,5206#msg-5206
    > --------------------------------------------------------------------------------
    >
    > Thx for the prompt reply Mugur
    >
    > I followed your instruction and edited both files. This time apache can be restarted via cli. When I try to reach localhost/admin/ I get a classic 404
    >
    > Here's the file you requested
    > http://rapidshare.com/files/14252847/campsite-vhost.conf.html
    >
    > TIA
    >
    > --
    > Sent from Campware Forums
    > http://code.campware.org/phorum
    >


    --
    /holman
  • Wohooooo It worked!

    @Mugur
    Yeah I already tried that path before and after the changes. It makes sense since the campsite it's in its own folder (/var/www/campsite) Wink No matter the path it dodn't work.
    Regarding the hosts file yeah that file was edites.

    @Holman
    After changing Server Name from campsite to localhost and trying the path Mugur indicated (localhost/campsite/admin) that brought me up the login screen Smile

    THx a lot guys. Good pointers there . Now I'm getting back to work.

    ==>Very Happy Torturing /localhost/campsite in progress Very Happy <==
  • cool! glad to hear that.
    please give us your feedback when you consider. you may help us by
    reporting bugs if found too.

    thanks and have fun!


    On 1/31/07, phorum@code.campware.org wrote:
    > Author: FireWolf
    > Link: http://code.campware.org/phorum/read.php?8,5201,5210#msg-5210
    > --------------------------------------------------------------------------------
    >
    > Wohooooo It worked!
    >
    > @Mugur
    > Yeah I already tried that path before and after the changes. It makes sense since the campsite it's in its own folder (/var/www/campsite) Wink No matter the path it dodn't work.
    > Regarding the hosts file yeah that file was edites.
    >
    > @Holman
    > After changing Server Name from campsite to localhost and trying the path Mugur indicated (localhost/campsite/admin) that brought me up the login screen Smile
    >
    > THx a lot guys. Good pointers there . Now I'm getting back to work.
    >
    > ==>Very Happy Torturing /localhost/campsite in progress Very Happy <==
    >
    > --
    > Sent from Campware Forums
    > http://code.campware.org/phorum
    >


    --
    /holman