Installing Apache

Roconda

Verified User
Joined
Jun 24, 2006
Messages
6
When I am installing apache + mod_perl I got this msg.

*************************************
* *
* All parts have been installed *
* *
*************************************

Type: /sbin/service httpd restart
[root@serv02 customap]# /sbin/service httpd restart
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 71 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/lib/apache/mod_perl.so into server: /usr/lib/apache/mod_perl.so: cannot open shared object file: No such file or directory
[FAILED]
I treid a few times but I still got the same error, can someone helpme?

.Roconda
 
You may have to reinstall it again.

Try:

Code:
cd /usr/local/directadmin/customapache
./build update
./build clean
./build mod_perl
/sbin/service httpd restart
 
chatwizrd said:
You may have to reinstall it again.

Try:

Code:
cd /usr/local/directadmin/customapache
./build update
./build clean
./build mod_perl
/sbin/service httpd restart

I did it but I got still
[root@serv02 customap]# /sbin/service httpd restart
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 71 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/lib/apache/mod_perl.so into server: /usr/lib/apache/mod_perl.so: cannot open shared object file: No such file or directory
[FAILED]
 
You could try:

Code:
find / -name mod_perl.so

mod_perl may be also using libperl.so instead

Check for this section in httpd.conf

Code:
<IfDefine HAVE_PERL>
LoadModule perl_module        modules/libperl.so
</IfDefine>

My server doesnt have a mod_perl.so either. So you may just want to comment that line out with a # in your httpd.conf that is calling for mod_perl.so
 
chatwizrd said:
You could try:

Code:
find / -name mod_perl.so

mod_perl may be also using libperl.so instead

Check for this section in httpd.conf

Code:
<IfDefine HAVE_PERL>
LoadModule perl_module        modules/libperl.so
</IfDefine>

My server doesnt have a mod_perl.so either. So you may just want to comment that line out with a # in your httpd.conf that is calling for mod_perl.so

Okay, I commented that line.
but now I got an other strange error.

[root@serv02 customap]# /sbin/service httpd start
Starting httpd: Syntax error on line 90 of /etc/httpd/conf/httpd.conf:
Invalid command 'Order', perhaps mis-spelled or defined by a module not included in the server configuration
[FAILED]
[root@serv02 customap]#

,Roconda
 
<Directory "/var/www/html">
Options -Indexes FollowSymLinks
AllowOverride None
*90* Order allow,deny
Allow from all
</Directory>
 
You could try commenting out that line, but I think you have a syntax problem elsewhere.

It's probably something like missing closing quote (") or misspelled </IfDefine>.

Would you post the whole httpd.conf file here?
 
Back
Top