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,173 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8
votes
1answer
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
0answers
5k views

teaming with nmcli: bringing connection down and up again fails

On a centos 7 virtual box, I create a team like this: nmcli connection add type team con-name team0 ifname veteam0 nmcli connection modify team0 team.config roundrobin.conf [root@rhce1 ~]# cat ...
6
votes
0answers
4k 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 ...
6
votes
1answer
696 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
1answer
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 ...
5
votes
0answers
2k views

Change default certificate signing algorithm in ssh-keygen

Presently, OpenSSH 7.8 (Fedora 28/Arch) is unable to negotiate with a OpenSSH 7.4 (CentOS 7) server utilizing a certificate signed key, as described in a bug filed on redhat's bugzilla. OpenSSH ...
5
votes
1answer
496 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 ...
5
votes
1answer
10k views

OpenSSL keeps telling me 'unable to get local issuer certificate'

I'm using CentOS, which has OpenSSL 1.0.2k-fips installed, and I've built and installed version 1.1.0g alongside it as part of a HTTP2 install outlined here: https://www.tunetheweb.com/performance/...
5
votes
1answer
259 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
1answer
1k 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
1answer
1k 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
0answers
429 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). ...
5
votes
1answer
1k 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
0answers
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
1answer
849 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
0answers
484 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 ...
4
votes
0answers
991 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
0answers
747 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
0answers
40 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
1answer
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
1answer
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
0answers
252 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
3answers
3k 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
0answers
918 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
0answers
802 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 ...
4
votes
3answers
3k 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
0answers
266 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
1answer
364 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
0answers
604 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
0answers
411 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
0answers
5k 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
0answers
757 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
1answer
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
2answers
2k views

How to reset and persist the hostname and FQDN of an WIdows 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,...
4
votes
1answer
285 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
1answer
742 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
1answer
169 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
1answer
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' ...
3
votes
0answers
46 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 ...
3
votes
0answers
105 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
1answer
826 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)...
3
votes
0answers
4k 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
0answers
2k 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 ...
3
votes
0answers
2k 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. ...
3
votes
1answer
247 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
0answers
166 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 ...
3
votes
2answers
191 views

CentOS 4.6 Time Drift

I have a CentOS 4.6 box that was previously a physical device, and has been made into a VM, that has a cronjob to restart the server everyday at 23:00. Which is fine. However, since the shift to ...
3
votes
0answers
84 views

Is it OK to prepare drives in mdadm RAID in LinuxMint live and then run CentOS7 installer?

I am planning to setup a CentOS7 server with software RAID. Since the CentOS7 installer isn't particularly good at preparing the disks, I wonder if it would be OK to boot up a LinuxMint 18 live, do ...
3
votes
0answers
49 views

Hyper-V Migration Windows 10

I'm trying to import an exported VM from a Microsoft Hyper-V instance running on a Windows 10 node to another Windows 10 node. As far as I know the 2 hosts are exactly the same in terms of hardware. ...
3
votes
0answers
2k views

Blocking ALL outgoing traffic Using firewalld to dedicated network subnets?

I have several RHEL7/CentOS7 servers on which I need to block all OUTGOING traffic to dedicated machines or dedicated network subnets e.g. CIDR 168.192.10.0/24. For the moment I tried with firewall-...

1
2 3 4 5
44