After running the EA3 to EA4 migration script, the Apache service won't start. When I run the command "service httpd start", the operation fails because the script is looking for the Apache binaries in /usr/local/apache, but that directory no longer exists. After running the migration script, the only apache directories I see in /usr/local/ is:
/usr/local/apache.backup
/usr/local/apache.backup_archive/
/usr/local/apache.backup.ea3/
According to the installation instructions, when EasyApache is migrated, the /usr/local/apache directory is supposed to be moved to the /usr/local/apache.3 directory, but there is no apache.3 directory in /usr/local/ after the migration completes. I received several warnings during the migration, but it's hard to tell if those warning mean that the migration was erroring out, or if they were just normal warnings. Unfortunately, I can't remember exactly what the warnings were. I don't want to run the migration again to make note of the warnings because it will bring our website down.
I ran the command to revert EasyApache to EA3, and the script ran without issue. After reverting back to EA3, the Apache service started without issue, and I see the "apache" directory in /usr/local/ once again.
Here is my system information:
/etc/redhat-release:CentOS release 6.6 (Final)
/usr/local/cpanel/version:11.60.0.34
/var/cpanel/envtype:virtuozzo
CPANEL=release
Server version: Apache/2.4.25 (Unix)
Server built: Jan 14 2017 11:06:39
Cpanel::Easy::Apache v3.34.10 rev9999
PHP 5.6.29 (cli) (built: Jan 14 2017 14:12:31)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
mysql Ver 14.14 Distrib 5.5.52, for Linux (x86_64) using readline 5.1
/usr/local/apache.backup
/usr/local/apache.backup_archive/
/usr/local/apache.backup.ea3/
According to the installation instructions, when EasyApache is migrated, the /usr/local/apache directory is supposed to be moved to the /usr/local/apache.3 directory, but there is no apache.3 directory in /usr/local/ after the migration completes. I received several warnings during the migration, but it's hard to tell if those warning mean that the migration was erroring out, or if they were just normal warnings. Unfortunately, I can't remember exactly what the warnings were. I don't want to run the migration again to make note of the warnings because it will bring our website down.
I ran the command to revert EasyApache to EA3, and the script ran without issue. After reverting back to EA3, the Apache service started without issue, and I see the "apache" directory in /usr/local/ once again.
Here is my system information:
/etc/redhat-release:CentOS release 6.6 (Final)
/usr/local/cpanel/version:11.60.0.34
/var/cpanel/envtype:virtuozzo
CPANEL=release
Server version: Apache/2.4.25 (Unix)
Server built: Jan 14 2017 11:06:39
Cpanel::Easy::Apache v3.34.10 rev9999
PHP 5.6.29 (cli) (built: Jan 14 2017 14:12:31)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
mysql Ver 14.14 Distrib 5.5.52, for Linux (x86_64) using readline 5.1