Page 1 of 1

sudo: /usr/sbin/eFa-Configure: command not found

Posted: 10 Jan 2020 16:24
by Alleyviper
Recent messages stopped working since 31-12-2019
Getting into console there is an erro

Code: Select all

  sudo: /usr/sbin/eFa-Configure: command not found   

Re: sudo: /usr/sbin/eFa-Configure: command not found

Posted: 10 Jan 2020 19:28
by gregecslo
Yeah I also have no recent messages.
Mailflow works OK.

Have the very same error in console.

Re: sudo: /usr/sbin/eFa-Configure: command not found

Posted: 10 Jan 2020 23:25
by jamerson
make sure your EFA is update.
we've found the issue and fixed it on the last cron job.

Re: sudo: /usr/sbin/eFa-Configure: command not found

Posted: 11 Jan 2020 08:26
by gregecslo
Umm okay....

I did yum update and it found Mailwatch update and bunch of php updates.
Efa is still at 4.0.0

How do we update to 4.0.1 ?

I have repo added in yum repos.

After mailwatch update there are no more messages added to gui.
Also error remains: sudo: /usr/sbin/eFa-Configure: command not found

Any idea?

Thanks!

Re: sudo: /usr/sbin/eFa-Configure: command not found

Posted: 11 Jan 2020 13:25
by henk
There are 2 things to keep in mind if you want to update, when using a previous efa4 build from the testing repo.

1. Change to the production repo viewtopic.php?f=8&t=3879

2 Request a free maxind licence viewtopic.php?f=8&t=4067

And enter the licence via the configure option screen from Efa.

Works fine :clap:

Re: sudo: /usr/sbin/eFa-Configure: command not found

Posted: 11 Jan 2020 13:34
by shawniverson
gregecslo wrote: 11 Jan 2020 08:26 Umm okay....

I did yum update and it found Mailwatch update and bunch of php updates.
Efa is still at 4.0.0

How do we update to 4.0.1 ?

I have repo added in yum repos.

After mailwatch update there are no more messages added to gui.
Also error remains: sudo: /usr/sbin/eFa-Configure: command not found

Any idea?

Thanks!
Please run this and report back...

Code: Select all

rpm -qa | grep ^eFa

Re: sudo: /usr/sbin/eFa-Configure: command not found

Posted: 11 Jan 2020 13:35
by gregecslo
Hi.

Output:

Code: Select all

[root@as ~]# rpm -qa | grep ^eFa
eFa-base-4.0.0-1.eFa.el7.x86_64

Re: sudo: /usr/sbin/eFa-Configure: command not found

Posted: 11 Jan 2020 13:37
by gregecslo
I have prod repo:

Code: Select all

[root@as ~]# cat /etc/yum.repos.d/eFa4.repo
[eFa4]
name=eFa-Project
baseurl=https://dl.efa-project.org/rpm/eFa4/x86_64
mirrorlist=https://dl.efa-project.org/rpm/eFa4/mirrors-eFa
failovermethod=priority
enabled=1
Problem is, I can`t even update to 4.0.1

Re: sudo: /usr/sbin/eFa-Configure: command not found

Posted: 11 Jan 2020 13:49
by gregecslo
And output of yum update:

Code: Select all

Dependencies Resolved

=============================================================================================================================================================================================================================================
 Package                                                           Arch                                              Version                                                        Repository                                          Size
=============================================================================================================================================================================================================================================
Updating:
 MailWatch                                                         x86_64                                            1:1.2.14-1.eFa.el7                                             eFa4                                               1.3 M
 certbot                                                           noarch                                            1.0.0-1.el7                                                    epel                                                41 k
 microcode_ctl                                                     x86_64                                            2:2.1-53.7.el7_7                                               updates                                            2.5 M
 mod_php72u                                                        x86_64                                            7.2.26-1.el7.ius                                               ius                                                3.1 M
 nss                                                               x86_64                                            3.44.0-7.el7_7                                                 updates                                            854 k
 nss-softokn                                                       x86_64                                            3.44.0-8.el7_7                                                 updates                                            330 k
 nss-softokn-freebl                                                x86_64                                            3.44.0-8.el7_7                                                 updates                                            224 k
 nss-sysinit                                                       x86_64                                            3.44.0-7.el7_7                                                 updates                                             65 k
 nss-tools                                                         x86_64                                            3.44.0-7.el7_7                                                 updates                                            528 k
 nss-util                                                          x86_64                                            3.44.0-4.el7_7                                                 updates                                             79 k
 php72u-cli                                                        x86_64                                            7.2.26-1.el7.ius                                               ius                                                4.8 M
 php72u-common                                                     x86_64                                            7.2.26-1.el7.ius                                               ius                                                1.2 M
 php72u-fpm                                                        x86_64                                            7.2.26-1.el7.ius                                               ius                                                1.6 M
 php72u-gd                                                         x86_64                                            7.2.26-1.el7.ius                                               ius                                                185 k
 php72u-json                                                       x86_64                                            7.2.26-1.el7.ius                                               ius                                                 72 k
 php72u-ldap                                                       x86_64                                            7.2.26-1.el7.ius                                               ius                                                 79 k
 php72u-mbstring                                                   x86_64                                            7.2.26-1.el7.ius                                               ius                                                499 k
 php72u-mysqlnd                                                    x86_64                                            7.2.26-1.el7.ius                                               ius                                                241 k
 php72u-pdo                                                        x86_64                                            7.2.26-1.el7.ius                                               ius                                                133 k
 php72u-process                                                    x86_64                                            7.2.26-1.el7.ius                                               ius                                                 88 k
 php72u-xml                                                        x86_64                                            7.2.26-1.el7.ius                                               ius                                                211 k
 python-requests                                                   noarch                                            2.6.0-8.el7_7                                                  updates                                             95 k
 python2-acme                                                      noarch                                            1.0.0-1.el7                                                    epel                                                74 k
 python2-certbot                                                   noarch                                            1.0.0-1.el7                                                    epel                                               358 k
 python2-certbot-apache                                            noarch                                            1.0.0-1.el7                                                    epel                                               107 k
 tnef                                                              x86_64                                            1.4.18-1.el7                                                   epel                                                56 k

Re: sudo: /usr/sbin/eFa-Configure: command not found

Posted: 11 Jan 2020 13:51
by shawniverson
Please run this:

(You are missing the update rpm for some reason)

Code: Select all

sudo yum install eFa

Re: sudo: /usr/sbin/eFa-Configure: command not found

Posted: 11 Jan 2020 13:56
by gregecslo
Just did that and it installed it and Mailwatch too.

But still on 4.0.0

Code: Select all

[root@as ~]# sudo yum install eFa
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.easyname.at
 * eFa4: dl.efa-project.org
 * epel: mirror.euserv.net
 * extras: mirror.easyname.at
 * updates: ftp.arnes.si
Package 1:eFa-4.0.1-8.eFa.el7.x86_64 already installed and latest version
Nothing to do
[root@as ~]# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.easyname.at
 * eFa4: dl.efa-project.org
 * epel: mirror.euserv.net
 * extras: mirror.easyname.at
 * updates: ftp.arnes.si
No packages marked for update

Re: sudo: /usr/sbin/eFa-Configure: command not found

Posted: 11 Jan 2020 13:56
by gregecslo

Code: Select all

[root@as ~]# rpm -qa | grep ^eFa
eFa-base-4.0.0-1.eFa.el7.x86_64
eFa-4.0.1-8.eFa.el7.x86_64

Re: sudo: /usr/sbin/eFa-Configure: command not found

Posted: 11 Jan 2020 14:01
by gregecslo

Code: Select all

--------------------------------------------------------------
---        Welcome to the eFa Configuration program        ---
---               https://www.efa-project.org              ---
--------------------------------------------------------------


You are currently running eFa-4.0.0.

Please choose an option:

0) Logout from ssh                    9)  MariaDB Recovery
1) Shell                              10) Apache Settings
2) Reboot system                      11) Virus Settings
3) Halt system                        12) System Restore
4) IP Settings                        13) Update Now
5) Tunables                           14) Maintenance Mode
6) MailWatch Settings                 15) Let's Encrypt
7) Mail Settings                      16) DKIM and DMARC
8) Spam Settings                      17) Webmin

[eFa] :
Mailwatch also says 4.0.0

And now after I just updated no more recent messages in Mailwatch

Re: sudo: /usr/sbin/eFa-Configure: command not found

Posted: 11 Jan 2020 14:22
by shawniverson
Anything in /var/log/eFa/update.log ?

Re: sudo: /usr/sbin/eFa-Configure: command not found

Posted: 11 Jan 2020 14:46
by gregecslo
There is no such file.

How to update efa to 4.0.1 if coming from 4.0.0 stable anyway?

Just yum update?

BTW I have selinux disabled is this a problem?

Re: sudo: /usr/sbin/eFa-Configure: command not found

Posted: 11 Jan 2020 14:56
by shawniverson
Normally, yes, but your system was in a broken state for some reason. You should not have been missing the update rpm.

Let's attempt to manually fix...

Code: Select all

wget https://raw.githubusercontent.com/E-F-A/v4/master/rpmbuild/SOURCES/eFa-4.0.1/updates/update-4.0.0.sh
sudo ./update-4.0.0.sh
wget https://raw.githubusercontent.com/E-F-A/v4/master/rpmbuild/SOURCES/eFa-4.0.1/updates/update-4.0.1.sh
sudo ./update-4.0.1.sh
If successful, please do the following to bump the version.

Code: Select all

echo "eFa-4.0.1" > /etc/eFa-Version

Re: sudo: /usr/sbin/eFa-Configure: command not found

Posted: 12 Jan 2020 06:40
by gregecslo
I think that did it.

First I had to:

yum install eFa

then execute update scripts and now its ok.

Don`t know why it ended up in broken state in first place.

Thanks a bunch!