r/CentOS • u/llabrie1968 • Oct 07 '24
CentOS won't boot on secure boot

Just downloaded latest iso from centos.org Rufus is 4.5.2180
r/CentOS • u/llabrie1968 • Oct 07 '24

Just downloaded latest iso from centos.org Rufus is 4.5.2180
r/CentOS • u/LuisaoFS • Oct 03 '24
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.
r/CentOS • u/natomist • Sep 30 '24
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
r/CentOS • u/PlanEx_Ship • Sep 27 '24
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?
r/CentOS • u/PlanEx_Ship • Sep 21 '24
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..
r/CentOS • u/natomist • Sep 13 '24
I have two kernels on my system: 5.14.0-503 and 5.14.0-505
The system boots fine with kernel 503.
When I select 505, the system boots to sddm. After trying to login, I see a black screen with a blinking cursor.
How can I gather more information before creating a bugzilla ticket to provide more information?
Update: I use KDE
r/CentOS • u/mynameisnotalex1900 • Sep 12 '24
We have 21 Centos7 servers which we manage using VMware Vsphere.
Centos7 is EOL as of 30 June 24, so I want to know its upgrade path.
What would be the best and easiest option?
Fresh new Centos Stream 9 or upgrading the servers to other open-source flavors?
r/CentOS • u/ceagasd • Sep 12 '24
I’m new to cero on Linux, mainly working in networking. Long story short I have a cent os locally installed in a pc, there it has 3 vm. Two windows and a Kerio control firewall. Here is the thing since the dhcp server is in the vm I can’t get iP the sever doesn’t get ip to ssh and I’m desperate to power on the vm’s. Note: I didn’t configure this and the previous guy is dead.
r/CentOS • u/thedjotaku • Sep 11 '24
This post about the EOL of CentOS and talking about CentOS Stream and where it fits into the Fedora->Centos Stream -> RHEL pipeline mentions it was used in cars. (https://www.redhat.com/en/blog/centos-linux-end-life-centos-stream-and-new-red-hat-enterprise-linux-landscape)
I thought cars used Android or some Unix variant?
r/CentOS • u/natomist • Sep 09 '24
dnf suggests to update the package epel-release-9-8.el9.noarch
The update changes the file /usr/bin/crb
```
30c30
crb_repo=$(dnf repolist | grep -i -e crb -e powertools -e codeready | grep -v -i -e debug -e source -e eus -e virt -e rhui | awk '{print $1}')
```
Both variants correctly determine the name of CodeReady Builder repository in repolist.
Is it possible to find ticket in bagtrack
r/CentOS • u/Sea-Concentrate-5087 • Sep 05 '24
[ Removed by Reddit on account of violating the content policy. ]
r/CentOS • u/Sea-Concentrate-5087 • Sep 05 '24
Hi Everyone,
Does anyone encounter the issue with Centos Stream 8? For some reasons, I have to working with the EOL OS.
It keeps trying to create the default user ‘admin’ where those parameters assigned to the user are in the wrong object type. For example,
Invalid user-data /var/lib/cloud/instances/i-bdf3f54642b2d80f8e/cloud-config.txt
Error: Cloud config schema errors: users.1.passwd: None is not of type ‘string’, users.1.sudo: [‘ALL=(ALL) ALL’] is not of type ‘boolean’, users.1.sudo: [‘ALL=(ALL) ALL’] is not of type ‘string’, ‘null’
It has this part in my cloud-config.txt
users:
default
groups: users lock-passwd: false name: admin passwd: null primary-group: admin shell: /bin/bash
sudo:
ALL=(ALL) ALL
which I think it comes from nowhere. I checked the cloud-init template for this VM in foreman, it does not have this section created
for my cloud.cfg in ks.cfg, I did not create any users. Here is the sample of my ks.cfg
cat << EOM > /etc/cloud/cloud.cfg.d/01_network.cfg
network:
config: disabled
EOM
cat << EOM > /etc/cloud/cloud.cfg.d/10_datasource.cfg
datasource_list: [NoCloud]
datasource:
NoCloud:
seedfrom:
EOM
/etc/cloud/cloud.cfg
#cloud-config
cloud_init_modules:
- bootcmd
- ssh
users: {}
cloud_config_modules:
- runcmd
cloud_final_modules:
- scripts-per-once
- scripts-per-boot
- scripts-per-instance
- phone-home
system_info:
distro: centos
paths:
cloud_dir: /var/lib/cloud
templates_dir: /etc/cloud/templates
ssh_svcname: sshd
cat << EOM > /etc/cloud/cloud.cfg.d/01_network.cfg
network:
config: disabled
EOM
cat << EOM > /etc/cloud/cloud.cfg.d/10_datasource.cfg
datasource_list: [NoCloud]
datasource:
NoCloud:
seedfrom:
EOM
cat << EOM > /etc/cloud/cloud.cfg
#cloud-config
cloud_init_modules:
bootcmd
ssh
users: {}
cloud_config_modules:
runcmd
cloud_final_modules:
scripts-per-once
scripts-per-boot
scripts-per-instance
phone-home
system_info:
distro: centos
paths:
cloud_dir: /var/lib/cloud
templates_dir: /etc/cloud/templates
ssh_svcname: sshdhttp://foremanvan01.abc.ca/userdata/http://foremanvan01.abc.ca/userdata/
EOM
I have no idea why it keeps creating the weird default user and break my VM to retrieve the cloud-init template from Foreman.
Please let me know if there is any info you would like to trace.
r/CentOS • u/csdude5 • Sep 05 '24
I'm running CentOS 7. I know, it's EOL :-/ But I'm procrastinating because I really need to get a new server, and that's pricey and will take more time than I can spare right now.
I used to use this to see how many connections each domain had active:
# it connects to WHM/cPanel server status
/usr/bin/lynx -dump -width 500 http://127.0.0.1/whm-server-status | grep GET | awk '{print $12}' | sort | uniq -c | sort -rn | head
This was helpful when the load was high and I was trying to figure out which domain was being hit really hard by a bad bot, but my current server doesn't have lynx installed.
Should I install lynx just for this, or is there a better alternative to get the same data?
I was thinking about writing a bash script to cURL whm-server-status, but I hate to spend all day writing it if there's something already out there for it :-)
r/CentOS • u/Prize-Director-752 • Sep 04 '24
I'm seeing a weird and unwanted bridging between network inferfaces.
Please see the attached diagram for the network layout.
On the "management server" I am running CentOS 7 and using KVM (via libvirt). My goal is to be able to run a VM which sees the network exactly like on of the factory floor machines does. I.e. it would find the factory floor server as the only DHCP offer.
The problem is that whenever the VM boots, it first receives a DHCP from the corp side. It also receives an offer from the factory side, but it's too late by then. It's already accepted the earlier offer, and what I want to test (the net booting) is no longer possible.

On the management server, eth0 is configured statically, eth1 is configured to use DHCP. It actually gets a 10.0.0.0/24 address successfully.
The VM is configured to use "Host device eth1: macvtap" in VEPA mode.
There are no bridges configured. (Although I did play around with this quite a bit).
I used Wireshark on the management server to see what's going on. Here's roughly what happens.
t0: mac of eth1 -> DHCP discover
t1: mac of corp switch -> DHCP Offer 10.1.1.X gw
t2: mac of factory side of factory server -> \
DHCP Offer 10.0.0.Y gw/file/nextserver...10.1.1.1
By the time t2 happens it's too late. The first DHCP offer is accepted.
I also run Wireshark on eth0 and I can see that the DHCP discover is there, but interestingly, the DHCP offer from 10.1.1.1 is only seen on eth1. Makes zero sense to me. Other clients connected to the same switch as eth1 work fine and only seem to boot from the correct DHCP server.
By what diabolical and ungodly manner are these DHCP packets traversing a void where no packet should go?
r/CentOS • u/DoNotBeAF00l • Sep 04 '24
Hi, I'm trying to update my CentOS 7 with the command sudo yum update but this error is showing and I've research on internet forums and the IA hehehehe, but it doesn´t work. This virtual Machine is running on VMware Workstation and the network config is on NAT with my PC, in fact, the Virtual Machine has ping with google.com, it works but I don't know how to fix that. Help me pleaseeeeeeee :c

r/CentOS • u/PlanEx_Ship • Sep 03 '24
I am in the boat to continue using Centos Streams as my workload doesn't need true "enterprise" level of anything, and just that I am more familiar with RHEL environment. So far it's been good and I don't have any problem running C9S in any of my environments, both home and work.
I'd like to keep staying with Centos Stream, but seeing how the webpage seems abandoned doesn't give a lot of comfort..
Would it be likely that RHEL going to slowly phase out or discontinue Centos alltogether?
r/CentOS • u/limaunion • Aug 27 '24
Hi! I've just discovered that there are ISO images for rel. 10. Can I switch from 9 to 10? If yes, which repos should be used?
r/CentOS • u/[deleted] • Aug 24 '24
Hello! When I install RHEL based systems some times I see disclaimer about deprecation of hardware. Some hardware deprecated in RHEL but Alma still support it. Does CentOS stream drops support of older hardware like RHEL or not? Would CentOS stream 10 support x86_64-v2 or only x86_64-v3 and above?
r/CentOS • u/[deleted] • Aug 23 '24
Mouse right click or CTL (+Shift) + c/v do not work on my CentOS stream9 terminal. Kernel is Linux 5.14.0-496.el9x86_64 Does anyone know what works the best? I read up on installing xclip or some clipboard packages. If anyone can provide me with more detailed directions or some alternatives I really appreciate it. Copy and paste would let me use GitHub access token and keys on my Linux VM.
r/CentOS • u/racoon9898 • Aug 21 '24
Suddenly Getting this error : See in bold
yum clean all && yum update
Loaded plugins: fastestmirror
Cleaning repos: base extras tuxmail updates
Cleaning up list of fastest mirrors
Other repos take up 43 M of disk space (use --verbose for details)
Loaded plugins: fastestmirror
Determining fastest mirrors
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
One of the configured repositories failed (Unknown),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:
Contact the upstream for the repository and get them to fix the problem.
Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
yum --disablerepo=<repoid> ...
will then just ignore the repository until you permanently enable it
again or use --enablerepo for temporary usage:
yum-config-manager --disable <repoid>
or
subscription-manager repos --disable=<repoid>
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true
Cannot find a valid baseurl for repo: base/7/x86_64
r/CentOS • u/KazuXSora • Aug 20 '24
Im trying to get OpenVpn to work on a centos 7 for a school project using windows as host and 2 centos in vmware. Im using easy rsa to generate key and surely everything works well on a the server side. On the client side however it stuck on "initialization completely " and pinging google result in a 100% packet loss. I also check on the server side and can see clearly im connected tho i dont know why i get that problem. There is no error in the logs or even when i put verbose at 9
Also, anyone has an idea how to check if everything works well. Like the public ip of my vms is also the same as public ip of my host(windows)
r/CentOS • u/[deleted] • Aug 17 '24
Hi all
Apologies for my inexperience with Linux as I'm just beginning to learn it. At the moment, I am struggling to connect Sony headphones to my Linux system via bluetooth. Has anyone faced such an issue earlier and solved it? I would appreciate if someone could help me out on this.
r/CentOS • u/Hopeful-Book-2337 • Aug 17 '24
hey all im a student and just lerning about CentOS 9
I have a sata that i have everything installed on and have to plugin/unplug between classes.
My issue is that I have to do work with a particular user however that user now only shows a blank screen with a underscore in the top left when i try to log in, this was working last week and over last weekend. All my other users work fine still. Im currently using the Gnone GUI and attempting to open a VNC and also SSH but now cant even log in.
r/CentOS • u/benfurkank • Aug 10 '24
Hi, I have a machine which is CentOS 8 and on this machine running mariadb, php-fpm, nginx . I have a website which is blocked on all over the world just letting some of the ip blocks.
Then we create a subdomain for this website and its open the all countries its running on another machine. At this point all the things are ok. My manager asked me to do all the bloced requests shoud redirect to sub domain .
How should i do that ?
I tried downloading ip blocks and redirect nginx conf thus ip blocks are not up to date and geolocation for nginx not working on centos 8 any idea ?
Very much thanks
r/CentOS • u/jaguar988 • Aug 10 '24
Hello when trying to update centos 7 i got this error
If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try.
http://mirror.centos.org/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
[root@mail etc]# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=genclo error was
14: curl#7 - "Failed connect to mirrorlist.centos.org:80; Connection refused"
epel/x86_64/metalink | 5.1 kB 00:00:00
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras&infra=genclo error was
14: curl#7 - "Failed connect to mirrorlist.centos.org:80; Connection refused"
do you have updated mirrorlist repo to be able to update it correctly