Centos8 - fresh install - EFA4 configure error

Bugs in eFa 4
Post Reply
bostjanc
Posts: 165
Joined: 01 Jun 2016 17:18

Centos8 - fresh install - EFA4 configure error

Post by bostjanc »

Hi.

1. Installed fresh Centos8-minimal on Hyperv
2. Launched command: yum install git
3. Launched commands:
git clone https://github.com/E-F-A/v4
cd v4/build
./devbuild.sh
4. Rebooted virtual machine and followed configuration wizard and got an error (pasting below):

[eFa] If these settings are correct type 'OK' to continue.
[eFa] if there is an error enter the number you want to change.
[eFa] : OK
/usr/sbin/eFa-Init: line 891: python: command not found
[eFa] - Starting MariaDB and Configuring
Dropping the database is potentially a very bad thing to do.
Any data stored in the database will be destroyed.

Do you really want to drop the 'test' database [y/N] /usr/bin/mysqladmin: DROP DATABASE test failed;
error: 'Can't drop database 'test'; database doesn't exist'
[eFa] - Configuring hostname and domainname
[eFa] - Setting DNS
[eFa] - Setting IP settings
[eFa] - Generating SSH Host keys
Generating public/private rsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_rsa_key.
Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub.
The key fingerprint is:
SHA256:pl+VIIAXm57euJwr4hH3xwxMASDrw8dycdSaSlvd28A root@EFA4.mydomain.com
The key's randomart image is:
+---[RSA 3072]----+
|. ...+=. |
| o o .* |
|. . oB + . |
|o ..oB o E . . |
| =o+= = S + o |
| == o O . o |
| . = = . |
| .... = . |
| ... .=.. |
+----[SHA256]-----+
Generating public/private dsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_dsa_key.
Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub.
The key fingerprint is:
SHA256:wrWyTyMNyQr2D/ckLoYUJekLukpQ9Bl1t80l3/1YaIE root@EFA4.mydomain.com
The key's randomart image is:
+---[DSA 1024]----+
| ..... . . ..o |
| .o..o . . +E+ +.|
| ..oo . . o + +|
|..o o o . . o.|
|o.oo B S . .|
|o.oo . * |
| + .+ = = |
|o . o= B . |
|o . .o o |
+----[SHA256]-----+
Generating public/private ecdsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_ecdsa_key.
Your public key has been saved in /etc/ssh/ssh_host_ecdsa_key.pub.
The key fingerprint is:
SHA256:e0MotwhAqmNxHnAKKurJTNhfeMY4JUsZjyajZ1SjUXQ root@EFA4.mydomain.com
The key's randomart image is:
+---[ECDSA 256]---+
|..o+* E |
|oo++ B |
|+o*o* o |
|=++*.B . |
|*o+.* * S . |
|*+.. * + + |
| = . . o o |
| . . |
| |
+----[SHA256]-----+
Generating public/private ed25519 key pair.
Your identification has been saved in /etc/ssh/ssh_host_ed25519_key.
Your public key has been saved in /etc/ssh/ssh_host_ed25519_key.pub.
The key fingerprint is:
SHA256:VCCwQGLC5SDjwRztlMFg8IOHV1tS2B9DJ4ngOtAXzAQ root@EFA4.mydomain.com
The key's randomart image is:
+--[ED25519 256]--+
|@OEBX*+o+oo |
|*@+O+*o.++ |
|+.O.= ..o |
| + = .. |
| o S |
| . |
| |
| |
| |
+----[SHA256]-----+
[eFa] - Configure timezone
[eFa] - Configuring razor
Can't locate Razor2/Client/Agent.pm: lib/Razor2/Client/Agent.pm: Permission denied at /usr/bin/razor-admin line 15.
BEGIN failed--compilation aborted at /usr/bin/razor-admin line 15.
Can't locate Razor2/Client/Agent.pm: lib/Razor2/Client/Agent.pm: Permission denied at /usr/bin/razor-admin line 15.
BEGIN failed--compilation aborted at /usr/bin/razor-admin line 15.
sed: can't read /var/spool/postfix/.razor/razor-agent.conf: No such file or directory
[eFa] - Error initializing system! Please try again...
[root@EFA4 ~]#

Where did we go wrong?
smyers119
Posts: 108
Joined: 29 Nov 2019 11:36

Re: Centos8 - fresh install - EFA4 configure error

Post by smyers119 »

You are using the DEV build aka ALPHA build aka NOT STABLE. I am not sure what you expected???????
Last edited by smyers119 on 20 Aug 2020 12:57, edited 1 time in total.
bostjanc
Posts: 165
Joined: 01 Jun 2016 17:18

Re: Centos8 - fresh install - EFA4 configure error

Post by bostjanc »

Hi.

Thanks for your reply.
Isn't the idea of "4.x bugs threads" to report bugs and help to fix things?
smyers119
Posts: 108
Joined: 29 Nov 2019 11:36

Re: Centos8 - fresh install - EFA4 configure error

Post by smyers119 »

No the bug thread is for the stable version, not for a alpha version.
bostjanc
Posts: 165
Joined: 01 Jun 2016 17:18

Re: Centos8 - fresh install - EFA4 configure error

Post by bostjanc »

Aaaa ;) now ya talkin
Thanks
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Centos8 - fresh install - EFA4 configure error

Post by shawniverson »

It is okay, as long as the topic is tagged with CentOS8 in the subject, it is all good 8-)

Errors will be expected as they are worked on. I am working on this particular one next.
Sang15512
Posts: 3
Joined: 24 Aug 2020 10:27

Re: Centos8 - fresh install - EFA4 configure error

Post by Sang15512 »

Good information. rimfire scope reviews
Last edited by Sang15512 on 12 Jan 2021 12:16, edited 1 time in total.
bostjanc
Posts: 165
Joined: 01 Jun 2016 17:18

Re: Centos8 - fresh install - EFA4 configure error

Post by bostjanc »

@shawniverson thanks for the update

Since in November 2020 CentOS 6.x will stop receiving security updates and we will need to migrate EFA to newer version, what is your suggestion:
- plan the migration to CentOS 7.x
- wait for EFA bugs fixes on CentOS 8.x and plan to migrate to version 8.

End of Lifetime (EOL) Dates
CentOS-6 (November 30th, 2020)
CentOS-7 (June 30th, 2024)
CentOS-8 (May 31st, 2029)

We would definitely prefer CentOS-8 since there are 5 extra years not need to worry about another migration :)

Thanks and have a nice day!
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Centos8 - fresh install - EFA4 configure error

Post by shawniverson »

eFa on CentOS8 is increasing in stability. It is not ready yet, but it will be. I would give it a few more weeks if you can hold off that long.
bostjanc
Posts: 165
Joined: 01 Jun 2016 17:18

Re: Centos8 - fresh install - EFA4 configure error

Post by bostjanc »

Thumbs up for great work!
Will test both (centos7 and centos8) durring that time.
bostjanc
Posts: 165
Joined: 01 Jun 2016 17:18

Re: Centos8 - fresh install - EFA4 configure error

Post by bostjanc »

Hi.
Working with BETA mode on CENTOS8.
In the initial configuration wizard having a problem (single-label domain environment) that wizard doesn't allow putting a single-label domain.

works: domain-sample.com
doesn't work: domain-sample

Can configuration wizard be updated to allow single-label domain please?

with best regards
bostjanc
Posts: 165
Joined: 01 Jun 2016 17:18

Re: Centos8 - fresh install - EFA4 configure error

Post by bostjanc »

Also an error:

conf.php: optional configuration entry "RPC_PORT" is missing, needed if RPC_ONLY mode is enabled
conf.php: optional configuration entry "RPC_SSL" is missing, needed if RPC_ONLY mode is enabled
conf.php: optional configuration entry "RPC_REMOTE_SERVER" is missing, needed to show number of mails in postfix queues on remote server (RPC)
conf.php: optional configuration entry "VIRUS_REGEX" is missing, needed in distributed setup
conf.php: optional configuration entry "LDAP_BIND_PREFIX" is missing, needed when using LDAP authentication
conf.php: optional configuration entry "LDAP_BIND_SUFFIX" is missing, needed when using LDAP authentication
conf.php: optional configuration entry "EXIM_QUEUE_IN" is missing, needed only if using Exim as MTA
conf.php: optional configuration entry "EXIM_QUEUE_OUT" is missing, needed only if using Exim as MTA
conf.php: optional configuration entry "PWD_RESET_FROM_NAME" is missing, needed if Password Reset feature is enabled
conf.php: optional configuration entry "PWD_RESET_FROM_ADDRESS" is missing, needed if Password Reset feature is enabled
conf.php: optional configuration entry "MAILQ" is missing, needed when using Exim or Sendmail to display the inbound/outbound mail queue lengths
conf.php: optional configuration entry "MAIL_SENDER" is missing, needed if you use Exim or Sendmail Queue
conf.php: optional configuration entry "SESSION_NAME" is missing, needed if experiencing session conflicts
conf.php: optional configuration entry "SENDMAIL_QUEUE_IN" is missing, needed only if using Sendmail as MTA
conf.php: optional configuration entry "SENDMAIL_QUEUE_OUT" is missing, needed only if using Sendmail as MTA
conf.php: optional configuration entry "MAILWATCH_SMTP_HOSTNAME" is missing, needed only if you use a remote SMTP server to send MailWatch emails
conf.php: optional configuration entry "ALLOW_NO_USER_DOMAIN" is missing, allow usernames not in mail format for domain admins and regular users
conf.php: optional configuration entry "ENABLE_SUPER_DOMAIN_ADMINS" is missing, allows domain admins to change domain admins from the same domain
conf.php: optional configuration entry "MAXMIND_LICENSE_KEY" is missing, needed to download MaxMind GeoLite2 data

The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'yum clean packages'.
Error: Error downloading packages:
Curl error (6): Couldn't resolve host name for http://mirrorlist.centos.org/?release=8 ... nfra=stock [Could not resolve host: mirrorlist.centos.org]
[eFa] - Error initializing system! Please try again...
bostjanc
Posts: 165
Joined: 01 Jun 2016 17:18

Re: Centos8 - fresh install - EFA4 configure error

Post by bostjanc »

One more thing worth mentioning. After the faulty configuration my root username is no longer accepting password, but I can login to shell (only) with the user configured in efa-configuration wizard. Is this a desired behaviour ?
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Centos8 - fresh install - EFA4 configure error

Post by shawniverson »

This is normal behavior for eFa.
mshanley
Posts: 41
Joined: 26 Apr 2014 05:19

Re: Centos8 - fresh install - EFA4 configure error

Post by mshanley »

Disregard, we have to install key under EFA Menu



I ran a new install last night...

Cant update GEOIP, what do we need to do for this?

A license key from www.maxmind.com is needed to download GeoLite2 data
mshanley
Posts: 41
Joined: 26 Apr 2014 05:19

Re: Centos8 - fresh install - EFA4 configure error

Post by mshanley »

Update now not working on new install on CentOS8
error
Problem 1 pkg libreswan-3.29.7 requires libunbound.so.2 but none of the providers can be installed

Problem 2 pkg network manager - libreswan-1.2.10... requires /usr/bin/ipsec but none of the providers can be installed

Problem 3 problem with installed pkg libreswan-3.29-6.e18.x86_64
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Centos8 - fresh install - EFA4 configure error

Post by shawniverson »

libreswan package needs removed from eFa. Remove it and try again. eFa has a specific build of unbound to resolve security and stability issues in stock CentOS 8.
mshanley
Posts: 41
Joined: 26 Apr 2014 05:19

Re: Centos8 - fresh install - EFA4 configure error

Post by mshanley »

ok.. Steps?
mshanley
Posts: 41
Joined: 26 Apr 2014 05:19

Re: Centos8 - fresh install - EFA4 configure error

Post by mshanley »

yum remove [package_name]
mshanley
Posts: 41
Joined: 26 Apr 2014 05:19

Re: Centos8 - fresh install - EFA4 configure error

Post by mshanley »

that worked.. now doing an update,.. hopefully Webmin will work after update :)
Post Reply