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.
2,968
questions
0
votes
0
answers
14
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
-...
0
votes
0
answers
37
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 ...
0
votes
1
answer
54
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 ...
0
votes
2
answers
176
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-...
7
votes
1
answer
422
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 ...
0
votes
0
answers
38
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 ...
0
votes
0
answers
85
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 ...
0
votes
0
answers
84
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 ...
1
vote
1
answer
117
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 ...
0
votes
0
answers
162
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:
@...
0
votes
1
answer
16
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 ...
0
votes
2
answers
117
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 ...
0
votes
1
answer
437
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 ...
0
votes
0
answers
156
views
How to include network drivers in the initramfs for PXE booting?
I am working on setting up PXE Booting on a HPE ProLiant DL360 Gen10 Server. The server has a HPE Ethernet 100Gb 1-port 842QSFP28 Adapter for the network interface.
We have a custom linux kernel that ...
0
votes
0
answers
20
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 ...
0
votes
0
answers
16
views
Centos 7: Configure ethernet for MPIO
I can't understand how MPIO uses network ports to connect to iSCSI volumes on a SAN.
How should network cards be configured? I have to use 4 network ports on the SAN and 4 on the server.
In the ...
0
votes
0
answers
47
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 ...
0
votes
2
answers
287
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 ...
1
vote
0
answers
32
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 ...
0
votes
0
answers
63
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....
0
votes
0
answers
19
views
In firewalld , added rule is active but unable to list
Added Rule in a CentOS Linux 7 Machine
[root@localhost ~]# sudo firewall-cmd --direct --add-rule ipv4 filter OUTPUT 0 -d 8.8.8.8/32 -j REJECT
success
Rule is working as expected
[root@localhost ~]# ...
-1
votes
1
answer
160
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 ...
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 ...
0
votes
1
answer
112
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 ...
0
votes
0
answers
75
views
How to increase root partition in Centos 7
So I have root partition in sda2 and I have another disk with partition in sdc1, is it posible to extend the capacity of sda2 using the sdc1? i'm using centos 7.
1
vote
1
answer
60
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) [...
1
vote
1
answer
70
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 ...
1
vote
1
answer
208
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 ...
1
vote
3
answers
639
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
...
0
votes
1
answer
109
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 ...
3
votes
1
answer
494
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 ...
0
votes
1
answer
98
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-...
0
votes
1
answer
148
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 ...
0
votes
1
answer
975
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 ...
0
votes
0
answers
473
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-...
1
vote
0
answers
88
views
Incorrect SELinux labeling of mysql unix socket on Centos7
OS:
# rpm -q centos-release
centos-release-7-9.2009.1.el7.centos.x86_64
I'm trying to get zabbix-agent to access mysqld (using mysqladmin ping), but the process fails with the following errors(in ...
0
votes
2
answers
50
views
Is there a way to check if a new application has been deployed recently in glassfish in linux?
I am not sure if I made it clear.
This is what I want to check.
Say someone deployed a new .ear file few days ago that changed the version of the application. I want to test it.
3
votes
2
answers
862
views
How to automatically change the name of a file on a daily basis
I am new to Linux/CentOS and right now I am running into a little problem.
My CentOS7 Server logs all Maillogs, via Logrotate, on a daily basis and moves them to the folder /var/log/old_maillogs. ...
0
votes
2
answers
733
views
Getting "has no address records (A or AAAA)" error when running named-checkzone
I am currently trying to build my own home lab for the first time, and as a newbie it’s been a bit confusing. For the past few days, I have been working on configuring an internal DNS server, and ...
0
votes
1
answer
493
views
Connection reset by 10.180.20.1 port 22
Using a CentOS 7.9.2009 server I'm trying to ssh v1 using client with v2 into a Cisco router that has SSH v1 (can't be upgraded, I'm anticipating that).
I then modified my ssh_config file to allow for ...
0
votes
1
answer
614
views
Looking for CIS Benchmark script for CentOS 7
I am not sure this is the right place to ask this. I apologize if it is not.
I have few CentOS machines that is running 7.7 version. And I need to do a CIS benchmark for finding any vulnerabilities. I ...
0
votes
0
answers
59
views
Red Hat Booth Ticket Issue
I am following this guide to implement booth ticket. I have two clusters with 2 nodes in each and 1 arbitrator node on centos 7 hosted on google vm.
The prerequisite for having booth ticket is both ...
0
votes
0
answers
95
views
Exim: send emails from different ips and hostnames on the same vps
I have 2 ips on my server, I’m trying to set up 2 emails, one email sends from one ip, the other sends from the second ip. The first email is fine but I’m getting an error in mail-tester.com for the ...
1
vote
1
answer
117
views
Domain names not resolving on CentOS webserver
I have a small webhosting VPS running CentOS Linux 7.9.2009 (Core).
I'm also running Plesk Obsidian Version 18.0.52
Here is my /etc/resolv.conf file:
nameserver 1.1.1.1
nameserver 8.8.4.4
nameserver ...
0
votes
0
answers
190
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 ...
1
vote
0
answers
40
views
Is Centos 7 affected by changes (June 2023) to RHEL source access?
In the last week Red Hat announced changes to source code access which is through to make is difficult (impossible?) for downstream rebuilds of RHEL to exist. Red Hat later clarified that that was ...
1
vote
1
answer
1k
views
How to manually validate the signature of an rpm file
What I need
A way to get an asc file containing the signature from an rpm file.
Why I need it
I'm running into the issue described in this Reddit thread, where Chrome installed from https://www.google....
0
votes
0
answers
30
views
OTRS Database server keep increasing it's storage size, not working when deleting tickets with generic agent. how to save storage space w/o add sas?
Does anyone know what need to remove to save space in vm level, os level or db level in a safest way without ruining the server itself? I'm having a problem with short storage space now and we still ...
0
votes
0
answers
18
views
Cento OS + Direct Admin, how can I set a Forwarder to allow :fail: for a specific email address?
I'm in need of creating a forward that will return an error message to whoever sends a message to an email address, the only problem is that I don't know how to that for specific emails and I haven't ...
1
vote
2
answers
188
views
Bad configuration MariaDB / MySQL
I currently have a LAMP on a dedicated server but with serious problems with MariaDB (MySQL).
I have installed a website with 100k daily pageviews and due to the need for the queries it is necessary ...