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
49 views

Packet flow in a virtual bridge with two interfaces, centos 7

I am struggling to create a bridge firewall with iptables since I cannot find/catch packets flowing through a bridge with two interfaces in centos7. No ip addresses are configured on interfaces or the ...
0
votes
0answers
82 views

How can I enable centos-release-SCL on Centos 6.7?

I am trying to install centos-release-SCL on CentOS 6.7. I want to do this to get python2.7. I have tried: sudo yum --disablerepo=\* --enablerepo=extras install centos-release-SCL Loaded plugins: ...
0
votes
0answers
12 views

can systemctl check dependencies across servers

I have recently started to convert init scripts to systemd style. I see that there is a "depends" and "require" attributes in systemctl service files that checks for dependent processes to be running. ...
2
votes
2answers
62 views

No space left on device on CentOS7

My machine which OS is CentOS7 have to backup 50G data into MySQL. But, there is no space left on the device. But there are many spaces on /home. How can I make user that there are enough space for ...
3
votes
1answer
37 views

Do I need to do something about “Delta RPMs disabled”?

While updating packages on our CentOS server I got the following message: Downloading packages: Delta RPMs disabled because /usr/bin/applydeltarpm not installed. Do I need to do something about ...
0
votes
0answers
31 views

How centos7 boot more than 2TB

We are struggling with booting a centos7 with 3To. We are working on an IBM BladeCenter H and SAN . There is no EUFI. Thanks for your help
0
votes
0answers
7 views

Where is the “use empty space” option in centos 7?

I didn't find the "use empty space" (the option was available in centos 6) during the installation of centos 7. I need this option because I am using gparted to have a GPT partition and not an MBR ...
0
votes
1answer
32 views

Accumulating sendmail processes

I've been having an issue where I'll see many instances of a particular process: /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t I've done a bit of reading and it seems like the processes are ...
0
votes
0answers
62 views

IPSEC help using Strongswan on CENTOS 6.6

I have been tasked with setting up an IPSEC tunnel to our remote data provider. They require my Phase 2 traffic to be PAT'd behind a public address. I am using strongswan 5.3.2 on CentOS 6.6 on a ...
-5
votes
1answer
52 views

help with a bash shell script that creates directories

I have a problem I been trying to tackle. If anyone can help, it would save me a headache! For reference,I started self learning so I'll be looking for problems around but can't find the answer for ...
1
vote
1answer
29 views

Compare and merge config file in CentOS

I was trying to setup an auto-update (for multiple servers) bash script via cron to a config file (text based) by downloading the new file everyday and replacing it directly. The script works fine, ...
1
vote
2answers
31 views

reverse slave DNS server zone file not transferred

I am using amazon free tier with RHEL 7and configuring master and slave dns server. From master everything is ok, but slave I couldn't find result. Also I would like to know how can I secure my dns ...
4
votes
3answers
365 views

What's the quickest way to find duplicated files? [duplicate]

I found this command used to find duplicated files but it was quite long and made me confused. For example, If i remove -printf "%s\n", nothing came out. Why was that? Besides, why they used xargs ...
1
vote
1answer
13 views

Error while installing Bcache on centOS

I am trying to setup Bcache on my existing system(Its risky,but we are not worried about losing any data ) . So my make and make install works proper but when I run the command make-bcache i receive ...
0
votes
0answers
24 views

Centos 7.2 Convert single LVM to RAID Mirror Reinstall BootLoader

I am trying to convert a single-drive Centos 7.2 installation with LVM into a two-disk mdadm mirror with mrrored LVM. I was able to follow the excellent instructions at: ...
0
votes
1answer
35 views

Configuring Systemd to execute extra script after httpd start/restart using ExecStartPost setting not working

I need to have a PHP file execute whenever the httpd service starts or restarts. I found that Systemd has a configuration setting called **ExecStartPost, which looks perfect for what I need to do. I ...
0
votes
0answers
49 views

Centos 7 root passwd reset

I was stupid enough to log my root password on one spot and that crashed so I lost my root password to my server. I followed the guild of ...
0
votes
0answers
30 views

Improve CentOS performance while saving

When I save larger files at about 5 minutes of save time, Linux lags completely on my new computer. I can't change workspace or move my mouse. The files are about 50 Gb in size and are used for ...
0
votes
0answers
21 views

custom ISO Bootable USB not working

I made a custom CentOS ISO using the link. My custom OS works on the Virtual machine, but I'm unable to install it using a bootable pendrive. Where could I be going wrong?
0
votes
1answer
58 views

device-mapper: reload ioctl on cache1 failed: Device or resource busy

When I run the below command while setting up dm-cache on my CentOS system, I receive the error: device-mapper: reload ioctl on cache1 failed: Device or resource busy Command failed Command is: ...
0
votes
1answer
74 views

Python psutil version conflict for Terminator on Centos 7

This issue started after latest updates installation, probably in last 2-3 days. When I try to open Terminator I get error, Traceback (most recent call last): File "/usr/bin/terminator", line 23, ...
1
vote
0answers
113 views

SMB server not working after upgrade from 3.5 to 3.6

our Windows 7/2008 clients can't access our samba server any more after the upgrade to version 3.6. This is on CentOS 6 (rpm --query centos-release reports centos-release-6-7.el6.centos.12.3.x86_64). ...
1
vote
1answer
74 views

CentOS 7 fullscreen not working in VirtualBox

I installed CentOS 7 inside VirtualBox. Additionally, I installed virtualbox guest additions in the following way: yum update kernel* yum update yum install kernel-devel kernel-headers dkms gcc ...
0
votes
0answers
41 views

Failed to start Crash recovery kernel arming

When trying to login into CentOS 7 either through the Gnome GUI or the login shell, I get this: After a second, I get booted backed to the login shell, or login screen of Gnome. I've tried booting ...
-1
votes
1answer
19 views

How do I install manually a package instead using yum [duplicate]

My issue is simple, I have to install this lib: yum install libyaml-devel As I'm working for a company which has some stupid security rules, I can't install it using yum. I would like to know ...
0
votes
2answers
77 views

CentOS: How to install libyaml-devel from source?

I'm trying to install RVM in a CentOS server which for some weird reason I do not have access to internet. One of its dependencies is the library libyaml-devel. I already installed the libyaml ...
0
votes
0answers
41 views

Enable internet connection in CentOS 7 minimal version on Vagrant

I'm using Vagrant to run CentOS 7 box under Windows 7 and I can't connect to internet to install some packages. It's a minimal version of CentOS 7 so a lot of commands don't work. dhcpclient, ...
0
votes
1answer
51 views

My CentOS 7 won't boot anymore

My CentOS 7 won't boot anymore. I returns by after boot: Assuming drive cache: write through I found some things to remove rhgb via the boot menu, but that didn't work. I remove it, and saved it ...
1
vote
2answers
38 views

What would 'passwd root --stdin' have set my password to?

I ran: sshpass -p 'OldPassword' ssh -o StrictHostKeyChecking=no root@1.1.1.1 'echo "Te3EQeF2U!-Em_C3eBU6A&a=u2$e28*c" | passwd root --stdin' Without realizing that echo ...
0
votes
1answer
47 views

What version of CentOS is equivalent to Red Hat 9.x?

I want to use CentOS. I was used to Red Hat 9.x but now I'd like to use CentOS. But I don't know what CentOS version is equivalent to Red Hat 9.x?
0
votes
0answers
95 views

Linux command “systemctl status” is not working inside a Docker container

The command "systemctl status" is not working. It never has. My container is on CentOS 7. When I issue "systemctl status" I get results "Failed to get D-Bus connection: operation not permitted." Path ...
2
votes
2answers
58 views

Setting interface NM_CONTROLLED to yes using nmcli in CentOS 7

I'm writing some documentation on configuring the network interfaces for a new CentOS 7 server, the specific section walks through setting the interface to a static IP address. The steps thus far ...
0
votes
0answers
53 views

no access to a shared windows 10 printer from centos 7

I have a Win 10 pro laptop on which I attached an USB printer; it works when I try to print from the laptop. I shared this printer, and I have a second laptop, from which I would like to print, it's ...
0
votes
2answers
234 views

How to install i3wm window manage on centos7

I want setup i3wm on centos. I try download rpm file i3 in rpmfind.net but two package (i3-doc <-> i3-wm) have interdependent. I try search google but no answer: How to use i3 on CentOS 7 with ...
0
votes
0answers
26 views

CentOS7 Livecd login loop after Dracut update to 033-360

I am trying to edit the official CentOS7 livecd build 1406 and after updating Dracut to 033-360 (due to being an nfs-utils dependency) from the original 033-161 I am stuck in a login loop. Further ...
0
votes
0answers
19 views

FTP Over SSL not accessible from outside network

We have setup an FTP server over SSL with configuration using vsftpd as below (/etc/vsftpd/vsftpd.conf): pam_service_name=vsftpd local_enable=YES write_enable=YES local_umask=022 anonymous_enable=NO ...
1
vote
1answer
54 views

Custom OS Version-ing

I made a custom centos by following the link given below https://github.com/joyent/mi-centos-7 Now I want to add my own version to the ISO file so that it shows when we check it using the following ...
3
votes
1answer
32 views

Update non active linux installation

We have several linux (Centos) live usb drives and I was wondering whether it was possible to just mount and update them from a linux desktop (running from a HDD) instead of booting and running yum on ...
0
votes
0answers
32 views

Squid Proxy using two nics CentOS 7.2

Objective: OS: CentOS 7.2 NIC01: eth0 - WAN - (10.1.1.0) NIC02: eth1 - LAN - (10.1.2.0) Box1: Squid/iptables server (Has the two nics) Box2: Workstation (On Lan) I am trying to filter all ...
0
votes
1answer
47 views

SSH into another VM via Perl / Sh script failing. Works manually

I want to run a Perl CGI script (a_web_page.cgi) from my dev box .1.20 that runs a bash script from the same folder (host_script.sh). This script then runs a SSH command to another server 1.10 that ...
0
votes
0answers
59 views

How do I get a yum repo to work in a Docker container?

What do I do about two Docker containers on separate VMs that have the same IP address on my network? I have two CentOS 7.x servers. Both have exactly one Docker container. When I use ifconfig, the ...
0
votes
1answer
65 views

Struggling to remove a faulted ZFS pool on Centos 7 using zpool

I have been doing lots of testing of ZFS recently on a new server. I'm ready to move this server into production now, but I'm wondering if I can get rid of my old 'faulted' diskpools before I do, ...
2
votes
1answer
55 views

Setting a disk space quota on a samba share residing on an ZFS pool

I have several samba shares, one of which is used for storing some backups. I want to set a disk space quota on said share, as the ZFS volume the share resides on is huge and multi-purpose... I don't ...
0
votes
1answer
49 views

VNC Server Centos7 VNC client Windows 10

I am trying to access my Centos 7 server's desktop so I installed ... [plankton@localhost ~]$ rpm -q --info tigervnc-server Name : tigervnc-server Version : 1.3.1 Release : 4.el7_2 ...
0
votes
0answers
36 views

Installing nginx from source error

OS is centos 7.2,installing nginx from source error: sslv2conftest.c: In function 'main': sslv2conftest.c:217:15: warning: 'currtest' may be used uninitialized in this function ...
1
vote
0answers
32 views

Is there a way to interleave two filesystems of the same structure?

I have a large networked file system whose backup routine sees some file systems as higher priority than others and are given more redundancy with backups. At present those file systems are visible as ...
0
votes
0answers
22 views

where is nginx.lock file?

I am using centos 7.2,and I installed nginx 1.9.14 form source, wget -c http://nginx.org/download/nginx-1.9.14.tar.gz tar zxf nginx-1.9.14.tar.gz wget -O nginx-ct.zip -c ...
0
votes
0answers
91 views

Yum Update error on CentOS 7 - Require: libQt5 (…)

When I try to run the command yum update, I am getting the following error messages: Error: Package: notepadqq-0.46.1-1.fc20.i386 (FedoraPeople-sea) Requires: libQt5PrintSupport.so.5 ...
-1
votes
3answers
35 views

changing permission after copy the directory? [closed]

I have two directory in two different path there are some common subdirectories and files between them I want to copy the content of first directory to the second one meanwhile I need the same ...
0
votes
1answer
62 views

Why is the rename utility on Debian/Ubuntu different than the one on other distributions, like CentOS?

On CentOS, the rename command uses two simple strings, from and to. rename from to file... while on Debian/Ubuntu it uses a perl-style regular expression. rename [ -v ] [ -n ] [ -f ] perlexpr [ ...