• 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

Migration to Plesk 12.5 Problems missing apache modules

Peter_R

Basic Pleskian
Hello
I am a basic Plesk 12 user
i use Plesk 12 on CentOS 6.6 ( Plesk Web Host Edition )
I Use Plesk to host a lot of website and my hardware is running low on resources.

I want to Migrate to much better hardware and to New Plesk 12.5 Version CentOS 7
i am running some testing and i find it impossible for me to do Full Migration to a new server.

I Need help resolving issues with migration.

For starters.
I attached Transfer Pre-Check screenshot to show issues.

I Have problems with:
1 - to get existing email transferred - they don't get transferred.
2 - to get existing website working

Looks like Plesk 12 Varies a lot from 12.5 in Default settings and makes transfer incompatible.
Hello Odin? Whats ups with that. Why Default hosting panels are not compatible.
Transfer then would be possible.

FISRT OF ALL:
Transfer Pre-Check:
Shows That i have Missing Apache Modules and some Disabled.
They were all available on Plesk12 and enabled. Why they missing from 12.5 Installation and i can not Enable ( Grayed out ) PHP5 Apache Module.

This is very Frustrating.
Please anyone who can help me for an advise on how to solve these problems.
Thanks

Transfer Precheck.pngphp5 not possible to enable.png
 
Hi Peter_R,

Hello Odin? Whats ups with that. Why Default hosting panels are not compatible.
well, Apache2-MPM-Event does not work with "libapache2-mod-php5" ( apache modlue "php5" ), it depends to Apache2-MPM-Prefork.

Please check as well again WHAT'S written on top: "Note that some modules are interdependent and can be switched off ( on ) only when the modules they depend on are off ( on )."

Please use "a2enmod MODULE_NAME", to enable a module, or "a2dismod MODULE_NAME" to disable a module. Modules which are not yet available can be easily installed by using "yum install".


If you experience issues, please add the corresponding log - file from the migration procedure and/or add errors from the command line, so that people willing to help don't have to guess, what might be the cause of your issue.
 
Thank you for your reply
but i don't believe that command "a2enmod MODULE_NAME" works in Centos 7,
I switch to prefork and found PHP5 module and enabled it...

remaining modules don't work also i can not enable it using "yum install"

I still dont know how to install Python module in plesk12.5 and Centos 7

help still needed
 
Hi Peter_R,

but i don't believe that command "a2enmod MODULE_NAME" works in Centos 7,
sorry... you are right. CentOS/RHEL - based systems can't use these commands.

The apache module "python" for example, can be installed on CentOS/RHEL - based systems with the commands:

yum install mod_python
service httpd restart


To enable disabled modules in CentOS/RHEL - based systems, you will have to go to "/etc/httpd/conf.d/" and rename the module - configuration files to their initial "module_name.conf" - name. Only files with the correct *.conf - ending will be enabled. Afterwards, please restart apache.
 
Hi
this yum install mod_python .. fails "No package available"

as far as the modules to enable i think they located in
"/etc/httpd/conf.modules.d/" mentioned location "/etc/httpd/conf.d/" i think its for apache only

furthermore i wonder why Missing Apache Modules are Enabled by Default in Plesk 12 Apache config Installation, but they are nowhere to be found in Plesk 12.5 Apache Module configuration.
and Yum is not helping here

my websites are not working and i assume some of these modules are required and i am still stuck.
 
Hi Peter_R,

only on CentOS 5, RedHat Enterprise Linux 5, CloudLinux 5, Plesk is shipped with Apache 2.2.31. On all other systems, apache is a THIRD PARTY COMPONENT and will be installed from your vendor's repositories. Please see as reference: http://docs.plesk.com/release-notes/12.5/software-requirements/


You can always confirm your installed rpms with the command:

rpm -qi PACKAGE-NAME

( in your case, you would use: rpm -qi httpd )


Now back to your issue "No package available", when you try to install "yum install mod_python":

Please consider to enable "EPEL 7 repository", because "mod_python" is not part of CentOS 7 ( please see as well: http://pkgs.org/centos-7/lux/mod_python-3.5.0-16.el7.lux.1.x86_64.rpm.html ).

Please note, that mod_python is no longer supported by httpd project according to the Apache official website. You could try to use "mod_wsgi" instead.

If you would like to compile mod_python from source ( latest version is 3.5.0 at the moment ), then you could do:

Code:
yum -y install python-devel

cd /usr/local/src/
wget http://dist.modpython.org/dist/mod_python-3.5.0.tgz
tar xfz mod_python-3.5.0.tgz
cd mod_python-3.5.0
./configure
make
make install

echo 'LoadModule python_module modules/mod_python.so' > /etc/httpd/conf.modules.d/python.conf

systemctl restart httpd.service



How to determine, WHICH modules are already compiled with your currently installed apache - version?

apachectl -M | sort

... will list all installed modules, sorted in alphabetical order.


To enable a compiled module, just follow the above example for mod_python, or to disable a module, just rename an existing *.conf - file to *.conf.backup , so that it won't be loaded with the next restart.
 
Back
Top