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
0answers
9 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 ...
1
vote
1answer
16 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 ...
0
votes
1answer
14 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 ...
1
vote
1answer
35 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
16 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 ...
1
vote
0answers
31 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
28 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 ...
-1
votes
0answers
9 views

virtualmin install error on CentOs

The Sever OS : CentOs 5.6_x64 Disk Space : 30 GB Ram : 6GB I downloaded "install.sh" from web site and ran it. I got following error. [root@ceylon ~]# ./install.sh Welcome to the ...
-1
votes
0answers
13 views

cPanel Install Fails on CentOs 6.6 [on hold]

I am trying to install the latest version of cPanel on a server running Centos 6.6 and it is failing here: [20150129.112152] Testing if it's possible to install a simple RPM [20150129.112152] ...
0
votes
1answer
15 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
15 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
24 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
27 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
28 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
19 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
0answers
22 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
63 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 ...
-1
votes
0answers
33 views

Can not connect to apache server within VM [on hold]

I am running CentOS 7 inside a virtual machine that is virtualized with VirtualBox. My host operating system is also CentOS 7. I am using a proxy server that is referenced in the .bashrc files of my ...
0
votes
1answer
36 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
44 views

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

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
12 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
13 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
20 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
40 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
22 views

Redirect anonymous ftp login to a certain folder? [on hold]

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
12 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
24 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
152 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
36 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
18 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
28 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
26 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
0answers
14 views

url injection - server hacked [duplicate]

I have a vps with virtualmin installed to host 6 wordpress websites. Recently I had a notification from Webmaster Tools saying that one of my websites was hacked - URL injection. I saw in Analytics ...
-2
votes
0answers
13 views

Pam modules: some troubles understanding things [closed]

I recently started to study PAM and for the moment I am having troubles in understanding an entry from /etc/pam.d/sshd (among others). auth required pam_unix.so ... ... ... account required ...
1
vote
2answers
51 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
0answers
4 views

browsing apache via vm [migrated]

I have centos 7 running as a guest on my mac with virtual box. I am trying to browse the apache server from my macs browser but I am just getting web site is not available. I set the network settings ...
0
votes
0answers
30 views

Unable to set up name servers [migrated]

I've set up a server at my house running cPanel and CentOS. I'm unable to point a domain to the server using nameserver's. I can how ever point it to my server using an A record. I've set up port ...
0
votes
1answer
38 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 ...
-1
votes
0answers
28 views

Why virtualhost is not accessible from the other ips? [closed]

This is my apache configuration for the vhost. <VirtualHost *:80> ServerName test.mydomain.ca ServerAlias test.mydomain.ca DocumentRoot /var/www/test_mydomain/public_html ...
3
votes
0answers
36 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
24 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
18 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
175 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 ...
-1
votes
0answers
22 views

Centos 5.7 : Command 'su' doesnt work [duplicate]

Im logged like root, but when i try to change of user, I get this: [root@Backend01 ~]# su - deploy Password: su: incorrect password rm: cannot remove `su': No such file or directory [root@Backend01 ...
0
votes
0answers
17 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
53 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
56 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
votes
0answers
18 views

How to install mcrypt in dual PHP version CentOS 6

I have two parallel versions of PHP installed on CentOS 6.4. then, i tried this link How to install mcrypt in dual PHP version CentOS 6? $ rpm2cpio php-mcrypt-5.4.16-1.el6.x86_64.rpm | cpio -idmv ...
1
vote
2answers
33 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, ...