Advertisement

05.01.2008 at 09:55AM PDT, ID: 23369263 | Points: 125
[x]
Attachment Details

Apache 2.2.6_2 errors during pkg_add install

Tags: FreeBSD, FreeBSD 7, 7, Apache 2.2.6_2 installed via pkg_add
SETUP:

OS:
FreeBSD 7.0

INSTALLED APPS:
mySQL 5.0.45
Apache 2.2.6_2 (almost)

PROBLEM:
When installing Apache 2.2.6_2 via pkg_add the following occurred:

pkg_add -r apache22

Added group "www".
Added user "www".

cp: /usr/local/share/examples/apache22/www/apache22/data/index.html: No such file or directory.

pkg_add: command '[ -f /usr/local/www/apache22/data/index.html   /usr/local/www/apache22/data/index.html' FAILED

To run apache www server from startup, add apache22_enable="YES" (WHICH I DID) in your /etc/rc.conf. Extra options can be found in startup script.

AFTER A REBOOT OF FreeBSD 7:

Starting Apache22
Syntax error on line 151 of /usr/local/etc/apache22/httpd.conf: DocumentRoot must be a directory.

THE ONLY THING I ALTERED WAS ADDING apache22_enable="YES" TO RC.CONF.

Please provide some guidance! I would much appreciate it! :~)

Start your free trial to view this solution
Question Stats
Zone: OS
Question Asked By: supercell29
Question Asked On: 05.01.2008
Participating Experts: 3
Points: 125
Views: 0
Translate:
Loading Advertisement...
05.01.2008 at 11:45AM PDT, ID: 21481390

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.01.2008 at 11:49AM PDT, ID: 21481424

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.01.2008 at 11:51AM PDT, ID: 21481446

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.01.2008 at 11:57AM PDT, ID: 21481491

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.01.2008 at 12:51PM PDT, ID: 21482038

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.01.2008 at 01:34PM PDT, ID: 21482476

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.03.2008 at 08:31AM PDT, ID: 21492655

Rank: Wizard

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.18.2008 at 02:40AM PDT, ID: 21592085

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080236-EE-VQP-29 / EE_QW_2_20070628