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

Bugs in eFa 4
Post Reply
Alleyviper
Posts: 75
Joined: 16 Oct 2018 05:55
Location: Portugal

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

Post by Alleyviper » 10 Jan 2020 16:24

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   

gregecslo
Posts: 30
Joined: 09 Sep 2018 17:55

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

Post by gregecslo » 10 Jan 2020 19:28

Yeah I also have no recent messages.
Mailflow works OK.

Have the very same error in console.

jamerson
Posts: 139
Joined: 19 Aug 2017 18:57
Location: kaaskop

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

Post by jamerson » 10 Jan 2020 23:25

make sure your EFA is update.
we've found the issue and fixed it on the last cron job.
Version eFa 4.0.0 RC1 now available in testing repo. Come join us in advancing eFa!

gregecslo
Posts: 30
Joined: 09 Sep 2018 17:55

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

Post by gregecslo » 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!

henk
Posts: 403
Joined: 14 Dec 2015 22:16
Location: Netherlands
Contact:

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

Post by henk » 11 Jan 2020 13:25

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:

User avatar
shawniverson
Posts: 2926
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

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

Post by shawniverson » 11 Jan 2020 13:34

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
Version eFa 4.0.1 now available!

gregecslo
Posts: 30
Joined: 09 Sep 2018 17:55

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

Post by gregecslo » 11 Jan 2020 13:35

Hi.

Output:

Code: Select all

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

gregecslo
Posts: 30
Joined: 09 Sep 2018 17:55

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

Post by gregecslo » 11 Jan 2020 13:37

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

gregecslo
Posts: 30
Joined: 09 Sep 2018 17:55

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

Post by gregecslo » 11 Jan 2020 13:49

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

User avatar
shawniverson
Posts: 2926
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

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

Post by shawniverson » 11 Jan 2020 13:51

Please run this:

(You are missing the update rpm for some reason)

Code: Select all

sudo yum install eFa
Version eFa 4.0.1 now available!

gregecslo
Posts: 30
Joined: 09 Sep 2018 17:55

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

Post by gregecslo » 11 Jan 2020 13:56

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

gregecslo
Posts: 30
Joined: 09 Sep 2018 17:55

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

Post by gregecslo » 11 Jan 2020 13:56

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

gregecslo
Posts: 30
Joined: 09 Sep 2018 17:55

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

Post by gregecslo » 11 Jan 2020 14:01

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

User avatar
shawniverson
Posts: 2926
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

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

Post by shawniverson » 11 Jan 2020 14:22

Anything in /var/log/eFa/update.log ?
Version eFa 4.0.1 now available!

gregecslo
Posts: 30
Joined: 09 Sep 2018 17:55

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

Post by gregecslo » 11 Jan 2020 14:46

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?

User avatar
shawniverson
Posts: 2926
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

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

Post by shawniverson » 11 Jan 2020 14:56

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
Version eFa 4.0.1 now available!

gregecslo
Posts: 30
Joined: 09 Sep 2018 17:55

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

Post by gregecslo » 12 Jan 2020 06:40

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!

Post Reply