Questions tagged [centos]
CentOS is a free (as in beer and speech) GNU/Linux distribution that is community driven and based on source code released from RedHat.
10,651
questions
0
votes
0
answers
19
views
Compute engine stopped by itself
I did not perform any operations and did not set any auto-stop, but the compute engine stopped on its own.
The logs for the day, which can be viewed from GCP, are as follows.
----------Log below-------...
0
votes
0
answers
21
views
Weird behaviour python on VPS centos server
I've running VPS server(OS is Centos) and been facing some weird behavior on the system process recently, first the RAM on the server is very high(65%-85%) when it used to be 30%, when I run top ...
0
votes
0
answers
19
views
I need to measure downloads size request per file in my site [closed]
Hi I have a website that it's main service is upload file system. users of my website upload their file and share it's download link to their friend, users and everyone that they want.
So I need to ...
0
votes
0
answers
19
views
Full disk encryption on CentOS 9 Stream with TPM2 decryption at boot time
I'm working on provisioning a server that requires full drive encryption and I want to automate the process of decrypting the drive at startup using the TPM2 module available on the motherboard, but I ...
0
votes
1
answer
23
views
Yum command to find files that an RPM will deploy
On Ubuntu/Debian you can run
apt-file list nginx-core
and you will get a list of all the files that a package will deploy when installed.
How can I achieve this in RHEL with the yum command ?
The ...
0
votes
0
answers
65
views
High CPU usage by ksoftirqd
We use GCP for running Kubernetes and for communication with our services in different locations using VM masquerading by iptables. The first time we faced an issue with performance when we use only ...
0
votes
0
answers
63
views
How to diagnose out of space errors?
Twice I've noticed out of space errors in my php app and both times I've received the error "No space left on device while writing config" when attempting to login via ssh to troubleshoot ...
0
votes
0
answers
25
views
How to resolve NXDOMAIN in centos using bind/named package
I am trying to configure DNS server on centos 7. I am following this link.
when I run dig -x 192.168.40.107 I don't receive any answers record. here is output
; <<>> DiG 9.11.4-P2-RedHat-9....
0
votes
1
answer
52
views
Emails delivered, but no where to be found
I have been working on this for 2 days now and am desperate for some help.
Postfix & Dovecot
CentOS Linux release 7.9.2009
Plesk 18.0.50
For the most part emails are flowing into the server ...
0
votes
0
answers
30
views
I cannot get environment variable from apache
On a Centos 8, I added a SetEnv into my VirtualHost conf:
<VirtualHost *:XXXX>
Alias /static/ /opt/industrialisation/xxxx/xxxx/xxxx/
<Directory /opt/industrialisation/xxx/xxxx/>
...
0
votes
0
answers
16
views
DNS resolution using a VM under libvirt
I have a Fedora 36 laptop with libvirt configured and run free-IPA server, based on CentOS 8 as a virtual machine. The IP address of this IPA server is 192.168.122.20 and my host laptop has an IP ...
0
votes
0
answers
25
views
why SUnreclaim in slab cache grow extremely high but can be greatly free up through drop_caches?
We observe extremely high slab memory usage on a long running CentOS7(mount Lustre) server. With total 187G RAM, the slab cache used 110+G and most part is SUnreclaim.
Since slab = SUnreclaim + ...
3
votes
0
answers
76
views
Unable to su or ssh as anyone but root on CentOS 7
I seem to be unable to ssh or su as a local user on my CentOS 7 machine as of today.
$ adduser ndejay
$ passwd ndejay
Changing password for user ndejay.
New password:
Retype new password:
$ su ndejay
...
0
votes
0
answers
37
views
Unable to Write, Permission denied
As an apache user, I was trying edit some files owned by a different user, lets call it docroot
drwxrwxrwx 2 docroot docroot 327 Feb 15 20:34 .
drwxr-xr-- 53 docroot docroot 8192 Jan ...
0
votes
0
answers
15
views
Install OpenShift on RedHat or Centos? whitout paying
I need to create a POC using OpenShift, if I use a machine with Red Hat I need to have a subscription? it is posible to do it without paying?
and if is not possible, can I use CentOS to do the same ...
0
votes
0
answers
85
views
xfs corruption metadata after reboot
I had a problem on a RAID1 with 4 disks. We replaced the faulty disk and restarted the server, the rebuild was done, two linux centos 7 machines did not come up accusing error of xfs corruption. Other ...
2
votes
1
answer
65
views
Why does xinetd try to close file descriptors on startup?
I have xinetd running inside a docker container (base image centos:7) on a rockylinux 9 host machine.
On starting xinetd service in the docker image, it appears to hang. So I used strace, and found ...
0
votes
0
answers
16
views
What is use of multiple ip addressing for active bond in centos
I have created active bond in centos Virtual machine by bonding two NICs and they were on same VMnet switch, I am having difficulty to understand what will be the use of multiple ip addressing for ...
2
votes
2
answers
495
views
Redhat phantom out of memory issues
We have a server that runs various headless applications, such as Java. It processes to stream data, daily python scripts, etc. From time to time some of our applications get out of memory errors.
The ...
0
votes
0
answers
17
views
Samba: shared directory is accessible, but shared NTFS drive - not
I have Samba server installed on a CentOS 9 Stream machine and I am trying to share an external USB HDD, formatted in NTFS. This is my /etc/fstab record for mounting it:
UUID=880AFE920AAB7B8E /home/...
0
votes
2
answers
69
views
df -h --total command showing wrong total disk size
I have 512GB attached to my linux centos 7.9 server I'm trying to know how much total disk size used from overall disk size from inside the server
I tried to use df -h --total command to show the ...
0
votes
1
answer
55
views
What is the equivalent to "sudo apt autoremove" in CentOS?
I read this but there's no apt command in CentOS. So, how can I remove unused packages in CentOS?
1
vote
1
answer
96
views
netbooting CentOS via PXE and UEFI : unable to mount root over nfs -- failed to switch root path /sysroot
Last weekend, I went down the rabbit hole of trying to netboot rockylinux on raspberry pi 4.
I was able make it work as far as being able to boot the kernel. But I fail to properly nfs mount root. I ...
0
votes
0
answers
181
views
vsFTPd 3.0.5, 331 Please specify the password. Password: 530 Login incorrect. Login failed. Centos Stream 9
On Centos Stream 9
when I try to connect via FTP it says
vsFTPd 3.0.5, 331 Please specify the password. Password: 530 Login incorrect. Login failed.
The username /password are correct I treid many ...
0
votes
1
answer
40
views
Can't connect to mysql after managing systemctl (Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock')
I needed to run a program (just a compiled c++ program, not script, i.e., like /var/programname) on startup on CentOS 7.
I followed this guide https://www.howtogeek.com/687970/how-to-run-a-linux-...
0
votes
1
answer
104
views
ssh could not connect to the server, and disconnected after providing the username. Logs for sshd-ddd and ssh-vvv are provided below
The original text is in Chinese, translated into English using Google Translate.
premise
Because of the need to upgrade glibc2.28 to glibc2.29, and later required too many dependencies, the upgrade ...
0
votes
1
answer
177
views
Centos 7 dhcp server not responding to UEFI PXE DISCOVER
I'm trying to set up a Centos 7 server as a dhcp server for PXE (UEFI). I'be tried several changes to the dhcpd.conf file, but nothing seems to make a difference.
dhcpd.conf:
allow booting;
allow ...
0
votes
1
answer
58
views
DNS issue with CentOS7?
I am working in a VMWare environment creating a network for a college class, and I keep running into what I can only assume is a DNS error with my two CENTOS7 systems. The system environment is as ...
0
votes
2
answers
56
views
List all tags in SVN repo
If I run svnlook tree -N /path I get a list of the top level folders in the SVN repo like this:
/
tags/
trunk/
But what I need to see is a list of the current tags. I know I can turn off -N but ...
0
votes
0
answers
122
views
Centos 7.0 can't start network service
I get this error when I start network service
Job for network.service failed because the control process
exited with error code. See "systemctl status network.service"
and "...
0
votes
0
answers
67
views
ubi8 docker image missing packages
I am experimenting the ubi8 as a migration from centos 7 to ubi8 for rhel linux distribution.
Not sure if I miss something, but the ubi-8-appstream-rpms and ubi-8-baseos-rpms seem missing a lot of ...
0
votes
0
answers
399
views
failed to create bus connection: no such file or directory
Virtualbox with ubuntu 22.04
[root@container www]# systemctl start NetworkManager
Failed to get D-Bus connection: No such file or directory
Virtualbox with ubuntu 20.04
docker run --privileged -d -...
0
votes
0
answers
23
views
Can't install npm on CentOS 6 due dependency issues
I have a CentOS 6 machine that I want to install npm on. Whenever I do a normal yum install npm I get an error saying that I need to install krb5-devel which doesn't show up on yum search so I ...
0
votes
0
answers
95
views
PermitRootLogin set to no but can still use root on Centos Stream 9
Im following an RHCSA training course and to disable root I need to set PermitRootLogin to no in the /etc/ssh/sshd_config file and restart sshd using systemctl. I've done all this and can still login ...
0
votes
0
answers
19
views
Server with high bandwidth + ftp connection impossible (CENTOS 7 + NGINX)
I have a video streaming server using centos + nginx (1gbps port).
When all services are active it is impossible to connect to ftp. There is no bandwidth left for FTP. It prevents me from adding new ...
1
vote
0
answers
102
views
Centos 7 CVE-2022-42920 missing security update
Since a couple of months we are using a vulnerability scanner (Rapid 7) which is complaining about the bcel package being vulnerable. Red Hat released an update package, but hasn't found it's way to ...
0
votes
0
answers
318
views
dnf update: Cannot download, all mirrors were already tried without success. (all mirror 404)
I am trying to execute the dnf update command on almalinux 8.7
Before a few hours it worked properly, now all mirror gives 404.
I examined the urls, and it seems, that in all repo the checksum in urls ...
0
votes
0
answers
159
views
Monitor disk I/O with zabbix
I'm running both zabbix 5.0.30 and zabbix agent 5.0.30 on Centos 7
In Centos 7 server, I executed this command
[root@STG-front default]# iostat -d sda
Linux 3.10.0-862.el7.x86_64 (STG-front) 01/09/...
0
votes
2
answers
91
views
HTTP 403 with CloudFlare
I've added my site to CloudFlare. I'm trying to allow requests to only come in through CloudFlare's network, and reject all others. When I add the following to my .htaccess, I get HTTP 403 Forbidden.
#...
0
votes
1
answer
184
views
CentOS VM on VMware ESXI: System UUID and Serial number not same
We are running CentOS 7.9 with OKD cluster 3.11 on VMware ESXi 6.7.0.
As part of our activities, we are trying to setup cloud-provider integration with the VMware to have dynamic PV/PVC provisioning ...
0
votes
1
answer
132
views
how and why container and its image is getting deleted automatically?
I have a zeppelin container running on centos7 and on every couple of days the container and its image is getting deleted automatically, and every time i have to to docker compose up -d.
here is the ...
0
votes
2
answers
192
views
Stunnel Server On CentOS 7 - TLS options: 0x2100000 (+0x0, -0x0) Error
I am using CentOS Linux release v7.9.2009 (Core) with latest update.
First of all i installed latest version of OpenSSL there.
Here is the commands for that installation :
cd ~
wget https://www....
0
votes
2
answers
87
views
Unable to delete file in Centos
I can't remove certain file in Linux. Here the example:
[root@HBL01 home]# ls -ltira index.php
393591 -r--r--r-- 1 apache apache 14335 Nov 23 2021 index.php
[root@HBL01 home]# rm -rf index.php
...
0
votes
2
answers
374
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....
1
vote
1
answer
103
views
mysqldump on mariadb 10.2.44 CentOS 7 does not work, but mysql does
CentOS 7 MariaDB 10.2.44.
X [root@psa95 ~]$ rpm -qa | grep Maria
MariaDB-server-10.2.44-1.el7.centos.x86_64
MariaDB-common-10.2.44-1.el7.centos.x86_64
MariaDB-compat-10.2.44-1.el7.centos.x86_64
...
0
votes
1
answer
155
views
i want to restrict all commands for user except ssh command
I am a root user and don't want that users can execute all linux command except ssh. They only have to use ssh command in their user. How to do that? please anyone help.
1
vote
0
answers
399
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 ...
0
votes
0
answers
32
views
Why server response time is more than a minute for a website, it happens for one website and other website loads fine?
I have multiple websites hosted on this server and one website "server response time" is very very high (more than a minute).
below are the findings... and i am unable to understand whats ...
0
votes
1
answer
37
views
can not mount EBS volume to centos EC2 instance
I have an ec2 instance running centos and I want to add an EBS want to it. I created and attached the volume to my instance. my volume is attached as /dev/sdf. But when I try to check if there is any ...
2
votes
3
answers
402
views
Extend /var partition on Centos Stream 8
During the installation of my centos stream 8 OS I gave /var a size of 10GB thinking it would be more than enough, but after I started using docker I found of that it takes too much space on the /var ...