m0rpheu5

Well-Known Member
Jun 16, 2005
75
0
156
Brazil, Curitiba/PR
cPanel Access Level
Root Administrator
Hello guys, i start to get problem on mod_perl after i run the EasyApache, when i run it, i got a error on the compilation, follow below the error on the compilation log.

Code:
Updating Apache configuration
Updating Apache configuration
Updating Apache configuration
Distilled successfully
!! Failed to utilize existing Apache configuration file. Resetting Apache configuration to default. !!
Updating Apache configuration
Updating Apache configuration
Distilled successfully
!! Failed to generate a syntactically correct Apache configuration (/usr/local/apache/conf/httpd.conf.1358370351):
An error occurred while running: /usr/local/apache/bin/httpd -DSSL -t -f /usr/local/apache/conf/httpd.conf.1358370351
Exit signal was: 0
Exit value was: 1
Output was:
---
httpd: Syntax error on line 33 of /usr/local/apache/conf/httpd.conf.1358370351: Cannot load /usr/local/apache/modules/mod_perl.so into server: libperl.so: cannot open shared object file: No such file or directory
---
and if i try to run on the SSH /etc/init.d/httpd stop or start i got:

Code:
httpd: Syntax error on line 33 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/mod_perl.so into server: libperl.so: cannot open shared object file: No such file or directory
The problem is that on /usr/local/apache/modules there is the mod_perl.so right there, i look for the libperl.so, and i fount it on many places like:

Code:
/home/installd/perl588installer/perl-5.8.8/libperl.so
/usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE/libperl.so
/usr/lib64/perl5/CORE/libperl.so
/usr/local/cpanel/perl/libperl.so
/usr/local/cpanel/perl/libperl.so.3
/usr/local/lib/perl5/5.8.8/x86_64-linux/CORE/libperl.so
So please what could be? This happens after i run the EasyApache to compile it with CurlSSL and Soap.

Thanks
 

m0rpheu5

Well-Known Member
Jun 16, 2005
75
0
156
Brazil, Curitiba/PR
cPanel Access Level
Root Administrator
No I don't think so. This post might be helpful to you. Have a look:
error 500 bug (cpanel/whm & sites not working) - cPanel Forums

No, this not fixed my problem, i run right now:

Code:
/usr/local/cpanel/scripts/perlinstaller --force Storable
/usr/local/cpanel/scripts/upcp
and i still get on try to restart the HTTPD

Code:
httpd: Syntax error on line 33 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/mod_perl.so into server: libperl.so: cannot open shared object file: No such file or directory
Until now i´m commenting the line LoadModule perl_module modules/mod_perl.so into the httpd.conf with a # to not get the problem, but i want to fix this issue.

Any other suggestion?
 

Infopro

Well-Known Member
May 20, 2003
17,075
524
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
Yes, and its a good one. :)

From within your WHM, on that Support menu, top right corner of any page is a link to "Contact cPanel" use that and put in a ticket to the cPanel Technical team so they can get you sorted quickly.

Those guys can fix anything *.cPanel I'm sure of it.


Good luck!