Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot install cockpit on AmazonLinux2023 #522

Open
qiaofeng1227 opened this issue Aug 7, 2024 · 4 comments
Open

cannot install cockpit on AmazonLinux2023 #522

qiaofeng1227 opened this issue Aug 7, 2024 · 4 comments
Assignees

Comments

@qiaofeng1227
Copy link
Contributor

qiaofeng1227 commented Aug 7, 2024

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 qiaofeng1227 transferred this issue from Websoft9/docker-library Aug 8, 2024
@qiaofeng1227 qiaofeng1227 self-assigned this Aug 8, 2024
@qiaofeng1227
Copy link
Contributor Author

@chendelin1982
Copy link
Contributor

chendelin1982 commented Aug 8, 2024

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
Copy link
Contributor Author

qiaofeng1227 commented Aug 8, 2024

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
Copy link
Contributor Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants