Websoft9 / websoft9

Applications self-hosting platform for running open source, web-based linux Panel of lite PaaS
https://www.websoft9.com
Other
1.97k stars 297 forks source link

cannot install cockpit on AmazonLinux2023 #522

Open qiaofeng1227 opened 1 month ago

qiaofeng1227 commented 1 month ago

package: cockpit cockpit-ws cockpit-bridge cockpit-system cockpit-pcp cockpit-networkmanager cockpit-session-recording cockpit-sosreport

[Cockpit] -  Prepare to install Cockpit
All ports are available
Install or upgrade cockpit
Error: No packages marked for upgrade.
cockpit failed to upgrade
Error: Unable to find a match: cockpit
cockpit failed to install
Install or upgrade cockpit-ws
Error: No packages marked for upgrade.
cockpit-ws failed to upgrade
Error: Unable to find a match: cockpit-ws
cockpit-ws failed to install
Install or upgrade cockpit-bridge
Error: No packages marked for upgrade.
cockpit-bridge failed to upgrade
Error: Unable to find a match: cockpit-bridge
cockpit-bridge failed to install
Install or upgrade cockpit-system
Error: No packages marked for upgrade.
cockpit-system failed to upgrade
Error: Unable to find a match: cockpit-system
cockpit-system failed to install
Install or upgrade cockpit-pcp
Error: No packages marked for upgrade.
cockpit-pcp failed to upgrade
Error: Unable to find a match: cockpit-pcp
cockpit-pcp failed to install
Install or upgrade cockpit-networkmanager
Error: No packages marked for upgrade.
cockpit-networkmanager failed to upgrade
Error: Unable to find a match: cockpit-networkmanager
cockpit-networkmanager failed to install
Install or upgrade cockpit-session-recording
Error: No packages marked for upgrade.
cockpit-session-recording failed to upgrade
Error: Unable to find a match: cockpit-session-recording
cockpit-session-recording failed to install
Install or upgrade cockpit-sosreport
Error: No packages marked for upgrade.
cockpit-sosreport failed to upgrade
Error: Unable to find a match: cockpit-sosreport
cockpit-sosreport failed to install
qiaofeng1227 commented 1 month ago

https://cockpit-project.org/running

chendelin1982 commented 1 month ago

Install fedora repo for AL 2023

sudo dnf config-manager --add-repo https://archives.fedoraproject.org/pub/fedora/linux/releases/40/Everything/x86_64/os/
sudo dnf config-manager --add-repo https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/36/Everything/x86_64/os/
qiaofeng1227 commented 1 month ago
dnf install --nogpgcheck cockpit cockpit-ws cockpit-bridge cockpit-system cockpit-pcp cockpit-networkmanager cockpit-session-recording cockpit-sosreport -y
[root@ip-172-31-14-14 yum.repos.d]# systemctl start cockpit.socket
[root@ip-172-31-14-14 yum.repos.d]# systemctl status cockpit
○ cockpit.service - Cockpit Web Service
     Loaded: loaded (/usr/lib/systemd/system/cockpit.service; static)
     Active: inactive (dead) since Thu 2024-08-08 06:34:29 UTC; 11min ago
   Duration: 4min 1.443s
TriggeredBy: ● cockpit.socket
       Docs: man:cockpit-ws(8)
    Process: 37296 ExecStartPre=/usr/libexec/cockpit-certificate-ensure --for-cockpit-tls (code=exited, status=0/SUCCESS)
    Process: 37297 ExecStart=/usr/libexec/cockpit-tls (code=exited, status=0/SUCCESS)
   Main PID: 37297 (code=exited, status=0/SUCCESS)
        CPU: 206ms

Aug 08 06:31:18 ip-172-31-14-14.ec2.internal cockpit-tls[37297]: cockpit-tls: gnutls_handshake failed: Error in the pull function.
Aug 08 06:31:39 ip-172-31-14-14.ec2.internal cockpit-tls[37297]: cockpit-tls: gnutls_handshake failed: A TLS fatal alert has been received.
Aug 08 06:31:40 ip-172-31-14-14.ec2.internal cockpit-tls[37297]: cockpit-tls: gnutls_handshake failed: A TLS fatal alert has been received.
Aug 08 06:31:40 ip-172-31-14-14.ec2.internal cockpit-tls[37297]: cockpit-tls: gnutls_handshake failed: A TLS fatal alert has been received.
Aug 08 06:31:45 ip-172-31-14-14.ec2.internal cockpit-tls[37297]: cockpit-tls: gnutls_handshake failed: A TLS fatal alert has been received.
Aug 08 06:31:46 ip-172-31-14-14.ec2.internal cockpit-tls[37297]: cockpit-tls: gnutls_handshake failed: A TLS fatal alert has been received.
Aug 08 06:31:46 ip-172-31-14-14.ec2.internal cockpit-tls[37297]: cockpit-tls: gnutls_handshake failed: A TLS fatal alert has been received.
Aug 08 06:31:52 ip-172-31-14-14.ec2.internal cockpit-tls[37297]: cockpit-tls: gnutls_handshake failed: A TLS fatal alert has been received.
Aug 08 06:31:54 ip-172-31-14-14.ec2.internal cockpit-tls[37297]: cockpit-tls: gnutls_handshake failed: A TLS fatal alert has been received.
Aug 08 06:34:29 ip-172-31-14-14.ec2.internal systemd[1]: cockpit.service: Deactivated successfully.
qiaofeng1227 commented 1 month ago

image