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

-1
votes
1answer
959 views

How do I open custom ports in my iptables firewall? [closed]

I need IPTables, like everyone else, but I don't use it enough to really keep my knowledge complete and fresh. The setup utility in CentOS is too basic. It doesn't seem to allow me to open up custom ...
24
votes
2answers
57k views

How do I configure LDAP on Centos 6 for user authentication in the most secure and correct way?

During the last couple of days I have been using a lot of F-words, while browsing Internet for good documentation about how to setup an LDAP-server. So far I have found none, but plenty that are less ...
15
votes
3answers
27k views

How do I upgrade to the latest PHP version in CentOS with yum?

I found some blog posts about this, but it's rather lack of descriptions on possible side effects. I could really use some detailed on these steps: How to add a repo that provides PHP 5.4 into yum ...
13
votes
2answers
27k views

Upgrade CentOS 5.x to CentOS 6.x - tips and techniques

Now that CentOS 6.0 is making its way to the various mirror sites, I wanted to solicit opinions on the upgrade process. In working with the commercial RedHat 5.6 and 6.x distributions for the past few ...
3
votes
2answers
498 views

Is there a big difference between CentOS 6.4 to 6.2 and should I up/down-grade?

We have two separate managed web servers. One is running CentOS 6.2 and is used as a production environment for a number of sites. The second one runs CentOS 6.4, and hosts some internal applications, ...
6
votes
1answer
3k views

How do I view the contents of a SELinux policy package

As the title says, how do I view the contents of a SELinux policy package? The resulting files end with .pp. I'm running on centos 6, but I guess it's the same way on "all" distros. For example ...
14
votes
2answers
2k views

HP DL380p Gen8 (p420i controller) I/O oddity on XFS partitions

On DL380p gen8 servers using XFS on top of LVM on top of raid 1+0 with 6 disks, an identical workload results in a ten-fold increase in disk writes on RHEL 6 compared to RHEL 5, making applications ...
11
votes
4answers
15k views

How do I change timezone in centos 6.2?

Here is the output of my date command: [root@r1304 ~]# date Wed Apr 18 15:43:28 GST 2012 I want to change the default system timezone to Asia/Dubai. I've fallowed a tutorial and did fallowing: ln ...
5
votes
2answers
6k views

CentOS /usr/local/lib system wide $LD_LIBRARY_PATH?

I install custom software in /usr/local/lib. How do I set the PATH and LD_LIBRARY_PATH in CentOS 6 system-wide to use /usr/local/lib. I realize there may be more than one way. What's the simplest and ...
5
votes
3answers
4k views

Interpreting cryptic kernel “page allocation failure” messages

I have a multi-user CentOS 6.1 database system running an application named ABC. The server is 64-bit, 8GB RAM and 6 vCPU (on VMWare ESXi 4). We get frequent dumps into the dmesg and the system logs ...
5
votes
2answers
1k views

Modify XFS filesystem creation parameters during kickstart installation

I'm streamlining the kickstart process for a series of EL6.2 (RHEL, CentOS, SL, etc.) systems. I'd prefer to use XFS over ext4 for the growth/data partition. However, I'd like some control over the ...
3
votes
4answers
954 views

Reloading a kernel “live” in CentOS / RHEL 6

When upgrading the kernel package on CentOS or RHEL 6, is it possible to load the new kernel without rebooting? My gut tells me it's not, but if it were, it'd be handy - especially when compiling ...
0
votes
3answers
516 views

want to Make software router having two nic cards using centos 6.4

I'm new on CentOS. I have a CentOS 6.4 system having 2 NIC cards. I want to setup a gateway so I can get internet from public ip over 1st nic card (eth1) and forward the network over 2nd nic card ...
13
votes
2answers
11k views

CentOS 6 and upstart

The new CentOS 6 comes with Upstart, replacing init. I am trying to convert an /etc/inittab file to the new upstart format. This particular server only has 15 or so inittab entries, however, other ...
9
votes
6answers
15k views

CentOS 6 and locale error

I just installed CentOS 6 and whenever I login to the system via SSH remotely, I get the following error: -bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8) When I type "locale" on ...
6
votes
3answers
8k views

OOM killer killing things with plenty(?) of free RAM

The OOM killer seems to be killing things despite having more than enough free RAM on my system: (Full resolution) (Full resolution) 27 minutes and 408 processes later, the system started ...
5
votes
2answers
464 views

yum update entire release but limit to a prior version

We need to update yum update but we want to stay one release back. For example, we have CentOS 6.2 and want to move to 6.3. By default, it looks like yum update will install 6.4. On RedHat, this ...
6
votes
2answers
2k 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 ...
5
votes
1answer
512 views

Block outgoing connections for certaing uids (root, apache, nobody)

With iptables in CentOS 5 and 6 Linux - how can you please prevent processes running as root, apache or nobody from initiating outgoing connections? On CentOS 5 Linux I've tried putting these lines ...
5
votes
3answers
9k views

Howto install php 5.2.17 on centos 6 x86_64

Does anyone know how to install php 5.2.17 on a 64bit centos 6 install? I've got a old legacy system that requires php 5.2.17, but centos 6 only supports php 5.3. I've installed repo's such as ...
3
votes
2answers
6k views

SSH sessions terminate abruptly with message: Corrupted MAC on input. Disconnecting: Packet corrupt

We have a Dell PowerEdge 840 Server running CentOS 6.0 64 bit with 2GB ECC memory. When any user sshs in, after some time the session gets terminated with the output: Corrupted MAC on input. Packet ...
2
votes
3answers
3k views

How can I install pam_mount on Centos 6 x86_64?

I need to use pam_mount to mount user home directories individually at the time that each user logs in. I cant locate a package for this, at least for Centos 6. I would not have a problem building ...
1
vote
1answer
99 views

Is subscription-manager available for CentOS?

I'm trying to fix my updater to point to a specific release. Is the subscription-manager for RedHat only? I don't see it in my CentOS 6.3 (yum) repository.
1
vote
1answer
459 views

CPanel installation on Azure CentOS, gcc install fails

I am trying to install CPanel on a Centos VM on windows azure. Yum is failing to install gcc, which is required by the cpanel installer. I am getting this Error: Package: glibc-2.12-1.80.el6.i686 ...
1
vote
0answers
695 views

Adaptec 5805 on Centos 6 IRQ 16 error

I'm having a problem with Adaptec 5805 raid card http://www.adaptec.com/en-us/support/raid/sas_raid/sas-5805/ (with two SAS discs in raid) and Gigabyte motherboard GA-H67A-D3H-B3 ...
4
votes
3answers
480 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
3answers
220 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 ...
3
votes
3answers
5k views

Enabling http access on port 80 for centos 6.3 from console

Have a centos 6.3 box running on Parallels and I'm trying to open port 80 to be accesible from outside tried the gui solution from this post and it works, but I need to get it done from a script. ...
3
votes
3answers
7k views

Why is dhclient issuing a unicast DHCPREQUEST every ~15 seconds instead of at T1/T2 timers?

I am running a CentOS 6.2 server as my gateway and firewall, while also providing some internal services. This is a setup I have had for years using various hardware and distributions (redhat based). ...
3
votes
1answer
132 views

Server Unresponsive with Spike in Multicast Packets Received

I got a server from UbiquityServers about a week ago, I installed a simple Apache server and it just serves up images. The server is under very little load because it simply is an origin server behind ...
2
votes
4answers
4k 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 ...
2
votes
3answers
7k views

How to Make Windows Network Visible to Linux Server Box?

Salvete! I have a machine running CentOS 6.2. In the GUI, if I click on "Network", I get a messagebox saying: "Unable to mount location - Failed to retrieve share list from server" I can ping the ...
2
votes
3answers
3k views

Compiling realtime kernel from RHEL 6 MRG sources on CentOS 6

I'm trying to compile kernel-rt-2.6.33.9-rt31.75.el6rt.src.rpm from RHEL6 MRG source RPMs on Centos 6 x86_64 system. It's first time I'm doing this, so I did research on how to do this properly. From ...
1
vote
2answers
272 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 ...
1
vote
2answers
141 views

What “PAL Shim AllocRequest returning NULL” meens?

On a HP DL380e Gen8 with Dynamics Smart Array and SAS RAID installed I try to install Centos, after load the RAID Driver from HP Support Site I can access the RAID and do the installation. The ...
1
vote
2answers
854 views

Incrond running but not executing commands CentOS 6.4

I have copied this question over here from StackOverflow... I have installed incron from the EPEL repository (0.5.9) (before you ask; YES, I also tried downloading the source and compiling locally ...
1
vote
1answer
2k views

Why can't I connect to my PostgreSQL database?

I'm trying to install tentd-admin. The install fails during this step: $ DATABASE_URL=postgres://localhost/tent_server bundle exec rake db:migrate I also tried this: $ ...
1
vote
2answers
1k views

Modifying partitions in CentOS 6

Ladies & Gentlemen, I'm currently running CentOS6 6 with 300 GB of storage space. Currently, /dev/sda looks like this (via parted): Number Start End Size Type File system Flags 1 ...
0
votes
0answers
86 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 ...
0
votes
1answer
90 views

mail issues. cent os6, postfix and php mail. many domains, one with google apps

I am running a private server with centos6. I am using postfix. My "main" domain is using google apps to deliver its messages. I have several other websites hosted on this server too. The problem is ...
0
votes
1answer
89 views

postfix not sending mail from localhost

I am having a problem sending mail from the server. The issue was spotted because as php mail() is failing to deliver any messages. I have checked the mail log on the server and found the following; ...
0
votes
0answers
175 views

Why yum update PHP doesn't have required dependencies? CentOS 6 missing libcrypto and libssl [duplicate]

I own a CentOS 6 VPS on GoDaddy and I'm attempting to update PHP. GoDaddy told me to do the following: 1.Install epel and remi repositories: # wget ...
0
votes
0answers
123 views

ccs_tool addnode and addfence error invalid option — 'C'

I'm installing GFS2 on centos 6 with SAN and fiber channel. I followed this link: ...
0
votes
1answer
380 views

Dovecot, maildir on Windows 2008r2 NFS share

I'm really banging my head on this one. I have a CentOS 6.1 running postfix/dovecot accessing a Windows 2008R2sp1 NFS share. In a test where the Windows server is a stand-alone file server, I can ...
-1
votes
1answer
301 views

How to increase disk write-speed for SSD RAID10 array?

I've had no luck searching how to setup writeback cache on a RAID10 setup using mdadm software RAID. I'm trying to set this up for a 4x256Gb Samsung 830 SSD setup which only has 400Mb/s write speed... ...
-1
votes
1answer
254 views

pecl can't find PHP - 'No such file or directory'

I have updated PHP on a CentOS install to PHP 5.5 via the Remi repository. The php-pear package is installed. However, when I try and run pecl, it can't find the PHP install; [root@box etc]# pecl ...
-1
votes
1answer
632 views

updates-testing repo for CentOS 6?

What is the equivalent CentOS 6 repo for the updates-testing repo of RHEL/Fedora? I am trying to follow the node.js installation instructions here and am having trouble figuring out what repo to add ...