Hello,
Could someone let me know why am I seeing this error:
fatal: FAILED! => {"changed": true, "cmd": "/opt/apigee/apigee-setup/bin/setup.sh -p rmp -f /apps/tmp/apigee_response.txt", "delta": "0:00:25.494058", "end": "2025-01-27 13:30:24.856389", "msg": "non-zero return code", "rc": 1, "start": "2025-01-27 13:29:59.362331", "stderr": "", "stderr_lines": [], "stdout": "INFO: running setup as root
INFO: changing log location to /tmp/setup-root.log
Using defaults from /apps/tmp/apigee_response.txt
Creating /opt/apigee/config-history
config file backed up at /opt/apigee/config-history/2025.01.27-13.29.59.apigee_response.txt
setup.sh: Info: Check for system requirements is not enabled.
setup.sh: Info: Enable system requirements check by setting ENABLE_SYSTEM_CHECK=y
setup.sh: Info: To run system requirements check without installing the profile use -t option
setup.sh: Proceeding with HOSTIP 10.xxx.xx.xxx
Service setup edge-router
Updating Subscription Management repositories.
Red Hat Satellite Client 6 for RHEL 9 x86_64 (R 20 kB/s | 3.8 kB 00:00
Red Hat Enterprise Linux 9 for x86_64 - BaseOS 21 kB/s | 4.1 kB 00:00
Red Hat Enterprise Linux 9 for x86_64 - AppStre 23 kB/s | 4.5 kB 00:00
Dependencies resolved.
=========================================================================================
Package Arch Version Repository Size
=========================================================================================
Installing:
edge-router noarch 4.53.00-0.0.60259 apigee-repo 225 k
Installing dependencies:
apigee-cassandra-client noarch 4.0.13-0.0.2536 apigee-repo 46 M
apigee-machinekey noarch 1.1.4-0.0.20044 apigee-repo 6.9 M
apigee-nginx x86_64 1.26.1-el9 apigee-thirdparty 1.0 M
chkconfig x86_64 1.24-1.el9_5.1 rhel-9-for-x86_64-baseos-rpms 182 k
edge-gateway noarch 4.53.00-0.0.60259 apigee-repo 184 M
initscripts x86_64 10.11.7-1.el9 rhel-9-for-x86_64-baseos-rpms 232 k
Transaction Summary
=========================================================================================
Install 7 Packages
Total size: 239 M
Total download size: 414 k
Installed size: 290 M
Downloading Packages:
(1/2): chkconfig-1.24-1.el9_5.1.x86_64.rpm 482 kB/s | 182 kB 00:00
(2/2): initscripts-10.11.7-1.el9.x86_64.rpm 434 kB/s | 232 kB 00:00
--------------------------------------------------------------------------------
Total 771 kB/s | 414 kB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : chkconfig-1.24-1.el9_5.1.x86_64 1/7Error unpacking rpm package chkconfig-1.24-1.el9_5.1.x86_64
Installing : initscripts-10.11.7-1.el9.x86_64 2/7
error: unpacking of archive failed on file /etc/init.d;6797dec0: cpio: File from package already exists as a directory in system
error: chkconfig-1.24-1.el9_5.1.x86_64: install failed
Running scriptlet: initscripts-10.11.7-1.el9.x86_64 2/7
Created symlink /etc/systemd/system/sysinit.target.wants/import-state.service → /usr/lib/systemd/system/import-state.service.
Created symlink /etc/systemd/system/sysinit.target.wants/loadmodules.service → /usr/lib/systemd/system/loadmodules.service.
Running scriptlet: apigee-nginx-1.26.1-el9.x86_64 3/7
Installing : apigee-nginx-1.26.1-el9.x86_64 3/7
Running scriptlet: apigee-nginx-1.26.1-el9.x86_64 3/7
Could not open file or uri for loading private key from localhost.key
404C9B823F7F0000:error:16000069:STORE routines:ossl_store_get0_loader_int:unregistered scheme:crypto/store/store_register.c:237:scheme=file
404C9B823F7F0000:error:80000002:system library:file_open:No such file or directory:providers/implementations/storemgmt/file_store.c:267:calling stat(localhost.key)
openssl failed to create /opt/nginx/ssl/localhost.crt
warning: %post(apigee-nginx-1.26.1-el9.x86_64) scriptlet failed, exit status 1
Error in POSTIN scriptlet in rpm package apigee-nginx
Running scriptlet: apigee-cassandra-client-4.0.13-0.0.2536.noarch 4/7
Installing : apigee-cassandra-client-4.0.13-0.0.2536.noarch 4/7
Running scriptlet: apigee-cassandra-client-4.0.13-0.0.2536.noarch 4/7
Running scriptlet: apigee-machinekey-1.1.4-0.0.20044.noarch 5/7
Installing : apigee-machinekey-1.1.4-0.0.20044.noarch 5/7
Running scriptlet: apigee-machinekey-1.1.4-0.0.20044.noarch 5/7
1+0 records in
1+0 records out
32 bytes copied, 0.000131005 s, 244 kB/s
Running scriptlet: edge-gateway-4.53.00-0.0.60259.noarch 6/7
Installing : edge-gateway-4.53.00-0.0.60259.noarch 6/7
Running scriptlet: edge-gateway-4.53.00-0.0.60259.noarch 6/7
Running scriptlet: edge-router-4.53.00-0.0.60259.noarch 7/7
Installing : edge-router-4.53.00-0.0.60259.noarch 7/7
Running scriptlet: edge-router-4.53.00-0.0.60259.noarch 7/7
Running scriptlet: edge-gateway-4.53.00-0.0.60259.noarch 7/7
Running scriptlet: edge-router-4.53.00-0.0.60259.noarch 7/7
Verifying : edge-router-4.53.00-0.0.60259.noarch 1/7
Verifying : apigee-machinekey-1.1.4-0.0.20044.noarch 2/7
Verifying : edge-gateway-4.53.00-0.0.60259.noarch 3/7
Verifying : apigee-cassandra-client-4.0.13-0.0.2536.noarch 4/7
Verifying : apigee-nginx-1.26.1-el9.x86_64 5/7
Verifying : chkconfig-1.24-1.el9_5.1.x86_64 6/7
Verifying : initscripts-10.11.7-1.el9.x86_64 7/7
Installed products updated.
Error: Transaction failed
Installed:
apigee-cassandra-client-4.0.13-0.0.2536.noarch
apigee-machinekey-1.1.4-0.0.20044.noarch
apigee-nginx-1.26.1-el9.x86_64
edge-gateway-4.53.00-0.0.60259.noarch
edge-router-4.53.00-0.0.60259.noarch
initscripts-10.11.7-1.el9.x86_64
Failed:
chkconfig-1.24-1.el9_5.1.x86_64
Error: setup.sh: /opt/apigee/apigee-service/bin/apigee-service exited with unexpected status 1", "stdout_lines": ["INFO: running setup as root", "INFO: changing log location to /tmp/setup-root.log", "Using defaults from /apps/tmp/apigee_response.txt", "Creating /opt/apigee/config-history", "config file backed up at /opt/apigee/config-history/2025.01.27-13.29.59.apigee_response.txt", "setup.sh: Info: Check for system requirements is not enabled.", "setup.sh: Info: Enable system requirements check by setting ENABLE_SYSTEM_CHECK=y ", "setup.sh: Info: To run system requirements check without installing the profile use -t option", "setup.sh: Proceeding with HOSTIP 10.xxx.xx.xxx", "", "Service setup edge-router", "", "Updating Subscription Management repositories.", "Red Hat Satellite Client 6 for RHEL 9 x86_64 (R 20 kB/s | 3.8 kB 00:00 ", "Red Hat Enterprise Linux 9 for x86_64 - BaseOS 21 kB/s | 4.1 kB 00:00 ", "Red Hat Enterprise Linux 9 for x86_64 - AppStre 23 kB/s | 4.5 kB 00:00 ", "Dependencies resolved.",
"=========================================================================================",
" Package Arch Version Repository Size", "=========================================================================================",
"Installing:", " edge-router noarch 4.53.00-0.0.60259 apigee-repo 225 k", "Installing dependencies:", " apigee-cassandra-client noarch 4.0.13-0.0.2536 apigee-repo 46 M", " apigee-machinekey noarch 1.1.4-0.0.20044 apigee-repo 6.9 M", " apigee-nginx x86_64 1.26.1-el9 apigee-thirdparty 1.0 M", " chkconfig x86_64 1.24-1.el9_5.1 rhel-9-for-x86_64-baseos-rpms 182 k", " edge-gateway noarch 4.53.00-0.0.60259 apigee-repo 184 M", " initscripts x86_64 10.11.7-1.el9 rhel-9-for-x86_64-baseos-rpms 232 k", "", "Transaction Summary",
"=========================================================================================",
"Install 7 Packages", "", "Total size: 239 M", "Total download size: 414 k", "Installed size: 290 M",
"Downloading Packages:", "(1/2): chkconfig-1.24-1.el9_5.1.x86_64.rpm 482 kB/s | 182 kB 00:00 ",
"(2/2): initscripts-10.11.7-1.el9.x86_64.rpm 434 kB/s | 232 kB 00:00 ", "--------------------------------------------------------------------------------", "Total 771 kB/s | 414 kB 00:00 ",
"Running transaction check", "Transaction check succeeded.", "Running transaction test", "Transaction test succeeded.",
"Running transaction", " Preparing : 1/1 ",
" Installing : chkconfig-1.24-1.el9_5.1.x86_64 1/7 Error unpacking rpm package chkconfig-1.24-1.el9_5.1.x86_64", " ",
" Installing : initscripts-10.11.7-1.el9.x86_64 2/7 ", "error: unpacking of archive failed on file /etc/init.d;6797dec0: cpio: File from package already exists as a directory in system", "error: chkconfig-1.24-1.el9_5.1.x86_64: install failed", "",
" Running scriptlet: initscripts-10.11.7-1.el9.x86_64 2/7 ", "Created symlink /etc/systemd/system/sysinit.target.wants/import-state.service → /usr/lib/systemd/system/import-state.service.", "Created symlink /etc/systemd/system/sysinit.target.wants/loadmodules.service → /usr/lib/systemd/system/loadmodules.service.", "",
" Running scriptlet: apigee-nginx-1.26.1-el9.x86_64 3/7 ", " Installing : apigee-nginx-1.26.1-el9.x86_64 3/7 ",
" Running scriptlet: apigee-nginx-1.26.1-el9.x86_64 3/7 ", "Could not open file or uri for loading private key from localhost.key", "404C9B823F7F0000:error:16000069:STORE routines:ossl_store_get0_loader_int:unregistered scheme:crypto/store/store_register.c:237:scheme=file", "404C9B823F7F0000:error:80000002:system library:file_open:No such file or directory:providers/implementations/storemgmt/file_store.c:267:calling stat(localhost.key)",
"openssl failed to create /opt/nginx/ssl/localhost.crt", "warning: %post(apigee-nginx-1.26.1-el9.x86_64) scriptlet failed, exit status 1", "",
"Error in POSTIN scriptlet in rpm package apigee-nginx",
" Running scriptlet: apigee-cassandra-client-4.0.13-0.0.2536.noarch 4/7 ", " Installing : apigee-cassandra-client-4.0.13-0.0.2536.noarch 4/7 ",
" Running scriptlet: apigee-cassandra-client-4.0.13-0.0.2536.noarch 4/7 ", " Running scriptlet: apigee-machinekey-1.1.4-0.0.20044.noarch 5/7 ",
" Installing : apigee-machinekey-1.1.4-0.0.20044.noarch 5/7 ", " Running scriptlet: apigee-machinekey-1.1.4-0.0.20044.noarch 5/7 ", "1+0 records in", "1+0 records out", "32 bytes copied, 0.000131005 s, 244 kB/s", "",
" Running scriptlet: edge-gateway-4.53.00-0.0.60259.noarch 6/7 ", " Installing : edge-gateway-4.53.00-0.0.60259.noarch 6/7 ",
" Running scriptlet: edge-gateway-4.53.00-0.0.60259.noarch 6/7 ", " Running scriptlet: edge-router-4.53.00-0.0.60259.noarch 7/7 ",
" Installing : edge-router-4.53.00-0.0.60259.noarch 7/7 ", " Running scriptlet: edge-router-4.53.00-0.0.60259.noarch 7/7 ",
" Running scriptlet: edge-gateway-4.53.00-0.0.60259.noarch 7/7 ", " Running scriptlet: edge-router-4.53.00-0.0.60259.noarch 7/7 ",
" Verifying : edge-router-4.53.00-0.0.60259.noarch 1/7 ", " Verifying : apigee-machinekey-1.1.4-0.0.20044.noarch 2/7 ",
" Verifying : edge-gateway-4.53.00-0.0.60259.noarch 3/7 ", " Verifying : apigee-cassandra-client-4.0.13-0.0.2536.noarch 4/7 ",
" Verifying : apigee-nginx-1.26.1-el9.x86_64 5/7 ", " Verifying : chkconfig-1.24-1.el9_5.1.x86_64 6/7 ",
" Verifying : initscripts-10.11.7-1.el9.x86_64 7/7 ", "Installed products updated.", "Error: Transaction failed", "", "Installed:", " apigee-cassandra-client-4.0.13-0.0.2536.noarch", " apigee-machinekey-1.1.4-0.0.20044.noarch", " apigee-nginx-1.26.1-el9.x86_64 ", " edge-gateway-4.53.00-0.0.60259.noarch ", " edge-router-4.53.00-0.0.60259.noarch ", " initscripts-10.11.7-1.el9.x86_64 ", "Failed:", " chkconfig-1.24-1.el9_5.1.x86_64 ", "", "Error: setup.sh: /opt/apigee/apigee-service/bin/apigee-service exited with unexpected status 1"]}