CentOS is a free (as in beer and speech) GNU/Linux distribution that is community driven and based on source code released from RedHat.

learn more… | top users | synonyms

3
votes
0answers
108 views

Need to check whether you need to reboot for a kernel update?

I'm using Ansible to check hosts if they need to be rebooted if the /vmlinuz kernel doesn't resolve to uname -r. The if condition is although always identifing a reboot even though the test machine ...
3
votes
0answers
2k views

Unable to discover iSCSI targets

I have a trio of CentOS 6.4 machines that I'm trying to configure to use iSCSI. Basically two different initiators talking to two different targets on a single host server. On one machine, "the ...
3
votes
0answers
3k views

Corosync unicast issue with different nets

I'm using a setup (on our staging-system) with 2 root-servers and 1 fail-over-ip. As software we use corosync and pacemaker. Corosync is configured for multicast communication via port 5405. --> ...
2
votes
0answers
28 views

Apache reverse proxy configuration for multiple domains

I am newbie. I have 1 LAMP CentOS server, which hosts 3 websites with the following Apache httpd.conf configuration: NameVirtualHost *:80 NameVirtualHost *:443 <VirtualHost *:80> ...
2
votes
0answers
40 views

Suexec PHP does not load php.ini

I'm using FastCGI with suEXEC for PHP on CentOS 7. My wrapper script looks as follows: #!/bin/sh PHPRC=/home/ben/etc/ export PHPRC export TMPDIR=/home/ben/tmp/ exec /usr/bin/php-cgi -c ...
2
votes
0answers
41 views

Apache rewrite works under FreeBSD, not under CentOS

I have 5 production servers which are running FreeBSD 9.2, but we are planning on transitioning to CentOS. Because of this, I am attempting to set up some virtual machines to emulate our production ...
2
votes
0answers
53 views

NTP offset warning when no NTP server is defined and NTP not running?

I just want to preface by saying that I am still learning linux and don't have too much experience with it. My job requires me to monitor an alert system for our clients hosts that are running our ...
2
votes
0answers
63 views

Nginx Server break images on web browser after refreshed 3 to 4 times

Hi I am in very confusing state now. I have configured Nginx 1.6 on Centos 6 for serving only Code (js, css, html) pages all other images coming and calls happened through load balancer. My problem ...
2
votes
0answers
595 views

teaming with nmcli: bringing connection down and up again fails

On a centos 7 virtual box, I create a team like this: nmcli connection add type team con-name team0 ifname veteam0 nmcli connection modify team0 team.config roundrobin.conf [root@rhce1 ~]# cat ...
2
votes
0answers
158 views

libvirt / kvm guests take very long time to start after host reboot

Host system is CentOS 6.5 x86_64. I have setup an Ubuntu guest by following this wiki. The guest works, but: if I reboot the host, it takes a very long time (about 30 minutes on the last reboot) ...
2
votes
0answers
586 views

CentOS kickstart automated setup with parted / RAID

I'm trying to use parted to partition my entire drives automatically during the CentOS kickstart install, however, I'm getting two issues with my install. I want to kickstart my installs across ...
2
votes
0answers
85 views

yum-complete-transaction in a crazy loop

I was trying to update a server that I have with yum update and it aborted because the server ran out of memory. I killed off a few processes that were not needed and ran yum-complete-transaction but ...
2
votes
0answers
171 views

How to setup multiple OpenVPN connections on a server for a single localhost app to use on CentOS 6.5?

I have a scenario where I need to run several OpenVPN connections at one time and to allow a singular application to access each of these connections. How wold I go about starting up several ...
2
votes
0answers
125 views

Sendmail on CentOS 6, with SRS

I do some mail forwarding, but I'm also a big fan of SPF; I'm aware that I have a problem. While my mail server was running Centos5, I was using pysrs as a milter, and it worked well - but it hasn't ...
2
votes
0answers
212 views

Centos kickstart script url installation with mirror

I have a ks script to install Centos6.5. Inside my local network I have a snapshot of the base package mirror. I want to used as possible as I can my local package site over extranet like ...
2
votes
0answers
2k views

The OCSP server has no status for the certificate. (Error code: sec_error_ocsp_unknown_cert)

Just set up a website (Apache/Centos) with SSL where the free cert came from startssl. I've used startssl before, and never had any problems. I have no problems accessing the site from IE and ...
2
votes
0answers
826 views

Hypervisor The operation cannot be performed while the object is in it's current state

I attempted to reboot one of my VMs in the Hyper-V Manager. It's a Centos VM and all of my other centos machines are behaving as they should although I can't get this particular one to boot. I'm a ...
2
votes
0answers
2k views

PHP Files being downloaded instead of displayed in browser

I created a VPS using Nginx and I tried to display the php info with: <?php phpinfo(); ?>. Instead, the browser asks me to download the php file, and it's not parsed either. This happens only ...
2
votes
0answers
85 views

TTFB different between 2 identical virtual hosts on same machine

After almost 3 years of finding every answer on either StackOverflow or ServerFault, I'm finally stuck on one. I recently migrated our server from dedicated to VPS, and the problem now is that we have ...
2
votes
0answers
1k views

Can't write to other users “you have write permission turned off”

For some reason I'm not able to write to other users on my system. [root@hostname ~]# write write: you have write permission turned off. [root@hostname ~]# mesg y [root@hostname ~]# mesg is y ...
2
votes
0answers
872 views

Gitlab - Cannot: create new project, list team members, add SSH keys or clone / push

I have just installed Gitlab on my Centos 6.4. At first glance everything seems to be working fine but for some reason, I have the following issues...: Add a new project : (Similar issues when ...
2
votes
0answers
86 views

ICU Latin-ASCII on Centos

Have ICU 4.2 on Centos 5, but need Latin-ASCII translitarator, which came in ICU 4.6. Is there any easy way to add Latin-ASCII without recompiling ICU (no rpm for Centos) and then PHP?
2
votes
0answers
296 views

How to apply tzdata-java update after installing package

Updated the following packages via YUM on the system (CentOS 5 64bit) tzdata-2012j-2.el5 tzdata-java-2012j-2.el5 The system package was applied correctly but the Java does not appear to be working ...
2
votes
0answers
557 views

High load average, low CPU and IO (Centos 5.7)

A Drupal 7 site with CiviCRM, after running smoothly for a year on a 1&1 VPS suddenly became unresponsive. Now pages eventually load, but can take more than a minute. Looking at resource use in ...
2
votes
0answers
874 views

TRIM on OCZ RevoDrive 3 on CentOS

I've got an OCZ RevoDrive 3 mounted as / on my CentOS 6.3 box running kernel 2.6.32-220.17.1.el6.x86_64. /boot is on a HDD since OCZ's driver apparently doesn't yet support booting directly to it. ...
2
votes
0answers
933 views

Tomcat Unable to Connect

I have done a fresh install of Tomcat 7 on CentOS 6.2 system. Tomcat starts successfully without any errors in logs, but I am not able to access it on mydomain.com:8080. I get "cannot connect" ...
2
votes
0answers
247 views

What is the default metadata size in temporary volume during a pvmove?

I ran into an interesting error when attempting to address a particular problem. We had an issue where we have to move the extents over to new physical volumes because the metadata size was too ...
2
votes
0answers
1k views

Yum install on CentOS 6.2

I can't install any php extension Epel repository enabled Yum is updated yum repolist shows repo id repo name ...
1
vote
0answers
32 views

High CPU Usage and hangs randomly with HHVM

I'm using phpbb on Centos 7 with 512mb of ram and 1 core. And I'm having randomly hangs and high cpu usage when I get some url of my clean phpbb installation. This is my server.hdf file: idFile = ...
1
vote
0answers
58 views

LDAP with SSSD: force user to change password - 'ShadowLastChange' not working

I have CentOS6, with LDAP user authentication, using OpenLDAP and SSSD. I'm trying to force user to change the password. According to this ServerFault question I tried to set ShadowLastChange to 0, ...
1
vote
0answers
14 views

Nginx req_limit_zone whitelist ip's geo module

I have setup nginx req_limit_zone to limit requests to my webserver. Also I added geo to whitelist certain IP's so request limit does not affect those IP's. The problem is that once I test it with ap ...
1
vote
0answers
44 views

IP-rules don't seem to be working on CentOS-6.6

I faced a bit odd difficulty with policy-based routing on CentOS-6.6 server. I have a setup where I need to enroute all packets originated from 172.25.0.0/16 destinated to 172.24.0.0/16 and some ...
1
vote
0answers
35 views

Many gettimeofday in Apache 2.4 + fcgid + centos 6.6 - Long Wait time for static files

When i perform a strace on apache process, i see many gettimeofday before & after GET request, even when Apache returns a static file like an image file. It results in a long downtime period ...
1
vote
0answers
20 views

Library Dependency is different when checked via yum vs. rpm

I'm new here and am debugging something I've never seen before, so I'm hoping someone can show me where I'm going wrong. I've created a local yum repo for all my servers. The idea is to distribute ...
1
vote
0answers
82 views

CentOS 7 httpd /server-status limitations

I have got VPS (using CentOS 7 as my OS) and now I am configuring Munin (monitoring software). I ran into a little problem with Apache monitoring. Now I have got this cfg in my httpd.conf and ...
1
vote
0answers
35 views

How to add a partition to CentOS without losing data on it

we had a CentOS 6.4 server with two RAIDs. One RAID-1 and the other RAID-5 RAID-1 had multiple partitions with OS installed on it. RAID-5 had two partitions with some data on it. In order to ...
1
vote
0answers
42 views

systemd Unit file for GitLab

I am currently writing a Puppet module to get GitLab running on CentOS 6/7. For the CentOS 7 install I need to write a systemd unit file to start the gitlab service (which is actually Unicorn & ...
1
vote
0answers
79 views

Dell r730 + Dell 12Gb SAS + Centos 7 + netvault 9.2 quantum superloader 3 not found

In the above configuration Netvault does not find the library attached to the sas controller. What driver should I see with lsmod for the SAS card? I have: ... mpt3sas 195379 0 ...
1
vote
0answers
31 views

CentOS 7 doesn't recognize new Active Directory accounts/settings

I joined a CentOS 7 system to a Windows domain by syncing the time with the DC and running realm join --user=admin@mydomain.local mydomain.local. This allowed me to authenticate my login to the CentOS ...
1
vote
0answers
62 views

CentOS 7: Nginx systemctl hangs on start, why?

I compiled nginx with pagespeed and made the nginx.service file in /usr/lib/systemd/system/nginx.service but when i try to do systemctl start nginx it just hangs, nginx does start but systemctl hangs. ...
1
vote
0answers
61 views

Why do apache SSL certificate and key need to be in /etc/pki/tls/private/?

I have an Apache 2.2 web server running on CentOS 6.6. I have a certificate and key file that functions when the files are in this directory: SSLCertificateFile ...
1
vote
0answers
54 views

Getting a specific CentOS base image with mkimage-yum.sh

Docker's mkimage-yum.sh does indeed work (awesome little script) but it pulls 6.6 (the latest with updates). I was wondering if it's possible to specify 6.5. I believe I can use yum.conf but the yum ...
1
vote
0answers
4 views

Sever unstable ? Fatal error: Exception thrown without a stack frame in Unknown

Good day, We have a new server running It's a dedicated clean install of: centos 6.6 with plesk 12 installation Running a intel i7 with 64 gb of ram Only 1 magento installation running with ...
1
vote
0answers
65 views

Restrict I/O Write usage using cgroups

I am trying to restrict I/O write usage on my server using cgroups. Here is my partition table info: major minor #blocks name 8 0 10485760 sda 8 1 9437184 sda1 8 ...
1
vote
0answers
57 views

How to power down Cloudstack configured with XenServer Hypervisors

I have three XenServers(6.2) configured in a single pool. I also have a Cloudstack (CentOS 6.5) Management interface controlling them all. Everything is up and running but I can not figure out how to ...
1
vote
0answers
49 views

cartridges in openshift origin web console

I'm trying to install openshift origin, i already have the "broker" and one node fully configured and in the node i installed a few cartridges that were in the repositories. Then i imported and ...
1
vote
0answers
210 views

CentOS 7 - Systemctl dependency problems with network mount and OpenSM

I have the follwoing problem. I want to mount a glusterfs share over Infiniband on an CentOS 7 client. The glusterfs share '/data' is severed by a host called storage1. For the client I I setup and ...
1
vote
0answers
142 views

Sudo error: effective uid is not 0, is sudo installed setuid root? (sudo executable is already root/root 4755)

Running /usr/bin/env sudo /etc/init.d/httpd restart on a godaddy vps works fine from the shell. The same command executed remotely via capistrano generates the following error: sudo: effective uid is ...
1
vote
0answers
86 views

Upgrading CentOS from 6 to 7 has broken my boot sequence

I ran the upgrade assistant provided by CentOS for upgrading from CentOS 6 to 7. The upgrade appeared to have been a success, however my system now hangs when trying to boot up. (Keep in mind I have ...
1
vote
0answers
884 views

request failed: error reading the headers

Recently I moved my servers from one provider to the other and started to get this messages in apache error log: "request failed: error reading the headers" Example from the error and ...