/r/RockyLinux

Photograph via snooOG

An open enterprise operating system project.

A community enterprise Operating System designed to be fully compatible with Red Hat Enterprise Linux

/r/RockyLinux

8,940 Subscribers

0

Stuck in emergency mode !

So there was a dell firmware update today and I don't know if that is the reason. I haven't opened Rocky Linux for some time. I am a complete beginner so please keep that in mind when helping. Here is the link to the system logs:

https://termbin.com/vehg

https://termbin.com/eu0k

EDIT: forgot to mention I am dual booting alongside windows 11 on my laptop šŸ˜…

4 Comments
2024/11/02
15:58 UTC

1

Rocky Linux 9.4 on Dell PC - keyboard drivers

I have Rocky Linux running on a Dell PC workstation. I had considerable diffculty finding the correct keyboard driver when I did the install as I use a QWERTZ Luxembourg keyboard also known as a French Swiss keyboard. It has all the accented chars I need for all the the languages in which I type text. The problem is when I bring up the keyboad diagram on the screen, it seems to illustrate the correct keyboard but when I type in my password, It doesn't type the correct characters corresponding to my keystrokes.

I also have a UK English keyboard driver installed along with a German Swiss driver and I am wondering if it defaults to one of these on startup thus making incorrect chars appear when I type my password.

Can that happen? I no longer need the other keyboard drivers so maybe I should uninstall them?

4 Comments
2024/10/23
19:47 UTC

7

32-Bit Rocky 9 (escaped from the lab)

I thought I'd share my latest mad science experiment: 32 bit (i686) Rocky 9!

Bit of background: The Rocky project publishes all binaries produced in an organized way via the "devel" repository in our repos. This is great, and allows people to make use of packages that aren't included in the official RedHat-compatible repositories (BaseOS, AppStream, et al). As part of supporting select "multilib" packages for i686 (glibc.i686, openssl.i686, etc.), Rocky actually builds most packages in i686 as well as x86_64. Because of this, https://dl.rockylinux.org/pub/rocky/9/devel/i686/ has almost everything you need to make an actual working system.

The big exception is the kernel. Fortunately, with some small modifications I was able to port the ELRepo 6.1.x LT kernel package to i686. This package combined with that devel/ repository is enough to create a bootable, working Rocky 9 system for i686 processors. My experiments show that only Pentium 4 or higher is supported, no Pentium 3 or earlier CPUs due to userspace gcc optimizations.

This was just an experiment, and comes with no warranty of any kind. I thought I'd publish it in case anyone was interested. Super thanks to the Rocky project and ELRepo for providing the tools - makes this sort of thing pretty easy to build, all told.

Enjoy!

3 Comments
2024/10/22
22:19 UTC

1

Help me in investigating system crashes

I'm running a home server with RL, and as of recently I'm experiencing random crashes, almost daily or every other day.

I've enabled permanent logs for journalctl, but unfortunately, the last few messages before the crash do not provide any useful information.

However, there is a crash report in /var/crash with the timestamp when the crash happened.
I found this guide on how to use the crash utility, but there is no vmlinux file that is supposed to be in /usr/lib/debug... I also searched systemwide for that file, but nothing. Therer is only vmlinuz, but I get the error that this format is not supported.

https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/7/html/kernel_administration_guide/kernel_crash_dump_guide#sect-blacklisting-drivers

Any help is much appreciated.

13 Comments
2024/10/15
19:02 UTC

0

GLPI-Agent Install on Rocky Linux

Hi guys, I would like to install GLPI-Agent on a Rocky Linux machine so that it can be inventoried on my GLPI server. Does the installation work like on a RedHat machine?

1 Comment
2024/10/15
08:43 UTC

0

Why installing Workstation live ISO takes so long?

[EDIT - PROBLEM SOLVED] I want to try Rocky Linux and i did choose Workstation live which takes a whole day to download. Why? Btw, i have a good internet speed, so is it because of the server?

5 Comments
2024/10/15
05:45 UTC

0

Newbie question, I installed Rocky on a VM and I can't to dnf update, error message below

I checked and --add-repo'd all of the base repos just in case, but dnf update gives the following output:

[root@localhost /]# dnf update

created by dnf config-manager from file:///appstream

Errors during downloading metadata for repository 'appstream':

- Curl error(37): Couldn't read a file:// file for file:///appsteram/repodata/repomd.xml [Couldn't open file /appstream/repodata/repomd.xml]

Error: Failed to dowwnload metadata for repo 'appstream': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

Earlier it was complaining about the baseos repo so I disabled it as per some guy's advice, and now it's complaining about appstream. What's wrong? I have an internet connection, ping to google and a wget I did earlier worked fine.

5 Comments
2024/10/14
13:17 UTC

2

Connecting a server to open vpn

I am trying to connect a rocky server to open vpn but every search only shows posts on how to start a server. I have a express subscription and want to put that vpn on the server. I am trying to use the command line because it is a cloud server. please help.

3 Comments
2024/10/10
01:46 UTC

1

Rstudio Desktop stuck on logo

Any one have any thoughts on this?

[admin@rockylinux8 ~]$ rstudio
[3321285:1007/075655.649934:ERROR:gl_factory.cc(120)] Requested GL implementation (gl=none,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default),(gl=egl-gles2,angle=none)].
[3321285:1007/075655.651553:ERROR:viz_main_impl.cc(198)] Exiting GPU process due to errors during initialization
[3321235:1007/075656.639871:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.StartServiceByName: object_path= /org/freedesktop/DBus: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[3321363:1007/075726.573510:ERROR:gl_factory.cc(120)] Requested GL implementation (gl=none,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default),(gl=egl-gles2,angle=none)].
[3321363:1007/075726.574854:ERROR:viz_main_impl.cc(198)] Exiting GPU process due to errors during initialization
[3321382:1007/075727.453866:ERROR:gl_factory.cc(120)] Requested GL implementation (gl=none,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default),(gl=egl-gles2,angle=none)].
[3321382:1007/075727.454975:ERROR:viz_main_impl.cc(198)] Exiting GPU process due to errors during initialization
[3321235:1007/075732.097002:ERROR:network_service_instance_impl.cc(599)] Network service crashed, restarting service.
[3321396:1007/075732.115229:ERROR:gl_factory.cc(120)] Requested GL implementation (gl=none,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default),(gl=egl-gles2,angle=none)].
[3321396:1007/075732.131506:ERROR:viz_main_impl.cc(198)] Exiting GPU process due to errors during initialization
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[3321369:1007/075736.507333:ERROR:command_buffer_proxy_impl.cc(131)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[3321362:1007/075736.507014:ERROR:command_buffer_proxy_impl.cc(131)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.

1 Comment
2024/10/07
18:04 UTC

1

Building Beanstalkd from source

I was wondering how to properly build beanstalkd from source. I saw a similar post asking how to install beanstalkd and one comment suggests that building from source would be the most logical way to install it. I successfully built the binaries for beanstalkd but i'm not sure on what the next steps are.

  1. I can only use it within where the binaries are. How can i use it globally?
  2. running sudo service beanstalkd status does not work. How can i register it to service?

Thank you

0 Comments
2024/10/07
07:18 UTC

3

zabbix | zabbix-apache-conf

i have problem when i want install zabbix i have this error: Error: Unable to find a match: zabbix-apache-conf

2 Comments
2024/10/06
16:47 UTC

3

openvpn rocky linux

hi, i have problem with openvpnn. i used to configure this shit from this website:https://reintech.io/blog/installing-configuring-openvpn-rocky-linux-9.

In moment im haveing evey generated keys and configured this file /etc/openvpn/server.conf. when i want to start deamon i see thisoutput:

Failed to start openvpn@server.service: Unit openvpn@server.service not found.

I need help...

2 Comments
2024/10/02
20:10 UTC

2

SSH's authorized_keys over NFS result in binary file contents

Hi all,

I manage a small cluster of RockyLinux nodes where login information is centralised with FreeIPA and home directories are mounted via NFS (v4.2) from another Rocky server.

Things run smoothly (yes, I did set SELinux option use_nfs_home_dirs --> on) however for the life of me I cannot get around a single issue that affects only two nodes and it is related to accessing the content of some users' authorized_keys (thus hindering key-based login).

Specifically, on the failing nodes doing a cat of the file will only display bogus binary contents, while from any other node it will correctly show the allowed pubkeys. The only available workaround is a touch on the file itself from the affected node, which will make things work...until some hours later (note that the file is seldomly changed). It is not a permission issue either as the file is set to 600 and owned by the user itself.

I tried a strace cat authorized_keys from both a failing and a working node and couldn't spot any sensible difference, apart from the content itself of the file.

All nodes are running on RL 8.9 albeit there might be minor differences in some packages due to different install times, however I would not even know where to start looking. For what it's worth, the mount options are:

type nfs4 (rw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,soft,proto=tcp,nconnect=8,timeo=600,retrans=2,sec=sys,clientaddr=10.30.SOME.IP,fsc,local_lock=none,addr=10.SERVER.IP.ADDR)

My first guess was the NFS cachefilesd that runs on all machines (I did check the version detail for this specific package and they match major, minor and patch), however disabling and/or adding verbosity to the debug of such daemon proved of little help.

Any hint on where to look next?

13 Comments
2024/09/29
19:22 UTC

0

OpenKiosk on RockyLinux 9.4

Hello everyone, new RockyLinux user here. Does anyone know if OpenKiosk is working on RL 9.4? I cannot make it work.

3 Comments
2024/09/26
06:39 UTC

3

Rocky Linux 8.10 boot issues

I installed Rocky Linux 8.9 in a Hyper-V cluster.

Primarily using it as a syslog server.

I installed updates that included a kernel update - I think this was the 8.10 yum update.

At this point, whenever I restart the system, it will boot loop ~ 3 times shut off, boot loop another 3 times then shut off, then it will boot...

Yes, it finally boots, but right now it requires a bit of hand holding to get things back online every time I patch it.

Any thoughts on what I could check?

17 Comments
2024/09/25
22:14 UTC

2

Troubles with fips mode and Rocky 9.4

I am experimenting in getting Rocky 9.4 to run in fips-mode via the NIST-171 security policy. I went through the install process no problem; and verified fips-mode is enabled via fips-mode-setup --check. My issue is when I try to update the system, I get the following when trying to run

sudo dnf update

Error: Failed to download metadata for repo 'baseos': Cannot prepare internal mirrorlist: Curl error (60): SSL peer certificate or SSH remote key was not OK for https://mirrors.rockylinux.org/mirrorlist?arch=x86_64&repo=BaseOS-9 [SSL certificate problem: EE certificate key too weak]

I am assuming that fips-mode is limiting the system to a subset of ciphers that isn't in the rocky repository's certificate. I am also assuming that the repository should be setup to connect with fips enabled machines. Is there something I am missing on my end?

1 Comment
2024/09/25
14:43 UTC

0

No HDMI Signal on TV after Rocky Linux Installation on HP T630

Hi everyone,
I'm new to Linux and have successfully installed Rocky Linux on my HP T630. However, Iā€™m encountering an issue: when I connect my HP T630 to my TV (Samsung The Frame) via HDMI, there is no signal after the hp boot logo. Interestingly, if I use the nomodeset, the device boots successfully.

Hereā€™s what Iā€™ve tried so far:

  • Tested different HDMI cables.
  • Tried different HDMI ports on the TV.
  • Try other display (worked)

Does anyone have an idea what might be causing this? Are there any drivers or settings in Rocky Linux that I need to enable? I would really appreciate any help!

0 Comments
2024/09/24
22:33 UTC

3

Wallpaper manager for WM like i3

Please do not suggest I use a different distro, Rocky 9 is what I have and what I need to use, I would ideally be using arch, but this is a work laptop.

The repos do not seem to include any common wallpaper tool, such as feh or nitrogen.

Can anyone reccomend a tool or way to set a wallpaper when using i3 on Rocky 9?

EDIT: I solved it by building feh from source.

6 Comments
2024/09/23
11:01 UTC

1

Does Java 17 run correctly on Rocky 8, or 7?

Hi,

I'm sorry if this question doesn't really make sense or is lacking details, I'm not an ops, I'm just enquiring whether it's possible to upgrade Jira to Jira 10 on a Rocky 8 server and I'm not sure it will go smoothly with JDK 17. Since I've not found anyone asking the same question on the Internet I guess it's not a really relevant question but I'd like to be sure anyhow, can you tell me?

3 Comments
2024/09/20
07:55 UTC

0

Installing beanstalkd

I'm trying to install beanstalkd but i get an error saying that unable to find a match: beanstalkd. I searched and saw this guide but it didn't resolved my issue.

1 Comment
2024/09/18
08:26 UTC

0

No Python in path

Dears,

I'd like to get some help from you!

I have installed the with base packages.

I am not sure if python installed or not.

I want to add the python command to the path. How can it be done? Using Google is not giving me any workable result.

INFO

NAME="Rocky Linux" VERSION="8.9 (Green Obsidian)" ID="rocky" ID_LIKE="rhel centos fedora" VERSION_ID="8.9" PLATFORM_ID="platform:el8" PRETTY_NAME="Rocky Linux 8.9 (Green Obsidian)" ANSI_COLOR="0;32" LOGO="fedora-logo-icon" CPE_NAME="cpe:/o:rocky:rocky:8:GA" HOME_URL="https://rockylinux.org/" BUG_REPORT_URL="https://bugs.rockylinux.org/" SUPPORT_END="2029-05-31" ROCKY_SUPPORT_PRODUCT="Rocky-Linux-8" ROCKY_SUPPORT_PRODUCT_VERSION="8.9" REDHAT_SUPPORT_PRODUCT="Rocky Linux" REDHAT_SUPPORT_PRODUCT_VERSION="8.9"

[root@mymachine /]# which python3 /usr/bin/which: no python3 in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin) [root@mymachine /]# which python /usr/bin/which: no python in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin) [root@mymachine /]# [root@mymachine /]# [root@mymachine /]# python --version -bash: python: command not found [root@mymachine /]# python3 --version -bash: python3: command not found

Many thanks in advance!

9 Comments
2024/09/16
14:46 UTC

3

Question: Migrating FreeIPA from CentOS 7 to Rocky Linux

I have FreeIPA installed on CentOS version 7, and I want to migrate it to Rocky Linux because CentOS is no longer supported. My goal is to perform the migration in the best and most efficient way possible without losing any certificates, DNS records, users, or hosts. Additionally, I need to ensure the migration happens live, without downtime.

I am considering installing a second FreeIPA instance on a new Rocky Linux VM and performing anĀ ipa-replica-installĀ so that everything is cloned. My question is whether both FreeIPA versions on CentOS version 7 and Rocky Linux are compatible. Would this approach work, and does anyone have experience with this type of migration?

More details:

  • My current FreeIPA is running on CentOS version 7.
  • FreeIPA version: 4.6. API version: 2.237
10 Comments
2024/09/12
11:08 UTC

3

Just asking for some suggestion. I'm going to install Rocky Linux for the 1st time.

Hi everyone.

I'm using Debian bookworm + xfce right now. I've used fedora + gnome/xfce before but CentOS or RHEL, never. I have gone through a few videos in youtube about Rocky Linux and it's stability. I've downloaded the distro and going for a clean-disk install with new home and everything.

CPU: Intel i3-9100F (4) @ 4.200GHz
GPU: NVIDIA GeForce GT 710

these are my specs. I almost don't play games (max maybe gnome-mines or chess sometimes), I don't professionally code and I have no professional need for any multimedia editing. I'm building a home server for my band and for that I'm trying to go through Rocky Linux in my system. If it works for me, it will definitely work for the server. I have a dual boot with debian + gnome (but that's my wife's partition in the PC, so can't touch that). I mostly use MBR table and prefer ext4 FS. I may use xfce4 along with gnome in the system. Is there anything that I must know before switching to Rocky OS being a complete newbie without any experience in CentOS or RHEL, in the Rocky realm? If yes, please let me know. Any suggestion is appreciated. Thank you all. :)

7 Comments
2024/09/09
08:45 UTC

0

[Question] Installers: gem, dnf, yum, snap, tar.gz, etc...

I've been comparing Ubuntu 24 with Rocky 9.

It seems I have to do a lot of pre-installs to get basic installs to work.

For example, to install "lolcat" I had to use "gem install." Midnight commander only works as "sudo root"

Am I missing steps and doing things wrong?

6 Comments
2024/09/07
14:22 UTC

1

Can't get cloud-init to work on a single 8.10 Generic Cloud Image

Unfortunately the tenant is requesting Rocky 8 and not Rocky 9.

I downloaded the Rocky-8-GenericCloud-Base.latest.x86_64.qcow2 image.

  • converted it to a vmdk file, then ran ovftool with a template.vmx file to generate the "package" of files that comprise the OVA file (mf, iso for cloud init, vmdk and ovf).

  • loaded it into the CMP, and tried to boot it. No Cloud-Init at all. No way to log in.

Downloaded the Rocky-8-GenericCloud-LVM.latest.x86_64.qcow2 image.

  • followed same process of converting it and loading it, same result. No Cloud-Init at all. No way to log in.

The process I am following? It works fine with several Rocky 9 images.

After spending all day on this, I have decided to abandon ship on this, and recycle a CMP's Rocky 8.9 image that does work properly.

2 Comments
2024/09/06
20:27 UTC

2

Issue : Migrating Slurm-gcp from CentOS to Rocky8

as you know it's the end of Centos life, and I'm migrating HPC cluster (slurm-gcp) from centos7.9 to RockyLinux8.

I'm having problems with my Slurm deamon, especially Slurmctld and SlurmDBD, which keep restarting because slurmctld can't connect to the database hosted on a cloudSQL. Knowing that the ports are open and with centos I haven't had this problem!!!!

ā— slurmdbd.service - Slurm DBD accounting daemon

Loaded: loaded (/usr/lib/systemd/system/slurmdbd.service; enabled; vendor preset: disabled)

Active: active (running) since Fri 2024-09-06 09:32:20 UTC; 17min ago

Main PID: 16876 (slurmdbd)

Tasks: 7

Memory: 5.7M

CGroup: /system.slice/slurmdbd.service

ā””ā”€16876 /usr/local/sbin/slurmdbd -D -s

Sep 06 09:32:20 dev-cluster-ctrl0.dev.internal systemd[1]: Started Slurm DBD accounting daemon.

Sep 06 09:32:20 dev-cluster-ctrl0.dev.internal slurmdbd[16876]: slurmdbd: Not running as root. Can't drop supplementary groups

Sep 06 09:32:21 dev-cluster-ctrl0.dev.internal slurmdbd[16876]: slurmdbd: accounting_storage/as_mysql: _check_mysql_concat_is_sane: MySQL server version is: 5.6.51-google-log

Sep 06 09:32:21 dev-cluster-ctrl0.dev.internal slurmdbd[16876]: slurmdbd: error: Database settings not recommended values: innodb_buffer_pool_size innodb_lock_wait_timeout

Sep 06 09:32:22 dev-cluster-ctrl0.dev.internal slurmdbd[16876]: slurmdbd: slurmdbd version 23.11.8 started

Sep 06 09:32:36 dev-cluster-ctrl0.dev.internal slurmdbd[16876]: slurmdbd: error: Processing last message from connection 9(10.144.140.227) uid(0)

Sep 06 09:32:36 dev-cluster-ctrl0.dev.internal slurmdbd[16876]: slurmdbd: error: CONN:11 Request didn't affect anything

Sep 06 09:32:36 dev-cluster-ctrl0.dev.internal slurmdbd[16876]: slurmdbd: error: Processing last message from connection 11(10.144.140.227) uid(0)

ā— slurmctld.service - Slurm controller daemon

Loaded: loaded (/usr/lib/systemd/system/slurmctld.service; enabled; vendor preset: disabled)

Active: active (running) since Fri 2024-09-06 09:34:01 UTC; 16min ago

Main PID: 17563 (slurmctld)

Tasks: 23

Memory: 10.7M

CGroup: /system.slice/slurmctld.service

ā”œā”€17563 /usr/local/sbin/slurmctld --systemd

ā””ā”€17565 slurmctld: slurmscriptd

error on slurmctld.log :

[2024-09-06T07:54:58.022] error: _shutdown_bu_thread:send/recv dev-cluster-ctrl1.dev.internal: Connection timed out

[2024-09-06T07:55:06.305] auth/jwt: auth_p_token_generate: created token for slurm for 1800 seconds

[2024-09-06T07:56:04.404] auth/jwt: auth_p_token_generate: created token for slurm for 1800 seconds

[2024-09-06T07:56:43.035] error: _shutdown_bu_thread:send/recv dev-cluster-ctrl1.dev.internal: Connection refused

[2024-09-06T07:57:05.806] auth/jwt: auth_p_token_generate: created token for slurm for 1800 seconds

[2024-09-06T07:58:03.417] auth/jwt: auth_p_token_generate: created token for slurm for 1800 seconds

[2024-09-06T07:58:43.031] error: _shutdown_bu_thread:send/recv dev-cluster-ctrl1.dev.internal: Connection refused

[2024-09-06T08:24:43.006] error: _shutdown_bu_thread:send/recv dev-cluster-ctrl1.dev.internal: Connection refused

[2024-09-06T08:25:07.072] auth/jwt: auth_p_token_generate: created token for slurm for 1800 seconds

[2024-09-06T08:31:08.556] slurmctld version 23.11.8 started on cluster dev-cluster

[2024-09-06T08:31:10.284] accounting_storage/slurmdbd: clusteracct_storage_p_register_ctld: Registering slurmctld at port 6820 with slurmdbd

[2024-09-06T08:31:11.143] error: The option "CgroupAutomount" is defunct, please remove it from cgroup.conf.

[2024-09-06T08:31:11.205] Recovered state of 493 nodes

[2024-09-06T08:31:11.207] Recovered information about 0 jobs

[2024-09-06T08:31:11.468] Recovered state of 0 reservations

[2024-09-06T08:31:11.470] Running as primary controller

[2024-09-06T08:32:03.435] auth/jwt: auth_p_token_generate: created token for slurm for 1800 seconds

[2024-09-06T08:32:03.920] auth/jwt: auth_p_token_generate: created token for slurm for 1800 seconds

[2024-09-06T08:32:11.001] SchedulerParameters=salloc_wait_nodes,sbatch_wait_nodes,nohold_on_prolog_fail

[2024-09-06T08:32:47.271] Terminate signal (SIGINT or SIGTERM) received

[2024-09-06T08:32:47.272] Saving all slurm state

[2024-09-06T08:32:48.793] slurmctld version 23.11.8 started on cluster dev-cluster

[2024-09-06T08:32:49.504] accounting_storage/slurmdbd: clusteracct_storage_p_register_ctld: Registering slurmctld at port 6820 with slurmdbd

[2024-09-06T08:32:50.471] error: The option "CgroupAutomount" is defunct, please remove it from cgroup.conf.

[2024-09-06T08:32:50.581] Recovered state of 493 nodes

[2024-09-06T08:32:50.598] Recovered information about 0 jobs

[2024-09-06T08:32:51.149] Recovered state of 0 reservations

[2024-09-06T08:32:51.157] Running as primary controller

knowing that with centos I have no problem and I ulise the basic image provided of slurm-gcp ā€œslurm-gcp-6-6-hpc-rocky-linux-8ā€.

https://github.com/GoogleCloudPlatform/slurm-gcp/blob/master/docs/images.md

do you have any ideas?

1 Comment
2024/09/06
10:03 UTC

0

SSH authorized_key auth not working

On my Debian servers I'm used to this process working:

  1. ssh-keygen on the client that I'll use to connect to server

  2. ssh-copy-id to the server

  3. ssh now works without needing to type the password

But on Rocky Linux, doing the process above isn't working. I've confirmed the sshd_config is correct, and that the folder is allowed in selinux using the command restorecon -R -v /home/sysadmin/.ssh.

But still, nothing seems to work. The logs don't seem to be very useful either:

Sep  5 10:05:11 remoteserver sshd[16187]: Connection closed by authenticating user sysadmin 10.10.6.151 port 57606 [preauth]
Sep  5 10:05:11 remoteserver sshd[16187]: debug1: do_cleanup [preauth]
Sep  5 10:05:11 remoteserver sshd[16187]: debug1: monitor_read_log: child log fd closed
Sep  5 10:05:11 remoteserver sshd[16187]: debug1: do_cleanup
Sep  5 10:05:11 remoteserver sshd[16187]: debug1: PAM: cleanup
Sep  5 10:05:11 remoteserver sshd[16187]: debug1: Killing privsep child 16188
Sep  5 10:05:11 remoteserver sshd[16179]: debug1: Forked child 16189.
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: Set /proc/self/oom_score_adj to 0
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: rexec start in 5 out 5 newsock 5 pipe 7 sock 8
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: inetd sockets after dupping: 4, 4
Sep  5 10:05:11 remoteserver sshd[16189]: Connection from 10.10.6.151 port 57548 on 10.10.4.22 port 22 rdomain ""
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: Local version string SSH-2.0-OpenSSH_8.7
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: Remote protocol version 2.0, remote software version OpenSSH_9.7
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: compat_banner: match: OpenSSH_9.7 pat OpenSSH* compat 0x04000000
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: SELinux support enabled [preauth]
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: ssh_selinux_change_context: setting context from 'system_u:system_r:sshd_t:s0-s0:c0.c1023' to 'system_u:system_r:sshd_net_t:s0-s0:c0.c1023' [preauth]
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: permanently_set_uid: 74/74 [preauth]
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: list_hostkey_types: rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519 [preauth]
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: SSH2_MSG_KEXINIT sent [preauth]
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: SSH2_MSG_KEXINIT received [preauth]
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: kex: algorithm: curve25519-sha256 [preauth]
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: kex: host key algorithm: ssh-ed25519 [preauth]
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none [preauth]
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none [preauth]
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: kex: curve25519-sha256 need=64 dh_need=64 [preauth]
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: kex: curve25519-sha256 need=64 dh_need=64 [preauth]
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: expecting SSH2_MSG_KEX_ECDH_INIT [preauth]
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: SSH2_MSG_KEX_ECDH_INIT received [preauth]
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: ssh_packet_send2_wrapped: resetting send seqnr 3 [preauth]
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: rekey out after 134217728 blocks [preauth]
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: SSH2_MSG_NEWKEYS sent [preauth]
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: Sending SSH2_MSG_EXT_INFO [preauth]
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: expecting SSH2_MSG_NEWKEYS [preauth]
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: ssh_packet_read_poll2: resetting read seqnr 3 [preauth]
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: SSH2_MSG_NEWKEYS received [preauth]
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: rekey in after 134217728 blocks [preauth]
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: KEX done [preauth]
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: userauth-request for user sysadmin service ssh-connection method none [preauth]
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: attempt 0 failures 0 [preauth]
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: PAM: initializing for "sysadmin"
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: PAM: setting PAM_RHOST to "10.10.6.151"
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: PAM: setting PAM_TTY to "ssh"
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: userauth-request for user sysadmin service ssh-connection method publickey [preauth]
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: attempt 1 failures 0 [preauth]
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: userauth_pubkey: test pkalg rsa-sha2-512 pkblob RSA SHA256:3RDq4w+O0LElrPqE/xTnw/R7JkepTrVxwLrOuD2TTDk [preauth]
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: temporarily_use_uid: 1000/1000 (e=0/0)
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: trying public key file /home/sysadmin/.ssh/authorized_keys
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: fd 5 clearing O_NONBLOCK
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: restore_uid: 0/0
Sep  5 10:05:11 remoteserver sshd[16189]: Failed publickey for sysadmin from 10.10.6.151 port 57548 ssh2: RSA SHA256:3RDq4w+O0LElrPqE/xTnw/R7JkepTrVxwLrOuD2TTDk
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: userauth-request for user sysadmin service ssh-connection method publickey [preauth]
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: attempt 2 failures 1 [preauth]
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: userauth_pubkey: test pkalg ssh-ed25519 pkblob ED25519 SHA256:4P7PSeqkrTBIh3WZlJXbjHuBxgsPL4B4hFcCyx7+rog [preauth]
Sep  5 10:05:11 remoteserver sshd[16189]: debug1: temporarily_use_uid: 1000/1000 (e=0/0)
Sep  5 10:05:12 remoteserver sshd[16189]: debug1: trying public key file /home/sysadmin/.ssh/authorized_keys
Sep  5 10:05:12 remoteserver sshd[16189]: debug1: fd 5 clearing O_NONBLOCK
Sep  5 10:05:12 remoteserver sshd[16189]: debug1: restore_uid: 0/0
Sep  5 10:05:12 remoteserver sshd[16189]: Failed publickey for sysadmin from 10.10.6.151 port 57548 ssh2: ED25519 SHA256:4P7PSeqkrTBIh3WZlJXbjHuBxgsPL4B4hFcCyx7+rog

Any ideas / help would be useful! Thanks

14 Comments
2024/09/05
18:06 UTC

2

Cloudinit issue with Rocky 9.4

Hi Everyone,

I am using Packer to build the base gold image for Rocky9.4. Basically it has cloud-init baked nad with datasource.cfg and network.cfg.

However, when I tried to build a VM via the vm template (via foreman), it cannot get the cloud-init template at the first boot. I worked with Centos9 and it get the cloud-init template seamlessly and apply what it wants to the VM right away.

The thing I can make it work is to run cloud-init clean --reboot once the VM is up and running, then the cloud-init template is finally applied to the VM after reboot.

Does anyone encounter this issue? May I know how to fix it?

1 Comment
2024/09/04
18:37 UTC

1

Flatpak is not working in Rocky Linux

flatpak remote-add --if-not-exists flathubĀ https://dl.flathub.org/repo/flathub.flatpakrepo

error: Can't load uriĀ https://dl.flathub.org/repo/flathub.flatpakrepo:Ā Could not connect: Network is unreachable

my network is working fine but couldnt able to connect to the flathub

1 Comment
2024/09/02
08:27 UTC

Back To Top