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

CentOS 7 httpd failed to make connection with backend

In a CentOS 7 server with apache httpd 2.4 set up as an ssl reverse proxy for tomcat, I am getting an error indicating that httpd is not able to connect with tomcat. How can I resolve this error so ...
3
votes
0answers
189 views

Traffic getting routed through Apache

For some reason, certain outgoing traffic on my server gets routed to the Apache webserver I am running. this problem just started happening. I have the webserver set up to use vhosts, the webserver ...
2
votes
1answer
13k views

Apache throws 403 Forbidden after moving DocumentRoot (CentOS 6.4)

I installed Apache via yum on CentOS 6.4. I changed the DocumentRoot in /etc/httpd/conf/httpd.conf to point to /home/djc/www: DocumentRoot "/home/djc/www" <Directory "/home/djc/www"> ...
2
votes
6answers
5k views

Does LAMP Stack have a GUI?

I just bought a VPS server with LAMP. I have SSH access, however no clue how to use LAMP. I used to work with cPanel in the past. So far, when I type the server address I get the default "Apache 2 ...
0
votes
1answer
24 views

virtualhost problem with apache

I'm setting up a server with centos 7 and I have already installed Apache and php. I have tried to set-up a virtual-host to avoid "localhost/xxx.xxx", but now I cannot access to local-host any more. ...
1
vote
1answer
39 views

How to avoid the difference in options that were used for creation of ext4 partitions on different Linux distro?

I have some set of scripts that create qcow2 file with grub legacy (0.97) with special patch to boot from ext4 and ext4 file system for '/'. When I run those scripts on Ubuntu 12.04/14.04 the VMs ...
0
votes
1answer
883 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-...
0
votes
4answers
16k views

HTTPd shows PHP code instead of executing it

My setup: # grep php /etc/httpd/conf/httpd.conf LoadModule php5_module modules/libphp5.so AddType x-httpd-php .php AddHandler php5-script .php # grep PHP /etc/httpd/conf/httpd.conf PHPIniDir /etc/...
0
votes
4answers
4k views

httpd error: Address already in use: AH00072

I have a server, CentOs 6.5 which were installed xampp by a friend of mine. But I thought it's best to install apache, php and mysql from yum. I have it removed simply by using this #rm -rf /opt/...
0
votes
1answer
34 views

How to send a ghost email message?

When I was running tcpdump and watching output on my new created VPS (OS:CentOS 7.1) via SSH, a message appears suddenly: OPTIONS sip:100@My_VPS_IP SIP/2.0 Via: SIP/2.0/UDP 69.64.57.15:5596;branch=...
1
vote
0answers
46 views

Centos 6.6 box with single wordpress site - out of memory: kill process httpd repeatedly

So I have a Centos 6.6 box running as a LAMP stack. PHP 5.3.3 | Apache 2.2.15 | MySQL Server 5.1.73 This box is a VM running on XenServer 6.5, It has 4Gb memory available. total ...
0
votes
1answer
981 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 ...
1
vote
2answers
78 views

installing google-chrome gives me error

When I run the following command sudo yum install -y ruby ruby-devel gcc xorg-x11-server-Xvfb google-chrome-stable on a centos 6 server I get the following error: Package: google-chrome-stable-...
3
votes
2answers
9k 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 ...
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
0answers
944 views

CentOS 7: Can't connect wifi using wpa_supplicant

I recently got a new wireless card, specifically Intel Dual Band Wireless-AC 7260 WiFi Bluetooth Half Mini Card. Previously I had been connecting with ethernet so this machine has never been on the ...
3
votes
1answer
41 views

Create a bootable clone in Linux

I have a working Linux system (Centos 6.7) which I would like to clone to a bootable hard disk. The hard disk is also internal. The purpose of the clone is for disaster recover as well as to allow me ...
2
votes
1answer
47 views

Unprivileged ping6 not working

I am trying to get my CentOS v7 server to run IPv6. Root works, it can ping using "ping6 ipv6.google.com", and ifconfig looks great; I see the lines: eth0: flags=4163<UP,BROADCAST,RUNNING,...
1
vote
1answer
1k 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 ...
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 ...
1
vote
0answers
39 views

Total memory decreased when increasing swap file?

I am running a low-end server with about 1GB RAM and I was trying to optimize my ram. But after increasing my swap file and emptying the buffers, my total ram, judging from free -m, have lowered from ...
0
votes
0answers
33 views

Very slow RMI+SSL requests after added SSL certificate

I added a SSL certificate to a RMI based application, and it's working normally on test server, so after deploy it at production servers, all requests are waiting for SSL handshake, even local ...
1
vote
1answer
37 views

Search files in a certain period and copy them into another directory

The problem is that I have a directory containing many files with extensions .xml, .txt and .p7m from year 2015 up today. I must create a script that searches into the directory 1 all files created ...
0
votes
0answers
94 views

How to disable the Intel graphics driver on CentOS 7?

I have installed CentOS 7 recently, I found that my GUI is always laggy, specially when playing videos or GIFs. have tried multiple video players and web browsers and they all have the same results ...
1
vote
2answers
39 views

what should I write on server.conf when try create VPN on CentOS 7?

I use CentOS 7 . I want to create VPN server on my machine. I am following perfect VPN tutorial until I get to this part, editing /etc/openvpn/server.conf: local x.x.x.x port 1194 proto udp dev tun ...
0
votes
1answer
36 views

Install Apache and PHP on Centos without package manager (yum, rpm…) [closed]

Can anyone explain how to Install Apache and PHP on Centos without package manager? i've only found this documentation in my searches: http://php.net/manual/fr/install.unix.apache.php
17
votes
2answers
60k 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 ...
0
votes
1answer
933 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, ...
3
votes
2answers
72 views

How to detect / prevent systemd network startup failures

Using Centos 7 (most recent updates), on a remote firewall machine that is 200 miles away, I have occasional difficulty on reboot with the network stack not properly starting up. The box has 3 ...
2
votes
3answers
2k views

Does /var/log/secure log successes?

Short one that I've been unable to find a decent answer for. Centos 5.10 server, trying to trawl through all the logs I can to see what IPs successfully accessed the server. I've been mucking about ...
11
votes
6answers
46k views

Kipmi0 eating up to 99.8% cpu on centos 6.4

We have CentOS 6.4 and the kipmi0 is showing as 99.8%cpu and 0.0% memory and load average is 1.00. What should we do to rectify on this?
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 git-...
2
votes
1answer
825 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 ...
0
votes
0answers
27 views

Padre (perl IDE) package not found under Centos7

I wanted to install Padre the Perl IDE under CentOS7. I followed the Fedora page on the Padre wiki : http://padre.perlide.org/download/fedora.html It just says install is done through: # yum ...
1
vote
1answer
37 views

Nmtui as non-root user Centos 7.1

Trying to run nmtui as a non-root user to edit network connections. As it stands I get a Unable to save connection: Insufficient privileges error. I've tried setting the USERCTL=no to USERCTL=yes ...
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 ...
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, ...
2
votes
2answers
2k views

LVM volume is inactive after reboot of CentOS

It seems there are many people with similar problems, yet I've found nothing that could help me. I ask here in hopes that someone might have a good idea. I've reinstalled a Linux server from CentOS 6 ...
0
votes
2answers
665 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 ...
1
vote
2answers
157 views

rsync --delete did not remove file in destination while with ssh

On my RHEL6 pair of servers, I tested the rsync from server-1 to Server-2 with SSH. Everything was good as expected. However, when I moved a file under A directory, A/x.file to B/ of /home/user on ...
0
votes
3answers
124 views

Disable root login in CentOS 7.2.1511

Allegedly, if you are logged in as non-root and write sudo passwd -d root, root login will be disabled, meaning that you have to log in as another user and use su to switch to root (or just stick with ...
1
vote
1answer
45 views

How to fix SSH into CentOS 7? [closed]

I use Windows 10. And I have a CentOS 7 VirtualBox machine. I want to use putty login into CentOS use ssh, but the trouble is like this: I have changed my machine network to bridge adapter. This ...
2
votes
0answers
6k views

Ping command results in packet loss

Whenever I ping on my personal computer, nothing gets displayed other than a single statement. Upon stopping execution, I see that several packets were transmitted in the statistics. On top of all ...
0
votes
0answers
14 views

Unable to run LVM on CentOS 6 via VNC Viewer

Need to run Logical Volume Manager on my CentOS 6 vm using VNC Viewer but when I double click on it, nothing happens. What I did is to go to System > Administrator > Logical Volume Manager Am I ...
1
vote
1answer
796 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 ...
0
votes
1answer
978 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 ...
0
votes
0answers
50 views

CentOS 7.2 Minimal Time synchronization timedated and/or ntpd/chrony

Environment: KVM CentOS 7.2 Minimal installation. I am trying to sync the time with an NTP server in my network. My Proxmox-Host (Debian based) is able to do this by enabling systemd-...
3
votes
1answer
6k views

CentOS 6.5 Login Screen GDM Issues

I have a few issues with the GDM login screen. I am using CentOS 6.5 and installed GNOME. I was able to change the background of the login screen by replacing the default.png image on the system. ...
0
votes
1answer
47 views

Can I build centos 7 (el7) rpm package on centos 6 (el6) server?

There are some documents teaching me on how to build rpm by myself in centos with rpm-build or mock. I am fine to build them for el6 rpm package. My question is, can I build a rpm package for centos ...
1
vote
1answer
16 views

App Repo vs Package Repo?

What is the difference between an "app repository" like EPEL / RPMForge / etc and a "package repo" like PkgDB? Can I point yum / df to pkgDB so it can figure out where to download stuff from without ...