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

Terminal error "not-found" #21442

Open
rwolf2467 opened this issue Dec 16, 2024 · 2 comments
Open

Terminal error "not-found" #21442

rwolf2467 opened this issue Dec 16, 2024 · 2 comments
Labels

Comments

@rwolf2467
Copy link

Explain what happens

  1. Cockpit freshly installed.
  2. Logged in as “server” (not root)
  3. Open the “Terminal” tab.

image

Version of Cockpit

314-1

Where is the problem in Cockpit?

Terminal

Server operating system

Ubuntu

Server operating system version

24.04.1 LTS

What browsers are you using?

Firefox

System log

root@ubuntu:~# journalctl --since -10m
Dec 16 23:14:47 ubuntu sudo[9389]: pam_unix(sudo:session): session closed for user root
Dec 16 23:14:51 ubuntu kernel: [UFW BLOCK] IN=ens6 OUT= MAC=02:01:49:39:00:f7:82:01:49:39:00:f7:08:00 SRC=5.188.206.22 DST=212.132.70.166 LEN=40 TOS=0x00 PREC=0x00 TTL=245 ID=10270 PROTO=TCP SPT=>
Dec 16 23:15:01 ubuntu CRON[9631]: pam_unix(cron:session): session opened for user root(uid=0) by root(uid=0)
Dec 16 23:15:01 ubuntu CRON[9632]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Dec 16 23:15:01 ubuntu CRON[9631]: pam_unix(cron:session): session closed for user root
Dec 16 23:15:01 ubuntu sshd[9629]: Received disconnect from 122.3.192.83 port 47440:11: Bye Bye [preauth]
Dec 16 23:15:01 ubuntu sshd[9629]: Disconnected from authenticating user root 122.3.192.83 port 47440 [preauth]
Dec 16 23:15:08 ubuntu kernel: [UFW BLOCK] IN=ens6 OUT= MAC=02:01:49:39:00:f7:82:01:49:39:00:f7:08:00 SRC=100.29.192.42 DST=212.132.70.166 LEN=40 TOS=0x00 PREC=0x00 TTL=239 ID=54321 PROTO=TCP SPT>
Dec 16 23:15:13 ubuntu sshd[9636]: Received disconnect from 182.253.191.50 port 46460:11: Bye Bye [preauth]
Dec 16 23:15:13 ubuntu sshd[9636]: Disconnected from authenticating user root 182.253.191.50 port 46460 [preauth]
Dec 16 23:15:23 ubuntu sshd[9645]: Received disconnect from 218.92.0.183 port 41475:11:  [preauth]
Dec 16 23:15:23 ubuntu sshd[9645]: Disconnected from authenticating user root 218.92.0.183 port 41475 [preauth]
Dec 16 23:15:26 ubuntu sshd[9647]: Invalid user registry from 170.64.215.92 port 59518
Dec 16 23:15:26 ubuntu sshd[9647]: Connection closed by invalid user registry 170.64.215.92 port 59518 [preauth]
Dec 16 23:15:31 ubuntu kernel: [UFW BLOCK] IN=ens6 OUT= MAC=02:01:49:39:00:f7:82:01:49:39:00:f7:08:00 SRC=83.222.191.82 DST=212.132.70.166 LEN=40 TOS=0x00 PREC=0x00 TTL=245 ID=42805 PROTO=TCP SPT>
Dec 16 23:15:37 ubuntu sshd[9649]: Received disconnect from 218.92.0.223 port 15714:11:  [preauth]
Dec 16 23:15:37 ubuntu sshd[9649]: Disconnected from 218.92.0.223 port 15714 [preauth]
Dec 16 23:15:44 ubuntu sshd[9656]: Unable to negotiate with 218.92.0.212 port 27454: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,dif>
Dec 16 23:15:48 ubuntu kernel: [UFW BLOCK] IN=ens6 OUT= MAC=02:01:49:39:00:f7:82:01:49:39:00:f7:08:00 SRC=149.202.132.204 DST=212.132.70.166 LEN=60 TOS=0x00 PREC=0x00 TTL=55 ID=30063 DF PROTO=TCP>
Dec 16 23:15:55 ubuntu systemd[1]: Starting cockpit-wsinstance-http.socket - Socket for Cockpit Web Service http instance...
Dec 16 23:15:55 ubuntu systemd[1]: Starting cockpit-wsinstance-https-factory.socket - Socket for Cockpit Web Service https instance factory...
Dec 16 23:15:55 ubuntu systemd[1]: Listening on cockpit-wsinstance-http.socket - Socket for Cockpit Web Service http instance.
Dec 16 23:15:55 ubuntu systemd[1]: Listening on cockpit-wsinstance-https-factory.socket - Socket for Cockpit Web Service https instance factory.
Dec 16 23:15:55 ubuntu systemd[1]: Starting cockpit.service - Cockpit Web Service...
Dec 16 23:15:55 ubuntu systemd[1]: Started cockpit.service - Cockpit Web Service.
Dec 16 23:15:55 ubuntu systemd[1]: Started [email protected] - Cockpit Web Service https instance factory (PID 9663/UID 111).
Dec 16 23:15:55 ubuntu systemd[1]: Starting cockpit-wsinstance-https@e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.socket - Socket for Cockpit Web Service https instance e3b0c4>
Dec 16 23:15:55 ubuntu systemd[1]: Listening on cockpit-wsinstance-https@e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.socket - Socket for Cockpit Web Service https instance e3>
Dec 16 23:15:55 ubuntu systemd[1]: Started cockpit-wsinstance-https@e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.service - Cockpit Web Service https instance e3b0c44298fc1c149>
Dec 16 23:15:55 ubuntu systemd[1]: [email protected]: Deactivated successfully.
Dec 16 23:16:04 ubuntu cockpit-session[9676]: pam_ssh_add: Failed adding some keys
Dec 16 23:16:04 ubuntu cockpit-session[9676]: pam_unix(cockpit:session): session opened for user server(uid=1000) by server(uid=0)
Dec 16 23:16:04 ubuntu systemd-logind[829]: New session 13 of user server.
Dec 16 23:16:04 ubuntu systemd[1]: Created slice user-1000.slice - User Slice of UID 1000.
Dec 16 23:16:04 ubuntu systemd[1]: Starting [email protected] - User Runtime Directory /run/user/1000...
Dec 16 23:16:04 ubuntu systemd[1]: Finished [email protected] - User Runtime Directory /run/user/1000.
Dec 16 23:16:04 ubuntu systemd[1]: Starting [email protected] - User Manager for UID 1000...
Dec 16 23:16:04 ubuntu (systemd)[9684]: pam_unix(systemd-user:session): session opened for user server(uid=1000) by server(uid=0)
Dec 16 23:16:04 ubuntu systemd[9684]: Queued start job for default target default.target.
Dec 16 23:16:04 ubuntu systemd[9684]: Created slice app.slice - User Application Slice.
Dec 16 23:16:04 ubuntu systemd[9684]: Started launchpadlib-cache-clean.timer - Clean up old files in the Launchpadlib cache.
@rwolf2467 rwolf2467 added the bug label Dec 16, 2024
@jelly
Copy link
Member

jelly commented Dec 17, 2024

Any hints at all in the browser console? IS this normal hardware or a rpi?

What is your users default shell?

Commenting with the output of this would be useful

getent passwd server

@rwolf2467
Copy link
Author

No, it's not a PI. It is a server hosted by the company Strato.

root@ubuntu:~# getent passwd server
server:x:1000:1000::/home/server:/bin/sh
root@ubuntu:~#

Here is the browser console:

Content-Security-Policy: Ignoring ‘block-all-mixed-content’ because mixed content display upgrading makes block-all-mixed-content obsolete. [terminal](https://lumos.avocloud.net:9090/system/terminal)
The resource from “https://lumos.avocloud.net:9090/cockpit/@localhost/*/po.manifest.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
[terminal](https://lumos.avocloud.net:9090/system/terminal)
The resource from “https://lumos.avocloud.net:9090/cockpit/@localhost/*/po.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
[terminal](https://lumos.avocloud.net:9090/system/terminal)
The resource from “https://lumos.avocloud.net:9090/cockpit/@localhost/*/po.manifest.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
[terminal](https://lumos.avocloud.net:9090/system/terminal)
Loading failed for the <script> with source “https://lumos.avocloud.net:9090/cockpit/@localhost/*/po.manifest.js”. [terminal:13:39](https://lumos.avocloud.net:9090/system/terminal)
The resource from “https://lumos.avocloud.net:9090/cockpit/@localhost/*/po.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
[terminal](https://lumos.avocloud.net:9090/system/terminal)
Loading failed for the <script> with source “https://lumos.avocloud.net:9090/cockpit/@localhost/*/po.js”. [terminal:14:30](https://lumos.avocloud.net:9090/system/terminal)
Content-Security-Policy: Ignoring ‘block-all-mixed-content’ because mixed content display upgrading makes block-all-mixed-content obsolete. [index.html](https://lumos.avocloud.net:9090/cockpit/@localhost/updates/index.html#/)
Content-Security-Policy: Ignoring ‘block-all-mixed-content’ because mixed content display upgrading makes block-all-mixed-content obsolete. [index.html](https://lumos.avocloud.net:9090/cockpit/@localhost/system/index.html#/)
Content-Security-Policy: Ignoring ‘block-all-mixed-content’ because mixed content display upgrading makes block-all-mixed-content obsolete. [services.html](https://lumos.avocloud.net:9090/cockpit/@localhost/system/services.html#/)
Content-Security-Policy: Ignoring ‘block-all-mixed-content’ because mixed content display upgrading makes block-all-mixed-content obsolete. [terminal.html](https://lumos.avocloud.net:9090/cockpit/@localhost/system/terminal.html#/)
FormSelect requires either an id or aria-label to be specified [terminal.js:16:145262](https://lumos.avocloud.net:9090/cockpit/@localhost/system/terminal.js)
Content-Security-Policy: The page’s settings blocked an inline style (style-src-elem) from being applied because it violates the following directive: “default-src 'self'” [terminal.js:12:57420](https://lumos.avocloud.net:9090/cockpit/@localhost/system/terminal.js)
Content-Security-Policy: The page’s settings blocked an inline style (style-src-elem) from being applied because it violates the following directive: “default-src 'self'” [terminal.js:12:57569](https://lumos.avocloud.net:9090/cockpit/@localhost/system/terminal.js)
Content-Security-Policy: The page’s settings blocked an inline style (style-src-elem) from being applied because it violates the following directive: “default-src 'self'” [terminal.js:12:57947](https://lumos.avocloud.net:9090/cockpit/@localhost/system/terminal.js)
Content-Security-Policy: The page’s settings blocked an inline style (style-src-elem) from being applied because it violates the following directive: “default-src 'self'” [terminal.js:12:60767](https://lumos.avocloud.net:9090/cockpit/@localhost/system/terminal.js)
Content-Security-Policy: The page’s settings blocked an inline style (style-src-elem) from being applied because it violates the following directive: “default-src 'self'”

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

No branches or pull requests

2 participants