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
2
votes
1
answer
5k
views
CentOS7: su /bin/bash: Resource temporarily unavailable
Whenever I try to change to testuser, I get resource temporarily unavailable message. The nproc and nofile limits are set to 65k. testuser runs multiple java programs.
Did not exceed the nproc and ...
2
votes
1
answer
4k
views
Kickstart install: what disk name should I tell Anaconda to use? (Installer running from USB thumb drive.)
I'm running the CentOS 7.6 installer from a USB thumb drive using a kickstart file. I'm installing to a system that has only one disk.
In the bash shell of the installer, my system's hard drive shows ...
-1
votes
0
answers
13
views
How to stop deferred emails from powerMTA server [closed]
I tried many commands, but I failed every time.
Is there any way to stop sending the deferred emails?
0
votes
2
answers
3k
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....
3
votes
1
answer
1k
views
Trying to use keepalived for failover and forwarding but getting "Keepalived_healthcheckers[1706]: TCP socket bind failed. Rescheduling."
The goal is to get two different CentOS 7 VMs with keepalived installed to perform failover with VIP 192.168.1.11 and also forward the http (to become https shortly after this works) traffic to a ...
4
votes
1
answer
8k
views
Send mail service start error
I installed sendmail on CentOS based on some tutorial. When I start sendmail, it showing sendmail failed error.
Here the following command result:
systemctl status sendmail
sendmail.service - ...
3
votes
1
answer
9k
views
id: user: no such user
I'm using Centos 7 to authenticate locally Active directory users using kerberos. I joined the realm with the Administrator and i can login/ssh through it/with it, nslookup working fine, and adcli ...
5
votes
2
answers
10k
views
Kubeadm 1.24 with containerd. Kubeadm init fail (centos 7)
I try to install a single node cluster on centos 7, with kubadm 1.24 and with containerd,
i followed the installation steps,
and i did:
containerd config default > /etc/containerd/config.toml
and ...
0
votes
3
answers
6k
views
/var/log/messages Not Created Although restart rsyslog.service
I use centos7 and /var/log/messages has not worked for a while although I restarted rsyslog.service. Its size was always 0.
I then deleted the messages file, and restarted rsyslog again but it was ...
3
votes
2
answers
8k
views
Failed at step EXEC spawning /usr/libexec/mariadb-prepare-db-dir
a bit of a newbie here so mind my obliviousness. I'm trying to install mariadb on a fresh Centos 7 server, though upon running "systemctl start mariadb.service" I get this malarkey:
Job for ...
0
votes
1
answer
58
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
0
answers
17
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
-...
5
votes
2
answers
6k
views
Linux SMB to \\domainname ends up "tree connect failed: NT_STATUS_DUPLICATE_NAME "
Issue:
From CentOS7 machine:
smbclient -L %domainname%.com --user=%username%
Result:
tree connect failed: NT_STATUS_DUPLICATE_NAME
This is especially when I try to connect to //domainname.com, ...
0
votes
0
answers
40
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
2
answers
8k
views
How to add a DUD driver to CentOS/RHEL 7 media (without network)?
I'm working on making an offline installer for something I currently build using PXE and RHEL 7. The servers concerned (Dell 14G) need an addition driver loaded for the RAID controller. In the PXE ...
0
votes
2
answers
199
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
433
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
2
answers
55
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.
2
votes
2
answers
2k
views
nmcli is not working in Kickstart script
I have the following commands in a Kickstart post-install script:
firewall-offline-cmd --new-zone=management
firewall-offline-cmd --zone=management --add-service=ssh --add-service=snmp
firewall-...
3
votes
1
answer
4k
views
SSSD Sites with Active Directory
I am a Windows admin who manages our AD infrastructure. Our Linux team have been building some CentOS 7 VMs and configuring them to use SSSD to join the domain.
The initial config was querying a DC ...
0
votes
0
answers
41
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 ...
4
votes
6
answers
34k
views
centos7: boot error dracut-initqueue after converting virtual disk
I installed centos7 on Ubuntu 16.04 KVM with qcow2 disk format.
To deploy my centos machine I need it in vhdx disk format to support Microsoft's Hyper-V. I used qemu-image to convert it from qcow2 ...
29
votes
7
answers
19k
views
CentOS 7 - end of life in 2024, then what
We are working on a software solution and some of our providers are really CentOS 7 centered.
CentoS 7 will continue to produce through the remainder of the RHEL 7 life cycle, which will end sometime ...
66
votes
12
answers
127k
views
Install a newer version of Git on CentOS 7
I like to enable Git "Push to Deploy" on my CentOS 7 server. Currently I only can get Git 1.8.3.1 via yum. I need a newer version.
Do I have to build it from source or is there any repo I can use? I ...
1
vote
1
answer
139
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
92
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
97
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 ...
0
votes
1
answer
454
views
Windows vps performance
Windows vps performance is not as expected while I see this message in /var/log/messages.
[ 7283.526915] kvm [34279]: vcpu0 disabled perfctr wrmsr: 0xc2 data 0xffff
Its a KVM vps on 3.10.0-1127.19.1....
1
vote
1
answer
7k
views
How do I extend the space of /dev/sda3 on Oracle Linux Server 7.9
Disk capacity is at 105GB, but the root directory (/dev/sda3) capacity is only 39GB, I want to increase the capacity. How can we do this? By the way, the OS is Oracle Linux Server 7.9.
$ df -h
...
61
votes
4
answers
212k
views
How to manage DNS in NetworkManager via console (nmcli)?
I have CentOS 7.2 (guest in VirtualBox, vagrant box centos/7, no GUI).
I see there is a nameserver in file:
$ cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 10.0.2.3
But how to add or ...
4
votes
1
answer
5k
views
Apache 2.4 with Kerberos Auth and LDAP Authorization
I am trying to setup an Apache SVN repository with Kerberos authentication and LDAP group membership authorization, so that only users that belong to a specific group can access it. Kerberos auth on ...
0
votes
1
answer
1k
views
Should I allow LDAP through firewallD?
Setting up firewallD on Centos 7 servers. They use LDAP for authentication over SSH login. Do I need to explicitly allow port 389 LDAP on the default zone on FirewallD or because iv allowed SSH and ...
0
votes
0
answers
171
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
2
answers
119
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
4k
views
Port is open and apache is listening but on browser "ERR_CONNECTION_TIMED_OUT" error
i have centos 7 and installed apache server on vps. listening 80, 8002 ports in httpd.conf
Listen 80
Listen 8002
also checked the $ netstat -anp | grep 8002
tcp 0 0 0.0.0.0:8002 ...
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 ...
6
votes
1
answer
6k
views
What controls the cleanup of the /tmp/systemd-private* directories?
It doesn't seem like the systemd-tmpfiles service cleans up these folders because I have files in /tmp/systemd-private-*-httpd.service-*/tmp/ that are 27ish days old (the last time httpd was restarted)...
0
votes
1
answer
5k
views
Forbidden You don't have permission to access this resource
I have recently installed apache 2.4 plus mod_ssl I am using this apache as a proxy server and redirecting traffic to tomcat.
The issue I am facing right now is that everything works without HTTP but ...
2
votes
2
answers
7k
views
zfs module not found on centos after restart
After I rebooted a CentOS server, ZFS does not work:
$ sudo zfs list
The ZFS modules are not loaded.
Try running '/sbin/modprobe zfs' as root to load them.
$ sudo modprobe zfs
modprobe: FATAL: ...
2
votes
1
answer
12k
views
How to run clamd by systemd as daemon on Centos 7
# rpm -q centos-release
centos-release-7-5.1804.el7.centos.2.x86_64
# rpm -qa clam
clamav-filesystem-0.100.0-2.el7.noarch
clamav-data-0.100.0-2.el7.noarch
clamav-lib-0.100.0-2.el7.x86_64
clamav-...
2
votes
2
answers
4k
views
Clickhouse: Failed to get D-Bus connection: Operation not permitted - CentOS 7, no docker image
I am trying to set up a Clickhouse server on my WSL which is based on CentOS. After following instructions in this page, and installing the DB successfully, when I want to enable the service I get ...
1
vote
2
answers
4k
views
virt-install: error: unrecognized arguments: (but no arguments listed)
Been trying to create my first VM with KVM but getting a cryptic error from virt-install. It's saying I have a 'unrecognized arguments' but does not say which argument:
$ sudo virt-install \
> ...
2
votes
1
answer
5k
views
Kernel update not being applied even after reboot
Here is my server details
cat /etc/*-release
CentOS Linux release 7.3.1611 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (...
4
votes
1
answer
7k
views
Scripts in /etc/profile.d are being executed twice on login
Background Info:
I am trying to configure a Linux server running CentOS 7 for multiple users. After installing java I want to globally set the $JAVA_HOME environment variable for all users and add it ...
8
votes
2
answers
21k
views
Nodejs Nginx error: (13: Permission denied) while connecting to upstream
I'm trying to run multiple Nodejs applications on Nginx server running on CentOS 7. I noticed that when I run a Nodejs app on some ports I get an 502 Bad Gateway error in the browser so I checked the ...
0
votes
1
answer
471
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 ...
5
votes
1
answer
36k
views
CentOS 7 Unable to Resolve Any Host Names
New to Linux and looking for friendly assistance.
My company is re-configuring our network DNS infrastructure to point our internal DNS servers at two new CentOS 7 / BIND 9 machines in our DMZ ...
0
votes
1
answer
3k
views
Start vsftpd instances by systemd target
Used:
# cat /etc/centos-release
CentOS Linux release 7.3.1611 (Core)
# systemctl --version
systemd 219
+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +...
0
votes
3
answers
1k
views
having issues while accessing Postgresql
I have installed postgreSql client 9.6 following this link postgreSql installation and I am using centos version 7 on Linux.
It got installed successfully but I am getting some problems while ...
2
votes
1
answer
4k
views
ISCSI target service on Centos OS 7 errors
I have problem with ISCSI Target Utils. Service started normally, but showing errors:
systemd[1]: Starting tgtd iSCSI target daemon...
tgtd[3138]: tgtd: iser_ib_init(3436) Failed to initialize RDMA; ...