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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 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
0 answers
6 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
0 answers
35 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
103 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
29 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 ...
Sâu's user avatar
  • 101
0 votes
0 answers
18 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
12 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 ...
Riccardo Spuri Nisi's user avatar
0 votes
0 answers
41 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
230 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
19 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
38 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
0 votes
0 answers
15 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 ~]# ...
Arun's user avatar
  • 115
-1 votes
1 answer
77 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
  • 29
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
47 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
0 votes
0 answers
25 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.
Vincent Dapiton's user avatar
1 vote
1 answer
56 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
60 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
100 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
  • 376
1 vote
3 answers
604 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
78 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
254 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
73 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
103 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
350 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
271 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 vote
0 answers
54 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 ...
Samveen's user avatar
  • 1,873
0 votes
1 answer
28 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.
achhainsan's user avatar
3 votes
2 answers
785 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. ...
Moritz's user avatar
  • 65
0 votes
2 answers
277 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 ...
DiamondFeather's user avatar
0 votes
1 answer
271 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 ...
free's user avatar
  • 13
0 votes
1 answer
345 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 ...
Jananath Banuka's user avatar
0 votes
0 answers
49 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 ...
S S's user avatar
  • 51
0 votes
0 answers
59 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 ...
user2765920's user avatar
1 vote
1 answer
96 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 ...
stevland's user avatar
  • 165
0 votes
0 answers
144 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
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 ...
Jim OHalloran's user avatar
1 vote
1 answer
923 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....
Keegan's user avatar
  • 111
0 votes
0 answers
26 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 ...
GlenBit_2291's user avatar
0 votes
0 answers
15 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 ...
user832's user avatar
1 vote
2 answers
147 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 ...
damian ventura's user avatar
0 votes
1 answer
143 views

I have a local Amazon Linux 2 (EC2) AMI Instance; How do I repartition the disk and expand the file system?

I have expanded the disk of my VM. How do I now repartition the disk and expand the file system on the guest? Which is Amazon Linux 2 Kernel 4.14.252-195.483.amzn2.x86_64 on an x86_64 $> sudo lsblk ...
chris-j's user avatar
0 votes
1 answer
85 views

The TCP receiver only ack the minimum bytes of MSS one by one

The client and server nodes are CentOS7.9/X86_64. If the HTTP POST requests were sent directly to the server, there are about 0.2% of cases that may timeout. If the HTTP POST requests were sent ...
exudong's user avatar
  • 101
0 votes
1 answer
33 views

how can I use iptables to forward (or redirect) traffic from one ip port to another specific IP port?

The prerequisite is: HostA: (can access public machine, can't access hostA and hostB) CentOS 7 HostB: (private machine, I can login, and it can access hostA and hostC, ) CentOS 7 HostC:...
IcLod's user avatar
  • 1
-1 votes
1 answer
264 views

Yum to packages.microsoft.com failed on Centos 7

You can say i'm beginner in using Centos. Our regional want to use packages.microsoft.com as repository. We have open the firewall to the packages.microsoft.com. Tracepath is no issue, but when we are ...
Myan's user avatar
  • 3
-1 votes
1 answer
111 views

Cannot delete files from /home folder in centos7 [closed]

I am trying to delete a file inside /home folder as root user but i am getting error "Operation not permitted". Below is the lsattr of file -----a-------e-- /home/test/.bash_profile also if ...
ProgNi's user avatar
  • 21
0 votes
1 answer
1k views

How is php-fpm socket folder ({/var,}/run/php-fpm) created on Linux?

I am setting up multiple php versions on CentOS7 (native and from remi repos). As installed, the native php-fpm ( is setup on a unix socket, while the (remi) php74-php-fpm would listen on a TCP socket....
Alien Life Form's user avatar
0 votes
0 answers
461 views

Unable to mount CIFS share using mount.cifs using AD credentials on Centos 7

I'm trying to mount a CIFS share from a storage array on a Centos7 machine, and I'm failing miserably. sudo mount -t cifs -o vers=2.1,user=domain/myuser //storagearray/Server_Backups /tmp/dbshare/ [...
mrlitsta's user avatar
  • 101
1 vote
0 answers
157 views

CentOS 7, Integrating SAMBA server with LDAP server to authenticate users through LDAP

I spent many hours trying to solve my problem, but unfortunately to no avail. Im configuring SAMBA server on CentOS 7. I want to fetch users' credentials from LDAP server, so they will be able to ...
Artur Merta's user avatar
0 votes
0 answers
80 views

DDOS-Deflate won't update iptables

I am using DDoS-Deflate (https://github.com/jgmdev/ddos-deflate) in my CentOS 7 server. I installed it successfully. I use iptables as the firewall. The DDoS-Deflate bash script could detect abnormal ...
Phil's user avatar
  • 111

1
2 3 4 5
60