Questions tagged [centos8]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1
votes
1answer
21 views

centos8 nginx uwsgi socket permission denied

I've configured uwsgi and nginx to work through socket(chmod 777) which is located in user home dir, but nginx can't access the socket(13: Permission denied in error.log). Tried moving socket to /tmp/ ...
0
votes
0answers
22 views

Is it possible to deploy fully configured CentOS 8 installations over PXE? Non-interactive

I have ~30 machines scattered around a ship that management wants to use to show our web app. I have a central virtualisation cluster with a mirror and PXE server on it. I've been able to PXE boot ...
1
vote
0answers
31 views

configuring apache to not serve php files statically unless php-fpm is configured

I have a an apache 2.4 configuration section that I use to handle the rare situation where a misconfigured apache box could serve php files as static plain text, and potentially give up credentials ...
0
votes
0answers
18 views

letsencrypt not working for base domain

I'm using centos 8, and have installed let's Encrypt certificate that's not working for base (root) domain but working for sub domain. I've checked certificates available for both root and sub domains ...
1
vote
1answer
31 views

Should I use Centos 7 or Centos 8 on my VPS Server for Plesk? [closed]

I'm going to buy a VPS from a company. It asks me if you want to choose Centos 7 or Centos 8 when purchasing VPS. From what I've researched on the internet, there is no difference between the two. But ...
2
votes
0answers
24 views

Routes in route6-eth0 don't apply [closed]

I made a file /etc/sysconfig/network-scripts/route6-eth0 with the following contents: default dev eth0 src ****:****::**** metric 50 pref medium However, it doesn't show up when I execute ip -6 route:...
-1
votes
1answer
37 views

How can I make a linux CentOS server the master DNS server? [closed]

What kind of scripts do I need for that? Thanks in advance for any explanation or link to tutorial
0
votes
0answers
32 views

Automatic LUKS unlock using kefile on boot partition [migrated]

Background I'm attempting to configure automatic LUKS unlock on CentOS 8 Stream. I would like to place a keyfile on the unencrypted boot partitionand and use it to unlock the LUKS protected LVM PV (...
0
votes
0answers
28 views

Sendmail not, er, sending mail

Can someone help me out here please. I have a CentOS 8 install, and am trying this line: echo "Subject: Hello" | sendmail -v me@mydomain.com This is /etc/hostname: web.mydomain.com This ...
0
votes
0answers
24 views

Aliasing a user (id) in CentOS7/8

I am in the process of replacing some apache instances with nginx (for performance, mostly). For some time I will need to switch from one to the other. The packagers, in their infinite wisdom, decided ...
0
votes
0answers
14 views

How to configure Windows>Vmware>Docker>nginx so I can access http

On my PC I have this stack: Microsoft Windows [Version 10.0.19042.1110] VmWare Player 16.1.2 build-17966106 installed in windows CentOS Stream 8 installed in a VM Docker 20.10.7 installed on CentOS ...
-1
votes
2answers
84 views

cannot install both kubelet-1.18.4-0.x86_64 and kubelet-1.21.3-0.x86_64

[root@centos1 ~]# yum -y update Ultima verifica della scadenza dei metadati: 8:14:04 fa il dom 01 ago 2021 19:20:32 EDT. Errore: Problema: cannot install both kubelet-1.18.4-0.x86_64 and kubelet-1.21....
0
votes
1answer
211 views

CentOS 8 compiling kernel 5.13.7 BTF Error

I'm compiling Kernel 5.13.7 for Centos 8.4.2105 I've got the below error MODPOST vmlinux.symvers MODINFO modules.builtin.modinfo GEN modules.builtin BTF: .tmp_vmlinux.btf: pahole (pahole) is ...
1
vote
1answer
61 views

PXE Server on Centos 8, Windows DHCP and DNS on same network. Clients not receiving bootfile

I have a Windows AD Domain running on Windows Server 2019, it has DHCP and DNS in addition to AD. I'm trying to setup a PXE server on a different machine running CentOS Stream 8. I got the PXE server ...
1
vote
2answers
58 views

CENTOS apache ALL=(root) NOPASSWD: /path/to/shell.sh is not working

Trying to do a web interface IPtables management. Created a file test.php $output = shell_exec('sudo bash /usr/bin/iptables.sh 2>&1'); echo $output; Gave /usr/bin/iptables.sh NOPASSWD so I can ...
1
vote
0answers
21 views

Can one migrate from Fedora (28) to CentoOS 8 Stream using new repos and DNF?

I've got a server running Fedora 28 that is primarily an RDBS host running PostgreSQL 10.7-1: [Fedora 28]$ dnf list postgresql-server Last metadata expiration check: 0:20:19 ago on Mon 12 Jul 2021 09:...
0
votes
1answer
39 views

Openvpn and Firewalld communication between zones

I spent a couple of hours today attempting to setup my vps in germany (runs centos8 and openvpn client+server) for this configuration: My vps has 3 NICs eth0 with public ip address 1.2.3.4 tun0 with ...
2
votes
1answer
117 views

Centos 8 stream, KVM & multiple vlans

For my local environment i'm trying to add multiple vlans to my KVM server. I want to use one nic for management and the other for vlan tagging. Initial installation was made by following https://www....
0
votes
0answers
48 views

install multple php version on centos 8

I have a server running on centos 8 PHP 7 is installed already and I'm new to centos 8. I used to use centos 7 and I use the 2 PHP versions 7 and 5 I am using the php5 for some older scripts until I ...
0
votes
1answer
31 views

Start GCP CentOS VPS on schedule?

Is it possible to reliably start a CentOS VPS on Google cloud on schedule (say every monday 2pm) ? And then shut it down after 60 min. To avoid extra charges the VPS needs to be shutdown not suspended ...
0
votes
0answers
1k views

OEL 8.3 SSSD AD Login issue

I am running Oracle Enterprise LINUX 8.3 . I am able to join my AD domain with an admin account but when I try to login to the server using the same credentials that I used to join the server to the ...
0
votes
0answers
13 views

can use psql on localhost but not on the server fully qualified name [duplicate]

From my server (Centos 8) data.mycompany.edu I can open a psql session using psql -h localhost -p 7432 -U myusername mydb However, if I use psql -h data.mycompany.edu -p 7432 -U myusername mydb I ...
2
votes
0answers
117 views

Failed to start IPv4 firewall with iptables

I'm running CentOS 8 Webserver and recently I had some issues with the CSF Firewall, the CSF Service is running but the LFD is failed. I did some research and I was able to fix it by doing iptables --...
0
votes
0answers
50 views

A new kernel complied on base CentOS 8Fail to load/boot

I have successfully complied the v5.13 kernel and set this to default. Please see the logs below. However when I reboot the device, I. get the error: ../grub-core/loader/efi/limux.c:119:can't ...
0
votes
1answer
123 views

CentOS 8 misses a significant amount of RAM on VPS

CentOS 8 is running on a VPS having 1GB RAM. dmesg shows: Memory: 216012K/1048040K available So I believe BIOS sees 1,073,192,960 bytes. Then, as free -b reads, RAM has 997,236,736 bytes in total. ...
0
votes
1answer
39 views

where is my hdd space

I am new to linux and installed Centos with default configuration without applying any custom settings, while I have 512 GB SSD drive but on gnome it shows only 75 gb, when I tried to run fdisk ...
0
votes
0answers
32 views

Centos 8 CLI failed to start Switch root . “failed initrd-switch-root.service” [exit code]

I have Centos 8 Cli version installed , due to power off the OS starts directly in emergency mode without starting root user . I have attached screenshot here The OS is on VMware Hypervisor esxi 6.5 ...
0
votes
0answers
28 views

ssh-keygen fails when specifying passphrase

Running CentOS8 with FIPS mode enabled. openssh-8.0p1-8.el8.x86_64 installed # ssh-keygen -t ecdsa -b 256 -m pem Generating public/private ecdsa key pair. Enter file in which to save the key (/home/...
0
votes
1answer
140 views

dracut-install: ERROR: installing 'sgdisk' dracut: FAILED

When i do a Centos 8 routine update from below command. dnf update I got a below error, i have no idea on how to fix this, Any guidance on how to fix this will very valuable. Running scriptlet: ...
0
votes
1answer
48 views

I am able to SSH to VM but unable to PING in centOS8

I am able to SSH to a VM but unable to PING it. Even though I have stopped firewall I am facing same issue. Does anybody have any ideas? Also port forwarding is enabled for HTTPS service on that ...
0
votes
2answers
302 views

virsh reporting unknown feature amd-sev-es

I updated my centos and I can no longer start any VM. It says: error: failed to get emulator capabilities error: internal error: unknown feature amd-sev-es But I'm using a Intel CPU (E5-2678v3) so it ...
0
votes
2answers
399 views

CentOS 8.3 - How to switch a PHP installation from Remi to AppStream?

Currently running PHP 7.4 from Remi. It was a modular dnf installation that replaced PHP 7.2 AppStream packages back when 7.2 was the newest PHP available from CentOS. In other words, Remi packages ...
0
votes
1answer
279 views

Ansible error when trying to ping Windows 10 host. No winrm module

I'm using this command to ping a Windows host from my CentOS 8 Ansible server ansible windows -m win_ping But I get this output when executing it windows | FAILED! => {       "msg": &...
1
vote
0answers
29 views

OpenVPN - No internet after connection

I have a OpenVPN Server on a CentOS 8 machine that has firewalld and nftables. I have set up OpenVPN with this script: https://github.com/angristan/openvpn-install The OpenVPN Client is a Windows 10 ...
1
vote
1answer
87 views

SetroubleshootPrivileged.py using 95% CPU | Centos 8 server

I have been battling with this issue for weeks. I have a Linode with a Centos 8 server. An application called "SetroubleshootPrivileged.py" is eating all the resources. "setroubleshootd&...
0
votes
0answers
896 views

CentOS 8 NTP: Chrony will not Sync with sources, timedatectl showing no sync but NTP active

I have been battling with Chrony for the last few hours and cannot seem to figure out what I'm doing wrong. I found that my system time was set to 2015 when trying to activate Epel-release in DNF, ...
0
votes
0answers
101 views

x11vnc can not connect to X server of gdm greeter

OS: CentOS 8.3 GDM creates a X server for the greeter, and a different one each user that logs in. I am trying to run x11vnc to enable remote access to the machine, but x11vnc is rejected by the X ...
0
votes
0answers
22 views

How to allow a cockpit user to access a guest VM?

I have a server running CentOS 8 with KVM (libvirt, qemu,..). I use cockpit to manage guest VMs and OS installations. I created an account without server administrator role to which I want to allow ...
0
votes
1answer
40 views

Apache2 enable catch all virtual host

I have Virtual Hosts enabled on my Apache2 server and every domain has its /etc/httpd/sites-available/domainX.conf and /etc/httpd/sites-enabled/domainX.conf symlink files like this: <VirtualHost *:...
3
votes
0answers
100 views

CentOS Linux 8 freezes when changing SELinux Booleans (setsebool)

Problem Various CentOS Linux 8 servers freeze/hang when changing SELinux Booleans. Details and research We manage hundreds of CentOS Linux servers. Lately we see deviant behavior on some (but not all) ...
0
votes
2answers
1k views

Configuring Squid to not log TCP connections (lots of "error:transaction-end-before-headers" showing up in logs)

We run Squid proxies in GCP, and are in the process of migrating from CentOS 7 to 8. I'm working on using the GCP Internal L4 load balancer to improve redundancy/failover, and have configured a ...
1
vote
2answers
748 views

Centos 8 Stream EOL

I see here that EOL for Centos 8 Stream is 2024-05-31. Probably I'm not getting something but I understand it is upstream of RHEL 8 which has EOL in 2029. What's happening in 2024?
0
votes
0answers
21 views

firewalld centos 8 masquerade log

I am not able to log NATted packets, I tried to do this with a rich rule which indeed is natting packets. rich rules: rule family="ipv4" source address="192.168.188.0/24" ...
0
votes
0answers
59 views

Rotatelogs not working

I want to rotate apache logs using the build-in rotatelogs tool: https://httpd.apache.org/docs/trunk/programs/rotatelogs.html Somehow, rotatelogs is not working without giving me any error's. So i'm ...
1
vote
1answer
78 views

Client PC (Win7/Win8) cannot ping to VMware server (CentOS 8), but server can ping client

first of all I'm not a networking technician, so my networking lingo is very much limited. I'm trying to help my coworker with troubleshooting a problem. So far I only rely on using search engine to ...
0
votes
1answer
35 views

Race condition with "openstack overcloud node import --introspect --provide <file>" in Victoria?

I'm trying to execute openstack overcloud node import --introspect --provide <file.json> on a fresh install, but consistently getting Mar 11 16:59:27 victoriadirector platform-python[353569]: ...
2
votes
1answer
202 views

proto static metric for overlapping prefixes

Can someone please clarify how the route metric is set by Centos 8 in the following situation. I have two vlans on the system, each of which has a matching route prefix defined in /etc/sysconfig/...
0
votes
0answers
37 views

2x Node OpenStack with additional Synology

Dave here I'm building a concept for a customer and they want to build a dev environment for their small business network. This is for pen testing, and as close as they can virtualized version of ...
0
votes
1answer
200 views

UEFI-based laptops not displaying the iPXE boot menu

UEFI-based laptops not displaying the iPXE boot menu I'm testing iPXE to replace the old PXE solution. For my test environment, I'm using CentOS 8 with iPXE, Dnsmasq and Apache installed from the ...
0
votes
1answer
54 views

A (cron) job to run if file has changed

I need to backup a live sqlite db by running a command once a day. Only if the db file has changed since last backup. How could it be achieved on Centos 8 ?

1
2 3 4 5