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
2answers
1k views

rpm temp file question (rpm-tmp)

When installing an RPM on CentOS, I receive the following error message: /var/tmp/rpm-tmp.44492: line 578: [: too many arguments The trouble I'm having is that /var/tmp/rpm-tmp.xxxxx file is always ...
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, ...
2
votes
2answers
2k views

Unable to install dahdi - /usr/bin/install: cannot stat ‘’: No such file or directory

I am trying to install dahdi in my centos 7 system using this link but having some errors [root@localhost ~]# cd /usr/src/dahdi-linux-complete* [root@localhost dahdi-linux-complete-2.11.0+2.11.0]# ...
0
votes
0answers
13 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 ...
1
vote
2answers
70 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
3answers
2k views

tomcat 8 will not start after initial install

I am trying to install tomcat on a new CentOS 7 virtual machine. I successfully installed apache httpd, and am able to get the apache test page when I type the ip of the virtual machine into a web ...
0
votes
1answer
28 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 ...
3
votes
4answers
108 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 ...
-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
1k views

Adding a second hard disk CentOS

I'm running CentOS on my VMware server console, and I want to know how to make a second virtual hard disk on which I can expand the size of the primary logical volume AND and a third to hold two ...
1
vote
0answers
338 views

Is there a “supported” way in RHEL/CentOS 7 to union-mount a directory tree on top of an NFS mount point?

I have an NFS share containing almost 500 chrooted (s)ftp user's home directories. This NFS share is mounted on several FTP servers forming a highly available FTP cluster. I would like to enable ...
1
vote
0answers
395 views

Centos 7 Mail log?

Previously I was using tail -f /var/log/maillog on Centos 6 When trying tail -f /var/log/maillog in CentOS 7 it says: cannot open ‘/var/log/maillog’ for reading: No such file or directory tail: no ...
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 ...
0
votes
1answer
821 views

How to install bower on CentOS 7?

I am trying to install bower on CentOS 7, after installing node.js. To install node.js I followed these steps: Step1: wget http://nodejs.org/dist/v0.10.30/node-v0.10.30.tar.gz Step2: tar xzvf ...
1
vote
1answer
522 views

mv deleted my directory. Why?

I was trying to correct the spelling on a directory, issued a mv command, and the directory is now gone. I'd like to understand--specifically--what happened. Here's the command I ran: mv ...
4
votes
4answers
33k views

Yum update problems on CentOS 6.5 minimal as VMware guest

INFO: I am using Windows 7 Pro (64bit) with VMware Workstation version 10.0.1 . I am using CentOS(64bit) 6.5 minimal, for the first time. I am running this from my workplace network, which may use a ...
6
votes
1answer
13k views

What audit log files are created in linux to track a users activities?

One of the machines on our networks was consuming a large amount of Internet bandwidth. However no user was using the system. When I connected to the server using SSH and ran who it showed that a ...
3
votes
1answer
55 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 ...
1
vote
2answers
1k views

gcc installation on CentOS 6.6: configure issue

I'm trying to build/install gcc on CentOS6.6, following this instructions: http://qt-project.org/wiki/How-to-Install-Qt-5-and-Qwt-on-CentOS-6 After the auto-config err'ed out: [felix@localhost ...
0
votes
1answer
4k views

Why am I denied access to phpmyadmin?

Here is what my phpmyadmin.conf file looks like: # # Web application to manage MySQL # <Directory "/usr/share/phpmyadmin"> Order Deny,Allow Allow from 192.168.0.2 Allow from ...
0
votes
1answer
31 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 ...
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
1answer
41 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, ...
0
votes
3answers
48 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 ...
5
votes
1answer
3k views

How to create a git repo using Nginx?

I've a CentOS 5 server at domain.fr. I am trying to set a subdomain so that I can use it with git : git.domain.fr My repositories are in /home/git (example /home/git/repos.git) I've installed ...
1
vote
0answers
29 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
2answers
59 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
2answers
1k views

install opencv-2.4-9 on centos 6.5 with cuda 5.5 support

I can't seem to install opencv 2.4.9 on centos 6.5 with cuda 5.5 support. This is my cmake output: [root@cadejos-0 opencv]# cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/opt/opencv -D ...
3
votes
2answers
615 views

Error after installing dnf on CentOS 7

Installed dnf according to these instructions: yum install epel-release -y yum install dnf after that dnf --version works fine but dnf repolist or anything else gives: Extra Packages for ...
0
votes
1answer
41 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 ...
2
votes
2answers
328 views

Cannot update new kernel for CentOS 7 although the server have space enough

I try to update kernel on my CentOS 7 but the yum say there is no space enough on /boot although /boot have 343 MB as show below: Filesystem Size Used Avail Use% Mounted on /dev/sda2 477M 105M 343M ...
0
votes
0answers
37 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 ...
2
votes
3answers
7k views

Cannot start NFS in Centos 7

I can't start an NFS server in CentOS7. The packages downloaded: yum -y install nfs-utils yum -y install nfs-utils-lib Enable/start services systemctl enable/start rpcbind systemctl enable/start ...
0
votes
2answers
67 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
18 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 ...
1
vote
1answer
18 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
1answer
30 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 ...
2
votes
1answer
798 views

CentOS 5 - hdparm - how to set DMA mode

I'm running CentOS 5 with a PATA hard drive. I've used hdparm to tune the hard disk for better performance, but there are 2 settings that don't work: hdparm -M 254 /dev/hda gives the error ...
1
vote
1answer
762 views

Cannot use EPEL repo, get NSS error -5990 (PR_IO_TIMEOUT_ERROR)

I'm using vagrant to start up a centOS 7.0 VM. My provisioner is trying to set up EPEL 7 via yum install epel-release -y and then trying to install ansible via yum install ansible -y It installs ...
1
vote
1answer
2k views

How to start my network in centos7?

I have edited the /etc/sysconfig/network-scripts/ifcfg-enpos2 : BOOTPROTO="static" IPADDR=192.168.1.105 NETMASK=255.255.255.0 NM_CONTROLLED=no I can't surf the web When to reboot,how to start my ...
0
votes
1answer
843 views

Start SSH in CentOS rescue mode

I am booted into rescue mode after inserting the DVD. OS is CentOS 6.7 64 I've tried cd /mnt/sysimage chroot /mnt/sysimage service sshd restart which gave back service command not found. What do ...
1
vote
1answer
975 views

How can I manually reset RX / TX counters in ifconfig output without impacting data delivery?

CentOS 5.9 I'd like to reset the RX/TX counters in ifconfig output for an interface. My understanding is that these counters get reset during a reboot but I'd like to avoid rebooting. Is there ...
2
votes
1answer
1k views

How to manually configure a monitor in CentOS7, attached via KVM?

I have a fresh desktop install of CentOS7 with Gnome 3. I need to use this machine with a KVM but for some reason CentOS7 cannot detect my monitor through the KVM I have, so it defaults to "Unknown ...
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 ...
2
votes
1answer
786 views

Plymouth Boot Splash - Turn off switching to text

I am working on an appliance system based on CentOS 6. I have created a custom boot splash, but I can't find any information on how I would disable the feature to switch to text mode (switching the ...
1
vote
2answers
73 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: ...
0
votes
2answers
490 views

PPTP: Allow remote clients to communicate with each other

I have a PPTP server. Clients log in to the server, but can not ping each other. The clients are at different locations. The problem is with my IPTABLES forward chain .... here is my iptables: ...
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 ...
2
votes
1answer
2k views

Windows 7 boot option missing after installing CentOS 7, how can I get it back?

After installing Centos7, windows 7 is not showing at the boot time. Centos 7 is accessible. My boot folder entries: [root@localhost boot]# ls -ltr total 89176 -rw-------. 1 root root 2840084 Jun ...