SYSTEM INFORMATION
OS type and version
RHEL 9
Webmin version
NA
Virtualmin version
NA
Related packages
NA
when trying to install on RHEL version 9 I get error code #8
the install log doesn’t provide much detail?
is there an auto-installer for RHEL9
here is the error
[INFO] Started installation log in /root/virtualmin-install.log
▣□□ Phase 1 of 3: Setup
Installing core plugins for package manager [ ✔ ]
Downloading Virtualmin 7 release package [ ✔ ]
Installing Virtualmin 7 release package [ ✔ ]
▣▣□ Phase 2 of 3: Installation
Enabling Red Hat CodeReady package repository [ERROR] Failed with error: 1
[ ✘ ]
[ERROR] Something went wrong. Exiting.
[ERROR] The last few log entries were:
Downloading Virtualmin 7 release package: Success.
error: package is not installed
Spin pid is: 2247
warning: virtualmin-gpl-release.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID b9a0b8b7: NOKEY
error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Resource temporarily unavailable)
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-webmin: key 1 import failed.
error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Resource temporarily unavailable)
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-virtualmin-7: key 1 import failed.
Installing Virtualmin 7 release package: Success.
[2022-09-19 14:15:10 UTC] [DEBUG] Phase 2 of 3: Installation
Spin pid is: 2279
Error: No matching repo to modify: codeready-builder-for-rhel-9-x86_64-rpms.
Enabling Red Hat CodeReady package repository: [2022-09-19 14:15:11 UTC] [ERROR] Failed with error: 1
[2022-09-19 14:15:11 UTC] [ERROR] Something went wrong. Exiting.
[2022-09-19 14:15:11 UTC] [ERROR] The last few log entries were:
log file
Checking for an update for a set of CA certificates ..
Last metadata expiration check: 0:37:36 ago on Mon 19 Sep 2022 01:37:19 PM UTC.
Dependencies resolved.
Nothing to do.
Complete!
Checking for Perl ..
.. found Perl at /usr/bin/perl
Checking for HTTP client .. found /usr/bin/wget -nv
2022-09-19 14:14:55 URL:https://raw.githubusercontent.com/virtualmin/slib/a655a7c6ed9675f8db3ddcbf6f77e27c990dae72/slib.sh [22999/22999] -> "slib.sh" [1]
[2022-09-19 14:15:07 UTC] [DEBUG] Memory is greater than 1572 MB, which should be sufficient.
[2022-09-19 14:15:07 UTC] [INFO] Started installation log in /root/virtualmin-install.log
[2022-09-19 14:15:07 UTC] [DEBUG] Phase 1 of 3: Setup
[2022-09-19 14:15:07 UTC] [DEBUG] Install mode: full
[2022-09-19 14:15:07 UTC] [DEBUG] Product: Virtualmin GPL
[2022-09-19 14:15:07 UTC] [DEBUG] install.sh version: 7.0.0-RC13
[2022-09-19 14:15:07 UTC] [DEBUG] Checking for fully qualified hostname ..
[2022-09-19 14:15:07 UTC] [DEBUG] Hostname OK: fully qualified as criolamp.i5w1wjesyvdedmf4prbccsskxd.bx.internal.cloudapp.net
[2022-09-19 14:15:07 UTC] [DEBUG] Installing serial number and license key into /etc/virtualmin-license
[2022-09-19 14:15:07 UTC] [DEBUG] Operating system name: RHEL
[2022-09-19 14:15:07 UTC] [DEBUG] Operating system version: 9.0
[2022-09-19 14:15:07 UTC] [DEBUG] Operating system type: rhel
[2022-09-19 14:15:07 UTC] [DEBUG] Operating system major: 9
[2022-09-19 14:15:07 UTC] [DEBUG] Configuring package manager for RHEL 9.0 ..
[2022-09-19 14:15:07 UTC] [DEBUG] Disabling SELinux during installation ..
[2022-09-19 14:15:07 UTC] [DEBUG] setenforce 0 succeeded
Spin pid is: 2152
Last metadata expiration check: 0:37:49 ago on Mon 19 Sep 2022 01:37:19 PM UTC.
Package dnf-plugins-core-4.0.24-4.el9_0.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Installing core plugins for package manager: Success.
Spin pid is: 2192
2022-09-19 14:15:09 URL:https://software.virtualmin.com/vm/7/rpm/virtualmin-gpl-release.noarch.rpm [18879/18879] -> "virtualmin-gpl-release.noarch.rpm" [1]
Made it here...why?
Downloading Virtualmin 7 release package: Success.
error: package is not installed
Spin pid is: 2247
warning: virtualmin-gpl-release.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID b9a0b8b7: NOKEY
error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Resource temporarily unavailable)
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-webmin: key 1 import failed.
error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Resource temporarily unavailable)
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-virtualmin-7: key 1 import failed.
Installing Virtualmin 7 release package: Success.
[2022-09-19 14:15:10 UTC] [DEBUG] Phase 2 of 3: Installation
Spin pid is: 2279
Error: No matching repo to modify: codeready-builder-for-rhel-9-x86_64-rpms.
Enabling Red Hat CodeReady package repository: [2022-09-19 14:15:11 UTC] [ERROR] Failed with error: 1
[2022-09-19 14:15:11 UTC] [ERROR] Something went wrong. Exiting.
[2022-09-19 14:15:11 UTC] [ERROR] The last few log entries were:
@nhsitehost ,
Have you tried re-running the installer since? It looks like there may have been an issue accessing a resource on the system, perhaps a background task was in process while running the installer.
*** Affordable, Professional, Tech Support https://tpnassist.com ***
I’ve tried reinstalling a few times. Same errors
Ilia
September 19, 2022, 9:24pm
6
What is the output of on your RHEL 9 system:
dnf repolist --all
Ilia:
dnf repolist --all
repo id repo name status
codeready-builder-for-rhel-9-x86_64-rhui-debug-rpms Red Hat CodeReady L disabled
codeready-builder-for-rhel-9-x86_64-rhui-rpms Red Hat CodeReady L enabled
rhel-9-for-x86_64-appstream-rhui-debug-rpms Red Hat Enterprise disabled
rhel-9-for-x86_64-appstream-rhui-rpms Red Hat Enterprise enabled
rhel-9-for-x86_64-appstream-rhui-source-rpms Red Hat Enterprise disabled
rhel-9-for-x86_64-baseos-rhui-debug-rpms Red Hat Enterprise disabled
rhel-9-for-x86_64-baseos-rhui-rpms Red Hat Enterprise enabled
rhel-9-for-x86_64-baseos-rhui-source-rpms Red Hat Enterprise disabled
rhui-microsoft-azure-rhel9 Microsoft Azure RPM enabled
Ilia
September 20, 2022, 11:17am
8
I see, try replacing in install.sh
script file:
run_ok "$install_config_manager --set-enabled codeready-builder-for-rhel-$os_major_version-x86_64-rpms" "Enabling Red Hat CodeReady package repository"
with:
run_ok "$install_config_manager --set-enabled codeready-builder-for-rhel-$os_major_version-x86_64*-rpms" "Enabling Red Hat CodeReady package repository"
Ilia
September 21, 2022, 10:18am
10
The final Virtualmin 7 install script will have this patch included.
Thanks for reporting it.
system
Closed
September 29, 2022, 10:18am
11
This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.