CentOS is a Linux distribution standing for "Community ENTerprise Operating System" and is a rebuild of "Red Hat Enterprise Linux" (RHEL). The "CentOS6" tag refers to versions 6.x of CentOS.

learn more… | top users | synonyms

0
votes
2answers
395 views

stripping centos packages to the basics [closed]

I am stripping a centos sever to bare bones as I would like to start basic. I have yum removed packages I won't be using (php, ruby, PostgreSQL, Webmin, Usermin, Mail, Awstats...) I am looking to be ...
1
vote
2answers
3k views

error installing mysql client after installing remi php-mysql

after installing nginx with php-fpm thanks to remi repository, I get an error when I simply install mysql client : yum install mysql give me the following result (see bellow). Loaded plugins: ...
1
vote
2answers
3k views

CentOS6 PHP extension install: Cannot find php-config. Please use --with-php-config=PATH

This may seem trivial to some, but I have been developing on Windows all my life and only moved to Linux this week - all is new to me. I've been following The following guide on how to install php ...
1
vote
1answer
55 views

Execute a script before fsstab is read

For a netboot cluster, I'm creating a CentOS 6.5 root disk. The goal is to mount / read-only over NFS, and various other folders, such as /var/log, on the local disk. Here's my first idea: On boot, ...
-1
votes
1answer
35 views

not able to connect to server on web, but working perfectly on localhost centos

I have been trying to setup my centos web server and I succeeded last week in doing so. From the last week the server was running perfectly, but when today I restarted the server, for some reasons, I ...
-2
votes
3answers
2k views

How do I get iptables to allow a new port (for a webserver sockets handler)

In the local development server, I don't have any iptables rules (running on a Mac). The production server however, runs CentOS 6 with certain rules. I need to add a rule that allows the client to ...
4
votes
3answers
1k views

Update from zfs-0.6.2-1.el6.x86_64 to zfs-0.6.3-1.el6.x86_64 has made by zpool unreadable

After running # yum update zfs and restarting my CentOS 6 ZFS on Linux system can no longer see or interact with it's zpools. # zpool status no pools available # zpool import zpool: ...
3
votes
2answers
3k views

centos 6 epel alternative repository replacement

I've installed EPEL repository already on my server. I wanted to install something new and I get this error with yum : PYCURL ERROR 22 - "The requested URL returned error: 403 Forbidden" Trying ...
1
vote
1answer
2k views

Installing ext-libevent, ext-libev, ext-event for php

I installed reactphp on my LAMP environment (CentOS 6.4). After the installation was successful, I got this message: react/react suggests installing ext-libevent (Allows for use of a more performant ...
3
votes
1answer
2k views

Jetty JMX setup for remote access

I am having some issues getting JMX working on Jetty(9.1.3.v20140225), so I have had a read over the Jetty doco on this. So I have added the following to the jetty.conf # ...
0
votes
1answer
415 views

Easiest way to sync only package and dependencies in spacewalk?

From the web UI and the documentation, spacewalk seems to want to download everything in a given repo regardless of relevance, which isn't so bad if you use all / most of the packages within a repo, ...
0
votes
2answers
2k views

How do I uninstall/remove CPAN?

Is there a way to completely remove CPAN from my machine? I tried searching Google for a way to do this, but all of the results are focused around uninstalling the modules.
-1
votes
1answer
442 views

Running PHP in HTML Files on NginxProxy Centos

I have a ngnixproxy server on Centos 6.0. Wordpress and php files are running fine. But I have a static site with an html file with php code in it. The code is not working and the server is ...
0
votes
1answer
589 views

Server taking too much time to first load [closed]

I have a VPS server with CentOS 6 purchased from MochaHost. It has WHM/cPanel installed and I have full root access. The websites that are on this server load very slowly but when I use pingdom tools ...
0
votes
1answer
68 views

how to avoid console network error (host is not communicating) when passwd or update?

I am trying to change the root password and update ssl package but the commands passwd or yum update {package} make the console loops endlessly. I have set the buffer to 600 sec. which I am reaching ...
4
votes
3answers
2k views

VMware ESXi CentOS 6.4 kickstart installation

I was trying to do a kickstart installation for CentOS 6.4 but it always show me a warning of re-initializing the HDD as it say may contain invalid partition table or a virtual disk. I have added ...
1
vote
0answers
66 views

CentOS-Like configuration of Vim on Ubuntu

Whenever I use a CentOS System, there's always a pleasant configuration of vim which mainly does the following: Remembering position of closed files Colour mode (!!!) Bash has colours There's lots ...
5
votes
1answer
1k views

Why do I get different openssl versions?

I'm trying to check if I running the latest OpenSSL version, my main concern is the heartbleed bug. I tried 2 commands: openssl version yum info openssl openssl version output OpenSSL ...
0
votes
1answer
3k views

NRPE: “CHECK_NRPE: Error receiving data from daemon.” error in the gui, but the check works from terminal, what could be the cause?

I'm monitoring a few Linux servers using NRPE and most of the checks are working. Actually, the only check which doesn't work is check_disk. Running a remote check_disk from the Nagios server ...
1
vote
2answers
510 views

centos TCP/IP connection very slow

I have a VSP (centos6.1 64bit) with 4gb ram. It always runs well, but in recent few days, the server become slowly. open a small css file need 22 seconds(2kb). tested in home/office/phone with ...
2
votes
1answer
1k views

Apache missing php module

I installed httpd v2.2.15 and php v5.5.13 via yum. I first noticed the problem when I tried to access my site and it displayed the PHP code. Then I discovered that there is no php module in ...
2
votes
2answers
2k views

How long does it take to reboot CentOS 6 server remotely? [closed]

I am renting a dedicated bare metal server running the latest version of CentOS. It's new and I haven't fully configured it. I updated the existing packages and rebooted the machine remotely using # ...
0
votes
0answers
813 views

CentOS 6 KVM Host cannot connect to Internet while VMs can

I've configured a CentOS 6.4 server as a KVM host running multiple VMs. VMs running on this KVM host are fine. The problem is: the host itself cannot connect to the Internet. External addresses ...
1
vote
1answer
226 views

CentOS 6 DHCP server configuration

I have a CentOS 6 server running on a virtual host. The IP address on this host get assigned through DHCP host and another interface has an static IP ( a test network). I want to setup an private DHCP ...
2
votes
2answers
8k views

can't install mysql-devel on centos 6.5

I need mysql-devel package to be installed on my CentOS 6.5 running Percona 5.5 (already installed & running). When I try to install the devel package like this: yum --enablerepo=remi install ...
2
votes
1answer
6k views

Nginx + PHP-FPM on Centos 6.5 gives me 502 Bad Gateway (fpm error: unable to read what child say: Bad file descriptor)

I am setting up a standard LEMP stack. My current setup is giving me the following error: 502 Bad Gateway This is what is currently installed on my server: Here's the configurations I've ...
0
votes
2answers
578 views

Cannot find NFS server logs on CentOS 6.5

I cannot find the logs for a NFS server on a CentOS 6.5 machine. grep -Rni "nfs" /var/log/messages returns nothing useful. The NFS service is running and I am able to mount the NFS share from most ...
0
votes
3answers
4k views

postfix failed to start CentOS 6.5

DISCLAIMER: I am new to CentOS, so please forgive me if I overlooked something simple. Here is my issue: I recently just reformatted my server to CentOS 6.5 x64 and I have been having issues getting ...
0
votes
1answer
2k views

Error compiling PHP 5.5.9 on CentOS 6.5 during make command

Here is the error message: cc: internal compiler error: Killed (program cc1) Please submit a full bug report, with preprocessed source if appropriate. See ...
6
votes
2answers
6k views

Why would Linux VM in vSphere ESXi 5.5 show dramatically increased disk i/o latency?

I'm stumped and I hope someone else will recognize the symptoms of this problem. Hardware: new Dell T110 II, dual-core Pentium G850 2.9 GHz, onboard SATA controller, one new 500 GB 7200 RPM cabled ...
2
votes
1answer
1k views

Specifying a Postfix Instance to send outbound email

I have a CentOS 6.5 server running Postfix 2.6x (the default distribution) with five public IPv4 IPs bound to it. Each IP has DNS and rDNS set separately. Each uses a different hostname at a ...
2
votes
1answer
4k views

install php-mcrypt Centos 6

I'm trying for a few days now to install php-mcrypt on Centos 6 64bit, but I get this error [root@cimpan tmp]# yum install php-mcrypt Loaded plugins: fastestmirror Loading mirror speeds from cached ...
5
votes
6answers
3k views

./kernelupdates 100% cpu usage

I have a CENTOS6 server running with some wordpress & tomcat websites. In the last two days it has been crashing continuously. After investigation we found that kernelupdates binary consuming 100% ...
-4
votes
1answer
287 views

Data Loss after Server Reboot [duplicate]

I have server on 2 ssd disks connected by Raid 1 Today I got 500 internal error on opening website. I have requested server management to reboot the computer. After reboot to my surprise all my ...
1
vote
2answers
3k views

Openssl not getting updated to 1.0.1g in CentOS 6.2

After the heartbleed bug i have updated my openssl to 1.0.1g. But to my shock when today i see my server-status it shows me openssl version 1.0.1e that was vulnerable to Heartbleed. I have upgraded my ...
2
votes
1answer
2k views

Sending logs to remote server with rsyslog

I'm trying to setup centralized logging with Logstash, Elasticsearch and Kibana and am having trouble getting logs to my log server. Logstash is listening on TCP 5000 and is successfully receiving ...
0
votes
1answer
127 views

Centos BIND9 multiple NS with different IPS

I just acquired a Root Server and configured OpenVZ for multiple containers. Each container has a different IP. What I am trying to do is to centralize all DNS related stuff in the main server os ( ...
1
vote
0answers
140 views

Upgrade Raid 1 to Raid 0+1 and bootloader issue

I am trying to convert my current RAID 1 to RAID0+1 and facing issue in installing bootloader - please have a look what i am doing. My current configuration is RAID1(2*10GB): [root@localhost ~]# ...
0
votes
0answers
37 views

NGINX cache mis-behaving causing the system to go into a frenzy

We're using CentOS/nginx fastcgi_cache to cache requests to PHP files on our server. This file gets accessed very often and also updates very often as such it has 1s cache. Usually when looking ...
0
votes
0answers
1k views

Apache bench failing with error “No route to host”

Got a new dedicated box. Installed CentOS 6.5 Installed KVM Installed a CentOS 6.5 guest rsync'd websites/database/settings etc over from existing VPS. Set up "dedi.mydomain.com" in DNS to test it ...
31
votes
6answers
5k views

How to create a symbolic link without using ln?

I deleted a critical symbolic link - libc.so.6. I have the file it should point at, but the basic commands such as ln or wget won't work anymore due to the link missing. However, echo or other Bash ...
11
votes
1answer
11k views

Is installing a GUI on my CentOS server a good idea?

I have a new dedicated server that I'm going to create a couple of VMs on. OS will be CentOS 6.5, for the host and the VMs. Does the GUI on the host (Gnome etc) give any real benefit when it comes ...
6
votes
2answers
2k views

How to pass input from one script into another using bash

I am writing a script where I am want to launch the mysql_secure_installation script and provide the appropriate answers at each prompt. I tried using echo like this: echo -e ...
-2
votes
1answer
84 views

Heartbleed - Centos 6.5, Apache - should I recreate pair of default certificate and key [duplicate]

I am using Centos 6.5, Apache 2.2.15 with SSL. Due to heartbleed I have updated openssl to release 16.el6_5.7 and I have restarted the httpd service. I am using default Apache certificate and key: ...
2
votes
2answers
3k views

How to enable core files on CentOS 6

I am trying to enable core files on a machine running CentOS 6; however, nothing I have tried has produced core files…here is what I have done: Added the following two lines to ...
4
votes
3answers
2k views

Yum repo priorities and conflicts

On my CentOS 6.4 server, I am running MySQL 5.5.33 that I installed from the remi repository. I decided to upgrade MySQL to 5.6.x via MySQL's own yum repositories: ...
-4
votes
3answers
1k views

How Do I Install CentOS with Minimum Amount of Packages? [closed]

After running rpm -qa | less there was a result of 234 installed packages. From my experiences with default installations, there are usually applications installed that are not required by the system. ...
0
votes
1answer
73 views

IPtables mail is not working though i allow smtp traffic

I'm working server Centos 6.5. I allowed incoming and outgoing traffic for SMTP as below though i'm unable to sent mail from server if iptables are switch on. My IPtables files rules are as below ...
-2
votes
1answer
57 views

Possible to move a whole OS (including it's content) from one server to another?

I've got a server that I host several websites on. That's basically what the server is for. I've recently acquired a new server and i'd like to move everything over. Since my old server and my new ...
0
votes
1answer
5k views

Cannot set postgres user password

Trying to install PostgreSQL with Ruby on Rails with Nginx on CentOS 6.5 using the following guide: ...