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

6
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 ...
5
votes
0answers
2k 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 ...
4
votes
0answers
39 views

SELinux: manually changing files in /etc/selinux/targeted/contexts/files/

I'm setting up a CentOS 7 server in which the /home directory has to be located on another partition and then mounted with bind-mount. So: /data/homes should be bind-mounted to /home. The problem is ...
4
votes
0answers
3k 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 ...
4
votes
0answers
2k 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 ...
4
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. --> ...
3
votes
0answers
124 views

SSH - 1s hang at “Entering interactive session” (Not DNS; possibly SELinux related)

I'm having an issue on CentOS 6.7 where SSH logins are 1s more than any non-6.7 machines on this network (e.g. 7.2, 5.11). Running debugging on the client side showed the hang at "Entering interactive ...
3
votes
0answers
68 views

Low Entropy on Container

I am thinking my entropy level may be low? cat /proc/sys/kernel/random/entropy_avail I am around 132-178 on average. pool size is default 4096 (this is a container on a virtualizer by the way) I ...
3
votes
0answers
60 views

NGINX Worker Process, Burst Read Speed to only 1918kb/s

I am running an NGINX/1.8 server on Centos6.6 with multiple worker_processes, however while observing iotop I notice they burst up to 1918kb/s Read speed and rarely if at all pass that limit. I want ...
3
votes
0answers
133 views

pppd terminated bya SIGTERM in Centos 7 — who's sending it?

Folks, I created a script to keep a persistent "emergency" connection with a 3G modem, so I can access my CentOS 7 makeshift server remotely if the usual network fails. Everything works for a few ...
3
votes
0answers
2k 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 ...
2
votes
0answers
14 views

security audit flags redhat/centos package version numbers despite patches

Redhat has this policy of backporting security fixes. But then when RHEL and CentOS sites get audited, the auditors invariably just list the package versions or ask ssh what it's version number is, ...
2
votes
0answers
27 views

SELinux preventing access to /var/log due to Docker

I have a Docker container that should read logs, including those from the host itself. So I mount the volume /var/log using the z flag. This changes the SELinux context on the files inside /var/log ...
2
votes
0answers
37 views

Install CentOS 6 on HP ML 150 gen9 server with b140i raid controller

i have HP ML 150 with Smart Array b140i controller. i want to install CentOS 6.6, but the driver isn't built-in the ISO. i have download the Driver and install in the USB(dd). I need the command for ...
2
votes
0answers
69 views

Can't stop and reformat /dev/md0

I want to reformat /dev/md0, which is a RAID0 array consisting of 4 disks (sd[bcde]). However, when I tried to run the command mke2fs, I received the following error message: /dev/md0 is apparently ...
2
votes
0answers
105 views

Issue with Headless selenium on CentOS 7 Minimal

Required: I'm trying to run headless selenium (using PHPUnit) on fresh CentOS 7 minimal. Problem: It seems I installed everything correctly but firefox is not launching and my selenium web driver ...
2
votes
0answers
71 views

Sudden failure of networking interface on CentOS 7

We're running a LAMP stack VPS on CentOS 7 hosting a few websites, MariaDB databases, and associated services. In the middle of the night our server mysteriously went completely offline. When we ...
2
votes
0answers
102 views

Certificate error with EPEL repository on CentOS6.7 using mirrors.fedoraproject.org

Can't update a CentOS 6.7 system with the EPEL repository configured. [epel] name=Extra Packages for Enterprise Linux 6 - $basearch ...
2
votes
0answers
20 views

Dovecot TimeMoveBackward on Cent OS

I am having problem with my dovecot on CentOS machine. The error message is as below. server dovecot: dovecot: Time just moved backwards by 1 seconds. I'll sleep now until we're back in ...
2
votes
0answers
93 views

Getting 404 on any text file (including robots.txt) with nginx

I recently moved my CentOS 7 machine from an Apache web server to an nginx web server, and I'm still working out various issues as I learn the in's and out's of nginx. One issue I have stumbled upon ...
2
votes
0answers
101 views

Nagios in activating status (doesn't want to start)

I've experienced issue when installing nagios on VM (Centos 6) I followed steps described in http://www.tecmint.com/install-nagios-in-linux/ Everything was fine untill [root@tecmint ]# service ...
2
votes
0answers
103 views

MariaDB crashed and now won't start

While activating a wordpress plugin MariaDB crashed on me, and it won't restart. I am using Centos 7.1. systemctl status: systemctl status mariadb.service mariadb.service - MariaDB database server ...
2
votes
0answers
33 views

journalctl prints the entire system log when following

[root@utility ~]# uname -rv 2.6.32-042stab093.5 #1 SMP Wed Sep 10 17:39:49 MSK 2014 [root@utility ~]# cat /etc/redhat-release CentOS Linux release 7.1.1503 (Core) [root@utility ~]# journalctl ...
2
votes
0answers
268 views

how do I plan partitions for LUKS encryption of a CentOS 7 server?

A CentOS 7 web server needs encryption at rest. I would like to use LUKS encryption for this, but I need direction to plan how. Can I use LUKS encryption to encrypt the entire drive as one unit on a ...
2
votes
0answers
71 views

CentOS 6.6 - reshape of RAID 6 stopped

I have a CentOS 6.6 Server with 13 disks in a RAID 6. Some weeks ago, i upgraded it to 17 disks, two of them configured as spare. The reshape worked like normal in the beginning. But at 69% it ...
2
votes
0answers
47 views

Cannot create a user in IPA server for remote login

I had created a new IPA IdM server in Centos 7 using script install-ipa-server. The installation was successful. After installation, I was not able to create a user using IPA user-add user, it asks ...
2
votes
0answers
503 views

Wrong filename encoding/decoding when downloading recursively with wget

I'm downloading files from a remote directory recursively using wget and whoever created the folders and files, used special characters such as è or Ó, when I download a single specificating the full ...
2
votes
0answers
310 views

Usermod -aG vs gpasswd -a as a best practice

I am aware that usermod -g is not best practice from many posts like this however they normally explain the usermod should not be used as it changes the primary group of a user. These posts dont seem ...
2
votes
0answers
152 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 ...
2
votes
0answers
904 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 ...
2
votes
0answers
434 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. ...
2
votes
0answers
107 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
96 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
298 views

pg_basebackup automatic password

I have a master and slave database setup. The master database is on a secure network and only the postgres port is allowed through to the slave database server. The database needs to be secured and ...
2
votes
0answers
502 views

config variable php_suffix does not match

I have a php instance on Webuzo (centos-6-x86_64.openvz) in /usr/local/apps/php54/. It already has pecl and phpize in /usr/local/apps/php54/bin/. When installing igbinary with command ...
2
votes
0answers
92 views

httpd not starting because /run/httpd is missing

httpd fails to start on one of my servers running centos 7 because /run/httpd is missing, which means httpd can't create /run/httpd/httpd.pid and thus fails to start. My question is, why is ...
2
votes
0answers
712 views

Centos client authenticate against zentyal DC via ldap

I have a bit of a problem. 3 months ago we deployed a zentyal dc on my workplace because it was a good way of authenticating both windows, linux and mac against the same server. I got authentication ...
2
votes
0answers
2k 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
133 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
256 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
2k 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
3k 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
117 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

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
99 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
416 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
632 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
908 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
1k 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
341 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 ...