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

-3
votes
1answer
1k 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 ...
28
votes
2answers
64k 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 ...
13
votes
2answers
30k 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 ...
16
votes
3answers
31k 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 ...
3
votes
2answers
791 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
5k 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 ...
17
votes
4answers
26k 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 ...
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 ...
5
votes
2answers
9k 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 ...
1
vote
1answer
622 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 ...
5
votes
3answers
5k 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
1k 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 ...
1
vote
3answers
5k views

Safely update php 5.3.3 to >=5.3.4 on centos 6

Would the following works fine without any issues? I have apc cache installed, the other packages the usual php configuration. yum update php would that be enough? it is an active server, so want ...
0
votes
1answer
5k views

Configuring Bind - Error About SOA Record When Starting named Service

It's been entirely too long since I setup a bind server. I've creating a lot of Windows DNS servers lately so I wanted to try my hand at it on CentOS 6. Unfortunately I'm having a slew of trouble ...
-1
votes
3answers
739 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
3answers
13k 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 ...
10
votes
8answers
19k 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 ...
20
votes
2answers
16k views

What does that mean: packages excluded due to repository priority protections

When updating with yum i recieve the following message: yum update Loaded plugins: fastestmirror, priorities Loading mirror speeds from cached hostfile * atomic: www7.atomicorp.com * base: ...
6
votes
3answers
10k 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 ...
6
votes
2answers
12k views

What is the correct way to load modules for iptables on Centos 6

Where should I load iptables modules, for example ip_conntrack and ip_conntrack_ftp. Places I have found that might be candidates, but are they? The IPTABLES_MODULES variable in ...
5
votes
2answers
699 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 ...
9
votes
2answers
3k 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 ...
3
votes
2answers
9k 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
0answers
778 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 ...
5
votes
1answer
655 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
11k 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 ...
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
1answer
255 views

Excessive number of sleeping processes in CentOS - howto diagnose?

I have a a large number of sleeping processes, about 600, the majority of which are Apache processes. Should I kill all these sleeping processes, or will that make Apache fail completely? Why are ...
2
votes
2answers
2k 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
3k views

OpenVPN not redirecting all traffic through VPN

I have just finished setting up my VPN, and google shows my IP to be that of my VPN, so this works fine. However, when I log in through SSH to the VPN server, it shows my last login to be that of my ...
2
votes
3answers
4k 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
2answers
2k 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
2answers
381 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
8k views

centos6 apache2 Invalid Command SSLEngine

Running: CentOS6 x64 When I restart httpd, I get the following error. What am I missing? [root@localhost ~]# service httpd restart Stopping httpd: [ OK ...
6
votes
2answers
13k views

ipmitool - can't find /dev/ipmi0 or /dev/ipmidev/0

Based on a previous question, I installed ipmitool (yum install ipmitool). Even after a reboot, though, i get the following error when trying to run ipmitool power status: Could not open device at ...
4
votes
3answers
1k 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
7k 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
8k 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
153 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
7k 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
8k 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
4k 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
209 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
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
2k 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
1answer
48 views

Mysql crashed, dumped DB's in recovery mode. What now?

I ran into an InnoDB issue that only seemed to get worse as I tried to fix it. Started with InnoDB: Unable to lock ./ibdata1, error: 11, I moved and then copied it back. I soon had an ib_logfile issue ...
0
votes
1answer
407 views

Samba / smbd on Centos 6.5

I've installed Samba4 and have the smb.conf file as follows: [global] workgroup = WORKGROUP server string = Samba Server realm = REXIALO.COM netbios name = ...
0
votes
0answers
497 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
181 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 ...