Questions specific to the CentOS Linux distribution. Use this tag if your question relates to how the CentOS distribution affects your problem; do not use it if you just happen to be using CentOS and your question is about a specific configuration detail or syntax.

learn more… | top users | synonyms (2)

0
votes
2answers
61 views

How to use openSSH for disc encryption at boot time (OpenSSH vs. Dropbear)

Basic setup: - Operating System: CentOS 7 (64 bit) - Grub 2 - separate boot partition with ext4 - luks encryption (aes-xts-plain64:sha512) on two disc partitions which both need to be unlocked by ...
0
votes
3answers
71 views

Using rpm/grep to check whether multiple services are installed - as one liner?

The following code is used to check whether a service (read from variable, can be empty or up to X services named) is installed or not and take appropriate action. ... if ! rpm -qa | grep -qw ...
0
votes
0answers
33 views

Installing Octave on CentOS - incompatible BLAS library error

I am trying to install Octave on CentOS. After running sudo yum install octave ./configure F77=gfortran I got this error: configure: error: A BLAS library was detected but found incompatible with ...
-1
votes
2answers
39 views

Setting persistent environment variable in CentOS 7 issue [duplicate]

I have been trying to set enviroment variables that would be saved upon reboot, but without success. When I set variables using the export or setenv command, as root or any other user, it gets saved ...
0
votes
0answers
44 views

using cpu.cfs_quota_us and cpu.cfs_period_us to limit CPU usage

There are 32 cores in a system (2 cpus each 16 cores) and I want to limit a user to use only 4 cores (100% usage for that 4 cores). There are two kernel parameter for that according to the manuals: ...
0
votes
0answers
38 views

Vim not loading color scheme file at all

I have exactly same two CentOS 6 boxes. Trying to install vim and enable color scheme file. Same thing, same vim versions used but the color scheme works in one machine and not in other. Here are ...
0
votes
0answers
26 views

How to route to Virtual IP as gateway

I have environment on Centos 6.7 Final, 2 Loadbalancer failover (Haproxy, keepalived), 3 Web Server (nginx - PHP-Fpm). LB1 (Public x.x.x.233, Private 10.110.120.21), LB2 (Public x.x.x.235, Private ...
1
vote
1answer
107 views

Your kernel headers for kernel 2.6.32-504.e16.x86_64 cannot be found

I have centos 6.6 installed on virtualbox. In order to use features like copy/paste, being able to share folders, etc, I need to install Guest additions on it. I've clicked Device -> Insert Guest ...
0
votes
1answer
33 views

I have installed rpm where does it installation log save in centos/redhat 6

I have installed rpm where does it installation log save in centos 6. I mean which file stores the logs for installation and removal of rpm and when we rum command rpm -qa --last from which file it ...
0
votes
2answers
26 views

Best way to start multiple “screen” scripts after restart? (centos)

We are using centos. As soon as the server is restarted and the OS is fully loaded, we would like to have a certain user ("foo") start three or four scripts with screen. For example, screen -d -m -S ...
0
votes
1answer
55 views

KVM virtualization for CentOS 7

I am having an absolute devil of a time with KVM. It seems every HOWTO out there offers a different list of packages, and I've installed them all: [me@tarantula ~]$ rpm -qa | egrep 'kvm|qemu|virt' ...
3
votes
3answers
53 views

Creating a self-contained installation file for pymssql for CentOS

I'm trying to deploy a Python application on a machine that due to system and organisation requirements can't have gcc installed on it, so I need to create a self-contained installation file for ...
1
vote
0answers
28 views

How can I tell if xfs_repair is stuck or still running?

I have a backup server with ~72TB of space. Only about half of that is used. Earlier in the week I got the following message and directly after the xfs filesystem was unmounted. Mar 15 15:15:47 ...
0
votes
0answers
50 views

yum doesn't have enough cached data to continue

Trying to install new software in centos when I get this message I had added a new repo but I have since deleted it any suggestions. This happens no matter what I am trying to install. Currently i am ...
0
votes
1answer
32 views

fsck seems to show different result between multi user mode and single user mode

I'm a programmer using java and ruby usually, and a beginner as server admin. Now I'm using CentOS6.7 as a guest OS with vagrant and virtual box; the background of the question the terminal emulator ...
0
votes
1answer
74 views

How to find and edit “Apache timeout”?

I'm trying to view the default value of Apache timeout of my server, but I found nothing about that in /etc/httpd/conf/httpd.conf . So where does " timeout " suppose to be and how to change its value ...
1
vote
1answer
30 views

unmanaged vps centos6.4 need to open port 20/21

I brought an unmanaged vps which is running Centos 6.4 and the only port which was open was 22 and I need help opening port 20 and 21 so I can ftp, but every time I try to it wont save and let me ...
0
votes
1answer
56 views

VSFTPD FileZilla GnuTLS error -15 (unexpected TLS packet was received)

I set up two new CentOS 7 boxes simultaneously, so the configurations should be identical, just different ip addresses and host names. I installed VSFTPD and configured for passive ports. One box ...
1
vote
0answers
71 views

Mono 4.4.0.40 on CentOS 6.7 x64 fails compilation with SigAbrt

I am trying to build the mono Source from Github. I've downloaded the latest tagged release which is 4.4.0.40. I've run the following commands: ./autogen.sh make get-monolite-latest make But I get ...
0
votes
0answers
7 views

centos infinite reboot upon starting snmp

My server was downed, when I rebooted it, it keep on reboot itself when it hit snmp service starting upon OS reboot process, I login as single user to disable snmp service then only it managed boot ...
0
votes
0answers
36 views

Host-only network adapter (enp0s8) not starting on boot in CentOS7

I've installed CentOS7 in virtual box. I've 2 network cards - one host-only (vboxnet0) adapter enp0s8 (which I want to be static) and the other the NAT adapter enp0s3. The host-only adapter never ...
0
votes
1answer
113 views

Can't connect to Tomcat on port 8080 (port 80 works)

We have a bunch of Centos 6 dedicated servers hosting our web applications that are set up behind a reverse proxy. The reverse proxy is running Haproxy and forwards web requests to the backend ...
1
vote
1answer
70 views

Network interface issue after upgrading CentOS 6 to 7

Recently I have upgraded my VM Server from CentOS 6 to 7. The upgrade completed without any error but the network interface is not showing in ifconfig and there is no file called ifcfg-eth0. Before ...
1
vote
2answers
41 views

Keyboard map changes with TTY

I'm Belgian, and so the keyboard layout on my CentOS 7 is be-latin1. I've set it up with # loadkeys be-latin1. Everything up to here is fine, my chars are all corrects. The thing is, when I switch ...
0
votes
0answers
32 views

Thumbor ImportError: No module named thumbor_plugins.optimizers.pngcrush

I'm strugling to properly install Thumbor on a server. I made my regular installation. Tested working at that time (Centos 7, Python 2.7.5) I setup supervisord to manage a deamon for thumbor I got ...
0
votes
1answer
33 views

After editing PATH in ~/bash_profile, no users can log in to centos

The user edited ~/bash_profile to add to the PATH. After logging out, the user can no longer log in, and now no other users can log in. What happens is, after the Centos login screen, and entering the ...
3
votes
2answers
87 views

How can I find what package provides a missing man page? [duplicate]

At the bottom of man pcregrep, there is a message: SEE ALSO pcrepattern(3), pcresyntax(3), pcretest(1). However, when I try to view man pcresyntax I get: $ man pcresyntax No manual entry ...
1
vote
1answer
60 views

How to Downgrade CentOS 7.2 to 7.1 on Linode?

I can change Kernel on Linode Manager page, but I don't know how to Downgrade CentOS 7.2 to 7.1
3
votes
1answer
82 views

SELinux + MergerFS (fuse) not working well together

I have been trying now for several days to get my new server up and running. I am running CentOS with MergerFS to pool my drives and samba to host to my windows machines. All of this running in ...
0
votes
0answers
69 views

Error: Cannot find a valid baseurl for repo: base

When I say # yum update This is output: Loaded plugins: fastestmirror, replace, security Setting up Update Process Loading mirror speeds from cached hostfile YumRepo Error: All mirror URLs are ...
1
vote
1answer
44 views

curl: (77) pbm with the SSL CA cert (path? access rights?)

I am in root in my directory on CentOS release 6.6 and I want to do the following in order to install mysql in upper version on centOS: rpm -Uvh ...
0
votes
1answer
38 views

Requires: libcurl.so.3()(64bit)

I am trying to install (yum install git) but at the end it throws me an error that is: Error: Package: git-1.7.12.4-1.el5.rf.x86_64 (rpmforge) Requires: libcurl.so.3 () (64bit) I want ...
0
votes
2answers
33 views

Firewalld ssh secure

How can I add two rules to firewalld in order to deny everyone and accept only set of several IP addresses? In this here case I am talking about SSH port - 22. I am using CentOS 7 and ...
0
votes
2answers
60 views

Apache shows Blank page for PHP

I've installed a fresh version of Centos 7,I'm new to Linux. I installed Apache using yum -y install httpd and i can open the test page and everything is ok with it. after that i installed ...
0
votes
0answers
32 views

NameVirtualHost address is not supported, proceeding with undefined results

Apache Details Server version: Apache/2.2.15 (Unix) Server built: Aug 28 2015 22:18:57 Varnish varnishd (varnish-3.0.7 revision f544cd8) Copyright (c) 2006 Verdens Gang AS Copyright (c) 2006-2014 ...
1
vote
0answers
36 views

Hostname won't resolve after setting up new server

I just completed a fresh install of Centos 7 on a PC. It is connected to the campus network, so I am not in control of the DNS server. I gave it a hostname by setting the HOSTNAME value in ...
1
vote
2answers
53 views

Network has no ping and can't resolve hosts

This is the config on /etc/sysconfig/network-scripts/ifcfg-eth0: DEVICE=eth0 TYPE=Ethernet UUID=c7sdfsdf-dfgdgdfgdgd-dg ONBOOT=yes NM_CONTROLLED=yes BOOTPROTO=static IPADDR=x.x.x.x ...
1
vote
1answer
66 views

How do I masquerade only a specific subnet with firewalld?

I'm running openvpn on CentOS 7 with firewalld. I've enabled masquerading on the public (default) zone, and it works fine. However, I occasionally need to run services on localhost/127.0.0.1, and the ...
0
votes
0answers
39 views

Configuring Dynamic DNS on CentOS 7 without dhcpd service

I have a CentOS server on which I configured DNS but it doesn't serve as a DHCP sever, since I have a d-link router which serves as such (DHCP is enabled on it). Is there a way I can configure Dynamic ...
0
votes
1answer
43 views

Kickstart install problems, ethernet configuration missing

Using CentOS 6.7 I've created a custom(and working) kickstart installation. Initially I had coded the configuration for eth0 in the kickstart file, but ideally I'd like the user to input it, but it ...
0
votes
1answer
38 views

too many connection to SMTP server in exim_mainlog, How to solve it?

It is a cPanel server and from /var/log/exim_mainlog, I can see that, there are too many connections to the server. Mostly the number of action connection will be less than 25. But even after ...
0
votes
1answer
25 views

IPV4 getting removed after restart CentOS machines

I have CentOS machines (both 6.x and 7.1) and whenever I reboot them, automatically IPV6 is assigned to them and IPV4 is lost. Any idea why it is happening and how to prevent it? I Could not ...
0
votes
0answers
18 views

Local yum repo stops working and after reboot its back

My local repo stops working every now and then and the work around is to reboot that server. Even httpd service restart doesnt help. yum list|grep httpd ...
0
votes
1answer
46 views

SSSD Centos 7 AD Binding - only some users are able to login

I have been trying to nail down the process of binding a Centos 7 install to a Windows domain but am struggling. I have managed to successfully do this in the past on a couple of boxes but I am now ...
3
votes
1answer
74 views

How to properly configure snmpd?

I installed snmp on CentOS 7.2, like so: yum -y install net-snmp net-snmp-utils I made a backup of my snmpd.conf file: cp /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.orig then I cleared the text, ...
0
votes
1answer
30 views

Previous System Statistics From Sar

I did see the post here: How do I get sar to show for the previous day? But it doesn't answer my questions below. I am trying to use sar to look at the statistics from yesterday (March 9th): $ sar ...
1
vote
4answers
74 views

Why do I need to set some file as executable?

I never went outside of windows before last week, I was asked to make a VM with elasticsearch/logstash/kibana/jdk8 on it. I'm using a regular non sudoer user. I extracted each tar.gz file and got 4 ...
0
votes
1answer
77 views

Timeouts with authd on CentOS 7

I am currently trying to augment my mailsystem by allowing servers that received mails from me within the last ten seconds to perform ident lookups. While the needed iptables rules are working ...
0
votes
1answer
44 views

Upgrading the CPU in a CentOS server

I have a CentOS server running moodle and owncloud service. It is running with an Intel G2030 CPU, so that's reason why it running so slowly. Therefore, I want to upgrade the CPU. So If I change for ...
1
vote
3answers
136 views

How can I find which user is accessing a file using strace?

My actual problem is that Nginx is not able to render pages (403 forbidden) despite the permissions being set to appropriately (in my opinion) The directory of stackoverflow at default location: ...