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
1answer
2k views

CentOS Dovecot Permission Denied

I have a dovecot mail server setup with Virtualmin, and for some reason, out of the blue, yesterday, the mail server stopped working. I found that in the /var/log/maillog file, I have the following ...
-2
votes
1answer
81 views

Permissions Problems - CentOS 6

I'm a web developer and I manage my own server. Not an expert system admin, but I know enough to get by. Anyways, I gave a front end developer who is working on a project with me an account on my ...
1
vote
1answer
1k views

How to change the scheduler of a RAID 5 device?

I've created a RAID 5 device block by combining 4 HDDs. The name of my device is md1. But the /sys/block/md1/queue/scheduler file outputs "none" on doing cat. And also after editing it using vim ...
2
votes
4answers
54 views

Distributed image storing/serving on a budget

I'm unsure of how to provide a fault-tolerant solution when serving uploaded files. I have a single load balancer, with two servers (webserver1, webserver2) as nodes, both running Apache2, and a ...
3
votes
2answers
116 views

What's the relation between iptables and firewall?

I try opening my dns port by following rules: iptables -A INPUT -p udp -m state --state NEW --dport 53 -j ACCEPT iptables -A INPUT -p tcp -m state --state NEW --dport 53 -j ACCEPT service iptables ...
0
votes
1answer
296 views

What is an active CentOS6 / RHEL6 repository providing icinga? [closed]

There are several CentOS6 repositories listed in the wiki and I checked nearly all of them. Only RPMForge provides icinga / icinga-web, but in v1.7.2 which is fairly outdated and contains several ...
0
votes
1answer
731 views

Centos 6.3 DRBD / OpenVZ kernel/userland issue

When I start my Centos 6.3 server's drbd service I get the following error: Starting DRBD resources: DRBD module version: 8.3.13 userland version: 8.4.2 preferably kernel and userland versions ...
2
votes
1answer
794 views

IPTables - Rules not working

I was looking into some new rules but I can't seem to get them to work at the moment, The error i keep getting is iptables: Applying firewall rules: iptables-restore: line 36 failed and that's the ...
2
votes
2answers
1k views

Centos 6.3 - Error during filesystem check (/opt)

When I rebooted my server I got the following error: What can I do to get the server back up? I tried running lvremove /dev/vg1/snaps but get the message: File based locking initialization failed I ...
10
votes
4answers
3k views

How to use kdump/crash to investigate an OOM issue?

The problem A server crashed after multiple "Out of memory" messages and I am trying to pinpoint the culprit. If it is in userland - which process. If it is in the kernel - which kernel module. ...
0
votes
1answer
237 views

PHP-CGI process crashing twice a day in a wordpress hosted Dedicated Server

CGI process is crashing twice a day and comes up after apache httpd process restart. I am running CentOS 6.3 Server , 16GB ram, i5 Quad core processor. With just only one wordpress blog running with ...
0
votes
2answers
559 views

Postfix email address change

Being new to Linux I have followed this tutorial to set up a mail server: https://www.digitalocean.com/community/articles/how-to-install-postfix-on-centos-6 Everything is working correctly however I ...
0
votes
1answer
91 views

Configuring IPSec

If you look at my previous question, you'll see that I have two IP Addresses (for the remote device), to configuring our VPN Tunnel: VPN Device Tunnel Endpoint IP Address: 91.151.a.b Host(s): IP ...
-1
votes
3answers
2k views

ogrinfo: error while loading shared libraries: libhdf5.so.6 on Centos 6

I installed Gdal on my centos 6 machine with command yum install gdal But when I try to run $ ogrinfo I get following error ogrinfo: error while loading shared libraries: libhdf5.so.6: ...
2
votes
1answer
3k views

Centos 6 Mail Server / Can't receive e-mails but can send [closed]

I recently set up my server using Centos 6, with ISPconfig 3 with httpd, php, mysql, mail server. I can create e-mail accounts in the control panel, And I successfully can log in to the webmail, I ...
0
votes
1answer
893 views

httpd Server slows down, Then Goes unresponsive [closed]

Well, I recently switched over to Centos 6 from Windows, and Installed httpd php ispconfig 3, and mail server stuff. But after some hours (around 5-8), The server gets slow, and the websites does not ...
0
votes
2answers
120 views

Why I can ping “anything” and I get a response, instead of getting “Unknown Host” [closed]

I can ping any word or domain in CentOS 6 and I get response from the same IP, if that pinged domain doesn't exist in real world. e.g. ping xxxxxx How can I fix this? I want to have normal behavior ...
3
votes
3answers
235 views

Yum update notification when logging on to CentOS server remotely

I have 3 CentOS 6.3 Virtual Servers that I manage. I have them all set-up and configured, but am notoriously bad with remembering to run yum update on them from time to time. Is there anyway that I ...
7
votes
4answers
5k views

gpg --gen-key hangs at gaining enough entropy on centos 6

Trying to generate a key for a server. gpg --gen-key We need to generate a lot of random bytes. It is a good idea to perform some other action (type on the keyboard, move the mouse, utilize ...
3
votes
1answer
3k views

Add system user to CentOS 6

I need help adding a system user to my CentOS server. I have two commands that works on Ubuntu Server, however I have to find a replacement for CentOS while keeping the same result. The commands are: ...
4
votes
1answer
319 views

RHEL/CENTOS6 Interface naming and IP assignment for rotating MACs

Background: I am creating an RHEL6 OS disk image that will potentially be passed around to many different computers with identical hardware (except for serial numbers such as MACs). The image is ...
2
votes
1answer
716 views

How can I fix this Samba setup on CentOS?

I'm trying to set a Samba share in /home/share on CentOS. I do not have great experience with setting up that kind of service. I've been following guides and recommendations here and there, but ...
0
votes
1answer
35 views

Delete contents of a folder within a bunch of folders?

I have a bunch of folders say /test/ and /test1/ and these both contain folders /x/ and /x/ contains some random files which I don't want. I want to recursively go through all folders and go into /x/ ...
0
votes
1answer
400 views

Using postfix in CentOS 6 to relay mails to First.Last@gmail.com

I'm using: # cat /etc/*release CentOS release 6.3 (Final) # rpm -qa | grep post postfix-2.6.6-2.2.el6_1.x86_64 on 2 servers: preferans.de and (yes, funny name) ...
0
votes
1answer
36 views

directory existence before restarting apache

I've many domain hosted on my server. A new domain is configured with generic configuration. Usually users does not know and delete folders which are given for documentroot path in apache, sometimes ...
1
vote
6answers
2k views

ssh publickey doesn't work

UPDATE: I've solved this strange problem by simply restart sshd. However, I'm still wondering why, because I didn't change any configs since the server started. I have 2 servers, one installed CentOS ...
0
votes
0answers
2k views

Centos 6.3 on Hyper-v - startx xorg-X11 no /dev/fb0

I am running Centos 64-bit 6.3 on Hyper-V 2012. Logged in to the local console via the Hyper-V Virtual Machine Connection, I type startx but get the following failure and message: I do not have a ...
2
votes
1answer
448 views

Poor KVM guest IO performances

I've a DOM0 packed with two 3TB hard drives configured as a software RAID1, also sporting 16GB of memory. The DOM0's Linux distro is a CentOS 6.3 and the hypervisor is a libvirt-managed KVM. I'm ...
0
votes
1answer
67 views

How to Set up a LAN Connection consisting of 3 computers running CentOS6.3 Operating System

I have 3 computers and all have centos version 6.3. Now I want to set up "LAN Connection" between these 3 computers. But nothing happened and no help found regarding "Setting Up Lan consisting ...
0
votes
1answer
374 views

Reduce root LVM Parition Centos 6.3

I installed Centos 6.3 as a KVM guest OS, and used the default partition settings. Now I noticed that my / partition is 50GB and my /home is only 20GB. I want to increase my /home to atleast 50GB and ...
-3
votes
1answer
615 views

Changing the default gateway address in Centos

I have a a Centos PC with 2 IP addresses. One of them is because of a back to back connection with another PC, so both run on different subnets. The eth0 has the 192.xx.xx.xxx address and eth2 has ...
0
votes
1answer
211 views

php-soap 5.3.17-2 el6 x86_64

I just transferred a website to a server where I appear to lack the PHP-SOAP extension. Unfortunately I cannot upgrade to the 5.4.10 that is available on remi at the moment as I am not 100% sure if ...
0
votes
1answer
515 views

CentOS 6.3 with kernel-ml(3.7.1-2.el6.elrepo.x86_64) - No Console Output

I installed kernel-ml(3.7.1-2.el6.elrepo.x86_64) from elrepo on CentOS 6.3, and everything is working fine, except that I see nothing on the console and can't interact with it. I can SSH to the ...
1
vote
1answer
88 views

Mis-typed crontab line caused strange operation

So, I meant to put in the following entry in my crontab: */5 * * * * /command/to/run/every/5/minutes but accidentally typed **/5 * * * * /command/to/run/5/times/a/minute So, the command ran 5 ...
5
votes
2answers
3k views

Filesystem passthrough functionality in Centos 6.2?

I have a CentOS 6.3 machine currently running 2 virtualized CentOS 6.2 machines via KVM/QEMU/Libvirt. I'm trying to setup filesystem passthrough between the guests and the host. However the option is ...
0
votes
2answers
142 views

The feature Webalizer reporting cannot be disabled, as it is used by the following virtual servers

I can't disable webalizer in Virtualmin because of this error: Failed to save enabled features : The feature Webalizer reporting cannot be disabled, as it is used by the : How can I fix this? or ...
0
votes
1answer
913 views

lighttpd virtual hosting configuration

I need help setting up virtual hosting in lighttpd. i have the lighttpd default webpage in /var/www/lighttpd dir and i have created other dirs for my other websites /var/www/web1.com/public_html and ...
2
votes
0answers
473 views

lvs with NAT routing - horrible performance to one real server

I have an LVS setup with NAT routing and two real servers (as an FYI, we're only routing http on tcp port 80). Currently requests to real server A respond just fine, with page load times of 3-4 ...
11
votes
2answers
4k views

Persist IP address alias across reboots in CentOS/RHEL 6 using “ip” command

I've always used the ifcfg-eth0:1 alias files to create additional addresses. However, in recent rhel documentation, it states that: As the ip command of the iproute package now supports assigning ...
2
votes
4answers
10k views

apache won't start httpd service start centos 6.3

I've installed CentOS 6.3 and i run the command yum install httpd after successfully installed I've typed in the terminal service httpd start nothing happend i did opened the browser and typed ...
1
vote
1answer
152 views

Running program that you just installed with rpm

I've just downloaded pgadmin from : http://yum.postgresql.org/repopackages.php#pg92 and I've installed it : rpm -ivh pgdg-centos92-9.2-6.noarch.rpm How do I open it? where can I find it or do I ...
2
votes
2answers
2k views

rpmbuild on CentOS 6.3 64-bit - broken dependencies

I'm trying to build a package using rpmbuild on 64-bit CentOS 6.3 server. Here is the spec file: Name: test-fms Version: 1.0 Release: 1%{?dist} Summary: my FMS Package ...
3
votes
1answer
822 views

vsftpd - Allow access certain user only from certain IP range

I am using CentOS 6 (64bit) and have VSFTPD installed. I have two different users for vsftpd: privateuser and publicuser. I need to configure that only privateuser can login to the ftp server from ...
3
votes
1answer
1k views

supervisor.con on centos 6 [closed]

I installed supervisor using easy_install, however, the conf file seems to be missing, and I really wanted to have a base to start my configuration. Does anyone know where can I find this file or an ...
1
vote
1answer
60 views

sendmail.mc to fwd all mails for a domain -> First.Last@gmail.com (MX record already set up)

I'm currently using Google Apps to forward mails addressed to recipients at my domain balkan-preferans.de (176.9.40.169) to my address First.Last@gmail.com - this is done by the following DNS-zone ...
1
vote
1answer
810 views

A stock install of Moodle doesn't seem to run on CentOS or RHEL 6.3

I've got a clean instance of CentOS and a clean instance of RHEL 6.3 - I've tried to installed Moodle on both. Error: Database connection failed It is possible that the database is overloaded or ...
0
votes
4answers
6k views

CentOS 6.3:Cannot login as root despite the password being correct. Same password working correctly for days [duplicate]

Possible Duplicate: Why is “chmod -R 777 /” destructive? I have CentOS 6.3 minimal installed. No desktop or GUI. All the while, I was able to login as root. Today, I come to work and find ...
2
votes
1answer
239 views

MongoDB ReplicaSet slow read performance

I successfully basic configure my replica set, but i noticed slow read performance. I have 2 mongo servers and 1 arbiter in my replica set. All are running on Centos 6.3 minimal setup (just ...
0
votes
2answers
165 views

libphp5.so file not reflecting changes made in php.ini

I have been trying to update the upload_max_filesize of my php.ini file to 200M. I have got it to successfully save however it is not reflecting the changes on my server (it still lists the ...
0
votes
1answer
144 views

Editing remotely the PHP files on a Centos server

I have a intranet web server (Centos 6, Apache, PHP) to which I would like to give access to a developer. He will connect by remote desktop from Windows 7 to Ubuntu 12.4 and from here by SSH to ...