/r/CentOS
CentOS (Community Enterprise Operating System) was a Linux distribution that attempted to provide a free, enterprise-class, community-supported computing platform which aimed to be functionally compatible with its upstream source, Red Hat Enterprise Linux (RHEL).
However that is no longer the case.
CentOS (Community Enterprise Operating System) was a Linux distribution that attempted to provide a free, enterprise-class, community-supported computing platform which aimed to be functionally compatible with its upstream source, Red Hat Enterprise Linux (RHEL).
However that is no longer the case. RIP CentOS
https://blog.centos.org/2020/12/future-is-centos-stream/
For more information please refer to these external sites:
Rules:
Relevant subreddits:
/r/CentOS
I am running CentSO 7.9.2009 and I followed the installation steps of SysmonforLinux for RHEL 7.
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo wget -q -O /etc/yum.repos.d/microsoft-prod.repo https://packages.microsoft.com/config/rhel/7/prod.repo
sudo yum install sysmonforlinux
But the install command failed with this error:
Error: Package: sysinternalsebpf-1.4.0-0.el8.x86_64 (packages-microsoft-com-prod)
Requires: libc.so.6(GLIBC_2.28)(64bit)
Error: Package: sysmonforlinux-1.3.3-0.el8.x86_64 (packages-microsoft-com-prod)
Requires: libc.so.6(GLIBC_2.25)(64bit)
Error: Package: sysmonforlinux-1.3.3-0.el8.x86_64 (packages-microsoft-com-prod)
Requires: libstdc++.so.6(CXXABI_1.3.9)(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I attach an image of the situation. How can I proceed?
Update:
This is bug https://access.redhat.com/errata/RHBA-2024:9466
Resolved in mutter 40.9.22
Thanks to u/FrazzledHack for pointing it out.
Relatively fresh Centos Stream 9 install. Keyboard shortcuts Ctrl+Shift+Fn are assigned to move window to workspace n(1-4). 99% of the time when I hit these all apps hard stop and a 5 seconds later I am staring at a Gnome/wayland gui login screen. Log in again, no previously running X apps/terms are running.
Any ideas? Ctrl + Alt + Fn switches from wayland to to a TTY and back as expected. I am still searching.
Sorry if this is not CentOS specific. I'll probably cross post in a Gnome sub too.
Edit 1: I have since switched mappings to Ctrl + Super + Fn to do the same action. No issues there.
Edit 2: OK so I have the same issue with this key mapping as well?! While editing the keyboard shortcuts, that is while that dialog is open and after making a change, both combos work as expected. After closing the dialog, either key combo causes instant Gnome logout. This is the native Settings/Keyboard/Keyboard Shortcuts/Navigation setup. Not tweaks, or any other add-on.
Edit 3: So all bets are off. No matter what I bind to that action it insta logs out, most of the time. Dialog open/vs edit being applied was not a factor. I just got lucky a few times. No idea at all. Looking more into logs, and at nvidia issues maybe.
Nov 26 22:05:04 proc01 systemd[25704]: org.gnome.Shell@wayland.service: Main process exited, code=dumped, status=11/SEGV
Nov 26 22:05:04 proc01 gnome-shell[26106]: (EE) failed to write to Xwayland fd: Broken pipe
Nov 26 22:05:04 proc01 systemd[25704]: org.gnome.Shell@wayland.service: Failed with result 'core-dump'.
Nov 26 22:05:04 proc01 systemd[25704]: org.gnome.Shell@wayland.service: Triggering OnFailure= dependencies.
Nov 26 22:05:04 proc01 systemd[25704]: org.gnome.Shell@wayland.service: Consumed 51.648s CPU time.
Nov 26 22:05:04 proc01 systemd[25704]: Stopped target GNOME Wayland Session (session: gnome).
Nov 26 22:05:04 proc01 systemd[25704]: Stopped target GNOME Wayland Session.
#7 0x00007fbe11c0a8c8 damage_thread (libnvidia-egl-wayland.so.1 + 0x78c8)
Nov 26 22:05:07 proc01 gdm-wayland-session[25720]: GLib: Source ID 2 was not found when attempting to remove it
Nov 26 22:05:09 proc01 gnome-shell[28863]: Using Wayland display name 'wayland-0'
Edit 4: OK at the moment, applied some pending updates ( only like 2-3 weeks worth ) and disabled "flameshot" from starting on its own.
My main C drive is pretty much full, so I was going to take the opportunity to install a larger drive and put a fresh install of windows on it.
However, after dabbling with CentOS for the past few months, I think I'd like to take the leap into using it as my main OS.
However, I still need windows to play all of my games - so I'm thinking about using a hypervisor for a windows VM. I'll obviously need to use GPU passthrough so the games can use the GPU.
There's many flavours of hypervisor (paid and unpaid), and GPU passthrough sometimes introduces other considerations (e.g. not being able to use the gfx card for the main OS).
I'm just wondering if anyone here has a similar setup, and would like to hear what you used and how you have things setup.
Hey, I'm a student and I was left with homework installing CentOS 7 and finding a way to fix its repositories to make Yum work.
I can hardly find anything in Spanish so... could someone here explain what to do? really the information I find is so... Aja, everything has already mixed up in my head.
Hello everyone, good afternoon! Sorry if the correct place for this request for help is not here.
I came to look for help because I exhausted what I knew to try to solve the problem. I have a vlan created on my Centos 7 server. There was no problem creating and configuring the vlan, but once the computers in the vlan's network range were added, they were unable to communicate with the server and neither the server was able to communicate with the computer doesn't even respond to ping.
From the server I can ping 192.168.3.245, but I cannot reach any computer in that network range 192.168.3.0/24
From any computer in the 192.168.3.0/24 network range I cannot ping 192.168.3.245, but I can ping between the computers.
I have a Managed Switch that I've already tried to change the port settings, but I didn't get any results.
Does anyone have any idea what is missing for this vlan to work properly? Maybe something in Firewalld that I missed?
Note: Without the vlan, using a configuration on the physical interface, communication works in all directions.
Running the command: nmcli device status
DEVICE TYPE STATE CONNECTION
enp1s0 ethernet conectado enp1s0
vlanadm vlan conectado vlanadm
eno1 ethernet conectado eno1
The physical interface has the following configuration:
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
NAME=eno1
DEVICE=eno1
ONBOOT=yes
BOOTPROTO=none
ZONE=internal
The vlan has the following configuration:
VLAN=yes
TYPE=Vlan
PHYSDEV=eno1
VLAN_ID=2
REORDER_HDR=yes
GVRP=no
MVRP=no
HWADDR=
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=none
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=vlanadm
DEVICE=vlanadm
ONBOOT=yes
IPADDR=192.168.3.245
PREFIX=24
GATEWAY=192.168.3.245
ZONE=internal
CentOS Connect will be back in Brussels January 30-31, the two days before FOSDEM. Join us at our free contributor conference to collaborate on the future of Enterprise Linux.
Hey,
I hope this sub is also the right place for Stream related questions. Sorry if not.
We run Stream 9 at work on our VMs, and one of our applications still requires Java 1.8 Recently we got an email from our security scanner due to a vulnerable Java version and I was quite shocked as I looked at the version...
CentOS 9 Stream still ships 1.8.0.362.
The official OpenJDK release is already at 432, and even CentOS 7 got updates until 402 before it went EOL.
What is going on here? Why is CentOS Stream 9 shipping such an old version of openJDK8 that contains a ton of CVEs?
CentOS is excited to welcome Jack Aboutboul to the Board of Directors. With over 20 years of experience in the Linux, Open Source, and Free Software communities, Jack is well-known for his dedication to technology, community, and developer advocacy.
https://blog.centos.org/2024/11/centos-board-welcomes-jack-aboutboul/
The NIST page for CVE-2024-26581 states that Kernel versions from 5.11.0 - 5.15.149 are affected. The current Kernel version for CentOS 9 is 5.14.0-522.el9 - is this Kernel version affected? If so, when can we see an unaffected version in CentOS 9?
Hi, I have been trying to build a docker image with CentOS7 for a personal project of mine and have accomplished this last month. But it seems like they have moved some files online and now I cannot use YUM anymore. I'm completely aware that CentOS7 has reached its EOL, so its completely understandable, I'm just trying to figure out how I can use yum again.
Last month on their docker hub page (https://hub.docker.com/\_/centos) I was required to add the following 3 lines to my dockerfile which resolved the issue. But since Thursday last week this no longer works. The lines that I used (and they provided):
RUN sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/CentOS-*.repo
RUN sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/CentOS-*.repo
RUN sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/CentOS-*.repo
after that "yum install -y httpd" works. But now I get the following error:
failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try.
http://vault.centos.org/centos/7/os/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 301 - Moved Permanently
Hi Everyone,
I have been working on migrating our database from our current CentOS7 Linux VM, which runs the SVN Manager for our repository submissions, to a new CentOS9 VM with the latest Apache and SVN Manager installed.
The issues I am facing are:
- I do not have the Sql database password .
- I know that MariaDB is te database is running the information.
-I do have the root password for the machine but other passwords seem to have issues or are incorrent.
Could anyone provide guidance on the correct procedure to export all database information and securely reattach it to the new CentOS9 VM?
Thank you for your assistance.
hi,
Anyone know how to do this on a freshly Centos 9 Stream?
I'm running these commands but it's not working
sudo yum update
sudo dnf update -y
sudo dnf install -y gcc kernel-devel kernel-headers make bzip2 perl elfutils-libelf-devel
sudo dnf install -y epel-release
Rocky Linux 9, Oracle Linux 9, Ubuntu 24, etc. - all work with Guest Additions. It's just Centos 9 stream.
I've also tried updating my VM to latest version
I checked too many youtubes, but it's just not working
I have a feeling there is a bug somewhere
<Error is below>Kernel configuration is invalid. " include/genereted/autoconf.h or include/config/auto.conf are missing.:;\"
Run 'make oldconfig && make prepare' on kernel src to fix it
I tried running make prepare but itgives me error in the last the lines.
Thank you
I am a complete beginner, is the combination of Cent OS and CWP panel suitable for me? I want to administer three Wordpress sites without much knowledge, but I want a stable system that will run on AWS. Thank you and I welcome other suggestions.
I am trying to install latex in alma. I did:
sudo yum -y install texlive texlive-*.noarch
but it seems that biblatex is missing. I am trying to do:
sudo yum -y install texlive-bibtex-extra biber
but I see:
No match for argument: texlive-bibtex-extra
Error: Unable to find a match: texlive-bibtex-extra
I check online in places like:
https://tex.stackexchange.com/questions/653092/how-to-install-the-full-texlive-on-centos-7
and it seems that people are just downloading the packages. I do not want to do that, I think the package manager should be able to do this sort of things. Am I doing anything wrong?
Now that was all very confusing. After Rocky had gotten more press coverage initially, Alma impressed me with their quick releases compared to Rocky, but the last thing I took notice of is that they abandoned the "bug for bug compatibility, if I understood it correctly.
Sometimes I read what CERN as a high profile CentOS user is doing, and my impression was that they also were confused.
Can someone point me towards an analysis how RHEL, Centos Stream, Alma and Rocky Linux really have come to deviate from one another? I mean hard facts what really happened, regarding kernel and package versions, not some announced "philosophy". Sorry If this question is a duplicate.
I have a command to search a log that works well. However, I can't seem to get it to work when I try to narrow down my search by date and time.
egrep "^mm/dd|^mm/dd" /tmp/TheLog.log > /tmp/logname.log.
this is the full command: egrep "^10/08|^10/08" /tmp/filename.log > /tmp/fileName.csv
This is the log.... 09/27/2024 19:38:11.260, 1, AVI, 1, 3, 1, 2, 46, 6805239, 71, 1727487490.643, 1727487490.842, 199, 199, 0, 0, E470, PLZA, 3, 20258, 1727487490, 6C, 1727487490.753, 89, 89 09/27/2024 19:38:11.262, 2, AVI, 1, 3, 1, 2, 46, 6805239, 71, 1727487490.643, 1727487490.842, 199, 199, 0, 6, E470, PLZA, 3, 20258, 1727487490, 6C, 1727487490.753, 89, 89 09/27/2024 19:38:21.058, 1, AVI, 2, 2, 2, 4, 46, 6845568, 77, 1727487500.481, 1727487500.622, 141, 141, 0, 0, E470, PLZA, 2, 20260, 1727487500, 6C, 1727487500.591, 31, 31 09/27/2024 19:38:21.058, 2, AVI, 2, 2, 2, 4, 46, 6845568, 77, 1727487500.481, 1727487500.622, 141, 141, 0, 10, E470, PLZA, 2, 20260, 1727487500, 6C, 1727487500.591, 31, 31
Our CentOS server handles RadiusD for wifi. Lately it's dying randomly.
I am no *INUX expert, I do a nohup radiusd to launch it as root.
Any ideas for a solution?
I'm installing a monitoring app but getting this error, appreciate any help.
When I tried to curl the link, it gives me below error. This is newly installed CentOS 9 Stream
[root@WINserver nagiosxi]# curl https://mirrors.centos.org/metalink?repo=centos-baseos-9-stream&arch=x86_64&protocol=https,http
[1] 1939
[2] 1940
[root@WINserver nagiosxi]# curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
I have installed CentOS9 Stream but somehow it booted with GUI.
We will be using this as server or replacement or our CentOS7.
Can this be disable and boot to CLI instead?
I have my (first) VPS on CentOS 7 and it came to EOL this year, and I'm a bit on edge about the next step.
Most of my apps are in .NET and are already limited to .NET 7 because that's the version CentOS 7 supports.
I wanted to upgrade or fresh install to a version that I wouldn't have to worry about for years to come.
From what I've been researching, in terms of upgrading I can follow one of the options in the image or install something new like Fedora 40 (I don't even know if I can, I'd have to validate it with the provider).
What do you recommend?
The setup of the vps to get the apps running gave me some work to configure iptables and a few other things (such as logins, accesses, nginx, etc) that I did with the help of chatgpt.
Are these things preserved with an upgrade?
I installed a 4 terabyte hard drive with autostart and now my centos 7 does not start, I have entered emergency mode to edit the fstab file again but it appears that it is only a read file, I entered as root.
I got error
Errors during downloading metadata for repository 'baseos':
- Curl error (35): SSL connect error for https://mirroronet.pl/pub/mirrors/centos-stream/9-stream/BaseOS/x86_64/os/repodata/repomd.xml [OpenSSL SSL_connect: Connection reset by peer in connection to mirroronet.pl:443 ]
- Downloading successful, but checksum doesn't match. Calculated: b98a8f35876b4e5cba18cb3cc77a650d8260d5243cc12434173c2120b341b38ac48a9b09a5f396699c43ce81ce557162aa4c72381e8ee84b972ee53582756666(sha512) Expected: e93d14b73332c745ae151b4fd1522363ee4e45d7cb76766e8051be81414739
7f1c0724fd9ae578a89fc2e679d9c6e6aed437bf6e650e76b3f098b0bebfc728d2(sha512)
When I tired run sudo dnf --refresh check-update
For my new homelab setup, I have installed CentOS 9 Stream with GUI option.
I have set performance options to power saving, and have set my monitor to turn off after 1 min.
The monitor turns off after 1 minute of inactivity while I am logged into Gnome desktop, as expected.
However, once I am logged out, the monitor only "dims", i.e. black screen but still with backlight on and consuming power. I expected the monitor to enter powersave mode but it does not, it stays on. So, when my server starts up in the morning, the monitor stays on for the whole time. Locking the screen after logging in also does the same thing (dim screen only, not sleeping)
On Windows, for example, monitor will turn off after configured time whether you are logged in or logged out. The PC will stay running idle but the monitor will be sleeping (LCD screen powered off). I want to achieve the same thing in C9S Gnome.
Is there some other setting i have to make?
My Dell home server has a PCIe SCSI controller that I use with my old LTO-3 tape drive for tertiary backups of my data. Yes, I know these are old but it would be wonderful if I could get this to work with current C9S. They worked perfectly with CentOS 7.
04:08.0 SCSI storage controller: Broadcom / LSI 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev c1)
`Subsystem: Hewlett-Packard Company SC11Xe Ultra320 Single Channel PCIe x4 SCSI Host Bus Adapter (412911-B21)`
I really have not much clue about getting drivers in Linux, but I can follow commands instructions.
My kernel is 5.14.0-508.el9.x86_64
After googling around I think I need special "kmods" to make things work, in particular kmod-mptspi
, so after some further googling I found this link: https://mirror.stream.centos.org/SIGs/9-stream/kmods/x86_64/packages-main/Packages/k/
But there is no mptspi, and other RPMs from place like ELRepo doesn't appear to work on C9S when I run rpm -ivh command, I get bunch of kernel dependency errors.
Am I completely out of luck with this? I really like my tapes (nostalgia.. yes..) and would like to keep them running..
hello, im wondering which disk of cent os 5.2 32bit would contain the drivers for cent os. im working on making my own cent os installer and i need drivers but cant find them.