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
0answers
42 views

permission denied, cannot list files within a folder

I have a folder like: drwx--xrwx 9 user group 4096 May 1 11:17 160429_ST-E00110_0195_AHMFVNCCXX However my user other can't do ls: -bash-4.1$ ls 160429_ST-E00110_0195_AHMFVNCCXX ls: cannot open ...
0
votes
1answer
28 views

AIX lquerypv equivalent in Linux (RHEL/Cent OS)

In AIX we can view raw data of hdisk by issuing following comamand lquerypv -h /dev/hdisk0 This displays data in hexa decimal format. More of like hex editor. What is the equivalent command in ...
2
votes
1answer
514 views

can not install mysql-server on centos 6.7 32bit . Error: need rpm?

when I try to install mysql-server on centos with this command: yum install mysql-server server replies: Loaded plugins: fastestmirror, security Setting up Install Process Loading mirror speeds ...
1
vote
1answer
26 views

SSLSNIFF on CentOS 7

I tried to install sslsniff 0.8 on CentOS 7 but I can't install the following dependencies since they can't be found when I execute the "yum" command: libboost1.35-dev, libboost-filesystem1.35-dev, ...
0
votes
0answers
21 views

Can't login after changing username in Webmin

After installing Webmin on my CentOS machine, I changed the root user to root2 using the Webmin interface (Users and Groups module). Now I can't login to Webmin either as root or as root2. How can I ...
1
vote
0answers
25 views

Where is my 7za data being written to

I have a weird question about 7za on Centos 7. I am adding a file to a 7za archive using the following command (the total size of the directory is around 40GB) /usr/bin/7za a -ppassword -t7z -mmt=off ...
0
votes
1answer
54 views

Trouble Creating Virtual_IP for PaceMaker + Corosync - CentOS 7

Ok so I have gotten fairly far into the configuration successfully, the two nodes have authenticated each other and all is well, but when I try to add the virtual_ip it never starts. What i've used ...
1
vote
2answers
80 views

CentOS 7: Strange directories appearing in /

On my CentOS 7 (64 bit) machine some strange directories are appearing in the root directory / I can't work out what's causing it, if I delete them they slowly start to reappear. Here is a sample: ...
1
vote
0answers
163 views

can't save docker image: Error response from daemon: chtimes: invalid argument

i can't save my docker images, when i try to save a container, it fails: Error response from daemon: chtimes /var/lib/docker/tmp/docker-export-616188241/...
2
votes
0answers
68 views

How do I get Consul to work so I can get Docker Overlay to work?

I am running CentOS 7 with Docker. I am trying to install Consul on the Docker server. Consul is unzipped. The binary file works for showing the version. I ran this: echo $CONSUL_RPC_ADDR This ...
1
vote
0answers
21 views

UUID of LUKS changes when cloned

I am trying to install Centos 7 (under LUKS) on a virtual machine in Fedora 23 using virt-manager and after that to clone that image to multiple USB drives. The problem is that the virtual machine ...
3
votes
4answers
157 views

I cannot get a CentOS 7 iso (on a hard drive) to boot from GRUB2

I cannot get a CentOS 7 ISO (on a hard drive) to boot from GRUB2 that is installed on the hard drive. I have tried the following steps based on this article My requirement is to boot a CentOS ISO ...
-6
votes
1answer
34 views

How to find the top 5 process in the CentOS server? [closed]

If anybody is asking about to check the top 5 process in the CentOS server
0
votes
1answer
78 views

How do I get s3cmd to install on CentOS 7.2?

Following the instructions from the link below don't work as expected since they are for CentOS 6.6 and I'm running 7.2. In the past I've installed s3cmd via yum and it works just fine. Now, however, ...
1
vote
0answers
23 views

Trying to build icecc icemon, cmake can't find Qt5

I'm running Centos 7 and I want Icemon for icecc. If there is a package I can install, great, but I don't know of one, so I'm attempting to build it from scratch and that relies on cmake. My missing ...
0
votes
2answers
22 views

ping gateway but not domain

I can ping gateway its ok but when I try ping google.com response is; "unknown host google.com" network-scripts/ifcfg-ens0p3 file content: TYPE="Ethernet" BOOTPROTO="static" IPADDR="192.168.0.14" ...
0
votes
1answer
86 views

Iptable rules for squid on centos 7

I have two interfaces in my proxy server eth0 and eth1. where eth0 connects to local (private) network wile eth1 connects to internet.My squid version is 3.3.8 and centos 7 is my OS. I have to ...
1
vote
1answer
83 views

DNS problem > If I disable recursion, I can't ping my result

I have configured dns server, and if i enable recursion, I can ping and got the result. [root@seobd ec2-user]# nslookup google.com Server: 52.10.197.195 Address: 52.10.197.195#53 Non-...
0
votes
2answers
99 views

Not Able to run telnet service on CentOS machine

When I try to run the telnet service on CentOS Linux release 7.2.1511 it throws the following error: service telnet restart Redirecting to /bin/systemctl restart telnet.service Failed to restart ...
0
votes
1answer
24 views

Find all file details in a `Logical Volume`

I'm using lvs and vgroot-lvroot (mounted on /) is getting full. I wonder which files are located on vgroot-lvroot, so I can delete some to free vgroot-lvroot. I tried to use du, but found sum of the ...
1
vote
1answer
27 views

CentOS - change the password of GPG file by bash script

I am looking for a bash script which input is the old and the new password for changing password of a *.gpg file. I encrypted a txt file with command gpg -c. System create a file.txt.gpg. How can I ...
1
vote
1answer
73 views

Centos7 with Windows 8 dualboot problems

I installed CentOS7 instead of Ubuntu. I also had Windows 8 installed. After instal CentOS7 I'm unable to run windows. My laptop: ASUS R510J Boot script: Boot Info Script 0.61 ...
0
votes
3answers
57 views

centos minimal installation static ip address

I install centos-7 Minimal. Here is the capture of my ifcfg-enp0s3 file.. I edited from the online document that says it works, but in my case not. and I almost gonna cry :( didnt forget restarting ...
2
votes
1answer
28 views

Bash shell script program that prompts for and reads two integers from the user.

Okay, so I been trying to figure this problem for a while and I'm coming up with errors left and right. This is my first time trying to learn the basics. So any advice would be helpful! Problem: I'm ...
0
votes
0answers
22 views

stop dm-cache from caching temporarily

I am want to benchmark my system(Centos) IOPS with dm-cache and without dm-cache.I have taken benchmark result for my system dm-cache .Now I want dm-cache to stop temporary so that I can take ...
0
votes
4answers
61 views

Should we let Python pip overwrite modules that were installed by RPM?

Python pip and many Python modules are provided through the CentOS Linux repos. On CentOS 7.x Linux, I can install pip and pymongo with the standard distribution package manager (yum install python-...
1
vote
2answers
418 views

boot problem in linux

I have unfortunately format drive /dev/sda2. So all the /root,/home,swap LVM no longer exists. Because of this my server is unable to work properly. it shows only dracut#>Dracut Error: [ OK ...
0
votes
0answers
17 views

ssh warning banner on centos 6.7

I am using the kick start installation for my centos 6.7. After installation, the output of mount command looks like below: proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/...
1
vote
0answers
31 views

prelink - weird massive modification after installing zabbix-agent

I thought I knew something about prelink, but I ran into weirdest issue yesterday. I know I shouldn't use prelink, but I've noticed it is enabled on one of CentOS 6 systems under my administration ...
2
votes
1answer
81 views

clang-tidy install

I have clang installed from packages on both Ubuntu 14.07, Centos 7 and Fedoara 22. I would like to use clang-tidy but can neither find a package nor how to install it without installing clang from ...
0
votes
2answers
80 views

Centos 7 and Windows 10 Dual Boot Grub Not Saving Last Choice

I have a dual boot system with CentOS 7 and Win10. My install was totally vanilla (CentOS then Win10) and went fine. Everything is great except that grub does not appear to save my "last" choice ...
0
votes
1answer
102 views

network.service Failed to start LSB: Bring up/down networking - Centos 7

I am experiencing an issue on Centos7 when attempting to start the network service. I receive the below error message. Failed to start LSB: Bring up/down networking The issue arised when I realised ...
0
votes
1answer
53 views

CentOS: Fatal error: Call to undefined function exif_imagetype()

On CentOS 7.1, I am greeted with the following error: Fatal error: Call to undefined function exif_imagetype() in /some/path/to/a/php.file.php on line XXX I can enable this in /usr/local/lib/php....
0
votes
2answers
76 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
146 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
14 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
72 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
87 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
32 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
34 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 ...
-5
votes
1answer
53 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
32 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
39 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
387 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 -I{}...
1
vote
1answer
25 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
30 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: http://www.dgoradia.com/...
0
votes
1answer
53 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
61 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 https://access.redhat.com/documentation/en-US/...
0
votes
0answers
31 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 ...