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

1
vote
1answer
42 views

SELinux Permissive enabled; httpd error reporting

I kept getting the following notice in apache /var/log/messages and many others same messages : kernel: type=1400 audit(1422862414.790:3222): avc: denied { getattr } for pid=2484 comm="deliver" ...
-2
votes
1answer
56 views

How do I install lvextend on CentOS?

lvextend did not come installed on my CentOS image, how do I install it? # lvextend -bash: lvextend: command not found
0
votes
0answers
42 views

Mailserver stop receiving email dovecot log is missing suddenly

i have problem with my mailserver. in some randomly time my email in roundcube cannot receive email and i check in the log file /var/log/maillog Feb 1 10:00:51 ns1 postfix/pipe[20605]: 37CA81848A7: ...
-7
votes
1answer
57 views

Trying to understand linux script [closed]

I have this Linux script I found and I'm trying to understand it. Could someone please help me to understand it. The script if [ ! -d "/home/ftp/$PAM_USER" ]; then /bin/su - ftp -s /bin/sh -c ...
1
vote
1answer
43 views

How to set number of inodes during initial Centos 6 ext4 install?

There are similar questions, but nothing that was exactly on par with what I am inquiring. Completely fresh install of Centos 6, the server is setup with a BIOS RAID 1. I'm trying to set the number of ...
2
votes
1answer
58 views

Apache error - File name too long: Cannot map GET

I have PHP Laravel application installed on my CentOS VPS. It is backend for my mobile application that has been recently updated. Unfortunately I wrote some bad code that results in making request ...
0
votes
1answer
36 views

deploy physical server from vmware template (linux)

I've been looking at replacing several aging servers, and to that end, I've prepared a vmware template to act as a standardized base. However, it's now become a requirement that I be able to deploy ...
1
vote
1answer
50 views

SVN Commit Not Updating Files On Server

I have followed this guide http://wiki.centos.org/HowTos/Subversion and everything has worked as far as 5.3 (i can check out files). I had an existing directory "/var/www/file-manager". This ...
3
votes
1answer
60 views

Limit su attempts

Is there a way to limit the number of su attempts from a user? For example, malicious user gets into a user login that has su access. Repeatedly runs su to try to gain superuser access. This ...
0
votes
1answer
99 views

Centos 7 ERROR /etc/sysconfig/network-scripts/ifup-eth some other host already uses address x.x.x.x

I've just installed Centos 7 and I am trying to create vlans in this new setup. Since this is Centos 7, it uses ifcfg-ens3 instead of the eth0 device we're used to. So now I'm trying to create a ...
2
votes
0answers
49 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 ...
0
votes
0answers
36 views

CentOS MySQL Problems

Im having trouble with MySQL on my centos5 server. When I try to connect to the server I receive the following message ERROR 2002 (HY000): Can't connect to local MySQL server through socket ...
0
votes
1answer
25 views

How to add fastcgi support to nginx?

I'm trying to setup roundcube in my server with nginx on CentOS. this tutorial says: Add the following to the bottom of /etc/nginx/fastcgi_params: # Roundcube config fastcgi_keep_conn on; ...
0
votes
0answers
66 views

MySQL suddenly 'crashed' but not stopped, mysqld_safe 100% cpu on CentOS 6

Suddenly, today i see the website down. Checking the cpu with "top" in command, i found the mysqld_Safe at the top using all of the cpu. After some google i found some different solutions, i made a ...
-3
votes
1answer
30 views

Issued kill -9 -1, centos not working

created user in centos and edited nano /etc/passwd and edited created user as user:x:0:0::/home/user:/bin/bash and logged as that created user and issued kill -9 -1, from then on words my server not ...
2
votes
1answer
45 views

How to install openssl1.0.1 alongside the the default system openssl? (Centos/redhat)

I was tasked to setup openssl alongside the default version installed on the system. I want to know how I can set this up? I would like to point apache to use the portable version of openssl (I am ...
0
votes
1answer
35 views

Only one IP Rule Being Implemented

I have server that has a 10g card in it. I need to configure that server so that for a particular IP address (172.16.2.180) traffic goes over two 10g Ports, the second needed for failover . The ...
0
votes
1answer
35 views

WHM - php.ini in public_html stops default php.ini

I have a server with WHM panel. OS is CentOS. When I put a php.ini in public_html PHP stops reading /usr/local/lib/php.ini. When I compare results of phpinfo() what I see is; error_log error_log ...
0
votes
1answer
98 views

GnuPG::Interface fails to install on CentOS 7

I'm trying to install a CentOS 7 server to run Request Tracker. By running make testdeps I can see all missing packages and make fixdeps is supposed to install this packages. There is one package that ...
0
votes
2answers
91 views

How to recover from raid 5 failure of 2 disks with tw_cli?

I have hardware raid 5 of 12 disks, 2 of them died and the data is not accessible anymore. I was told that even though 2 disks died, some of the data might be recoverable. My hosting provider replaced ...
0
votes
1answer
48 views

How to pass all traffic through virtual ip on linux

I have an Ethernet card on CentOS server. It has been configured: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000 link/ether 40:f2:e9:9b:b7:bb brd ...
0
votes
1answer
52 views

How can I select one of multiple PostgreSQL in my CentOS server? [closed]

I had postgresql 8.4 in centos system. Aadditionally I needed postgresql 9.3. I want new version, But excute 8.4 version instead 9.3 version. How can I change default version?
1
vote
1answer
30 views

TokuDB storage engine missing after restart

I'm using MariaDB-server 10.0.14 and just had a power outage and hard restart. When coming back up I had to manually remount drives etc. but everything seems intact except I have an error when trying ...
0
votes
1answer
19 views

Cacti - Interpreting values for Network statistics

I've downloaded and installed the Percona Linux template. I noticed the values for tx-drop had values of 'm' and 'u' and don't quite understand why I'm getting values of micro and milli. I was ...
0
votes
1answer
33 views

makewhatis and logrotate cron job schedule

In /etc/cron.daily/, logrotate* makewhatis.cron* I understand that above are daily cron jobs. How to display the time set for logrotate and makewhatis.cron? Its not listed when I tried this ...
0
votes
2answers
130 views

Yum: No package mysql-server available in Cent OS 7

I just installed Apache on my new Digital Ocean Cent OS 7 x64 server. When following Digital Ocean's tutorial, yum cannot install mysql-server. # yum install mysql mysql-server mysql-libs ...
-2
votes
1answer
28 views

Redirect anonymous ftp login to a certain folder? [closed]

How do i set anonymous ftp logins to a certain folder and restrict access if neccessary? (E.g. all anonymous connections are sent to /ftp directory)
0
votes
0answers
24 views

LDAP: Segmentation fault

I have this error when I use ldapsearch: Segmentation fault I've removed and reinstalled openldap and openldap-servers and after that, throws me this error. /var/log/messages: ldapsearch[20232]: ...
0
votes
1answer
32 views

Interpreting the IOstat result

Below are the results for iostats: Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn sda 120.94 10201.14 4354.87 64513033284 27540653120 sdb ...
2
votes
1answer
190 views

Cannot ping to localhost into CentOS

I'm connecting to my server (Centos 7) with ssh and I try to ping to localhost: ping 127.0.0.1 but doesn't work: ping 127.0.0.1 PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data. ^C --- 127.0.0.1 ping ...
0
votes
1answer
56 views

ldapsearch result: Can't contact LDAP server (-1)

Anyone knows which the problem? I installed LDAP: yum -y install openldap-servers and then checked is the installation work well starting slapd service and doing ldapsearch like this: ldapsearch ...
0
votes
1answer
41 views

APC not working after centos and php upgrade

I had centos 6.5 on my server. I upgraded to centos 7. With this upgrade I have php 5.4 instead of php 5.3. All works fine except APC and xhprof extension. Here is the error I am having when I try ...
1
vote
1answer
83 views

Curl on Fedora does not accept Cloudflare https

Using curl on a clean vanilla Fedora 21 to retrieve a site hosted via the cloudflare https service gives an error: curl https://www.opencpu.org >> curl: (35) Cannot communicate securely with ...
0
votes
0answers
101 views

CentOS 6.6 - Additional public IP through aliasing in VM with bridged network

The scenario: A CentOS 6.6 virtual machine with a working public IP assigned to its eth0 via bridged networking (details about the setup below). The problem: I would like to add an additional public ...
1
vote
2answers
80 views

Command file 'nagios.cmd#015' does not exist issue if passivecheck is sent to NSCA daemon

Introduction As /usr/local/nagios/etc/nsca.cfg is replaced by the default config if opsview has been restarted the reference to this file that resides in /etc/init.d/opsview was changed to ...
0
votes
2answers
83 views

Centos yum resync installed packages

I am in a strange situation. I have a web server machine with CentOS release 6.6 (Final) installed with nginx, mysql, ISPConfig and Webmin which is working smoothly. Recently I noticed when using ...
3
votes
1answer
70 views

What is the proper way to shutdown an iSCSI target with connected clients?

iSCSI with two DRBD primary nodes is a bad idea to use if the two paths get concurrent write requests. But I am thinking about using this idea as backend storage for an ESXi 5.5U2 host. I already did ...
0
votes
0answers
54 views

vsFTPd - not all connection succed - timeout (Centos)

I'm using Notepad++ ftp plugin to modify files on my server. Every x uploads (like 10 or 20 - its random) my upload starts and does not finish. My FTP server says Timeout. I changed vsFTPd logging ...
1
vote
1answer
42 views

Linux utilities commands not working for particular user

We are using a centos 5 server. We are facing a strange problem where for a particular user, the basic linux utilities commands such as (ls,cp..) are not working. The shell gets hanged as we fire ...
0
votes
1answer
38 views

php mcrypt on cent os 6.5

I have a problem with my php/apache setup on Cent OS 6.5 with php 5.5 I'm using a vagrant box where I installed php-mcrypt and it seems to work on the command line php -r 'echo ...
3
votes
1answer
199 views

How to schedule a Cron job for the second to the last day of each month

I want to schedule a task for the second to the last day of each month. I have read this great article about shell scripting the execution. I have also seen that you can use "L" to represent the last ...
0
votes
0answers
24 views

Async synchronization filesystem strategies

I have the following scenario: Several front-end web servers (nginx + load balancer) serving a web app, each one having a local filesystem, to where user uploads are placed temporarily. An external ...
-2
votes
1answer
165 views

Installing CentOS7 / RHEL 7 on Proliant DL360e Gen8 [closed]

I found a fix for this after hours of digging on line. Here is the main article i am using for a reference: https://access.redhat.com/articles/118133 The RAID card which comes with this system ...
0
votes
2answers
131 views

intermittent ssl_error_no_cypher_overlap

For the past week, clients have been randomly getting intermittent ssl_error_no_cypher_overlap errors when using Firefox. Connection issues have also occurred in Safari and Chrome. I can't find any ...
1
vote
2answers
54 views

Disk Partitioning and Layout with LVM

I am trying to determine the best disk configuration/disk layout/partitioning scheme for a large, virtualized, multi tenanted environment. Our current scheme is very similar to rhel/centos defaults, ...
-2
votes
1answer
148 views

CentOS 6.6 on HP Proliant 360 [duplicate]

I have 3 of the aforementioned servers, and when I netinstall centos on them, the installer recognizes the raid configuration and the logical disks and installs fine. Upon reboot after installation, ...
-2
votes
1answer
45 views

CentOS 6.4 does not seem to have patches for OpenSSL

Just wondering if anyone knows why CentOS hasn't released an update to OpenSSL? I have a 6.4 machine and updated openSSL but when I issue the "openssl version -a" it's showing 1.0.1e-30. However, if ...
-1
votes
1answer
47 views

Issue with access via port 22 from some FTP clients [closed]

I am having an issue with connecting to an SFTP server. On the same computer when I access SFTP via application A, I am given access, but when I use application B, I have no access. In my server ...
1
vote
0answers
446 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 ...
6
votes
1answer
107 views

Why can't my DNS server start (bad zone error)?

This is my config (running named on centos). /etc/named.conf options { ## path to zone files ## directory "/var/named"; ## forward non-local to google ## forwarders { 8.8.8.8; }; }; ...