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
3
votes
0
answers
4k
views
CentOS: how to fix GDBus.Error:org.freedesktop.DBus.Error.LimitsExceeded (Maximum active connections)?
On a CentOS 7 server I'm getting this error while trying to reboot:
# reboot
Error getting authority: Error initializing authority: GDBus.Error:org.freedesktop.DBus.Error.LimitsExceeded: The ...
0
votes
0
answers
143
views
Logging into WEBMIN make server non responsive
Update 2
I have reinstalled the OS, and things are working smoothly now. I suppose there was something wrong with the OS. Thankyou everyone for the quick response.
Update 1
To help resolve this, I ...
0
votes
2
answers
1k
views
Why can't iptables see rules added using firewalld?
I have a CentOS7 machine, and I use firewalld as my firewall. Recently I added a few rules using firewall-cmd:
# Removing DOCKER-USER CHAIN (it won't exist at first)
firewall-cmd --permanent --direct ...
1
vote
0
answers
80
views
SELinux prevents Apache from scheduling at job
I have an application that submits tasks to cloud services that create certain time-sensitive assets. The services take an unknown amount of time to process, and in addition the assets may be ...
0
votes
2
answers
185
views
CentOS 7: small smiley face on boot?
I've got a problem with a CentOS 7 dedicated server. I've had it for years, and never had any problems with it until now.
I did a yum update the other day, and then rebooted the machine, and it ...
0
votes
0
answers
170
views
How to fix server in rescue mode after hardware failure?
A couple of days ago I did a routine yum update on my CentOS 7 server, and then issued a reboot command. The server never came back. I contacted my webhost (OneProvider - they resell old Online.net ...
0
votes
1
answer
113
views
Name of missing screenshot rpm for CentOS 7.6 and how to find out
I'm using a CentOS Linux release 7.6.1810 (Core) instance that was stripped down to run off a thumb drive. Now I just need to capture a window.
My question is what yum install command would get me ...
1
vote
0
answers
2k
views
SMTP-Docker not sending emails, what am I doing wrong?
Please bear with me, as I only started out with Docker a couple fo days ago. I created a brand new VM with CentOS 7 in our ESXi server. Setup Docker and Portainer with no issues.
I wanted to create ...
1
vote
0
answers
1k
views
Which mpm setting to use to limit the number of connections on Centos 7 apache
I am googling around and finding myself going down a rabbit hole and getting nowhere.
My over all goal is to limit the number of connections that can be made at the same time to Apache on a Centos 7 ...
0
votes
1
answer
686
views
Can only connect to my apache Centos server on port 22. Can SSH but no browser. Runs DirectAdmin
I have a remote apache server set up running Centos7.1 but I usually use DirectAdmin on port 2222 to manage it. This problem first came about after my SSL certificate expired. I tried to get on and ...
-3
votes
1
answer
109
views
How to recover a maria db password
I am using maria db for long, and now one of my servers had a necessity of being restored, how can i recover the db password
The server is a centos 7 server
0
votes
1
answer
5k
views
Why do I get an curl error while executing yum update
I'm working in a lab. There are many windows-PCs in this lab and I'm using one of them.
There is also a proxy server, which allows all of PCs to be able to connect to the Internet.
Now, I have a Red ...
0
votes
1
answer
1k
views
How to enable Password Based Authentication wiith SSH in Centos QCOW2 Image?
I need to deploy a CentOs Cloud Image on private server(kind of bare metal server). So i download CentOS cloud image and customize it with virt-customize having SSH enabled with Password ...
1
vote
0
answers
58
views
Physical Volume Actual Utilization for replacement
I have a Volume Group which consist two physical volume of size 10TB each SSD & NLSAS (yes one very slow and other very fast) so total 20TB.
I created Volume backupvg with the 10TB SSD & ...
1
vote
1
answer
3k
views
How to enable argon2 for php from centos software collections?
I moved a nextcloud installation from one server to another. On the new server I want to use another version of PHP. The problem is that the passwords are hashed with the argon2 algorithm (in the ...
0
votes
1
answer
267
views
DNS, nameserver and domain on the same dedicated IP - PTR record for nameserver?
My dedicated IP: xx.xxx.xxx.59
Am I doing this correctly by having 2 PTR records (ns1 and domain) for my IP?
Reverse DNS Zone file 59.xxx.xxx.xx.in-addr.arpa.db
$TTL 86400
@ IN SOA ...
1
vote
1
answer
10k
views
Install mysql client NOT server on Centos7
I am trying to just install a mysql client on a centos 7 server.
I have a remote mysql server I need to connect to, I do not want to install the mysql server.
From Centos 7 it will default to ...
0
votes
0
answers
879
views
HAProxy cannot bind socket :4443
I'm trying to add a new port for forwarding to HAProxy but whenever I try to restart the service with the new configuration I get the error
haproxy-systemd-wrapper[32276]: [ALERT] 092/112955 (32277) :...
0
votes
1
answer
519
views
source /etc/environment from script
I have a need to update IP address
My environment file:
[root@server ~]# cat /etc/environment
ip1=192.168.1.1
ip2=192.168.1.2
My script looks like:
#!/bin/bash
echo ip3=192.168.1.3 >> /etc/...
0
votes
1
answer
70
views
Google Cloud Platform centos machine keeps booting off
I have an issue with a centos GCP machine, which keeps booting off after a period of 1-2 days:
pic of the lost session to the machine
I am new to GCP and was wondering what can I do to fix this.
...
4
votes
1
answer
3k
views
semodule_package command not found
Hello im trying to install MongoDB on CentOS7. It says there to configure SELInux, which i followed.
On the third step, it says to execute the following;
checkmodule -M -m -o mongodb_cgroup_memory....
0
votes
1
answer
868
views
Check for live mail log errors when send email
I need some help with the command for me to put on my VPS. I want to read the mail log to check for errors so I can to report it to Hotmail. I did a quick Google search and I tried to find the live ...
0
votes
1
answer
139
views
How can I compare php extensions installed by version?
I have PHP 7.1 and 7.3 installed on a Centos system. I ran into issues with my application when moving from 7.1 to 7.3 and suspect it's because I'm missing a required extension for 7.3. How can I ...
1
vote
0
answers
93
views
PosixACL and NFS
Background first, as always.
I administer two HPC systems. Both are running the same OS, in the case CentOS 7. They both mount an NFS share that is provided by a server, which has a number of other ...
0
votes
0
answers
65
views
Modify OpenLDAP hashing algorithm [duplicate]
I have a CentOS7 Server running slapd 2.4.44 and I'd like to modify the default hashing algorithm being used. Instead of using SSHA, i'd like to use SHA-256 or SHA-512.
I've been having trouble ...
0
votes
3
answers
351
views
Show the encrypted string for the user ‘ironman’ from the file /etc/shadow [closed]
I created a user and I want to encrypt a string for that user from the /etc/shadow.
How can I go about doing that
0
votes
0
answers
68
views
Why enable a yum repo it isn't permanent
I'm new in Centos (7) distrib (I come from debian) and I don't understand something.
Why when I try to enable a repo, this is not permanent ? I mean, when I reboot the server, the yum update doesn't ...
0
votes
1
answer
851
views
pvmove to smaller drive?
I am running on CentOS 7, lvm, with an XFS formatted root drive. As originally set up, the server had a single large root volume that contained both the OS and the data. The data has now grown, and I ...
0
votes
1
answer
208
views
What do these sporadic floods of 301 GET log entries every mean?
I have a new CentOS7 web server running virtualmin. It hosts a new WordPress site that just went into production.
Starting mid-day today, on the quarter hour, to the second, I am troubleshooting ...
0
votes
1
answer
927
views
Securing access to certain pages/directories with Apache behind a Varnish cache?
I have a public website with some URLs/directories which are for private/internal use only. These private areas can only be accessed via certain IP addresses or with a known username/password.
...
0
votes
1
answer
73
views
Cannot delete a virtual machine
I created a VM in France Central but the creation has failed because of:
"Error: Code="AllocationFailed" Message="Allocation failed. We do not have sufficient capacity for the requested VM size in ...
1
vote
1
answer
128
views
Incorrect partition Centos 7, out of space on cl-root
Running Centos 7 on Cisco UCS server with 16TB of Raid hard drives. I'm at 99% of space on cl-root partition. I must have incorrectly partitioned the space initially. How can I increase /dev/mapper/...
10
votes
2
answers
29k
views
Postfix error, SASL authentication failed; cannot authenticate to server, no mechanism available
I would like to set up postfix relay to my website hosting SMTP server, from my home server. It's Centos 7, set up using dynamic IP and dynamic DNS. Because of limited space in my hosting site, I ...
0
votes
1
answer
511
views
Install php7.3-GD Error
I've tried to install php7.3-gd for centos7, i got this error
Screenshot error install via repo
said that require gd-last(x86-64), i am confused how to upgrade the gd version to latest version,
also ...
0
votes
0
answers
35
views
iptables - where are they generated or loaded from in the boot sequence?
I can't work out how iptables are loaded at boot on a centos7.7 system.
Iptables-services is not installed. I am aware of the move to firewalld, but I want to know how the kernel is setting up it's ...
1
vote
1
answer
919
views
How can I enable 2D/3D Acceleration with QEMU?
I have a KVM Server running Virtualizor on CentOS 7.6 . When I try to enable 2d/3d acceleration I'm getting the below error message.
There was an error while starting the new VPS
error: Failed to ...
1
vote
0
answers
795
views
NetworkError: cannot connect to 'ldap://ipa.myserver.net:389' during install of FreeIPA
Problem: When trying to install FreeIPA (Version 4.6.5) the installation breaks when trying to connect to the ldap server:
[36/44]: adding entries for topology management
[37/44]: initializing ...
0
votes
1
answer
449
views
Dovecot on Centos7 - not able to start with systemd
Freshly compiled dovecot 2.3.9.3 on Centos 7 for some reason not able to start
● dovecot.service - LSB: Dovecot init script
Loaded: loaded (/etc/rc.d/init.d/dovecot; bad; vendor preset: disabled)
...
0
votes
1
answer
219
views
How do I force users to use a network proxy in gnome (CentOS 7)?
/etc/environment does not work for new users. My dconf lock file contains:
/org/gnome/system/proxy/mode
/org/gnome/system/proxy/http/host
/org/gnome/system/proxy/http/port
/org/gnome/system/proxy/...
0
votes
0
answers
409
views
Separating the "host" and "external" (loadbalancer) networks in Kubernetes?
Because I like to have things separate (security concern) I’m currently experimenting to see if I can have completely separate networks in Kubernetes for the “hosts” network and the “external” network ...
0
votes
1
answer
1k
views
CentOs Network Unreachable
I have got fresh installation of CentOS 7 on my VPS (done automatically via my provider panel), but I have got problem with internet connection. For some commands, for example:
ping 8.8.8.8
I get:
...
1
vote
1
answer
496
views
A port is not open on firewall but it's accessible
I'm using centos 7 with firewallD on my server.
I have also installed docker on this machine and added it to a trusted zone of my firewall.
I have a container that listens on port 9081 but this port ...
0
votes
0
answers
232
views
linux router, 2x NIC, HA with interface bonding, two ethernet switches
I have two NIC server (eth0, eth1) that I use as router. I have two switches working in stack.
Is it a good idea / possible to create on them two bond lacp interfaces ( bond0, bond1 ).
And use bond0 ...
1
vote
1
answer
189
views
Changing linux file system [duplicate]
I have a CentOS7 installed in a virtual machine. By default, the file system of it was XFS both of the "/" and "/boot". Now I want it to change the file system of the "/boot" to ext3. The reason why I ...
0
votes
1
answer
43
views
CentOS 7 escape "-r"
I am using CentOS 7. I have a folder name "-r". This happened accidentally when I executed a tar command. I need to remove this folder but somehow -r option is taken as switch to the commands rm,...
0
votes
1
answer
188
views
several times Mariadb failure
I have vps with mariadb installed on centos 7
the problem is mariadb keeps crashing
I've tried so many solutions but no good answer fixes my issue
here is my tail -60 mariadb.log
Server version:...
0
votes
1
answer
1k
views
How to make compiled php work with apache?
I've compiled the php 7.4 for centos 7 server. I also have an apache installed 2.4.
The problem is that I have no clue what to do next to make it work. Previously I had 2 sites working with the ...
0
votes
1
answer
34
views
When switch user with su - <someuser>, a line from the .bash_profile is printed to console
A particular line in my ~/.bash_profile gets printed to console when I su - .
Below is the output demonstrating this scenario.
$ whoami
admin
$ su - spark
Password:
Last login: Fri Mar 6 21:30:22 +...
0
votes
1
answer
1k
views
Cron Job is not sending output of script as email, while same script is sending email if being run from cli [duplicate]
I have a script which gives output in a file and doing few awk operations on that output file and mixing the output of two files using paste -d and then sending the email of newly created file to ...
3
votes
2
answers
3k
views
Cannot enable TLSv1 and TLSV1.1 on Nginx and Centos 7
I need to enable TLSv1 and TLSv1.1 for backward compatibility. This is my setup.
>>> nginx -V
nginx version: nginx/1.16.1 (packages.exove.com: SSE2, openssl-1.1.1d, PCRE JIT, TCP Fast Open)
...