Questions tagged [centos8]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
19
votes
4answers
17k views

No network connectivity to/from Docker CE container on CentOS 8

I just installed the latest release of docker-ce on CentOS, but I can't reach published ports from a neighboring server and can't reach the outside from the container itself. Running a plain vanilla ...
16
votes
3answers
13k views

How do I update a system from CentOS 7 to CentOS 8?

Assuming that reinstalling from zero is not practical, how do I perform an update from CentOS 7 to CentOS 8? I tried to do a yum install http://mirror.bytemark.co.uk/centos/8/BaseOS/x86_64/os/...
4
votes
4answers
5k views

Can't mount CentOS NFS share on Windows 10 - “Network Error - 53”

I have a CentOS 8 virtual machine (192.168.10.203) running nfs-server, and I'm trying to mount the share on my Windows 10 Pro x86_64 machine (192.168.10.10) I have installed the "Services for NFS&...
4
votes
2answers
1k views

How to determine if my CentOS 8 is vulnerable to CVE-2019-18348

I am a long-time linux sysadmin, but new to CentOS. I just need to determine if this CentOS server is vulnerable to CVE-2019-18348. To do that, I have to either verify the packages installed are ...
4
votes
2answers
4k views

dnf - cannot install the best candidate for the job

I just installed CentOS8... $ cat /etc/redhat-release CentOS Linux release 8.0.1905 (Core) $ ... and now trying to follow Get Docker Engine - Community for CentOS | Docker Documentation, yet ...
3
votes
1answer
3k views

firewalld is not working in CentOS 8: no rule at all is created in iptables

I've recently upgraded a clean install CentOS 7 to CentOS 8 using this tutorial: https://www.tecmint.com/upgrade-centos-7-to-centos-8/ I had no extra software installed, only the base install. After ...
3
votes
3answers
1k views

Creating a bridged WiFi AP (hotspot) in Centos 8 (or Fedora)

I am trying to create a bridged WiFi hotspot on a Centos 8 system, using NetworkManager. The machine is Dell EPC3000, with two built-it GigE's and ath10k wireless adapter, plus an LTE WWAN. Creating ...
3
votes
0answers
1k views

CentOS8: podman with enabled firewalld breaks DNS for container

I just have started using CentOS8 + podman in scope of migration from CentOS7 + docker. The issue is the following: 1) When firewalld is stopped - DNS works fine inside container: [root@dev1 ~]# ...
2
votes
2answers
642 views

Centos 8.1 installer cannot see SAS disks attached to Perc 6/i

How to get Centos 8.1 installer to see Perc 6/i attached SAS disks? The Dell t7400 hardware boots MS-Windows properly from Perc 6/i attached SAS disks. Dell Bios A11 shows 3 virtual drives at ...
2
votes
2answers
1k views

Ansible Centos 8 dnf module “module” switch missing?

I'm trying to use the dnf module of Ansible with the module switch to install PHP 7.4 from the remi repo. I'm doing this as a command, as I can't get it to work using Ansible dnf. This is what I ...
2
votes
3answers
21k views

Yum on Centos 8 - Failed to download metadata for repo 'AppStream'

I'm on a fresh Centos 8 install and have tried to use yum for the first time (on this machine). I get the following for any attempt to install or update anything: yum update CentOS-8 - AppStream ...
2
votes
0answers
43 views

daemontools svscan cannot start supervise due to permission denied error on CentOS 8

I have installed daemontools-0.76 on a CentOS 8 system as per the official docs here: http://cr.yp.to/daemontools.html. I then created a test service symlinked in /service/test with a simple run file ...
2
votes
3answers
363 views

LVM2 vgreduce unknown physical volume from root logical volume CentOS8

I have a removable disk in my CentOS8, but I can't reduce the volume group: [root@localhost ~]# vgs WARNING: Couldn't find device with uuid 3GDhRA-KZjA-iDum-8Ut0-s9s0-NnW2-4QQEUv. WARNING: VG cl ...
2
votes
0answers
206 views

Can't use docker/podman on fresh Centos8

I have a fresh CentOS 8 machine. Not knowing about "podman" I installed docker: yum install docker. This actually installs podman 1.0.5. I can't run any images: devrisenshine2 [wiretap_wrapper] % ...
1
vote
1answer
45 views

Remi: Which repository contains what?

If I add the remi repository with dnf install https://rpms.remirepo.net/enterprise/remi-release-8.rpm I get 3 files in /etc/yum.repos.d that declare following repositories: remi-modular remi-modular-...
1
vote
1answer
167 views

Infected server (bitcoin mining malware) [duplicate]

I found some strange process on my centos 8 machine check above photo: when I type cat /etc/passwd I don't see user 990 anywhere also this kinsing process is strange because this is the same process ...
1
vote
2answers
73 views

Why my domain doesn't map to the server address?

I have installed DNS server and network manager on my remote server as by following this instruction: https://www.linuxtechi.com/setup-bind-server-centos-8-rhel-8/ as below: var/named/fwd.sssss.com.db:...
1
vote
2answers
1k views

Where is the Redis module for PHP on CentOS 8 (php-pecl-redis)?

I can't find the package php-pecl-redis on CentOS 8 with EPEL repository enabled. Apparently EPEL no longer provides it. I've only found it on REMI repository, but I would have to replace my entire ...
1
vote
1answer
47 views

nftables reject resulting in a drop verdict instead

I have nftables setup to reject packets that don't match my allow block (nft list ruleset added below), but the packets are being dropped instead. For context, I have a service that listens on port ...
1
vote
1answer
159 views

centos 8 - sssd configuration not fetching shadow contents for ldap user

I have configured sssd on centos 8 and ldap on centos 7. I am able to get details about a testuser using getent passwd and getent group , but while testing it for getent shadow I am not getting any ...
1
vote
1answer
44 views

Debian-based servers can authenticate users on OpenLDAP when RH-based servers cannot [closed]

I'm putting centralized authentication in my LAN infrastructure. The LDAP server is up and running, and all Debian/Ubuntu servers manage to authenticate users against the LDAP. Now, all my CentOS8/...
1
vote
1answer
258 views

Pacmaker can't start the DRBD Error “not configured”

I´m setting up a 3 node DRBD Cluster with Pacemaker and corosync on CentOS 8. I set up 3 IP resources, 1 apache webserver resource and now I want to set up my drbd resource. The Drbd is working if ...
1
vote
1answer
1k views

Clamav on Centos 8 installation

I have installed ClamAV on Centos 8, following the installation guide on their website. I have run freshclam and that works fine but if I try to do a scan I get the following error: clamdscan /home ...
1
vote
1answer
63 views

Setting up two sites on the same IP machine

I have CentOS 8 I installed LAMP, Varnish, etc. I setup hosts /etc/hosts ip site1.com www.site1.com ip site2.com www.site2.com I setup Apache like this: /etc/httpd.conf to include sites-enabled/ ...
1
vote
1answer
904 views

PATH issues with gitlab-runner on centos 8

I'm having an issue when trying to use the gitlab runner I installed in my centos 8 server. So here are the details: I followed the instructions here to install: https://docs.gitlab.com/runner/...
1
vote
1answer
410 views

How can I enable epel-release before installing packages with cloud-init?

I'm trying to install a few packages on CentOS 8 via cloud-init, like this: package_upgrade: true packages: - firewalld - htop One of them one of them requires epel-release repo to be installed ...
1
vote
1answer
18 views

KVM/QEMU CentOS 8 kickstarted VMs have broken networking, are unreachable

I can't understand why the VMs I create using virt-install & kickstart do not have networking that can be accessed reliably from foreign hosts. The VMs I created using virt-manager can be logged ...
1
vote
0answers
20 views

RHEL8 Limits not applied when setuid is configured

I have configured my limits.conf file to allocate a huge stack size * soft stack 65535 * hard stack 65535 ulimit -s shows the correct value for both root ...
1
vote
1answer
51 views

Google Compute - CentOS 8 PAM Authentication Fails After Update

I have a Google Cloud project on which I'm unable to access a CentOS 8 VM. It is running kernel version 4.18.0-193.19.1.el8_2.x86_64 on an x86_64. I'm also running with selinux enabled. Before running ...
1
vote
0answers
48 views

SystemD per unit LogRateLimitIntervalSec not working?

SystemD journal limits logged messages according to RateLimitIntervalSec and RateLimitBurst global configuration options. There is a possibility to change those values per specific unit/service using ...
1
vote
0answers
36 views

Where and how can I get the list of the failed login and sudoers in CentOS v8?

People, For CentOS v8 Linux, where and how can I get the event logs for the: Failed SSH (port TCP/22) connection Failed sudoers Thank you in advance.
1
vote
0answers
111 views

samba server mount points stopped working on CentOS 8 install, error: Failed to start SPNEGO handler for negprot OID list

After about 6 months of smb working flawlessly on a home server, it is now failing to allow remote systems to mount with the following error message in /var/log/messages: Jun 27 12:53:10 bike3 smbd[...
1
vote
1answer
48 views

Inverse Name Search by UID (CentOS 8) - Retrieves last created with same UID

I am working with CentOS 8 and I have a problem with UIDs and User Names. I have installed VestaCP to manage my websites. The user by the name of "user123" and UID 1007 is the owner of all the ...
1
vote
0answers
25 views

What format/encoding is the Dovecot Diffie-Helman params file?

I'm stuck on Dovecot 2.2.x because 2.3 package isn't available yet for CentOS 8.x, and I don't want to custom build in this use case. Further, I'm bootstrapping this machine in order to snapshot it ...
1
vote
0answers
136 views

xCAT OS image for CentOS 8

I am setting up a cluster that is meant to run CentOS 8 on each node. I know that I have to define the xcat osimage that will be deployed to each node. The xcat osimage is created from the CentOS iso ...
1
vote
0answers
293 views

How to Install CentOS8 on LVM on Software RAID

I'm trying to do something that should in my mind be simple - I've done this plenty of times on other distros, but can't make any headway. I'm trying to Install CentOS8 on an LVM partition on ...
1
vote
0answers
426 views

What happens on a centos 8 server when systemd-logind is turned off?

I have a centos 8 server setup which should provide sftp (openssh) and ftp (vsftp) transfers but no login shell to multiple users. To tell vsftpd the root for chroot jails I have to add a dot to the ...
1
vote
0answers
101 views

Way to open graphical console of KVM VM in fullscreen in Cockpit?

I've installed Cockpit, Cockpit-machines and Virt-viewer on my CentOS 8 and successfully connected to my KVM server in Firefox on Windows 10. But i can not find a way to open graphical console of my ...
0
votes
2answers
27 views

Adding multiple IPs on same physical interface - but with different logical interfaces (CentOS 8 + NetworkManager)

I'm adding a secondary IP to my CentOS 8 server running NetworkManager. I would previously have done this with ifcfg-style configuration files, but I'm trying to embrace the future and the direction ...
0
votes
1answer
45 views

Ansible server can't ssh to CentOS 8 machine through -m ping

Currently i'm working on an Ansible server that has 4 hosts (3Ubuntu and one CentOS). I can SSH to them without problems. But when i try to run: ansible servers -m ping this wel be the output: user4@...
0
votes
1answer
40 views

Powerdns GeoIP Unable to load module '/usr/lib64/pdns/libgeoipbackend.so':

I am trying to activate geoip module on powerdns I am getting strange error message. GeoIP db installed Package GeoIP-1.6.12-7.el8.x86_64 is already installed. Centos 8 nginx /etc/pdns/pdns.conf ...
0
votes
1answer
34 views

“dnf update” vs. “yum update” command differences in CentOS Linux?

Does anyone know what's the difference between the below command in CentOS Linux ?: dnf update yum update Which one is better to use with Cron as automated OS update? Thanks in advance.
0
votes
1answer
248 views

CentOS 8 remote logging logs on both custom log and /var/log/messages

I'm trying to configure a remote log host for my servers (all CentOS 8). I added this on my central server if $fromhost-ip == '123.123.123.123' then /var/log/{{hostname}}.log Also I changed my client ...
0
votes
1answer
41 views

How to make sure all uploaded files are readable by the webserver?

Every file uploaded has the wrong permissions so my webserver (Nginx) can't read them. When I manually adjust them by running sudo chmod -R 755 /var/www/* it works again but I'd have to to it ...
0
votes
1answer
132 views

What is the prefered method to install Python with Ansible on CentOS 8

CentOS 8 does not always come with Python pre-installed, and so Ansible will fail running on the remote machine until it's been installed. However in a classic Chicken/Egg, you can't use the Ansible ...
0
votes
1answer
107 views

When I do a ping for my CentOS 8 web server, it shows a name that is not the hostname or domain name. where is it getting it from?

I have set my hostname like this: $ sudo hostnamectl set-hostname dev.mydomain.com and I see it got set when I do this: $ hostnamectl status Static hostname: dev.mydomain.com Icon name:...
0
votes
1answer
189 views

I installed by mistake MySQL version 10.5.0-MariaDB is EOL software, what should I do now server is in production?

I've installed MySQL version 10.5.0-MariaDB is EOL software by mistake what should I do now server in production? What should i do ? wait for a new release since everything seems to be working fine. ...
0
votes
1answer
22 views

centos 8 ssh remote server asking password despite PubkeyAuthentication yes

I am trying to connect remote host from client computer without password (with password works perfectly) On client computer I did following but when I try to connect ssh, still asking password. anyone ...
0
votes
1answer
51 views

CentOS 8 Chrony - how to query servers for time difference?

We are moving from CentOS 7 to CentOS 8 for our monitoring servers (Zabbix) and we use ntpdate to query for time to detect if our local time provider for all devices (Cisco device) hasn't started ...
0
votes
1answer
69 views

How to run Kubernetes without external DNS - Hostname could not be reached

I am installing a k8s cluster on CentOS 8 Hyper-V virtual machines. I used my router DHCP server to give them static IP addresses, but I have no DNS. When I was ready to setup kubernetes I ran sudo ...