Questions tagged [centos8]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
102 views

Install httpd-devel on centos8 -Unable to find a match error

I am trying to install httpd-devel on my centos8 machine and have the following error: [root@localhost tmp]# yum install httpd-devel Last metadata expiration check: 0:02:01 ago on Mon 22 Aug 2022 11:...
1 vote
0 answers
26 views

Centos Stream 9 - Second NIC adapter plugged in but not sending internet through the cable

I have created centos stream 9, and i'm planning to make this linux box acting as router, this linux box has 2 nic, one connected to wan, the other one connected to lan, i did below steps, but the 2nd ...
0 votes
1 answer
330 views

Can't do any updates after upgrade to Centos 8

[_admin_@wb_centos ~]$ sudo dnf upgrade CentOS Linux 8 - BaseOS 0.0 B/s | 0 B 00:00 CentOS Linux 8 - AppStream 0.0 B/s | 0 B 00:00 ...
  • 111
0 votes
0 answers
12 views

Linux AD - Machine Account Name not updating on Domain Controller when Changing Hostname

I have some Alma 8 boxes which are integrated into Windows Active Directory (2012 R2) for user authentication using SSSD, using net ad (as opposed to realmd) for the domain join, for historic reasons. ...
0 votes
1 answer
21 views

Display custom message with getty@.service disabled

I have a CentOS 8 server running in a vm. I access this server only via ssh. Therefore I dont need the login prompt once server finishes booting up. Therefore I went ahead disabling getty@.service. ...
  • 627
2 votes
2 answers
482 views

Mapping Linux users/groups to Windows 2019 NFS Share

I have a Windows Server 2019 machine and a CentOS 8 machine on the same network. The CentOS server is hosting a webapp that uses files from the Windows machine. To read these files, I had set up a ...
  • 201
0 votes
0 answers
203 views

pipx module is failing to install with ssl error on centos, how to fix this?

I am using centos 8 on aws ec2 instance. cat /etc/centos-release CentOS Linux release 8.5.2111 I tried with python 3.9.5 python3 -m pip --disable-pip-version-check -qqq install --upgrade --user pipx ...
  • 56
0 votes
0 answers
403 views

I can't mount windows folder in centos through mount -t cifs

everyone! I have windows folder. This folder is available from my windows 10 OS. At the server with Centos 8 I did: sudo mkdir /mnt/sbsp sudo mount -t cifs //bk.local/BurgerKing/NetDisks/K/Бухгалтерия/...
2 votes
1 answer
2k views

ntpdate unavailable on CentOS8

I want to install ntpdate as usual on CentOS8. However, it is not available: # cat /proc/version Linux version 4.18.0-240.1.1.el8_3.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 8.3.1 ...
  • 380
0 votes
0 answers
298 views

Failing execute yum from ansible on centos 8

I have a problem updating Centos 8 systems due to repositories. This is my task and it works on Red Hat and Almalinux: - name: Install the latest version of yum-utils become: yes become_method: ...
0 votes
1 answer
860 views

can't run iptables-legacy using cli - centos8

I have a Centos-8 machine which comes with nft-tables and with ip-tables libraries installed. for example: the files: /lib64/xtables/* /lib64/libiptc.so.0.0.0 /lib64/libiptc.so.0 are all exists and ...
0 votes
0 answers
165 views

Docker stats showing 0 - CentOs 8

I have a CentOS 8 Docker box, that after patching to current versions has stopped giving any information back on docker stats.. I've checked cgroup, and cant "see" anything odd, so would ...
0 votes
0 answers
723 views

Why is this self-made systemd service failed on CentOS 8.3 as "Failed with result 'protocol'"?

First, this issue becomes a problem only on CentOS8, while it works well on CentOS7. This is the version: # cat /etc/redhat-release CentOS Linux release 8.3.2011 I tried to make a service to execute ...
  • 380
0 votes
1 answer
300 views

CentOS stream 8 or ubuntu

Which operating system is suitable for website? I have 1 website on VPS and I use CentOS stream 8, Is this good or do I need to change? I want my server to be stable and up to date and need less ...
0 votes
1 answer
656 views

How do i install php 8 without php-fpm and nginx modules?

I am trying to install Apache2 + PHP 8.1 in a fresh install of a Centos 8.5 server. This is my server setup: [centos@api-stg html]$ cat /etc/*elease CentOS Stream release 8 NAME="CentOS Stream&...
0 votes
1 answer
533 views

Unable to change SSH port on Almalinux/CentOS 8 with selinux present

I am trying to change the SSH port on a VPS using Almalinux. I followed this guide but have not been able to. These are the output I receive when try to SSH using both 22 and the new port respectively....
  • 5
5 votes
2 answers
9k views

Failing to run yum update in CentOS 8

I want to preface this post with this disclaimer: I am somewhat unfamiliar with how yum functions and I am also unfamiliar with the details of the changes that are required since CentOS 8 became EOL. ...
1 vote
3 answers
2k views

CentOS 9 Stream - errors doing yum update

I'm coming in from using Ubuntu. Just installed CentOS on my DEV server and right away having issues just doing an update or installing new packages. Here is the error: sudo yum update Last metadata ...
1 vote
0 answers
34 views

SELinux: two servers, identical configurations, but different contexts

I've had my fair share of struggles with SELinux, but this is the first time that it's totally stumped me. I have two production CentOS 8 servers with functionally identical configurations hosting a ...
  • 111
0 votes
2 answers
6k views

CentOS 8 upgade - How to resolve Warning: failed loading '/etc/yum.repos.d/CentOS-AppStream.repo', skipping

Trying to update my CentOS Linux 8 stack before upgrade to Stream CentOS Linux 8 [root@den yum.repos.d]# cat /etc/os-release NAME="CentOS Linux" VERSION="8 (Core)" ID="centos&...
  • 164
0 votes
0 answers
54 views

How to set up multiple apache + php-fpm + mariadb service groups on a single server with per-group resource limits?

We have a centos8 web server hosting hundreds of websites, using 3 services: apache, mariadb and php-fpm. Because apache and mariadb do not support per-account resource limitation, all websites have ...
0 votes
0 answers
316 views

nginx SSL fail error:0909006C

I'm configuring a SSL certificate from GoDaddy and have followed all their instructions in the page: https://br.godaddy.com/help/nginx-on-centos-7-install-a-certificate-27192?lc=en-US I am running o ...
-2 votes
1 answer
194 views

CentOS 8 server: /bin/ld: cannot find -lstdc++

I get an error running make. I have never seen this error. There are no other errors except this one. I am seriously baffled. Help is appreciated.
1 vote
0 answers
2k views

The latest centos:8 docker image cannot run yum

With the latest centos:8 docker.hub image I cannot run yum. All yum commands fail with the error message Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No ...
  • 131
0 votes
0 answers
210 views

Why I see "No URLs in mirrorlist" when try to execute yum install? [duplicate]

I try to install any packages in CentOS8, but I see Error: Error downloading packages: No URLs in mirrorlist This is related to any package, not some unique. What the reason of it?
user avatar
0 votes
1 answer
271 views

Allow samba share to access mounted remote file store

I have two servers on the same network. One running Windows Server 2016 and another running CentOS 8. The Windows server is my main file store, it's where all my data is. The CentOS server has the ...
  • 201
0 votes
0 answers
107 views

HP DL360 G5 - Centos 8.5 Install

We have an old HP DL360 Gen5. It's used Purely as a workstation on the network for 2 IT Admin staff to connect to, in the event of an emergency. Server used to Run Windows 8, however due to is ...
0 votes
1 answer
218 views

CentOS firewall-cmd script to only allow access from IPs listed in sources

I use this script to set up my firewall. I expected to have ssh access from only one IP but that is not the case after testing. What is missing? #!/bin/bash # # Reset to initial install of firewalld # ...
  • 121
2 votes
0 answers
164 views

Proper repolist after migrate2rocky.sh to Rocky

My migration from centos8 to Rocky linux went pretty well myhost /etc/yum.repos.d # uname -r 4.18.0 myhost /etc/yum.repos.d # Goal for this question; is this repolist sane? Or are some not migrated ...
1 vote
1 answer
859 views

podman container fails to start: mkdir journal dir permission denied

I had some containers running smoothly in Centos 8.2 with podman. After upgrading to Centos 8.5, I found several of the containers failing to run. In the command line, I see this: $ podman run --name=...
0 votes
1 answer
130 views

Openoffice headless on CentOS 7 / 8

We used to run Openoffice headless on CentOS 6.8 but are now upgrading to CentOS 8 However, I'm not able to install Openoffice headless using the following commands: yum install openoffice.org-base ...
  • 275
0 votes
1 answer
623 views

cloud-init seems to be ignoring write-files script

H! I am trying to configure VMs with cloud-init, using the terraform Libvirt provider. For some reason I don't understand, setting hostname works, but writing and running a script for additional ...
0 votes
1 answer
488 views

Fresh install CentOS 8.4 from within CentOS 8.5

Prehistory I had CentOS 8.4 4.18.0-305.3.1 installed. Everything was good until I run yum -y update without understanding what it means. After that CentOS get upgraded to 8.5 4.18.0-348.2.1 version, ...
1 vote
3 answers
2k views

Ansible playbook not running for localhost also, how to fix this?

I am running ansible on centos machine [ansadmin@ansible docker]$ ls Dockerfile hosts simple-devops-image.yml webapp.war [ansadmin@ansible docker]$ cat hosts localhost simple-devops-image.yml --- -...
  • 399
0 votes
0 answers
119 views

Is it safe/safer to remove SSLOptions +StdEnvVars from Apache config?

I have deleted out of the box folders www and cgi-bin after I installed httpd on CentOS8 Stream. I am now cleaning default config. Is it safe to comment out the following in /etc/httpd/conf.d/ssl.conf ...
0 votes
0 answers
377 views

CentOS 8 / Red Hat / Rocky Linux - Blinking Cursor After Grub Menu - SAS RAID

Anyone have a solution for this slow boot: https://forums.centos.org/viewtopic.php?f=54&t=73569 Essentially: When I boot, my box posts fine, the Grub boot menu comes up, I select the first option, ...
  • 177
0 votes
1 answer
51 views

How do you profile DNS response times on CentOS8?

I would like to know how long exactly takes a DNS response to resolve an address - so I can compare different servers (my machine (I use named), GCP DNS, other public DNS servers). The problem is that ...
0 votes
1 answer
227 views

Why there are SELinux errors in permissive mode?

I have set CentOS 8 Stream with SELinux set to permissive but I still have bunch of red lines in the log e.g.: SELinux is preventing /usr/lib/systemd/systemd from name_connect access on the tcp_socket ...
0 votes
1 answer
208 views

Can't run command under /bin/false user

Centos 8. There is snowuser: [snowuser@snowcannon-01 ~]$ cat /etc/passwd | grep snowuser snowuser:x:1002:1002::/home/snowuser:/bin/bash [snowuser@snowcannon-01 ~]$ groups snowuser wheel There ...
0 votes
1 answer
231 views

how to use firewalld in stateful mode

I have to setup an stateful firewall on centos8 using firewalld. I'm new to firewalld but have experience with old style iptables for this purpose. since it is recommended by Redhat here I prefer to ...
  • 21
1 vote
0 answers
147 views

.net core 6.0 on CentOS installs wrong version

These are 2 commands I ran trying to install .net core 6.0 on CentOS 8 Stream: sudo dnf install dotnet-runtime-6.0 Last metadata expiration check: 0:12:04 ago on Tue 23 Nov 2021 17:38:47 UTC. . . . ...
0 votes
1 answer
32 views

Why CentOS 8 upgrade removes kernel files?

I have ran sudo dnf update -y on CentOS which is few months old. I had this amongst other stuff it was doing: I am sure its nothing to worry about (right?) but would like to know why is that and is ...
0 votes
0 answers
436 views

Installing perl-crypt-ssleay on CentOS8

We have a hard requirement to install perl-crypt-ssleay. As per https://bugzilla.redhat.com/show_bug.cgi?id=1744782 it's no longer available for CentOS8. I tried doing cpan Crypt::SSLeay but that ...
0 votes
1 answer
222 views

Install Logcheck / Logtail in Rocky Linux 8

I need to install logtail / logcheck in Rocky Linux 8. We have an application that uses it and we are migrating that from Centos 7 to Rocky 8. Yum doesn't find it. [root@myserver ~]# yum provides ...
0 votes
1 answer
211 views

VNC server won't start on AlmaLinux/CentOS 8

I could not get tigervnc to start on my AlmaLinux 8 machine. We have SELinux enabled and our home directories are automounted NFS shares (configured by IPA). I see errors in my /var/log/audit/audit....
  • 41
1 vote
1 answer
155 views

DELL R320, Xeon E5-2450 v1, Oracle Linux 8 marks clocksource 'tsc' as unstable, random crashes under load

I recently acquired used Dell R320 with Xeon E5-2450 v1, all firmware's are updated to most recent versions using Lifecycle controller. On boot dmesg reports: microcode: microcode updated early to ...
  • 11
1 vote
1 answer
146 views

Where do I get full list of SELinux access control types?

I cant find any explanation how do I list all access control types in SELinux. E.g. httpd_log_t httpd_sys_content_t.. I would like to see them all
0 votes
2 answers
76 views

CentOS8 Stream - what is security context in files permissions and how it can affect access?

I did install some of my aspnet core apps on Linux before using CentOS8. This time I used CentOS8-Stream. I dont know if that contributes to the issue. The facts: I could not make apache use ...
0 votes
1 answer
302 views

Rsync very slow and slows system performance after update to RHEL 8

I updated my file server VM (VMware) from CentOS 7 to RHEL 8. I doubled the CPU's and memory on the new system, but for some reason rsync's seem to bog the system down considerably. To the point where ...
0 votes
1 answer
123 views

Postfix can send, but not receive external email with configuration in CentOS 8

I have two problems, and I believe they are somewhat related. First, I can receive email from domains in my local server in Roundcube and Horde, but not in Thunderbird or Mac Mail. Secondly, I can't ...
  • 1

1
2 3 4 5 6