• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Apache not start

D

decha.k

Guest
I am using PLESK 8.0.1 on FreeBSD 6.0, On yesterday my httpd service was stop but other service such as qmail,psa and more are already running, only httpd service was stop and i try to restart httpd service from Plesk Control Panel, result is that not work. I don't know what happen. httpd service is stop automatic.

When i comment
#LoadModule perl_module libexec/mod_perl.so
#PerlSwitches -I /usr/local/psa/lib/perl5/site_perl/5.8.8/mach

and start httpd service, surprise !! it running. but when i browse my web site it show list of files that locate in /usr/local/psa/apache/www/data instead of /usr/local/psa/home/vhost/[any website] and i can login to Plesk Control Panel (https://mywebsite:8443)

Please help me fix this problem!!
 
again, when i uncomment 2 lines are

LoadModule perl_module libexec/mod_perl.so
PerlSwitches -I /usr/local/psa/lib/perl5/site_perl/5.8.8/mach

from /usr/local/psa/apache/conf/httpd.conf

and restart httpd service, it show following message

ns1# /usr/loca/psa/apache/bin/apachectl restart
Syntax error on line 308 of /usr/local/psa/apache/conf/httpd.conf:
Cannot load /usr/local/psa/apache/libexec/mod_perl.so into server: /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so: Undefined symbol "__h_errno"
ns1#

It show that problem is about perl
 
Hi,

Did you make any [incomplete] perl updates ?
Try reinstalling the same version [5.8.8] of perl on the server. It may fix the issue.
 
thanks virajn,

I reinstall perl by using ports, here is my step

first: i stop PLESK by
#/usr/local/psa/rc.d/psa stop

then: i delete perl-5.8.8.tgz by
#pkg_delete perl-5.8.8.tgz

and then: install perl-5.8.8.tgz by
#pkg_add perl-5.8.8.tgz

Finaly: start PLESK
#/usr/local/psa/rc.d/psa start

I do that step, but i not work!!. I try
 
Back
Top