Questions tagged [centos]
CentOS is a free (as in beer and speech) GNU/Linux distribution that is community driven and based on source code released from RedHat.
2,231
questions with no upvoted or accepted answers
10
votes
0
answers
2k
views
CentOS 6 local update repository and security updates
I know that official CentOS 6 (even 7) update repositories does not provide security information. The consequence is thatyum-plugin-security plugin and yum check-update --security command does not ...
8
votes
1
answer
19k
views
God Process Monitoring - CentOS - Event System Not Found
I have god installed on at least a dozen (or more) servers running CentOS 5.5 in both i386 and x86_64 flavors that work perfectly. I just setup two new CentOS 5.5 x86_64 servers and installed God, but ...
7
votes
1
answer
868
views
Intermittent munin-cron error “There is nothing to do here, since there are no nodes with any plugins”
We've installed munin monitoring on one of our servers. Generally it seems to be working well but occasionally, 4 times in 2 months to be exact, munin-cron has generated the following error:
[...
6
votes
0
answers
4k
views
journald memory usage on CentOS 7
I have an AWS EC2 instance running a CentOS 7.7.1908 (systemd 219) with a server application.
The server logs quite a lot of information to the system logs (using syslog).
I have recently enabled ...
6
votes
1
answer
1k
views
nano very slow over ssh
Recently nano has started to be very slow when editing files over ssh. It's particularly slow when editing large files with syntax highlighting.
It's most noticeable when yanking lines. There can ...
6
votes
0
answers
605
views
Low Entropy on Container
I am thinking my entropy level may be low?
$ cat /proc/sys/kernel/random/entropy_avail
I am around 132-178 on average. Pool size is default 4096 (this is a container on a virtualizer by the way).
...
6
votes
0
answers
6k
views
Wrong filename encoding/decoding when downloading recursively with wget
I'm downloading files from a remote directory recursively using wget and whoever created the folders and files, used special characters such as è or Ó, when I download a single specificating the full ...
5
votes
0
answers
5k
views
GitHub SSH action failing: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
I have recently rented a VPS running CentOS 8. I want to make countinuous deployment from one of my repos, so that when I push to main the repo is updated. I followed this tutorial on a fresh CentOS ...
5
votes
0
answers
1k
views
Users created in Kickstart unable to authenticate
Thanks to the answers to this question, I've been happily generating Kickstart files for Scientific Linux 6 and 7 for the past 5 years. However, we're now starting to build out some test systems with ...
5
votes
1
answer
5k
views
RSYSLOG not creating tcp port
At a certain point this was working and I do not know what could have changed. No logs are going to the TFTP folder and instead I just see the error message posted below. I tried rebooting the server. ...
5
votes
1
answer
481
views
Server computational slowdown when RAM is used extensively
I have problem with server slowdowns in very specific scenario. The facts are:
1) I use computational application WRF (Weather Research and Forecast)
2) I use Dual Xeon E5-2620 v3 with 128GB RAM (...
5
votes
1
answer
2k
views
HSTS header not being sent though rule is present and mod_headers is enabled
We enabled HSTS in httpd.conf in the Virtual Host handling port 443. We tried with and without the <IfModule mod_headers.c>:
<IfModule mod_headers.c>
Header set Strict-Transport-...
5
votes
1
answer
3k
views
Proper way to override Mysql my.cnf on CentOS/RHEL?
Context: I'm porting an opensource server software (and writing associated documentation) from Debian/Ubuntu to CentOS/RHEL.
For the software to run correctly, I need to add a dozen of specific ...
5
votes
0
answers
1k
views
What SELinux type should I apply on my Unix socket?
I have a Gunicorn socket file: /opt/rtd/gunicorn/run.sock. I need nginx to be able to open this socket and write to it.
When I run sesearch --allow -s httpd_t | grep unix_stream_socket I noticed that ...
5
votes
0
answers
1k
views
Can't stop and reformat /dev/md0
I want to reformat /dev/md0, which is a RAID0 array consisting of 4 disks (sd[bcde]). However, when I tried to run the command mke2fs, I received the following error message:
/dev/md0 is apparently ...
5
votes
1
answer
2k
views
difference between ifdown, ifconfig stop and ONBOOT=no
my ifcfg-eth1 config as below
DEVICE=eth1
TYPE=Ethernet
UUID=5e4f36f8-14eb-4f0c-8fa9-3af9be3899a7
ONBOOT=no
NM_CONTROLLED=yes
BOOTPROTO=dhcp
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="...
5
votes
2
answers
2k
views
How to reset and persist the hostname and FQDN of an Windows Azure Centos instance?
How does one reset a hostname and domain name (FQDN) to localhost.localdomain on a Centos 6.2 Azure Instance? I've tried editing /etc/sysconfig/network, /etc/sysctl.conf, setting the hostname manually,...
5
votes
0
answers
5k
views
Corosync unicast issue with different nets
I'm using a setup (on our staging-system) with 2 root-servers and 1 fail-over-ip.
As software we use corosync and pacemaker.
Corosync is configured for multicast communication via port 5405.
--> ...
5
votes
1
answer
870
views
Are there RPMs for GlassFish v3?
It seems that the GlassFish project itself does not provide RPM packages, and neither does JPackage (http://jpackage.org/). Is someone else providing ready-built RPM packages for RHEL/CentOS?
On a ...
4
votes
0
answers
514
views
Showing [Installed Version] when upgrading with dnf in CentOS/Redhat/Fedora/Rocky Linux
When running dnf upgrade it only shows the new version of a package about to be upgraded. But I would like to see what the currently installed version of the package is too. Without having to go look ...
4
votes
0
answers
2k
views
How to make systemd monitor processes started using a shell script in the service file?
I have written a service file in Linux that calls a script which starts multiple processes with one as primary and others as secondary.
SERVICE FILE:
[Unit]
Description=TEST service
Requires=abc....
4
votes
0
answers
2k
views
Are there any known common causes of "Cannot kill process: Success!" in error.log?
Operating system: CentOS Linux release 7.6.1810 (Core)
Error log: /var/log/httpd/error.log
Apache version: Apache/2.4.6
In attempting to debug a PHP cron task, I am seeing some segfaults in error....
4
votes
0
answers
142
views
A little confusion about DBM files and how they work
I have apache 2.4 and am using RewriteMap DBM files.
ie:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteMap examplemap "dbm:/etc/httpd/conf/rewrite.dbm"
RewriteCond ${examplemap:$...
4
votes
1
answer
2k
views
CentOS virtual host Server DNS could not be found
I want to deploy my project in virtual host in CentOS running server. I have this
<Directory />
#change value of next line from none to all
AllowOverride none
Require all denied
</...
4
votes
1
answer
2k
views
AWS EC2 - CentOS 7 Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
I have an EC2 Instance with CentOS 7,
after rebooting and stop - start, the instance cannot run anymore.
I got this error, what cause this and how to fix it, thank you:
[ 1.601892] List of all ...
4
votes
0
answers
410
views
Bind notifies on DNS views
I have configured two Cent OS based DNS servers one for master and one for slave with internal and external views for a domain. The problem is that i get notifies and automatic zone updates when i ...
4
votes
3
answers
4k
views
Need help converting init.d service scripts to systemd (CentOS)
I have spent several days on an issue that's incredibly frustrating and I'm straight out of options.
I am currently using a CentOS 6.8 server at work for our website. CentOS 6 (Enterprise Linux 6 or ...
4
votes
0
answers
1k
views
HAproxy and nginx RTMP
I am trying to use HAproxy in front of an RTMP nginx server.
It does connect but it does not play the video.
I have 2 servers: one with nginx using RTMP and another one with HAproxy.
This is the ...
4
votes
3
answers
4k
views
Redis: Error moving temp DB file on the final destination: Operation not permitted
I have a nodeBB install which relies on Redis as the data store. Its just a test install at the moment while I iron out any problems. The Redis instance stayed up for a few days but then fell over ...
4
votes
0
answers
793
views
journalctl prints the entire system log when following
[root@utility ~]# uname -rv
2.6.32-042stab093.5 #1 SMP Wed Sep 10 17:39:49 MSK 2014
[root@utility ~]# cat /etc/redhat-release
CentOS Linux release 7.1.1503 (Core)
[root@utility ~]# journalctl --...
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 - ...
4
votes
1
answer
511
views
NGINX Worker Process, Burst Read Speed to only 1918kb/s
I am running an NGINX/1.8 server on Centos6.6 with multiple worker_processes, however while observing iotop I notice they burst up to 1918kb/s Read speed and rarely if at all pass that limit.
I want ...
4
votes
0
answers
726
views
pppd terminated bya SIGTERM in Centos 7 -- who's sending it?
Folks,
I created a script to keep a persistent "emergency" connection with a 3G modem, so I can access my CentOS 7 makeshift server remotely if the usual network fails. Everything works for a few ...
4
votes
0
answers
565
views
slabtop command doesn't work
I've inherited Sys Admin duties on webserver and I'm a bit of out my element, but learning as I go. My newest issue is all the of the ram has been gobbled up and I'm not sure where it has gone.
free -...
4
votes
0
answers
6k
views
CentOS kickstart automated setup with parted / RAID
I'm trying to use parted to partition my entire drives automatically during the CentOS kickstart install, however, I'm getting two issues with my install. I want to kickstart my installs across ...
4
votes
0
answers
937
views
Sendmail on CentOS 6, with SRS
I do some mail forwarding, but I'm also a big fan of SPF; I'm aware that I have a problem.
While my mail server was running Centos5, I was using pysrs as a milter, and it worked well - but it hasn't ...
4
votes
1
answer
2k
views
Linux cgroups cpuset w/ subs causes cgconfig not to start
I am having a problem trying to separate 2 groups using cpuset subsystem. This works fine, however if i go to add a subgroup to that group (in this case -- user1), cgconfig will fail to start with "...
4
votes
1
answer
292
views
tape changers on Centos 6 enter flurry of activity upon boot, at udev start
I have two tape-changer robots (Quantum Superloader 3), one with parallel SCSI connectivity, the other with SAS. They were connected to a Centos 5 server, and boot would proceed normally.
They are ...
4
votes
1
answer
815
views
Intranet corporate SSO for webapps against Active Directory
I am trying to plan and implement a SSO solution in a corporate environment that serves intranet web applications running on CentOS:
Corporate portal (Drupal backend)
Project management (Project.NET)
...
4
votes
1
answer
182
views
Apache rewrite works under FreeBSD, not under CentOS
I have 5 production servers which are running FreeBSD 9.2, but we are planning on transitioning to CentOS. Because of this, I am attempting to set up some virtual machines to emulate our production ...
4
votes
1
answer
2k
views
CentOS7 systemctl calling ExecStop on reboot after my procceses are already killed
I have a systemd script which is as follows:
[Unit]
Description=My sites
Before=shutdown.target reboot.target halt.target
[Service]
Type=oneshot
ExecStart=/bin/bash -c '/etc/xxx/mySites start'
...
4
votes
2
answers
16k
views
Nginx error: "Primary script unknown" while reading response header from upstream
I have installed Nginx 1.6.2 with PHP-FPM (PHP 5.5.18) under CentOS 6.6 server. I didn't touch nothing else but /etc/nginx/conf.d/default.conf file where I made some changes (see below):
server {
...
3
votes
0
answers
454
views
Unable to su or ssh as anyone but root on CentOS 7
I seem to be unable to ssh or su as a local user on my CentOS 7 machine as of today.
$ adduser ndejay
$ passwd ndejay
Changing password for user ndejay.
New password:
Retype new password:
$ su ndejay
...
3
votes
0
answers
4k
views
how to allow outgoing traffic with firewalld / libvirt on CentOS 8?
I installed a CentOS 8 guest on a CentOS 8 host using libvirt. However firewalld is blocking all outgoing traffic from the guest to the internet unless I use target=ACCEPT for the libvirt zone.
The ...
3
votes
0
answers
450
views
CentOS Linux 8 freezes when changing SELinux Booleans (setsebool)
Problem
Various CentOS Linux 8 servers freeze/hang when changing SELinux Booleans.
Details and research
We manage hundreds of CentOS Linux servers. Lately we see deviant behavior on some (but not all) ...
3
votes
0
answers
1k
views
Make Headless Server Use Hardware Accelaration
I have a headless CentOS 8 Server with an AMD GPU. I want to use hardware acceleration but when I run OpenGL programs with xvfb-run (e.g glxinfo), the system reports I am using software rendering. How ...
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 ...
3
votes
0
answers
10k
views
Server can't find domain: SERVFAIL
I have VPS and CentOS7 installed on it. Also I have httpd Apache2, nginx, named and iptables services working there. First, when I just bought this server, I had hostname maindomain1.com and made my ...
3
votes
1
answer
497
views
OpenVPN Traffic Control on CentOS 7
I'm trying to give my OpenVPN some bandwidth limitation. I would like for example for each user give 10Mb/s for upload and download. I tried the following answer I found (Automatically Call a Script ...
3
votes
0
answers
234
views
Libreswan Testbed in VirtualBox
I'm currently working to create a testbed in VirtualBox for two VMs with an isolated opportunistic IPSec network with LibreSwan. All services are coming up fine, but network traffic between the two ...