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

How to set a network interface as 'trusted' on Centos 6 (with multiple interfaces)

I have a box with two wired network interfaces. On Centos 5 I could run the setup command in console and set which interface is trusted and which not in the firewall configuration (e.g. eth1 trusted, ...
2
votes
1answer
1k views

How to construct SELinux rules for a Glassfish server

I'm running Glassfish 3.1 on a CentOS 6 solution and by default SELinux is enabled. I have installed Sun's JDK version 1.6.0_29 on the server and extracted the Glassfish 3.1.1 to /opt/glassfish-3.1.1 ...
1
vote
1answer
4k views

CentOS6 system-config-packages missing?

I've just installed CentOS 6 with gnome but the graphical package manager no longer appears to be there. I've tried installing both system-config-packages and pirut using Yum but neither finds ...
3
votes
3answers
6k 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
229 views

Connecting to CentOS Server from outside fails if server has been idle

I got a strange problem with the network connection of a Centos 6 server: From LAN everything works as expected (SSH, httpd) but outside connections fail if the server has been idle for a few minutes....
9
votes
3answers
27k views

Changing the maximum mail size in Postfix

When sending large email to a new CentOS6 server running Postfix as the MTA, the following message is returned: tried to deliver your message, but it was rejected by the recipient domain. We ...
3
votes
2answers
531 views

General Protection Fault error on Centos 6 while executing a python script

I have a python(fabric) script running on a centos 6 box that parses configuration files and daemonizes MRTG process and dumps rrd files a folder in a shared file system. All goes well but midway to ...
9
votes
2answers
21k 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 /etc/init.d/...
3
votes
3answers
11k views

CentOS 6 on Hyper-V - network adapter doesn't work (no checksum feature)

I have installed CentOS 6.0 on Hyper-V Server 2008 R2 SP1. VM has only synthetic network adapter enabled. Installation was successfull (without any network), then I installed Linux Integration ...
0
votes
1answer
145 views

RAID 1 with motherboard software or SiI hardware?

I have to setup 2 servers with RAID 1 and the company cannot provide funds for the hardware needed until december, here is the hardware available: Computer A OS: CentOS 6.0 MB: EP41-UD3L RAM: 4GB ...
4
votes
1answer
2k views

how can I modify a SELinux access restriction

I want SELinux to allow the LogRotate daemon to rotate and compress the audit logs under /var/log/audit/audit.log, but it's being blocked with this error message showing up: Oct 27 04:06:03 ...
7
votes
2answers
17k views

How do I get openldap on Centos 6 to write anything to it's log files

I don't get any information in my log file for openldap on my Centos 6 server. This is how i configured it. SELinux is disabled at the moment. First created a folder where I'd like to store the log ...
1
vote
1answer
883 views

rhel6 repsitories gives broken dependencies

i tried several repositories for rhel 6 like epel,freshrpms,etc and all the repositories give broken dependency while installing pakages(eg:vlc,exaile).From where i get a repository without broken ...
4
votes
2answers
3k views

How do I add olcAuditLogConfig to openldap on Centos 6

Regarding to 'man slapo-auditlog' I should just need to add the following. dn: olcOverlay=auditlog,olcDatabase={1}hdb,cn=config changetype: add objectClass: olcOverlayConfig objectClass: ...
0
votes
2answers
4k views

CentOS6 - How to install Postfix with MySQL support from “centosplus repository”?

I need to install Postfix with MySQL support from the CentOSPlus repository. I have done what this document/tutorial describes: http://wiki.mediatemple.net/w/%28ve%29:...
32
votes
2answers
79k 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 ...
1
vote
2answers
464 views

Missing most of /bin

I'm having a strange issue with a CentOS 6 box. A couple of hours ago I lost most of the files in /bin - ls,ps,mount,rpm for example are gone. It seems that the missing files are those provided by ...
0
votes
2answers
222 views

Apache - Redirect to a bootstrap

Apache2 CentOS 6 I am trying to work out how to make an Apache VHost send all of its requests to an index page as a kind of bootstrap. I do not wish to alter the look of URL, however all requests ...
3
votes
1answer
870 views

Where do I find USEFUL official documentation for LDAP authentication on Centos/RHEL 6?

Does it exist any official installation documentation about how to setup an LDAP server that I can connect my clients to with authconfig. I'm will be Centos 6 and RHEL 6.1. What I can find is this. ...
1
vote
1answer
3k views

CentOS 6 - php5-pam-auth?

Where do I get an updated version of the PHP pam_auth module? Can't find it on yum and the latest version I can find to download is for PHP 4.3.
0
votes
1answer
1k views

How do I configure SELinux on Centos 6 for cobbler?

I have installed and configured Cobbler on my centos 6 "installation server". From what I think I did all the configurations I'm supposed to. The installation was performed with my own customized ...
7
votes
2answers
11k 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 ...
4
votes
1answer
5k views

Does CentOS 6 have Xen-compatible Kernel?

I would to try to convert my VirtualBox image and upload to Amazon EC2, following this tutorial: http://www.ioncannon.net/system-administration/1246/converting-from-virtualbox-or-vmware-to-ec2-now-...
14
votes
9answers
35k 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 ...
2
votes
3answers
16k views

/etc/inittab respawn script migrating from RHEL/CentOS 5.x to 6.x

I have a non-forking perl script running as a TCP-sockets daemon (this script is a backend for a multiplayer game) in CentOS 5.7. It is being started and respawned by /etc/inittab: pref:3:respawn:/...
5
votes
3answers
3k views

CentOS6 installation from CentOS5 box?

I am trying to build a new CentOS 6 VM from my CentOS 5 host, but it appears that something fundamental has changed between these versions: $ rpm -ivh --nodeps --nodigest --ignorearch --ignoreos --...
2
votes
1answer
819 views

CentOS and iptables Logging

I am working with some CentOS rules and would like to be able to log the dropped items from iptables out to a separate file. What is the best way to setup CentOS to log dropped iptables matches to a ...
1
vote
2answers
4k views

Resize Windows 7 Guest virtualised under KVM on Centos 6

I created a windows 7 virtual machine on Centos 6 running the following: virt-install --name=W7VIRT64 --ram=768 --disk path=/var/lib/libvirt/images/guest1-win7-32,size=8 --vnc --network network=...
1
vote
4answers
2k views

How to open Apache2 to outside in CentOS 6

I have installed CentOS 6 but I'm only able to open Apache2 to outside by turning off the firewall. Can somebody give me a clue on how I can open apache2 to the outside without turning off the ...
0
votes
1answer
856 views

Mount a remote Linux hard drive as another Windows 7 partition during boot?

I would like to mount a hard drive on a remote computer (running on CentOS 6) as a Windows drive so that I can install programs to that drive. The primary hard drive for my Windows machine (which is ...
8
votes
1answer
2k views

Disabling IPV6 on Centos6

I want to disable IPV6 in the new Centos6 virtual server I have just setup in Xen. I have already followed the instructions here and then rebooted/restarted networking. Update: followed the below, ...
1
vote
3answers
5k views

CentOS 6: PHP can not load gdchart.so and oci8.so compiled by me

I have been trying to add 2 PHP extensions to a freshly installed CentOS 6.0 Linux server, but get the error messages in /var/log/httpd/error_log: [notice] SELinux policy enabled; httpd running as ...
-2
votes
1answer
718 views

Can't use the nameserver domain after installing cPanel/WHM

I have a VPS with Linode (CentOS 6.0 64bit), I just installed cPanel/WHM and though i only have 1 IP, i setup custom nameservers ns1.mydomain.com, ns2.mydomain.com both pointed to the same IP and it ...
1
vote
4answers
1k views

Installing Munin on Centos 6

I've hit problems installing munin on Centos 6. This seems to be a conflict between parts of Perl. I think the version of Perl is newer on Centos 6 (v5.10.1) When installing munin via yum I get ...
31
votes
3answers
31k 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: mirror....
0
votes
3answers
1k views

Why does cron on CentOS complain about carriage returns?

I have a CentOS 6 machine I am trying to run some cronjobs on and the jobs are failing complaining about a carriage return (^M) on the end of the line. Example /var/log/cron entry: CROND[20344]: (...
5
votes
3answers
17k 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 ...
5
votes
2answers
472 views

CentOS 6 in production

All of my virtual servers are on Centos 5.5. Now I am deploying new one and there is a new OS option: CentOS 6. I like new software, and I prefer to use new versions (but not the edge). So, as far as ...
1
vote
1answer
957 views

httpd conf environment variables - how do they work? (Centos 6)

I have the following config included in my httpd.conf... Include ${MODULE_DIR}/utilities/devconf/bo/vhost.conf where ${MODULE_DIR} is an environment variable that I am setting in my httpd init ...
3
votes
2answers
10k views

CentOS 6 WiFi using NetworkManager and Without GUI tools

I am using CentOS 6, trying desperately to get Wifi working via a ifcfg-wlan0 file and fudging with /etc/wpa_supplicant/wpa_supplicant.conf. I do not have an X server, so I do not want to use the GUI ...
5
votes
3answers
2k views

Broadcom BCM5716 Hangs on CentOS 6 Boot

I have a fresh CentOS 6 installation on a Dell R310 server with a Broadcom BCM5716. The onboard NIC is causing the boot to hang for some reason. Welcome to CentOS Linux Starting udev: udev: starting ...
1
vote
2answers
1k views

Printing fails after first print with Centos 6 and HP LaserJet P3015dn printer

Centos 6 recognises and configures a HP LaserJet P3015dn printer connected via USB. This machine is being configured as a small group file/print server. I can print a test page, which is processed/...
1
vote
2answers
11k views

What is causing “Unable to find suitable address.” when trying to mount samba share on Centos 6?

I am trying to share a directory on a centos box. I tested out configuring it on my ubuntu desktop before trying it on the centos machine and every thing worked fine. The smb.conf is setup the same ...
2
votes
1answer
509 views

CentOS 6 Gnome login immediately logs me out

Have a strange issue on freshly installed CentOS 6, with Samba Windows 2008 R2 authentication. The login succeeds, and even the home directory created, but then I'm thrown back to the login scren ...
2
votes
3answers
6k 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 ...
3
votes
2answers
9k views

Cannot access port 80 from remote location but works on local?

I have a linux server on configuration with apache. However I cannot get access to it using a remote computer. I can ssh to the server normally. my IP table: Chain INPUT (policy ACCEPT) target ...
4
votes
3answers
9k views

Cannot write to CIFS share as non-root user - CentOS 6

I'm working on a system recently migrated to CentOS 6 from CentOS 4.9. There is a CIFS mount from a Windows 2008 server that existed on the old system. The raw mountpoint has 777 directory permissions....
1
vote
1answer
667 views

Linux CentOS 6.0 - auto_eth0 not connecting

I just recently installed CentOS 6.0 i386 from the Live CD. However, now when I try to run updates, I do not have an internet connection. I was told to run "system-config-services" and disable "...
3
votes
2answers
2k views

How can I enumerate SAS addresses/WWNs in Linux?

I have some SAS devices in a server, I would like to find out what their SAS addresses are. How can I do that in Linux? I'm using CentOS 6.
1
vote
2answers
3k views

CentOS Apache wont start

Just did a fresh install of centos, i also installed apache, but it wont start. [root@blah /]# /etc/init.d/httpd start Starting httpd: [FAILED] this is ...