in reply to Re: apache2 startup consistency checks
in thread apache2 startup consistency checks
$ /opt/apache/bin/httpd -D USER -D DEVELOPMENT $* -f ~/httpd.conf Syntax error on line 64 of /home/yscottthoennes/httpd.conf: One or more of the following files could not be located:\n file1\n + file2\nin the directory /home/yscottthoennes/www_cache. You must ru +n the build script for the missing files prior to Apache startup.\nCo +mpilation failed in require at (eval 4) line 3.\n $ grep Foo httpd.conf PerlModule Foo $ cat Foo.pm package Foo; use strict; use warnings; my $dir = '/home/yscottthoennes/www_cache'; my @reqd_files = qw/ file1 file2 /; die "One or more of the following files could not be located:\n " . join( "\n ", @reqd_files ) . "\nin the directory $dir. " . "You must run the build script for the missing files " . "prior to Apache startup.\n" if ( grep { ! -r "$dir/$_" } @req +d_files ); 1; $
|
|---|