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
11
votes
1 answer

Systemd: Supervising process XXXX which is not our child. We'll most likely not notice when it exits

I've created a custom service file which looks like this: cat /etc/systemd/system/aaa.service [Unit] Description=aaa main application After=syslog.target…
ktopaz
  • 111
  • 1
  • 1
  • 4
11
votes
3 answers

Confirming that yum-cron is configured properly on a CentOS 7 server

Is there any way to test whether yum-cron is configured properly? I need to confirm that it will automatically install security patches and that it will email me when it does so. I have a CentOS 7 web server with yum-cron installed. It's been…
user369066
  • 111
  • 1
  • 1
  • 3
11
votes
3 answers

How do I stop Dell R730xd fans from going full speed when Broadcom/QLogic NetXtreme 57711 PCI card added?

I have a pair of Broadcom NetXtreme 57711 10GbE cards. I put one in a Dell R710; it boots with the card fine, the OS (CentOS 7) recognizes it, and all seems well. However, when I put the other card in an R730xd (also running CentOS), something…
mhucka
  • 679
  • 4
  • 10
  • 22
11
votes
7 answers

Access denied trying to enable or unmask firewalld

My firewall is currently inactive. systemctl status firewalld firewalld.service Loaded: masked (/dev/null) Active: inactive (dead) I used the following command to enable the firewall # systemctl unmask firewalld but I got this error: # systemctl…
MahuLovzYou
  • 121
  • 1
  • 1
  • 6
11
votes
3 answers

Firewalld CentOS 7 Masquerading

I'm trying to do the equivalent of this iptables rule in firewalld iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE How can I do this?
Jacob Tomlinson
  • 403
  • 2
  • 5
  • 15
11
votes
5 answers

Disadvantages of running an AWS worker server at 100% CPU

On a machine (AWS m5.large) that only runs nice'd background processing jobs (i.e. no web/DB/etc servers present), are there disadvantages to consistently running the CPU at 100%? I understand that running the system such that it consumes 100% of…
rinogo
  • 329
  • 4
  • 14
10
votes
10 answers

certbot for letsencrypt missing pyopenssl module

I need help setting up the CertBot for LetsEncrypt I am running on CentOS 7 with Python 2.7 When I run certbot I get the following error: [root@li86-193 frappe-bench]#certbot certonly --manual Traceback (most recent call last): File…
cs378
  • 123
  • 1
  • 1
  • 7
10
votes
1 answer

Configuring 1:1 Nat using Firewalld for VM's

I've setup 2 vm's within my server and I'm trying to setup a 1:1 NAT for them with firewalld on CentOS 7. Currently both vm's are behind a virtual bridge (virbr0, vnet0, vnet1) and I've made copies of the NIC for each IP to be used with them. I…
dstana
  • 285
  • 2
  • 10
10
votes
3 answers

SELinux: How to create a new file type

On RHEL/CentOS 7 I'm trying to create a new SELinux security context for files to support a new service that I'm writing. I've created a Type Enforcement file for my new service, but I can't manage to create a new type that the system will recognize…
Guss
  • 2,670
  • 5
  • 34
  • 59
10
votes
4 answers

Can connect via SSH - but not via SFTP? Exit status 127

Unfortunately I can not connect via sftp to my VPS: This is my sshd_config: # Package generated configuration file # See the sshd_config(5) manpage for details # What ports, IPs and protocols we listen for Port 22 # Use these options to restrict…
MyFault
  • 913
  • 3
  • 15
  • 36
10
votes
2 answers

sysctl: cannot stat /proc/sys/net/ipv4/netfilter/ip_conntrack_max: No such file or directory

I try to change net.ipv4.netfilter.ip_conntrack_max by editing /etc/sysctl.conf net.ipv4.netfilter.ip_conntrack_max = 65535 and sysctl -p But i receive error: sysctl: cannot stat /proc/sys/net/ipv4/netfilter/ip_conntrack_max: No such file or…
M-A-X
  • 216
  • 1
  • 2
  • 5
10
votes
4 answers

CentOS 7 systemctl - no feedback or status/output

I just installed CentOS 7.1 on one server and I'm confused by how systemctl works compared to service. On CentOS 6, I would get feedback when running service, such as: root@centos6 [~]# service mysql restart Shutting down…
munich
  • 276
  • 1
  • 2
  • 7
10
votes
2 answers

From vSphere 5.5 - Deploying Centos 7 from template ignores customizations

I've been having troubles when deploying CentOS7 from template in that the customizations do not take effect. For the VM OS setting - I have selected RHEL7 as the OS rather than CentOS (previously having learned that lesson with Oracle Linux 6.5 at…
Jeff Burns
  • 760
  • 1
  • 7
  • 12
9
votes
4 answers

Nginx module not binary compatible after compilation on Centos 7

I need to use the Nginx module ngx_http_auth_pam_module on a Centos 7 server. As a package is only available through the getpagespeed repository, which isn't gratis, I want to compile it myself. Following various instructions I found, I downloaded…
user153991
  • 341
  • 1
  • 2
  • 7
9
votes
2 answers

centos 7.4 can not install `dnf`from epel

It is so weird, I have a centos7 VM box. Try to install dnf because it is a dependency of another package. Most instructions on internet is like this: sudo yum install epel-release sudo yum install dnf But nothing installs. No package dnf…
Reed
  • 287
  • 1
  • 3
  • 10