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 Chrome,...
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 ...
5
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 [root@...
4
votes
0answers
53 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

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 corresponding ...
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
4k 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
157 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
81 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
67 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
155 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
105 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
57 views

LDAP changing password for wrong user?

I have an OpenLDAP server setup. I currently have two users added to my server. As far as my testing goes, a single user instance work just perfectly. My first issue arise when i have two users on the ...
2
votes
0answers
44 views

ZFS on linux with centos 7.2 sync reads slow to crawl when executing sync writes

We are running ZFS on linux with centos 7.2. The array has 26 6tb Seagate sas drives in a mirrored configuration and then stripped across the mirrors to form our pool. 128gb arc, 480GB l2arc PCI ...
2
votes
0answers
42 views

Apache 2.4.20 and “SeverTokens Prod” causes “segmentation fault”

Simply stated I am running Apache 2.4.20 on CentOs 6 and am in the process of hardening this VM prior to rolling it out. I added this line: ServerTokens ProductOnly Which on restart promptly gave ...
2
votes
0answers
73 views

Haproxy and nginx rtmp

i am trying to use haproxy in front of rtmp nginx server it does connect but it does not play the video i have 2 servers 1 server is where rtmp nginx installed and second server where haproxy ...
2
votes
0answers
114 views

How to verify network quality before running important benchmarks?

I have multiple CentOS servers around the world. They all are running a PHP script that tests the latency of some services once per minute. The problem is that sometimes these servers have local ...
2
votes
0answers
24 views

error in installation of ejabberd

i am trying to install ejabberd in centos . ejabberd is running but when iam try to register it showing error like this. /opt/ejabberd-14.12/bin/ejabberdctl register root testrecoveryim.test-mobile....
2
votes
0answers
54 views

Amazon EC2: How to convert an existing PV AMI to HVM - CentOS - Wont boot

I've now tried every guide I've found on Google, some are posts on this forum. The instances always end up not booting with every guide/method I've tried. Probably spent about 4 days trying out ...
2
votes
0answers
19 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
35 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
156 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
89 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
33 views

Postfix STARTTSL works in LAN but not from external (centos 7)

if I connect in LAN on port 25 to my mailserver it offers STARTTLS telnet mailserver.com 25 Trying 192.168.0.x... Connected to mailserver.com Escape character is '^]'. 220 mailserver.com ESMTP ...
2
votes
0answers
139 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
97 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
194 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 mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&...
2
votes
0answers
21 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 present....
2
votes
0answers
113 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
118 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
139 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
40 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
78 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 stopped....
2
votes
0answers
54 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
664 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
331 views

qemu-img VHD to raw image convert results in bad geometry:

Is anyone else able to reproduce this? Using StarWind V2V Image Converter on Windows, I'm able to get a valid disk.img file, so the source image.vhd is clean (pulled down from rackspace). Is this a ...
2
votes
0answers
392 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
167 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
1k 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
489 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
122 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 /home/ben/etc/...
2
votes
0answers
339 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
545 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 `/usr/local/...
2
votes
0answers
787 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
138 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
289 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
122 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 ...