Centos8 - fresh install - EFA4 configure error
Posted: 18 Aug 2020 13:24
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?
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?