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)

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

Unable to install yum on cpanel server

I recently signed up on godaddy and have a user account on cpanel I can successfully use ssh to login to my server this is my operating system details when i use uname -a Linux a2plcpnl0360.prod....
0
votes
1answer
24 views

prompt for network setup during kickstart installation centos7

I am trying to set the ip manually during kickstart installation using centos 7. During the installation it has to prompt for the network setup. I tried using the below configuration : network --...
2
votes
0answers
31 views

CentOS 7 - Can't mount /var/tmp as bind

I'm working on a freshly installed CentOS7 with LVM. I want to bind mount /var/tmp to /tmp and added the following to /etc/fstab. /tmp /var/tmp none rw,nodev,noexec,nosuid,bind 0 0 ...
0
votes
1answer
955 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 node-...
1
vote
1answer
25 views

CentOS not starting after environment change

I created a CentOS machine using a Cloudera training vm with the help of VirtualBox. Then, because I want to use spark on the virtual machine, I installed the java 1.8 version following the exact ...
1
vote
1answer
2k views

CentOS custom ISO installation - /dev/root does not exist

I am building a custom ISO for CentOS 7 and for now I am just intending for this to be an absolute minimal install (a proof of concept basically). I am re-creating the ISO via using mkisofs. The ...
0
votes
1answer
822 views

Network goes down when LAN cable plugged in

As per subject, I have a Zimbra mail server on Centos 5.5. and the problem is there that when I plug the LAN cable in to the server port all Internet and network services go down. This means the ...
1
vote
1answer
49 views

/dev/root on CentOS7 is almost full?

i have used Linux for a number of years but usually on Ubuntu and haven't ever had this issue before. The other day all of our web sites on the NGINX VHosts stopped responding and after snooping ...
3
votes
2answers
871 views

PHP app crashes: child pid exits with Illegal instruction (4)

I have a CentOS 6 server with Apache and PHP. I run some application and can constantly reproduce this crash. After some sequential action the app dies and the only trace I found is the following ...
0
votes
2answers
229 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 is " timeout " supposed to be and how do I change its value ...
1
vote
2answers
59 views

Why my web browser always downloads the .php page rather than show it?

I installed a CentOS7 system in VMware Workstation. The host machine's OS is Win7; I compiled and installed apache2 (httpd) and MySQL in CentOS, and they both work well, I mean I can visit the index....
0
votes
1answer
37 views

Where to find SSL private key on a CentOS server

I am running a server on CentOS, and I would like to decrypt and view the SSL traffic. However, I cannot locate any of the keys necessary to do this. My /etc/pki/CA/private folder is empty, and my /...
7
votes
1answer
11k views

AH00534: httpd: Configuration error: No MPM loaded

I have a CentOS Linux release 7.1.1503 (Core) system and I have installed httpd and the corresponding configuration file is : # # This is the main rConfig Apache server configuration file. It ...
56
votes
2answers
276k views

How to install Desktop Environments on CentOS 7?

I have recently installed CentOS 7 (Minimal Install without GUI) and now I want to install a GUI environment in it. How can I install Desktop Environments on previously installed CentOS7 without ...
0
votes
3answers
3k views

Apache won't restart after configuring Virtual Hosts

I am trying to make a web server, but after adding the virtual hosts config, apache won't restart. It had several errors but I've managed to fix most of them. Now I don't know what is happening ...
0
votes
1answer
1k views

Copy& Paste Fedora and Virtualbox CentOS7

I want copy text from Fedora 21 and paste to Virtual box with CentOS 7 how can I do that?? I change in Virtual box settings Shared Clipboard and Drag'n'Drop to bidirectional Thanks for help, ...
2
votes
1answer
910 views

mdadm: /dev/md0 assembled from 3 drives - not enough to start the array

I had a drive in my raid5 fail a while back. I believe the problem was due to a power failure at the time, but originally thought it might be the hard drive controllers on the motherboard. (this is ...
1
vote
3answers
32 views

Online Linux Server [closed]

I'm wondering if there is any online Linux VM solutions available for purchase/subscription with a public IP? I'd like to pay a monthly/yearly fee for root access to an IP address of a Linux (CentOS) ...
2
votes
0answers
36 views

Redhat and Centos servers glibc errors

Please forgive if I am not wording this correctly and my current lack of information, but I am losing my mind trying to figure this out and I am not currently behind the servers in question. I have ...
-1
votes
0answers
32 views

Access tomcat server on a virtual machine

I'm having this problem, I think it's a very basic problem, many things sound similar, but still I couldn't find the answer: My laptop has windows 10, I install VM Ware and created a virtual machine, ...
0
votes
0answers
26 views

USB network card dongle on CentOS 7(.2)

I've just started using a USB-to-gigabit-nic dongle on my CentOS 7.2 machine and it's giving me a headache. To get the NIC registered I constantly have to remove and re-insert the USB after each ...
0
votes
0answers
50 views

Why my CentOS7 system can't resolve domain names any more?

Yesterday , I disabled NetworkManager on my CentOS7, to get static IP when it starts. Today , I found that I can't ping to websites any more ,because it shows unknown host www.xxxx.com to any www.xxxx....
0
votes
1answer
1k views

Installing oci8 php extension

On a CentOS 7 server, I have installed PHP from remi repository. I need to connect to Oracle 9.2 on a remote machine. Installing oci8 via yum install oci8 results OCI8 Version 2.1.0 which is not ...
0
votes
0answers
14 views

Booting CentOS 7 with classic grub

I'm trying to setup a new virtual server with a web host whose hypervisor platform doesn't support the use of Grub 2. So I need to setup classic Grub to boot my CentOS 7 VM. Is this possible? I've ...
1
vote
2answers
84 views

Script to determine if a TAP interface created by a service is up

My system has a SoftEther VPN service that creates it's own TAP interface when it starts and removes it when it's stops. But even with DHCP running on the VPN, the TAP doesn't configure it's own IP ...
-1
votes
1answer
55 views

Restarting a service on a time interval

How can I set the CentOS to restart a service on a time interval?
0
votes
0answers
14 views

package-cleanup --oldkernels won't clean out an old 3.x kernel with 4.x kernel installed

I think package-cleanup is getting confused and thinks only 1 kernel is installed. Centos 7.2 I had a single 3.x kernel installed. I then installed kernel 4.x using rpm -Uvh http://www.elrepo.org/...
0
votes
2answers
52 views

Why can't I configure a static IP on my CentOS7 system?

my /etc/sysconfig/network-scripts/ifcfg-eth0 is like this: And I have issued the command "systemctl restart network". But when I issued "ifconfig", it shows that the ip on eth0 is 192.168.1.117,but ...
-5
votes
1answer
35 views

Why Centos RPM can not be done by the root user

In CentOS wiki says that can not be done rpm-packages under the root user, because it may damage the system. Why? I do not understand what exactly it can do harm. The documentation RPM nothing found. ...
18
votes
2answers
63k views

Nslookup: command not found error on RHEL/CentOS 7

During linux installation I selected "minimal" option: When I went to run the nslookup command to look up an IP address I got the error message nslookup: command not found as shown in the example ...
2
votes
1answer
844 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 ...
4
votes
1answer
2k views

Samba 4 has high CPU usage when accessing mapped drive through Windows

I have noticed that when I access my Samba share from Windows, the smbd daemon will always use aprox 10-20% CPU - no matter if the share is used or not from Windows. Even if I close the share/window, ...
6
votes
2answers
33k views

What is the default idle timeout for OpenSSH?

I can't seem to find an answer to this simple question, which I need for some compliance documentation. On a default install of CentOS 6.5 (OpenSSH 5.3p1-94.el6), after how long of being idle will ...
0
votes
0answers
10 views

Gluster write much slower than re-write

I'm doing a benchmark on a gluster. I found the write is almost half of re-write. Using iostat, I found the 'brick' machines have slower write when it is writing the file first time. I assume this is ...
0
votes
0answers
35 views

i915 error when installing CentOS 7 on my notebook - what's wrong?

I'm trying to reinstall CentOS 7 on my notebook. The iso has been mounted on a pen drive with uNetbootin and, regardless of being the Minimal or DVD version, I get the following errors: [drm:...
0
votes
1answer
286 views

IPA server configuration: Cannot use IP network address

I am stuck with an error while configuring IdM server for my environment. I got this weird error invalid ip address 192.168.1.77 for server.example.com: cannot use ip network address The error came ...
1
vote
1answer
1k views

Installing Octave Dependencies on CentOS 6 using yum

I am trying to install Octave 4.0.0 (from source) locally in my home directory on a CentOS 6 cluster. This is a rather extensive install (see list of dependencies). I have several issues : From ...
1
vote
1answer
23 views

set expiry date for an account in the future has problem

The output of passwd -S command shows a date which is quite confusing. Please see the following commands root@cluster:~# passwd -S 9240305 9240305 LK 1970-01-01 0 99999 7 -1 (Password locked.) root@...
0
votes
1answer
41 views

CentOS web server move hdd to another computer [duplicate]

I have an web server with CentOS 6.7 installed. Now I aqquired a new computer and want to make it to run the web server but it is hard to fresh install and copy all the content (hundreds of websites). ...
6
votes
6answers
8k views

Slow start of Midnight Commander on CentOS

Is there any way to prevent mc from taking 10-30 seconds to open? Never seen this with Debian.
0
votes
1answer
79 views

Not getting a static IP for CentOS 7 [duplicate]

I'm not sure what I am missing to have my static IP?? Here are my network configuration files: /etc/hosts: 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 ...
2
votes
1answer
124 views

CentOS 7 unable to cleanly umount a bind mount using rbind and rslave

The following sequence of commands will fail on CentOS 7 (kernel version: 3.10.0-327.10.1.el7.x86_64): [hidden]$ mkdir -p A B/a C/b [hidden]$ sudo mount --bind A B/a [hidden]$ sudo mount --rbind B C/...
12
votes
3answers
25k views

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

I recently installed CentOS 7 on a machine that has been running Windows 7. I did a dual boot installation and installed CentOS in a partition. But when I boot up my machine, it only gives me two ...
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 ...
1
vote
2answers
851 views

Need to install VirtualBox Guest Additions 4.3.8 in CentOS 6.3

My host system is OSX 10.9.2 and I'm running VirtualBox 4.3.8. In a Hadoop class I took recently, we were provided with a VM disk image preloaded with CentOS 6.3 and a lot of Hadoop-related ...
1
vote
2answers
40 views

Unable to completely remove installed package with yum remove [closed]

I removed a package on Centos 6 with yum remove, but if I run the command yum list installed | less it's shown as installed and my problem is that it conflicts with a newer version I'm trying ...
1
vote
1answer
818 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
38 views

How to use the setarch uname command in a shell script

I am trying to create a korn shell script in RHEL7 to silently install an agent at my job. However the agent requires an old version of the agent be installed before being upgraded to the new version ...