Questions tagged [centos7]

CentOS is a Linux distribution standing for "Community ENTerprise Operating System" and is a rebuild of "Red Hat Enterprise Linux" (RHEL), belonging to the same company that distributes RHEL (Red Hat, Inc.). The "CentOS7" tag refers to versions 7.x-xxxx of CentOS, working only on 64-bit hardware. Maintenance updates for CentOS/RHEL 7 will stop on June 30, 2024, with full updates ceasing in winter of 2019.

2960 questions
1
vote
0 answers

What to do when there is enormous large number of blkid command running?

Recently I saw server is slowing down rapidly, and when I checked what is going on, I saw extremely large number of blkid processes and server load is enormously high. Here is the screenshot of top command: What to do to stop/remove those…
1
vote
1 answer

Command ordering not respected on Centos 6, not present on Centos 7

I have the following command which is executed as part of a script executing on a remote box via an ssh connection: cd /var/spool/some_directory ; tar -cf file_name.tar file_1.txt file_2.txt file_3.txt ; echo $(du -m -- file_name.tar | awk '{print…
1
vote
1 answer

Yum update fails inside CentOS 7 Docker in the UK, works elsewhere

When attempting to run yum update inside the stock CentOS 7 Docker container it fails with One of the configured repositories failed (Unknown): $ docker run --rm -it centos:centos7.8.2003 # yum update Loaded plugins: fastestmirror, ovl Determining…
Isac Casapu
  • 235
  • 1
  • 11
1
vote
1 answer

Docker - No Outbound Traffic / Bridge Only Works When in Promiscuous Mode

I have been struggling with a very strange networking issue for the past week. In summary, my containers can't reach the internet unless I run tcpdump -i br-XXXXX (which puts the bridge into promiscuous mode) I have two containers that I'm bringing…
1
vote
0 answers

Apache mod_rewrite P flag is rewriting URL unexpectedly

I've recently received a request from the site owner to redirect our base domain to a specific landing page on a subdomain, which is working just fine. The problem is that he wants the URL to remain the same, so the user will see mydomain.com but go…
1
vote
0 answers

Ebtables rule limit

Does anyone have any idea about ebtables rule count limitations? It starts giving this error around 26000 rules for filter table : [root@localhost 09]# ebtables -A testchain1 -p IPv4 --ip-src 'ipv4.x.x.x' -s 'mac:x:x:x:x:x' -j ACCEPT Unable to…
Jevin Gala
  • 59
  • 9
1
vote
1 answer

Cannot start services on CentOS 7

Suddenly, I cannot start services on my VPS(CentOS 7). For example, service httpd start Redirecting to /bin/systemctl start httpd.service Authorization not available. Check if polkit service is running or see debug message for more…
William
  • 99
  • 1
  • 2
  • 11
1
vote
1 answer

Why cannot I access my website when port 80 is not blocked?

On my VPS(CentOS 7), the default iptables is: Chain INPUT (policy ACCEPT) target prot opt source destination ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED ACCEPT icmp -- 0.0.0.0/0 …
William
  • 99
  • 1
  • 2
  • 11
1
vote
0 answers

How to determine what is crashing our systems (CentOS 7) from kdump?

we currently have 3 out of 3 systems running CentOS in the exact same hardware and software configuration but are experiencing random system hangs. The occurrence can happen randomly as short as 20 minutes since boot or may take up to 1 or 2 weeks…
Andy
  • 9
  • 1
1
vote
0 answers

lsof hangs forever centos 7

Having an issue where lsof hangs forever. I thought it might have been caused by the NFS mount which was recently interrupted and remounted, however, I tried unmounting the NFS mount and it's still doing it. dmesg is showing a block on nvme1n1.…
Gnosis
  • 39
  • 4
1
vote
1 answer

Make use of increased storage space on MBR OS disk on Centos 7.3 in Azure

(I'm quite new to disk management and partitions, so some terminology might be mixed and confused) I'm attempting to increase the size of the OS disk on our Centos 7.3 VM on Azure in order to (hopefully) smoothly migrate an existing machine from a…
Kyrre
  • 111
  • 2
1
vote
1 answer

What is the recommended fs.file-max value on redhat7

How to calculate fs.file-max? what is the recommended value for rhel-7 and how to calculate the correct value?
KKE
  • 135
  • 1
  • 4
  • 11
1
vote
1 answer

Server is down after changing machine type in Google Cloud Platform

I changed my machine type(GCP) by stopping the instance, after increasing the machine type I restarted the instance and now server stopped working, the website is down now. Upgraded from 1 vCPU, 1.7 GB memory to 2 vCPU, 4GB memory. And if I select…
1
vote
1 answer

Centos 7 server does not boot X64 Exception Type - 0D(#GP - General Protection)

I ran a yum update on a Centos 7 server that previously worked well, then tried to restart it with the command reboot. The server is a google cloud compute instance. It would not come up. The output on the serial console is: BdsDxe: loading Boot0003…
Peter Evans
  • 133
  • 2
  • 10
1
vote
0 answers

Error integrating Samba with already configured Openldap

After setting up my Openldap on Centos 7, I got a problem while integrating Samba (I followed many tutorials, ex. https://admin.shamot.cz/?p=470). After running the command: net getlocalsid I got an error: ailed to bind to server…
Bruce
  • 11
  • 2