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)

2
votes
1answer
36 views

How can I install a local RPM using only the local dependency RPM files?

In my CentOS machine (VirtualBox VM, altough I assume this shouldn't matter), I have a directory including an RPM file and all of its dependency RPM files. I want to install the RPM along with all of ...
1
vote
0answers
43 views

YUM: updating repo's GPG key

Haven't found the answer for this in docs: how often Yum refreshes the GPG key of a repo, if it was obtained from the net? For instance, I've got this repo config: [myrepo] name=myrepo ...
1
vote
1answer
25 views

CentOS 6 in VMWare fusion: Unexpected MAC address change

I installed CentOS 6.X with VMWare Fusion. It looks like the mac address and nic names changes randomly. eth8 and eth9, totally weird. Anyone know why? P.S VMWare pops a dialog asks me if I ...
0
votes
1answer
23 views

Adding 2 HDDs as mirroning on existing OS (centos)

I have a NAS with 2 x 1TB HDDs and I added two new HDD-s: Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes ...
1
vote
3answers
52 views

log connection attempts from an IP blocked by iptables

I blocked an abusive IP from a CentOS server using iptables, dropping all connection attempts on all services / ports. As is the way of things, the server with this IP may have been part of a botnet, ...
0
votes
0answers
15 views

tshark : ***MEMORY-ERROR***: [6265]: GSlice: assertion failed: sinfo->n_allocated > 0

i have wireshark-1.10.14-7.el7.x86_64 installed when i run tshark i get the error after about 15 to 20 seconds.It works only for few seconds and throws error There is a red hat Bug 1176967 but to see ...
-2
votes
2answers
38 views

Why does running a Cron Job as root stop the sshd service and disallows login for other users?

I have a script for getting Clamav updates from another server which I run as a Cron job as root. Also, I have root login disabled for /sbin/nologin. But this has serious implications on the system as ...
0
votes
1answer
19 views

Server Upgrade from CENT OS 4 to 6

I will be updating my server since CENTOS 4.x is not supported long time ago. I really don't have any idea how to proceed and I have been searching how, but I can not understand since It is ...
4
votes
1answer
44 views

Unable to get sudo lecture working on CentOS 7 server

I'm trying to enable the sudo lecture every time someone executes sudo, but I can't seem to get it working at all. I found a similar question here, in which someone states that if you don't see any ...
0
votes
1answer
32 views

NS-3.25 PyViz visualizer install on CentOS 6.5

I'm installing Network Simulator 3.25 on a CentOS 6.5 machine. In my environment I cannot use any repository, every single packet have to be downloaded from a machine and then transferred to the ...
1
vote
2answers
76 views

yum install always fails with the error in CentOS 7

404 Errors: [Errno -1] Metadata file does not match checksum Trying other mirror. [Errno 14] HTTP Error 403 - Forbidden I tried: rm -fr /var/cache/yum/* yum clean all yum clean all && yum ...
3
votes
1answer
58 views

How to identify & kill runaway processes that runs, exits, then runs again?

Question How can I identify a program caught in an endless loop; where it runs, dies, then runs again? How can I kill it and prevent it from starting again - is reinstalling the package the only way? ...
-1
votes
0answers
31 views

how can I install centos 7 inside RHEL5

I am badly in need to install one software torch 7 in a GPU hardware node. This GPU node is running licensed RHEL5 version. Unfortunately torch 7 software doesn't support any RHEL version(I feel). It ...
2
votes
1answer
26 views

CentOS requires root pw for network pref changes

Why does CentOS require root privileges to configure the preference panels? It seems like sudoer access really should be sufficient for this. Is it possible to change this?
0
votes
2answers
63 views

Why did sudo not work in CentOS? [duplicate]

I am using Centos and want to use sudo command to run as root. But after input the root password, it always prompt to ask me input the password again. I am pretty sure the password is correct since I ...
1
vote
0answers
32 views

Can't get usb ethernet adapter running under CentOS 6 minimal

I have a cheap usb adapter and using it on a minmal CentOS 6.7 box, when I plug in the adapter it's recognized as usb device but not as ethernet adapter, although I've loaded these kernel modules: ...
0
votes
1answer
49 views

rsyslog not forwarding messages to remote rsyslog server

I'm debugging a strange issue with a logging SaaS solution. We appear to be duplicating logs sent to the SaaS. Logs are sent via an rsyslog forwarder over TLS. I'm trying to see if I can reproduce the ...
0
votes
1answer
32 views

Centos VMWare backup emergency mode password reset

I have recently backed up my remote virtual machine and downloaded the data into my local. I did the setup on my local with VMware workstation and tried starting the server. I realized I missed ...
0
votes
0answers
38 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
20 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
295 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
19 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
19 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
37 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
75 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
82 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 ...
2
votes
0answers
47 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 ...
0
votes
0answers
14 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
120 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
29 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
47 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
20 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
20 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
61 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
54 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 ...
0
votes
2answers
77 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
23 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
66 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
50 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
18 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
49 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 ...
1
vote
2answers
159 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
12 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 ...
1
vote
0answers
26 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 ...
1
vote
0answers
47 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
68 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
71 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 ...