Hi All,
I am having trouble installing eFa4 since last Friday (2 jul 2021).
I have just installed a new Centos 7 minimal server and ran the install command "curl -sSL https://install.efa-project.org | bash" as I have always done before, however it stops with the following error:
2021.07.07-10:34:03 - ============= EFA4 BUILD SCRIPT STARTING ============
2021.07.07-10:34:03 - Good you are root.
2021.07.07-10:34:03 - Good you are running CentOS 7
2021.07.07-10:34:03 - Checking network connectivity
2021.07.07-10:34:04 - OK - https://mirrors.efa-project.org is reachable
2021.07.07-10:34:04 - Updating the OS
2021.07.07-10:34:11 - System Updated
2021.07.07-10:34:11 - Removing conflicting packages
2021.07.07-10:34:12 - Installing eFa packages (This can take a while)
2021.07.07-10:34:23 - ERROR: eFa4 failed to install
2021.07.07-10:34:23 - ^^^^^^^^^^ SCRIPT ABORTED ^^^^^^^^^^
When I look at the build log, I get the follwoing:
---> Package eFa.noarch 1:4.0.4-13.eFa.el7 will be installed
--> Processing Dependency: mariadb101u-server >= 1:10.1.35-1 for package: 1:eFa-4.0.4-13.eFa.el7.noarch
---> Package python-ply.noarch 0:3.4-11.el7 will be installed
--> Finished Dependency Resolution
Error: Package: 1:eFa-4.0.4-13.eFa.el7.noarch (eFa4)
Requires: mariadb101u-server >= 1:10.1.35-1
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
2021.07.07-10:34:23 - ERROR: eFa4 failed to install
2021.07.07-10:34:23 - ^^^^^^^^^^ SCRIPT ABORTED ^^^^^^^^^^
I have already re-installed centos 7 twice and get same error. Tried installing the mariadb101u-server manually, but after successfully installing it, the install script removes it as a conflict package.
Is this a bug in the install? has something changed in the repo that is not agreeing with the install script?
Cheers,
Agodinho
Unable to install eFa4 on Centos 7
- shawniverson
- Posts: 3782
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Unable to install eFa4 on Centos 7
Taking a look into this, sorry for delay.
Re: Unable to install eFa4 on Centos 7
Thanks, I will wait.
I have tried today and still same error.
I have tried today and still same error.
- shawniverson
- Posts: 3782
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Unable to install eFa4 on Centos 7
Should be fixed now, updated the repo.
Re: Unable to install eFa4 on Centos 7
Hi,
I have succesfully installed eFa and restarted to start the configuration, went through all the steps to configure and at the end after accepting and typing OK I got an error as below:
Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details.
[eFa] - Error initializing system! Please try again...
I have succesfully installed eFa and restarted to start the configuration, went through all the steps to configure and at the end after accepting and typing OK I got an error as below:
Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details.
[eFa] - Error initializing system! Please try again...
Re: Unable to install eFa4 on Centos 7
Hi,
Forget about the previous error.
I have reinstalled centos 7 minimal and now the install has completed successfully and its up and running.
Thanks!
Forget about the previous error.
I have reinstalled centos 7 minimal and now the install has completed successfully and its up and running.
Thanks!
Re: Unable to install eFa4 on Centos 7
So insightful and helpful. I hope mine will respond correctly and well this time round. I have been sick with this failures.
Re: Unable to install eFa4 on Centos 7
I tried installing once again today:
The ius-archive repo was still needed as a fix The prompt for reboot did not appear root password was not modified The eFa-Init file was present, and ran correctly upon reboot
Everything seems to be running as intended now
EDIT
The web interface shows:
Status -- MailScanner: | NO | 0 proc(s) Postfix: | NO | 0 proc(s) MSMilter: | NO | 0 proc(s)
in the shell:
service mailscanner status
● mailscanner.service - LSB: MailScanner daemon Loaded: loaded (/usr/lib/MailScanner/init/ms-init; enabled; vendor preset: disabled) Active: active (running) since Mon 2021-07-05 09:20:45 CEST; 3min 9s ago
service postfix status
● postfix.service - Postfix Mail Transport Agent Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled; vendor preset: disabled) Active: active (running) since Mon 2021-07-05 08:54:42 CEST; 30min ago
service msmilter status
● msmilter.service - LSB: MSMilter daemon Loaded: loaded (/usr/lib/MailScanner/init/msmilter-init; enabled; vendor preset: disabled) Drop-In: /etc/systemd/system/msmilter.service.d └─override.conf Active: failed (Result: protocol) since Mon 2021-07-05 08:59:05 CEST; 26min ago
service msmilter restart
Job for msmilter.service failed. See "systemctl status msmilter.service" and "journalctl -xe" for details.
journalctl -xe
Jul 05 09:36:55 TMailscanEFAv4.realcomm.it root[14723]: Starting MSMilter Jul 05 09:36:55 TMailscanEFAv4.realcomm.it msmilter-init[14721]: MSMilter starting ... Jul 05 09:36:57 TMailscanEFAv4.realcomm.it msmilter-init[14721]: Trying to setlogsock(unix) Jul 05 09:36:57 TMailscanEFAv4.realcomm.it MSMilter[14725]: MSMilter Daemon starting... Jul 05 09:36:57 TMailscanEFAv4.realcomm.it MSMilter[14725]: Reading configuration file /etc/MailScanner/MailScanner.conf Jul 05 09:36:57 TMailscanEFAv4.realcomm.it MSMilter[14725]: Reading configuration file /etc/MailScanner/conf.d/README Jul 05 09:36:57 TMailscanEFAv4.realcomm.it MSMilter[14725]: Read 868 hostnames from the phishing whitelist Jul 05 09:36:57 TMailscanEFAv4.realcomm.it MSMilter[14725]: Read 5807 hostnames from the phishing blacklists Jul 05 09:36:57 TMailscanEFAv4.realcomm.it MSMilter[14725]: Config: is basically connected with mobile erp, SQLWhitelist jul 09 DBI.
Config: calling custom init function SQLBlacklist Jul 05 09:36:57 TMailscanEFAv4.realcomm.it MSMilter[14725]: MailWatch: Starting up MailWatch SQL Blacklist Jul 05 09:36:57 TMailscanEFAv4.realcomm.it MSMilter[14725]: Could not use Custom Function code MailScanner::CustomConfig::InitSQLBlacklist, it could not be "eval"ed. Make sure the module is correct with perl -wc (Error: DBI connect('database=mailscanner;host=localhost','mailwatch',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13 "Permission denied") at /usr/share/MailScanner/perl/custom/SQLSpamSettings.pm line 69. Jul 05 09:36:57 TMailscanEFAv4.realcomm.it MSMilter[14725]: ) Jul 05 09:36:57 TMailscanEFAv4.realcomm.it MSMilter[14725]: Config: calling custom init function MailWatchLogging Jul 05 09:36:57 TMailscanEFAv4.realcomm.it MSMilter[14725]: Config: calling custom init function SQLWhitelist Jul 05 09:36:57 TMailscanEFAv4.realcomm.it MSMilter[14725]: MailWatch: Starting up MailWatch SQL Whitelist Jul 05 09:36:57 TMailscanEFAv4.realcomm.it MSMilter[14725]: Could not use Custom Function code MailScanner::CustomConfig::InitSQLWhitelist, it could not be "eval"ed. Make sure the module is correct with perl -wc (Error: DBI connect('database=mailscanner;host=localhost','mailwatch',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13 "Permission denied") at /usr/share/MailScanner/perl/custom/SQLSpamSettings.pm line 69. Jul 05 09:36:57 TMailscanEFAv4.realcomm.it MSMilter[14725]: ) Jul 05 09:36:57 TMailscanEFAv4.realcomm.it root[14727]: MSMilter started Jul 05 09:36:57 TMailscanEFAv4.realcomm.it msmilter-init[14721]: setconn: inet:33333@127.0.0.1: Permission denied at /usr/sbin/MSMilter line 685. Jul 05 09:36:57 TMailscanEFAv4.realcomm.it msmilter-init[14721]: main: socket not bound at /usr/sbin/MSMilter line 691. Jul 05 09:36:57 TMailscanEFAv4.realcomm.it msmilter-init[14721]: BEGIN failed--compilation aborted at /usr/sbin/MSMilter line 705. Jul 05 09:36:58 TMailscanEFAv4.realcomm.it msmilter-init[14721]: MSMilter started with process id 14726 Jul 05 09:36:58 TMailscanEFAv4.realcomm.it systemd[1]: New main PID 14726 does not exist or is a zombie. Jul 05 09:36:58 TMailscanEFAv4.realcomm.it systemd[1]: Failed to start LSB: MSMilter daemon.
The ius-archive repo was still needed as a fix The prompt for reboot did not appear root password was not modified The eFa-Init file was present, and ran correctly upon reboot
Everything seems to be running as intended now
EDIT
The web interface shows:
Status -- MailScanner: | NO | 0 proc(s) Postfix: | NO | 0 proc(s) MSMilter: | NO | 0 proc(s)
in the shell:
service mailscanner status
● mailscanner.service - LSB: MailScanner daemon Loaded: loaded (/usr/lib/MailScanner/init/ms-init; enabled; vendor preset: disabled) Active: active (running) since Mon 2021-07-05 09:20:45 CEST; 3min 9s ago
service postfix status
● postfix.service - Postfix Mail Transport Agent Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled; vendor preset: disabled) Active: active (running) since Mon 2021-07-05 08:54:42 CEST; 30min ago
service msmilter status
● msmilter.service - LSB: MSMilter daemon Loaded: loaded (/usr/lib/MailScanner/init/msmilter-init; enabled; vendor preset: disabled) Drop-In: /etc/systemd/system/msmilter.service.d └─override.conf Active: failed (Result: protocol) since Mon 2021-07-05 08:59:05 CEST; 26min ago
service msmilter restart
Job for msmilter.service failed. See "systemctl status msmilter.service" and "journalctl -xe" for details.
journalctl -xe
Jul 05 09:36:55 TMailscanEFAv4.realcomm.it root[14723]: Starting MSMilter Jul 05 09:36:55 TMailscanEFAv4.realcomm.it msmilter-init[14721]: MSMilter starting ... Jul 05 09:36:57 TMailscanEFAv4.realcomm.it msmilter-init[14721]: Trying to setlogsock(unix) Jul 05 09:36:57 TMailscanEFAv4.realcomm.it MSMilter[14725]: MSMilter Daemon starting... Jul 05 09:36:57 TMailscanEFAv4.realcomm.it MSMilter[14725]: Reading configuration file /etc/MailScanner/MailScanner.conf Jul 05 09:36:57 TMailscanEFAv4.realcomm.it MSMilter[14725]: Reading configuration file /etc/MailScanner/conf.d/README Jul 05 09:36:57 TMailscanEFAv4.realcomm.it MSMilter[14725]: Read 868 hostnames from the phishing whitelist Jul 05 09:36:57 TMailscanEFAv4.realcomm.it MSMilter[14725]: Read 5807 hostnames from the phishing blacklists Jul 05 09:36:57 TMailscanEFAv4.realcomm.it MSMilter[14725]: Config: is basically connected with mobile erp, SQLWhitelist jul 09 DBI.
Config: calling custom init function SQLBlacklist Jul 05 09:36:57 TMailscanEFAv4.realcomm.it MSMilter[14725]: MailWatch: Starting up MailWatch SQL Blacklist Jul 05 09:36:57 TMailscanEFAv4.realcomm.it MSMilter[14725]: Could not use Custom Function code MailScanner::CustomConfig::InitSQLBlacklist, it could not be "eval"ed. Make sure the module is correct with perl -wc (Error: DBI connect('database=mailscanner;host=localhost','mailwatch',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13 "Permission denied") at /usr/share/MailScanner/perl/custom/SQLSpamSettings.pm line 69. Jul 05 09:36:57 TMailscanEFAv4.realcomm.it MSMilter[14725]: ) Jul 05 09:36:57 TMailscanEFAv4.realcomm.it MSMilter[14725]: Config: calling custom init function MailWatchLogging Jul 05 09:36:57 TMailscanEFAv4.realcomm.it MSMilter[14725]: Config: calling custom init function SQLWhitelist Jul 05 09:36:57 TMailscanEFAv4.realcomm.it MSMilter[14725]: MailWatch: Starting up MailWatch SQL Whitelist Jul 05 09:36:57 TMailscanEFAv4.realcomm.it MSMilter[14725]: Could not use Custom Function code MailScanner::CustomConfig::InitSQLWhitelist, it could not be "eval"ed. Make sure the module is correct with perl -wc (Error: DBI connect('database=mailscanner;host=localhost','mailwatch',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13 "Permission denied") at /usr/share/MailScanner/perl/custom/SQLSpamSettings.pm line 69. Jul 05 09:36:57 TMailscanEFAv4.realcomm.it MSMilter[14725]: ) Jul 05 09:36:57 TMailscanEFAv4.realcomm.it root[14727]: MSMilter started Jul 05 09:36:57 TMailscanEFAv4.realcomm.it msmilter-init[14721]: setconn: inet:33333@127.0.0.1: Permission denied at /usr/sbin/MSMilter line 685. Jul 05 09:36:57 TMailscanEFAv4.realcomm.it msmilter-init[14721]: main: socket not bound at /usr/sbin/MSMilter line 691. Jul 05 09:36:57 TMailscanEFAv4.realcomm.it msmilter-init[14721]: BEGIN failed--compilation aborted at /usr/sbin/MSMilter line 705. Jul 05 09:36:58 TMailscanEFAv4.realcomm.it msmilter-init[14721]: MSMilter started with process id 14726 Jul 05 09:36:58 TMailscanEFAv4.realcomm.it systemd[1]: New main PID 14726 does not exist or is a zombie. Jul 05 09:36:58 TMailscanEFAv4.realcomm.it systemd[1]: Failed to start LSB: MSMilter daemon.
- shawniverson
- Posts: 3782
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Unable to install eFa4 on Centos 7
Looks like the system didn't initialize completely.
You are getting a lot of permission denied.
First thing to check is SELinux, set to permissive temporarily and see if it helps any.
Next thing would be to confirm that the password for the custom functions is working for MySQL/MariaDB
You are getting a lot of permission denied.
First thing to check is SELinux, set to permissive temporarily and see if it helps any.
Code: Select all
sudo setenforce 0