Questions tagged [centos8]

CentOS 8 was a community developed and supported distribution of Linux based on Red Hat Enterprise Linux. It was released on September 24, 2019 and reached End Of Life on December 31, 2021.

Filter by
Sorted by
Tagged with
0 votes
1 answer
42 views

CentOS LVM Extension Trouble

We have a CentOS 8 server that has recently had a lvm fill up on available space. This was not our monitoring system since it watches the disk space and not the volume space. Regardless I am having ...
bShaver's user avatar
0 votes
0 answers
29 views

Pgadmin4 - 500 Internal Server Error

I am a new user of PostgreSQL. I have installed PostgreSQL 13 on the CentOS 8 server and configured PGAdmin4 in both the web UI and desktop UI modes. The installation was successful and Desktop UI is ...
Dhanushka Ekanayake's user avatar
0 votes
1 answer
60 views

VPS server all domains showing This site can’t be reached error

Hello all hoping someone may be able to help. I have a VPS server running apache with linux centos 8. I have a few domains running on PHP 8 and one wordpress and node API application. Everything was ...
Yeak's user avatar
  • 103
0 votes
1 answer
52 views

Memcached can not listen on a port different from 11211 in Alma Linux 8.8

I installed successfully Memcached in Alma Linux 8.8 (a Red Hat 8.8 clone) but, when I changed the port number from 11211 to 11212 in the config file at /etc/sysconfig/memcached and restarted the ...
aldemarcalazans's user avatar
0 votes
0 answers
122 views

Centos show me "Cannot find a valid baseurl for repo: base/7/x86_64"

Hi, i have a issue, when i type in Centos 7 "yum update" show me next error Loading mirror speeds from cached hostfile One of the configured repositories failed (Unknown), and yum doesn't ...
CristianDAG's user avatar
0 votes
0 answers
37 views

Apache Centos mutiple instances and virtual hosts

I installed apache on centos and added two virtual hosts (server1.com and server2.com ): server1.conf Listen 443 https <VirtualHost *:443> DocumentRoot /opt/server1/ ServerName server1....
el sparrow's user avatar
0 votes
1 answer
45 views

Apache running but saying it's failed [CentOS 8 Stream]

On a clean install of CentOS 8 Stream I run the following commands yum install httpd -y yum install mod_ssl -y httpd -k start systemctl enable httpd At this point Apache is running and pages ...
Adrien Hingert's user avatar
0 votes
1 answer
173 views

K8S cluster pod can't solve service name if pod on different node from coredns pod

I created a k8s Cluster v1.26.0 with kubeadm and I am using Calico as CNI. I deploy calico with the helm chart and I followed the steps by the Calico official page and chart. The container engine is ...
Peeradis Sa-nguantrakul's user avatar
0 votes
1 answer
115 views

How to extend root volume / with an extra storage disk

I am trying to add a 2nd disk to a CentOS 8 instance and I want to extend the entire storage utilizing all the available extra space; 1st storage: 40 GB 2nd storage: 100 GB (added later) The problem ...
Broken Arrow's user avatar
0 votes
0 answers
64 views

High RAM usage when providing large file on apache

I'm using Apache 2.4 on AlmaLinux 8. When I publicate a hundreds GB file and if someone starts downloading it, Apache RAM usage (especially VIRT) becomes bigger and bigger, starts swapping and ...
NON's user avatar
  • 13
0 votes
0 answers
39 views

Server Send Code 521 While SSH running well

I would like to ask a question regarding my server problem. I have no idea why it sent 521 code while resources is still fine. I think there is misconfiguration. I am using default of Webuzo panel. ...
Stuart William's user avatar
0 votes
1 answer
440 views

Docker : Failed to download metadata for repo 'appstream'

I am using Docker. I am newbie in this tech, so please let me know if require any other info Want to install a remote host, docker-compose.yml version: '3.8' services: jenkins: container_name: ...
sparsh610's user avatar
  • 101
0 votes
0 answers
1k views

prevent displaying of network interface altname on centos 8

When using custom network interface name in Centos 8 an output of ip a command starts to show "interface altname". # ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state ...
Dmitry Novice's user avatar
0 votes
0 answers
48 views

Does centos Stream (8 or 9) support crypttab keyscript?

I have had setting up network unlock for my Centos based hypervisor for several years, and I finally set the time aside to try it a second time and am running into a road block. I do not want to ssh ...
ACiD GRiM's user avatar
  • 123
0 votes
2 answers
831 views

Couldn't resolve host name for http://vault.centos.org/centos/8/AppStream/

Every time I run a command on my virtual server, I get the following error centos8 [root@servers03 ~]# dnf install epel-release CentOS Linux 8 - AppStream 0....
sanja's user avatar
  • 1
2 votes
0 answers
1k views

ovirt noVNC console error : Something went wrong, connection is closed

Context : oVirt 4.4.9.3-1.el8 glusterfs 8.6 Self-hosted engine Problem: Since I update my certificates (with engine-setup) because of the warning that my certs will expire soon, I can't open the noVNC ...
DSX's user avatar
  • 385
0 votes
1 answer
600 views

Static route via nftables firewall

I have a gateway "X" with 2 NICs enp0s3 (192.168.0.100) connected to 192.168.0.0/24 (let's assume this is a WAN network) enp0s8 (172.16.0.1) connected to 172.16.0.0/24 (presumably a LAN ...
asteway's user avatar
1 vote
0 answers
7k views

Mounting using NFS result in Operation Not Permitted

I followed an article from DigitalOcean to mount a directory from my backup machine (192.168.100.82) on my service machine (192.168.100.81): mount -vvv 192.168.100.82:/var/nfs/general /nfs/general ...
TheSETJ's user avatar
  • 111
1 vote
0 answers
24 views

How can I install application as root and start and stop it as non root?

I have a script which will install mysql server, java and then my java application. I want to create a test user and group testg, the application will start and stop by non-root user (here test user) ...
user15566016's user avatar
2 votes
1 answer
121 views

AlmaLinux 8.6 cloning issue

I have cloned an AlmaLinux 8.6 server to another AlmaLinux 8.6 server using the following command. sudo rsync -vPa -e 'ssh -o StrictHostKeyChecking=no' --exclude-from=/root/exclude-files.txt / [[...
Hasanuzzaman Sattar's user avatar
0 votes
0 answers
74 views

The nsupdate not updating the records

nsupdate not update the records. Try to find where I'm wrong but I can't. > server 192.168.1.117 > update delete _kerberos-master._tcp.example.com. SRV > update add _kerberos-master._tcp....
Marc Antoine's user avatar
0 votes
1 answer
60 views

NGINX CentOS8 Server Block Configuration Issue

I'm facing below issue when i need to activate server block from nginx.conf. Can you check it with me please? sudo systemctl status nginx.service ● nginx.service - nginx - high performance web server ...
Zek's user avatar
  • 1
0 votes
0 answers
32 views

CentOS 8 partprobe command still showing disk label after deletion

Running CentOS 8, I want to make the Disk "/dev/nvme1n1" totally empty without any partition to to make it available for use by special distro of Kubernetes. Commands executed to delete all ...
Mohamed Aly's user avatar
0 votes
1 answer
49 views

Varnish 7.2 CLI telnet logs

I upgraded to varnish 7.2 and now it dumps the logs of varnishd into /var/log/messages on Centos 8 and can not figure out how to change the location of its logs! any clue would be appreciated. Here is ...
BJaz's user avatar
  • 19
1 vote
2 answers
4k 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:...
user1999453's user avatar
1 vote
0 answers
260 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 ...
Keith Li's user avatar
0 votes
1 answer
2k 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 ...
gsb005's user avatar
  • 111
0 votes
1 answer
527 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. ...
motorleague's user avatar
0 votes
1 answer
138 views

Display custom message with [email protected] 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 [email protected]. ...
BTR Naidu's user avatar
  • 627
2 votes
2 answers
2k 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 ...
gen_Eric's user avatar
  • 211
0 votes
0 answers
1k 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/Бухгалтерия/...
Makar Pogorelov's user avatar
2 votes
2 answers
6k 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 (mockbuil[email protected]) (gcc version 8.3.1 ...
George Y's user avatar
  • 530
0 votes
0 answers
591 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: ...
Alessandro Mostardi's user avatar
1 vote
2 answers
3k 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 ...
Or Yaacov's user avatar
0 votes
0 answers
2k 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 ...
George Y's user avatar
  • 530
0 votes
1 answer
567 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 ...
MAHDI.TX's user avatar
0 votes
1 answer
2k 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&...
Superveci's user avatar
1 vote
1 answer
2k 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....
Rashiq's user avatar
  • 115
5 votes
2 answers
17k 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. ...
ground_beef_n_stuff's user avatar
2 votes
3 answers
6k 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 ...
Kalvin Klien's user avatar
1 vote
0 answers
73 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 ...
Max Crowe's user avatar
  • 111
0 votes
2 answers
15k 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&...
zabumba's user avatar
  • 164
0 votes
0 answers
115 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 ...
Ján Lalinský's user avatar
0 votes
0 answers
724 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 ...
João A. Veiga's user avatar
-2 votes
1 answer
582 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.
GoogleUser247-2's user avatar
2 votes
0 answers
5k 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 ...
firebush's user avatar
  • 141
0 votes
1 answer
828 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 ...
gen_Eric's user avatar
  • 211
0 votes
1 answer
628 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 # ...
sfanjoy's user avatar
  • 121
2 votes
0 answers
215 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 ...
Jeff Albrecht's user avatar
1 vote
1 answer
1k 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=...
molsqueak's user avatar

1
2 3 4 5 6