PDA

View Full Version : Installing Apache


Roconda
07-03-2006, 05:26 AM
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

chatwizrd
07-03-2006, 09:47 AM
You may have to reinstall it again.

Try:


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

Roconda
07-03-2006, 10:30 AM
Originally posted by chatwizrd
You may have to reinstall it again.

Try:


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]

chatwizrd
07-03-2006, 12:19 PM
You could try:


find / -name mod_perl.so



mod_perl may be also using libperl.so instead

Check for this section in httpd.conf



<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

Roconda
07-03-2006, 02:24 PM
Originally posted by chatwizrd
You could try:


find / -name mod_perl.so



mod_perl may be also using libperl.so instead

Check for this section in httpd.conf



<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

chatwizrd
07-03-2006, 02:56 PM
What is on line 90?

In nano use ctrl + c to see what line your on.

Roconda
07-03-2006, 02:59 PM
<Directory "/var/www/html">
Options -Indexes FollowSymLinks
AllowOverride None
*90* Order allow,deny
Allow from all
</Directory>

Roconda
07-04-2006, 02:45 PM
Someone who can help me with it, OS is centos linux.

Webcart
07-06-2006, 09:13 AM
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?

Scorpic
02-22-2007, 09:40 AM
Hello!


Have same problems.
Any have solution?

Thanks