apache start error
When I start apache I get the following error: can someone help?
Starting httpd2: Number found where operator expected at /etc/httpd/conf/addon-modules/apache2-mod_perl-startup.pl line 36, near "NameVirtualHost 161.184.xxx.xxx" (Do you need to predeclare NameVirtualHost?) Number found where operator expected at /etc/httpd/conf/addon-modules/apache2-mod_perl-startup.pl line 38, near "VirtualHost 161.184.xxx.xxx" (Do you need to predeclare VirtualHost?) [Fri Aug 01 13:48:53 2003] [error] Search pattern not terminated at /etc/httpd/conf/addon-modules/apache2-mod_perl-startup.pl line 39. Compilation failed in require at (eval 1) line 1. [Fri Aug 01 13:48:53 2003] [error] Can't load Perl file: /etc/httpd/conf/addon-modules/apache2-mod_perl-startup.pl for server algxxx76fy42sa.ab.hsia.telus.net:0, exiting... [FAILED] |
Could you please post the file (/etc/httpd/conf/addon-modules/apache2-mod_perl-startup.pl)? Remove all information you don't want to show, of course, but show the lines 36, 38 and 39.
|
use Apache2 ();
use lib qw(/var/www/perl); # If the mod_perl-common package is present, enable # mod_perl 1.0 compatibility mode. Otherwise, we add # /var/www/perl/.modperl2 to the list of searched directories # for libraries, so we can, for example, put a dummy Apache::Status # since it's not present in mod_perl 2.0. use Config; if ( -e "$Config{'vendorarch'}/Apache.pm" ) { require Apache::compat } else { import lib qw(/var/www/perl/.modperl2); } use ModPerl::Util (); #for CORE::GLOBAL::exit use Apache::RequestRec (); use Apache::RequestIO (); use Apache::RequestUtil (); use Apache::Server (); use Apache::ServerUtil (); use Apache::Connection (); use Apache::Log (); use APR::Table (); use ModPerl::Registry (); use Apache::Const -compile => ':common'; use APR::Const -compile => ':common'; 1; NameVirtualHost somthing.com <VirtualHost somthing.com:*> </VirtualHost> |
All times are GMT -5. The time now is 02:15 AM. |