Skip to main content

Questions tagged [centos7]

CentOS 7 reached end of life on June 30, 2024. https://www.redhat.com/en/topics/linux/centos-linux-eol

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

Automatically kill abandoned SSH sessions in CentOS 7

From time to time and for various reasons, PyTTY loses connection to SSH sessions on my CentOS 7 server (PuTTY is buggy, SSH server is buggy, router has been rebooted, connection is dropped, cable ...
Paul's user avatar
  • 295
0 votes
0 answers
31 views

Dovecot using driver=sql is appending the username to the domain name and I can't figure out why [duplicate]

Like so many who have come before me, I find myself forced to rebuild my server. I've just about got everything working, but I'm stuck with an authentication problem when Thunderbird connects to my ...
JBH's user avatar
  • 117
0 votes
1 answer
39 views

Rsyslog ruleset filter based on matching a source IP list instead of a chain of "or" operators

I have a syslog server receiving different kinds of logs from multiple clients, either through a dedicated port or through UDP 514. When received, logs are written to a directory dedicated for a ...
AnnaKarin47's user avatar
0 votes
0 answers
63 views

"Could not prepare Boot variable: No such file or directory" when cobbler imaging server

We've been successfully imaging Dell R350 servers using cobbler in a production environment. The target OS is CentOS7.9. We're now trying to image the new Dell R360 using the same cobbler and same ...
abc123's user avatar
  • 1
0 votes
0 answers
73 views

How to store rsyslog client logs separately from server local messages logs

Fams. I have a rsyslog server. The logs sent from the rsyslog client are stored in a separate file, but are also entered into the local messages file on the rsyslog server. I want the client logs not ...
Gongze's user avatar
  • 1
0 votes
0 answers
24 views

Dnsmasq: exclude certain subdomains from custom routing

I'm using Dnsmasq to route the names of services hosted on a server to localhost, so it doesn't reach out through the internet to them. I had done so like this: address=/.sub.ourdomain.com/127.0.0.1 ...
Dov's user avatar
  • 117
0 votes
2 answers
153 views

Call to php mail() are not queued in postfix

I'm running CentOS7, PHP 8.0.30, postfix 2.10.1-9.el7 Sometimes emails we try to send through php mail() function are not sent and after enabling verbose logging for postfix's pickup, cleanup, qmgr, ...
Bastien974's user avatar
  • 1,866
-2 votes
1 answer
875 views

How to automatically retrieving full version in CentOS Repo Files [closed]

Encountered an error with yum update, so I manually modified the repo file located at /etc/yum.repos.d/CentOS-Base.repo File content: [base] name=CentOS-$releasever - Base #mirrorlist=http://...
Planetoid Hsu's user avatar
-1 votes
1 answer
620 views

Error installing newer version of Git after CentOS 7 end of life in 2024 [closed]

After CentOS 7 end of life, the yum update command results in an error. I deleted the files: CentOS-Base.repo CentOS-CR. repo CentOS-Debuginfo.repo CentOS-fasttrack.repo CentOS-Media.repo CentOS-...
Hasbullah Marwan's user avatar
0 votes
1 answer
61 views

how to open 3389 TCP on CSF for Remote Desktop Connection in CentOS 7?

Recently I installed CSF and disabled firewalld on centos 7 when it was on firewalld there was no problem with remote connection but now I'm not able to connect throught remote desktop because of CSF ...
Alireza Mirhabibi - IRAN's user avatar
0 votes
0 answers
991 views

Wireguard Error: RTNETLINK answers: Operation not supported on CentOS 7

Our server is still on CentOS 7 and I am trying to use Wireguard on it. While starting it, it gives: $ sudo wg-quick up wg0 [#] ip link add wg0 type wireguard RTNETLINK answers: Operation not ...
BairDev's user avatar
  • 125
7 votes
2 answers
1k views

How to temporarily disable a primary IP without losing other IPs on the same interface

Context I am working on Centos 7 and I have a network interface eth0 configured with multiple fixed IP addresses (I am only concerned about the IPv4 addresses here, I do not care what happens to the ...
Flo's user avatar
  • 85
0 votes
0 answers
57 views

CentOS 7 no LVM how to expand disk

I have this situation: root{1}$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT fd0 2:0 1 4K 0 disk sda 8:0 0 200G 0 disk ├─sda1 8:1 0 1000M 0 part /boot ├─sda2 8:2 ...
Alessandro Sironi's user avatar
0 votes
0 answers
87 views

Apache crashes causing 504s

I have a Centos 7 server on which I installed apache 2.4.58, it has been crashing for 2 days after a short time that it is online, I keep stopping the apache service (systemctl stop httpd.service) and ...
Matteo Cigognini's user avatar
2 votes
1 answer
489 views

Can't start MariaDB after replacing 5.6 with 10.4

I have an old VM I use for dev testing - it runs CentOS 7.9 with nginx, PHP, and MariaDB. The MariaDB version was really old (5.6), but it was working well enough for me until today when I wanted to ...
OsakaWebbie's user avatar
0 votes
1 answer
177 views

How to prevent automatic kernel subnet routing in Centos 7?

I'm using Centos 7 as a firewall by iptables and iproute2 routing rules. My server has: Three VLAN interfaces: VLAN10, VLAN20, VLAN30 Two custom routing tables: 100 and 200 in /etc/iproute2/rt_tables ...
Peet's user avatar
  • 21
0 votes
1 answer
172 views

Why OOM killer doesn't catch the obvious misbehaving process?

On a CentOS 7 (with a 3.10 kernel) server I was surprised to find out that mysqld process was "oom killed". The reason was obvious, I sometimes run a very memory hungry process (WebTorrent), ...
SaHu's user avatar
  • 1
4 votes
1 answer
232 views

Upgrade pacemaker corosync drbd Cluster from centos7 to almalinux

I have an active passive pacemaker Cluster for vms running with drbd 84 and corosync in centos7. AS centos7 eol is coming soon I am in the need of upgrading the cluster to a newer distribution. ...
shout's user avatar
  • 41
2 votes
1 answer
180 views

CentOS 7 min with Apache not accessible externally

I have a CentOS 7 min installation on a virtual machine with the internal IP of 10.1.10.131 and I installed Apache 2.4.52 on it. I can access the landing page when I put 10.1.10.131 into the browser. ...
Hussein Sabbagh's user avatar
0 votes
0 answers
36 views

Enable ethtool statistics in a QEMU CentOS Guest OS

I have a network interface available in a QEMU Guest OS running CentOS 7, and on the Host OS side it reports as: $ virsh domiflist --domain mydomain Interface Type Source Model MAC -...
Ken Y-N's user avatar
  • 115
0 votes
0 answers
93 views

Why does a zombie process consume a large amount of CPU resources?

pcm-memory was found to become a zombie process in the system, consuming a significant amount of CPU resources. At the same time, the time field in top will become abnormal: this machine only has a ...
Frontier_Setter's user avatar
0 votes
1 answer
248 views

Firewall blocking not the IP-address, but the DNS-name

System: CentOS 7 I noticed on my server that some IP-addresses that I blocked are not actually blocked, but continue to hold connections. I started to look on the iptables-level and saw a strange ...
sivsoft's user avatar
  • 11
0 votes
2 answers
752 views

Unable to SSH VM instance after OS upgrade & reboot of VM instance in GCP

My VM instance was on CentOS 7 I recently attempted upgrading that to Almalinux 8 using below link https://wiki.almalinux.org/elevate/ELevating-CentOS7-to-AlmaLinux-9.html#migrate-centos-7-to-...
Aditya Rewari's user avatar
7 votes
1 answer
598 views

Upgrade OS on ZFS file server

I need to upgrade the OS of my ZFS disk server from CentOS 7 to Rocky Linux 9. I am currently running ZFS 2.0.7, and if I'm correct Rocky Linux 9 uses 2.3. My tentative plan is to use the AlmaLinux ...
Nicola Mori's user avatar
0 votes
0 answers
68 views

How to stop using NVIDIA card on Centos

I bought a machine many years ago that has an NVIDIA GPU installed. I no longer need the GPU and was going to give it to a colleague, but when I remove it, my system gets stuck booting at a step that ...
ferzle's user avatar
  • 1
0 votes
0 answers
225 views

Change IPSec IKEV2 VPN Default Ports 500 & 4500 To Anothers

For some reason OpenVPN is working on my local machine very well, But IPSec IKEV2 VPN not & it only works when OpenVPN is connect. I have a domain for IPSec IKEV2 VPN & in local machine vpn is ...
helius.dev's user avatar
0 votes
0 answers
421 views

StrongSwan IPSec VPN - IKEv2 - LetsEncrypt Certificate Issue (building CRED_PRIVATE_KEY - RSA failed, tried 10 builders)

I followed the link below for setup IKEv2 VPN Using Strongswan and Let's encrypt on CentOS 7. How to Setup IKEv2 VPN Using Strongswan and Let's encrypt on CentOS 7 But info on that link has been ...
helius.dev's user avatar
1 vote
1 answer
743 views

Error setting up base reposotory while using pxe booting centos9 with kickstart file

I am trying to setup a PXE boot server in centos for unattended install of OS, for POC I am using a centos7 as a PXE server which is running on Citrix hypervisor, I am using a kickstart file. When I ...
biplab 's user avatar
0 votes
0 answers
437 views

Limit maximum concurrent ssh connections per user does not work when shell is /sbin/nologin

I have a Centos 7 server and when I limit the maximum connections per user using the config file /etc/security/limits.conf it works just fine. See below an example of my configuration in that file: @...
Dr developer's user avatar
0 votes
1 answer
25 views

Slow transactions in sub-domain

Wonder if you can help solve this little problem. I administer a system that has Wordpress in the parent domain and an api being served from a sub-domain. Normally, the api returns results to its ...
Wilko_UK's user avatar
0 votes
2 answers
212 views

Monit complains of checksum failure after MariaDB reinstall and upgrade to newer version

I have a Linode VPS running CentOS 7 and somewhat old versions of web-related services (because code I've written isn't ready for newer versions - I'm planning to build a fresh VPS with new everything ...
OsakaWebbie's user avatar
0 votes
1 answer
975 views

Install and launch chrome in centos 7

I am trying to standup google-chrome with gui in centos 7 which is from AWS EC2, i followed all the steps as given below still i didn't succeed, your help much appreciated. Install chrome yum install ...
deepakguna's user avatar
0 votes
0 answers
38 views

New CentOS server VPS deployed - IP address doesn't load website

I've setup a brand new VPS server and installed CentOS 7 and Webmin to setup a webserver. I've installed Apache, BIND, setup the DNS started Apache, put html files in document root folder public_html ...
NinjaServer's user avatar
0 votes
0 answers
62 views

How to initialize cockpit on CentOS8?

I am trying to access my public IP of the EC2- box on port 9090 to access centOS8 cockpit but I am unable to get to my centOS8 cockpit. My security group from the server is Security group This is what ...
Nisarg Shah's user avatar
0 votes
2 answers
373 views

Is it possible to hide a binary file from the system

A VPS on Centos 7 came with a very old version of openssl. I built and installed a newer version of openssl. (details below) This newer openssl was only installed in order to upgrade to a much newer ...
David C's user avatar
  • 103
1 vote
0 answers
96 views

CentOS - lsblk showing added new space for mpath, but pvdisplay is showing previous space

Team, I am working in a production environment and stumbled into a case where, a 3TB space from Storage has already been mounted and used for particular volume group called "ipdata_vg". Now ...
esya's user avatar
  • 11
0 votes
0 answers
136 views

How to prevent ethernet issues after command line shutdown in CentOS7?

I'm running into a frustrating issue with a system running CentOS7. There's an Intel NIC (Intel Corporation Ethernet Connection (2) I219-LM (rev31)) which, when working, provides a 1000Mb/s connection....
ianiding-apo's user avatar
-1 votes
1 answer
312 views

Convert from Spinning drives to SSD on PERC H700 RAID 1

I have a Dell R510 running a PERC H700 Hardware RAID controller, with 2 2.5" 1TB HDs in a RAID 1 configuation for the OS, and 12 3.5" 2TB HDs in a RAID5 config for a data filesystem. I have ...
Eric W's user avatar
  • 119
0 votes
0 answers
28 views

How to tune a lagging linux server? [duplicate]

A server is lagging a lot while viewing logs, even when I'm using less comman to view the logs. Yes, I agree the log sizes are worth 400MB (after splitting). One of the issues I think could be the ...
achhainsan's user avatar
0 votes
1 answer
200 views

Are Packages In Centos Yum Repo's Secure?

I have tried to do research to figure out this issue, but I would like to hear from the community to understand if what is available in the Yum repo is secure. Even when the versions in the repository ...
JanderZift's user avatar
1 vote
1 answer
66 views

`mail` shows a message hard to identify the source of

Here's me running mail command in a CentOS 7 server: [root@ ~]# mail Heirloom Mail version [version no.]. Type ? for help. "/var/spool/mail/root": 2 messages > 1 (Cron Daemon) [...
Andrw's user avatar
  • 113
1 vote
1 answer
112 views

Disk saturated by mariadb on CentOS 7, blocks everything

For the past few days I have been having a problem with a webserver running CentOS 7. Every 13-14 minutes some operation (which I identified with mariadb using iostat) seems to completely saturate the ...
Gregorio Pellegrino's user avatar
1 vote
1 answer
447 views

CentOS 7 kickstart file, add entry to /etc/hosts

I have a CentOS 7 kickstart file working quite nicely, mostly. The %packages section fails because I need to add an entry to /etc/hosts to point mirrorlist.centos.org to our internal company repo. I ...
MikeKulls's user avatar
  • 509
1 vote
3 answers
694 views

LVM: Creation difference between CentOS 7 and CentOS 6

I have CentOS 6 & 7 server and am creating 512 MB logical volumes: CentOS 7: sudo lvcreate -v -n lvname -L 512M rootvg && sudo mkfs.xfs -L "lvname" /dev/mapper/rootvg-lvnamee ...
JKC's user avatar
  • 31
0 votes
1 answer
159 views

Dovecot says user does not exist although it's in MariaDB database

I use a MariaDB to store users for Dovecot 2.2.10. The Dovecot keeps giving "Disconnected unexpectedly" errors, and I can't find a reason. Is there anything I could look at? Mail logs Aug 29 ...
岁月倾城197's user avatar
3 votes
1 answer
2k views

Linux port 25 is not working, and postfix unable to establish external connections at port 465, internal connection works with issues

I guess these are two typical issues, at least first one is. I'm trying to configure postfix dovecot on CentOS 7. First, the port 25 is open, but it is not accepting any outer connections. The ...
岁月倾城197's user avatar
0 votes
1 answer
178 views

Named server cannot be started

Good day, I am trying to follow this DNS server setup tutorial Here's what I was hoping to setup win10 | 192.168.1.247 ns1 | 192.168.1.203 mint | 192.168.1.183 domain: nyc3.example.com my named-...
nonsense1989's user avatar
0 votes
1 answer
222 views

Script to Automatically Start a glassfish domain once it's down?

Steps to reproduce this issue: Glassfish domain called domain1 goes down. Now, start that domain again. Assume there are multiple domains, around 8 of them And different servers have varying amount ...
achhainsan's user avatar
0 votes
1 answer
4k views

Complete Yum Restore of CentOS 7 Repos

I have googled and tried all the solutions I can find to this. An admin somehow broke yum trying to install an mssql package by adding the repo, then tried different way to fix, as did I. I deleted ...
jerryrig's user avatar
  • 141
0 votes
0 answers
1k views

CentOS 7 SCL (Software Collections) abandoned?

There is a difference in version between httpd24-httpd installed with Software Collections on CentOS 7.9 and httpd24-httpd installed with RHEL (Universal Base Images). CentOS 7.9 yum install centos-...
ngyuki's user avatar
  • 101

1
2 3 4 5
60