Page 1 of 1

EasyApache 4, CentOS 7 and MariaDB with R1Soft

Posted: Wed May 11, 2016 5:09 am
by WiseWarrior
Hello,

During the installation of ASL on a CentOS 7 server with MariaDB and EasyApache 4, it pumped out the following errors:

Code: Select all

Checking versions ...

        ASL version is current:                                           [PASS]
-------------------------------------------------------------------------------
Errors were encountered:

L CODE SOURCE                        MESSAGE
- ---- ----------------------------- ------------------------------------------
2 48   ASLRBC                        Reverting all changes
2 48   ASLRBC::rollback_file         No valid previous version found for /etc/a
                                     sl/tortix-testing-mirrorlist
2 48   ASLRBC::rollback_file         No valid previous version found for /etc/a
                                     sl/tortix-kernel-xen-mirrorlist
2 48   ASLRBC::rollback_file         No valid previous version found for /etc/a
                                     sl/tortix-kernel-xen-testing-mirrorlist
2 48   ASLRBC::rollback_file         No valid previous version found for /var/c
                                     panel/templates/apache2_4/main.local
3 2    ASLCommon::file_replace       An error occurred attempting to read file
                                     /var/cpanel/templates/apache2_4/main.local
87.117.225.3

Checking versions ...

        ASL version is current:                                           [PASS]
-------------------------------------------------------------------------------
Errors were encountered:

L CODE SOURCE                        MESSAGE
- ---- ----------------------------- ------------------------------------------
2 48   ASLRBC                        Reverting all changes
2 48   ASLRBC::rollback_file         No valid previous version found for /var/c
                                     panel/templates/apache2_4/main.local
3 2    ASLCommon::file_replace       An error occurred attempting to read file
                                     /var/cpanel/templates/apache2_4/main.local
87.117.225.3

Checking versions ...

        ASL version is current:                                           [PASS]
-------------------------------------------------------------------------------
Errors were encountered:

L CODE SOURCE                        MESSAGE
- ---- ----------------------------- ------------------------------------------
2 48   ASLRBC                        Reverting all changes
2 48   ASLRBC::rollback_file         No valid previous version found for /var/c
                                     panel/templates/apache2_4/main.local
3 2    ASLCommon::file_replace       An error occurred attempting to read file
                                     /var/cpanel/templates/apache2_4/main.local
87.117.225.3

Checking versions ...

        ASL version is current:                                           [PASS]
-------------------------------------------------------------------------------
Errors were encountered:

L CODE SOURCE                        MESSAGE
- ---- ----------------------------- ------------------------------------------
2 48   ASLRBC                        Reverting all changes
2 48   ASLRBC::rollback_file         No valid previous version found for /var/c
                                     panel/templates/apache2_4/main.local
3 2    ASLCommon::file_replace       An error occurred attempting to read file
                                     /var/cpanel/templates/apache2_4/main.local
87.117.225.3

Checking versions ...

        ASL version is current:                                           [PASS]
-------------------------------------------------------------------------------
Errors were encountered:

L CODE SOURCE                        MESSAGE
- ---- ----------------------------- ------------------------------------------
2 48   ASLRBC                        Reverting all changes
2 48   ASLRBC::rollback_file         No valid previous version found for /var/c
                                     panel/templates/apache2_4/main.local
3 2    ASLCommon::file_replace       An error occurred attempting to read file
                                     /var/cpanel/templates/apache2_4/main.local
From the looks of things, the issue is due to not being able to detect the apache installation?

Re: EasyApache 4, CentOS 7 and MariaDB with R1Soft

Posted: Mon Aug 15, 2016 5:34 am
by imadsani
anyone able to resolve this? I'm in a similar predicament

Edit: I was able to fix this by navigating to the folder and creating a duplicate file of main.default with the name main.local.

But now I get new errors:

Code: Select all

Errors were encountered:

L CODE SOURCE                        MESSAGE
- ---- ----------------------------- ------------------------------------------
2 9901 ASLCommon::cmd_system         ERROR: '/var/asl/data/templates/template-c
                                     panel-apache-hook cpanel > /var/asl/tmp/wa
                                     f_build.log 2>&1 (1)'
2 401  c_cpanel::_anarchy_waf_update CPanel WAF template update error: /var/asl
                                     /data/templates/template-cpanel-apache-hoo
                                     k cpanel

Code: Select all

2 6    ASLCommon::grep_string: /etc/ File not found /etc/httpd/conf/httpd.conf
2 9901 ASLCommon::cmd_system         ERROR: '/bin/echo "TraceEnable Off" >> /et
                                     c/httpd/conf/httpd.conf (1)'
Why is ASL looking for httpd.conf in /etc/httpd when cpanel places it in: /usr/local/apache/conf/httpd.conf

Re: EasyApache 4, CentOS 7 and MariaDB with R1Soft

Posted: Tue Aug 16, 2016 4:46 pm
by hostingg
why does cpanel put anything in /usr/local, what is this 1995?

Re: EasyApache 4, CentOS 7 and MariaDB with R1Soft

Posted: Thu Aug 18, 2016 5:18 am
by imadsani
I talked to support about these installation issues last night and they said that EasyApache 4 isn't currently supported by ASL v4.x, they've recommended to shift to the beta channel. Otherwise, you'll have to wait for v5 to hit mainstream.

Re: EasyApache 4, CentOS 7 and MariaDB with R1Soft

Posted: Tue Aug 30, 2016 2:32 pm
by adamk
Hi

I registered to this forum just to help, since i had a similiar issue

By default cPanel now will install easyapache4, which is not support with Atomicorp, i had to contact cPanel and they provided me a way to force installation of easyapache 3 instead of 4

what you need to do is run this ssh command prior starting the cPanel installation

touch /etc/install_legacy_ea3_instead_of_ea4

After that, you would run the cPanel installation:

wget -N http://httpupdate.cpanel.net/latest
sh latest

Then once cPanel is installed , you may want to finalize cPanel build apache/php with all mods you need without modsecuirty once its done, you can then proceed with ASL installation normal with the command

wget -q -O - https://updates.atomicorp.com/installers/asl |sh

hope this helps

Goodluck