CentOS is a free (as in beer and speech) GNU/Linux distribution that is community driven and based on source code released from RedHat.

learn more… | top users | synonyms

3
votes
3answers
1k views

CentOS: Init scripts failing to start for some unknown reason

I'm running CentOS 6.2 - I've just migrated some applications over to a failover server, and copied their init scripts into /etc/init.d. I've made them executable, added them to chkconfig, with ...
3
votes
2answers
2k views

PHP-Mcrypt Installation

I need to install php-mcrypt on my CentOS 5.5 VPS, When I try yum install php-mcrypt, it says that it is set to be updated which implies that it is already installed. I looked in the ...
2
votes
2answers
202 views

Forward all TLD requests to another server

So, an emergency has been landed in my lap, and unfortunately I'm ill-equipped to deal with it. An IT tech for a client's company changed the A record for a domain, then went on holiday. He is the ...
2
votes
4answers
7k views

Setting new hostname on CentOS, it changes back after restart

On CentOS (5.x) I have a VPS that has hostname set to "olddomain.com", at least this is the domain I am getting when typing "hostname" command. I want to change it to 'localhost.localdomain' because ...
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 ...
2
votes
4answers
2k views

How to manage my CentOS VPS without cPanel

Just got a good VPS deal with Dual Virtual Core/CentOS/150G/1gb ram/2 IPs. But cPanel is out of my reach. As such I am new to VPS with good knowledge of cPanel shared hosting. Was using RH few years ...
2
votes
3answers
4k views

IP tables modification to allow access to mysql on CENTOS 5 server

CentOS 5.4, with IP tables stopped, I can do it. What's the line I need to add to IPtables so I can keep it on and have remote (domain) access to the mysql databases? my current table: # Firewall ...
2
votes
3answers
3k views

Puppet - Any way to copy predefined custom configuration files for software on clients from the puppet master (host)?

I have been having a lot of fun coding with what puppet I have had experience with so far, and so far it looks like it can do most of what I need it to do. One thing I am not finding in the ...
2
votes
3answers
4k views

(CentOS) Adding swap file failed

Im trying adding swap file by following this guide: http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/custom-guide/s1-swap-adding.html Everything is fine, but starting swapon /swapfile, I got ...
2
votes
1answer
1k views

How can I troubleshoot a service not starting at boot?

I've got a service set up to start at boot but it's not doing so and I don't know where to look (e.g. logs) to troubleshoot it. I've verified the run level: $ grep default /etc/inittab ...
1
vote
1answer
260 views

Errors when Compiling Nginx with Pagespeed on CentOS 7

I am trying to compile Nginx with Pagespeed from source and I am having a hard time trying to resolve the not found errors I am seeing when I add the configure settings. This is my configure settings: ...
1
vote
0answers
272 views

Improving TCP performance over a gigabit network lots of connections and high traffic for storage and streaming services

I have two servers, Both servers hardware Specification are Processor : Dual Processor RAM : over 128 G.B Hard disk : SSD Hard disk Outging Traffic bandwidth : 3 Gbps network cards speed : 10 Gbps ...
1
vote
2answers
365 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
2answers
5k views

php-xml install complains of dependency php-common but this is already installed (CentOS)

How do I force php-xml to see the already installed dependency? sudo yum install php-xml complains about: php-common = 5.1.6-34.el5_8 but running yum install php-common ...
1
vote
1answer
3k views

How do I mount a raid disk

So I screwed up my grub.conf file on a CentOS system and I'm in recovery right now (it's only a test dedicated server). My disks are /dev/sda1 and /dev/sdb1 (RAID 1). Now I need to mount /dev/sda1 and ...
1
vote
2answers
982 views

Receiving emails on CentOS 5, Postfix

Here's the problem : Our server (CentOS 5, Postfix) can't receive mails, bat can send. Running tcpdump port 25 and sending an email from gmail shows that there are incoming request from gmail But ...
1
vote
2answers
2k views

Kernel update without reboot [duplicate]

Possible Duplicate: Reloading a kernel “live” in CentOS / RHEL 6 How can i update kernel on Centos without reboot .? I found ksplice but it is not supported for Centos. ...
1
vote
2answers
155 views

How can I tell what rpms are managed outside of yum? [closed]

I am inheriting a Centos 5 box and I'd like to get an idea of what rpms have been installed outside of yum. Bonus: How can I audit that RPMs installed with yum to make sure that they are not ...
1
vote
4answers
16k views

How to change my commandline locale after CentOS decided to change it?

So apparently, CentOS decided I was Dutch, and thus, should not have a English locale. Apart from the fact that this greatly bothers me, I am having a pretty hard time actually changing it back. ...
1
vote
2answers
1k views

Low entropy on CentOS 5 after new mount

I recently mounted a new partition and moved /home and /var/lib/mysql to the new drive and did a symlink to them. Now I've noticed that the entropy (using munin) has dropped from around 3000 to ...
1
vote
5answers
181 views

CentOS box access by name

I intent to develop a centos server with lamp. What I want is connect the server to any kind of home network and access it by http://myserver. I have already successfully set a static ip but I can't ...
1
vote
1answer
3k views

Unable to access resume device in CentOS

I moved my CentOS soft-RAID1 drives to another box, and now it fails to boot. When I launched the boot process from the grub menu, I get the following error: "Unable to access resume device ...
0
votes
1answer
2k views

Elastix Upgrade fails CentOS yum missing dependency with libwat, libgsmat, and libss7

I upgraded a year old vanilla Elastix box using yum update and yum upgrade. Almost 400 packages updated but a few of them failed, including asterisk. At present the switchboard is working but I can't ...
0
votes
3answers
5k views

How to install 32-bit packages on a 64-bit CentOS

We have a lot of 32-bit CentOS 6 servers with custom rpms built for i386 and i686 architectures in our own RPM repos. We now have some 64-bit CentOS 6 servers, but would like to be able to install ...
0
votes
2answers
522 views

Can't get php-fpm with Nginx to work

Server: CentOs x86_64 /etc/php-fpm.d/webuser1.conf [webuser1] listen = 127.0.0.1:9001 listen.allowed_clients = 127.0.0.1 user = webuser1 group = webuser1 pm = dynamic pm.max_children = 15 ...
0
votes
3answers
2k views

Cent OS genkey bad certificate request error -8016

I'm trying to generate a key using the genkey command in centos 6.4. Every thing seems to go fine but I get this error message bad certificate request error -8016 and no key/cert is generated.
0
votes
2answers
810 views

Switch sending DHCP packets to wrong VLAN

I have a basic remote site with a Cisco Catalyst 2924XL switch. There are 2 VLAN's at the site: 1 Default 2 Wireless There is a single server connected via a single ethernet cable, VLAN 1 is ...
0
votes
3answers
2k views

Linux Top shows 99% Memory in Use - Is it normal? [duplicate]

Possible Duplicate: Linux high memory usage (top total mismatch) High Memory Usage on Linux Server CentOS 5.7 dedicated server. No memory intensive processes running. 12GB RAM installed. ...
0
votes
2answers
10k views

How many maximum files per directory on CentOS 5 64bit or Linux RedHat 64bit?

Now, I have any 20,000 files in single directory. How many maximum files per directory on CentOS 64bit ext3?
0
votes
1answer
8k views

Tomcat 6 on Centos 5 - only RPMs

I'm going through the exercise of setting up Tomcat 6 on CentOS 5 using RPM packages. Right now I'm stuck with old versions of tomcat5-jsp-2.0-api and tomcat5-servlet-2.4-api-5.5.27-7.jpp5, since they ...
-1
votes
2answers
2k views

Uninstall all instances of memcached

My host asked me to: " You will need to remove all instances of memcached that you have installed. " How would i go about doing this? I am on CentOS
-1
votes
1answer
2k views

How to use cPanel/WHM to configure multiple domains (on CentOS VPS)?

I have a managed VPS, running CentOS/cPanel/WHM, with one domain currently running (let's call it testsite.com) on a pair of IPs. I got a second IP pair from my host, and a new domain name, call it ...
-1
votes
2answers
669 views

Server performance for high traffic? [closed]

I need to make sure my website is properly optimized (the server, the PHP code, and the MySQL queries) for high traffic. I am getting ready to market my website soon, and expecting a ton of traffic, ...
-1
votes
3answers
285 views

iptables — am I doing this right?

UPDATE Boy am I glad I asked. OK, I'll try again and post another question. I'd like to set up a CentOS 5.3 host to allow only ping, ssh, httpd, and SSL connections. After reading a tutorial and ...
-2
votes
1answer
644 views

Show hidden files for default on Centos via ssh [closed]

I have a VPS Server based on CentOS 6.4 (Final) The inconvenience: When I log on via SSH (using root user) I can't see hidden files, e.g I can't see (for default) the .httaccess and others system ...
11
votes
3answers
7k views

Installing Fedora RPMs in CentOS

How safe is it to install Fedora RPMs in CentOS 5? Does it depend on the version of the Fedora RPM or is it generally better to steer clear?
8
votes
2answers
9k views

Getting shell script to run as a daemon on CentOS?

EDIT: For some reason half of my post got truncated, not sure what happened. I will update soon and will post that it is updated here at the top. EDIT: I have updated the post again, sorry for the ...
8
votes
4answers
6k views

Allow root login from one IP address only

I have centos5. Is there any way that i can log into my vps server with root user from particular ip address only. I have read that i can use private key to login into sshd. But the problem is i am ...
7
votes
5answers
5k views

Yum doesn't install latest version of Git on Centos6

When I go to Gits download section it mentions that latest version is 1.8 and I can install it by yum install git on Fedora. I'm running CentOS6 so that command should also work for me, but yum tells ...
5
votes
4answers
3k views

How do I configure RAID 5, especially stripe size, with 24 x 1.2 TB drives for CentOS 6?

For a Dell R920 with 24 x 1.2TB disks (and 1TB RAM), I'm looking to set up a RAID 5 configuration for fast IO. The server will be used to host KVM VMs that will be reading/writing files of all sizes, ...
5
votes
1answer
406 views

How does one install a custom CA certificate on CentOS?

I'm trying to install a certificate for my internal certificate server on a series of CentOS systems, and I'm finding the documentation on this to be almost non existent. My end goal is to be able to ...
5
votes
3answers
5k views

Official online RPM package browser / search for CentOS

I am looking for something that resembles packages.debian.org Debian Package Browser only for CentOS 5 and/or RHEL 5 [Red Hat Enterprise Linux].
5
votes
2answers
4k views

Should both mysqld_safe and mysqld be running at the same time on startup?

On launching my CentOS VPS (setup by someone else), MySQL starts two processes on boot: mysql : /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql root: /bin/sh ...
4
votes
2answers
701 views

Unable to start Mysql with SELinux

I am attempting to start MySQL with SELinux on CentOS 6 however I am getting the following error. 131212 09:08:08 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended 131212 09:08:58 ...
4
votes
1answer
965 views

GLIBC 2.6 on Centos 5.8

There are many discussions about glibc on CentOS on serverfault but I couldn't find one directly related to these: I have CentOS 5.8 server and I would like to install G-WAN. It requires GLIBC 2.6, I ...
4
votes
3answers
1k views

Possible to ignore the users shell in “su” command?

If I do su - -c 'mkdir bin' user1 then I get su: /usr/bin/ksh: No such file or directory because the users shell is set to ksh in /etc/passwd and ksh is not installed. Question How do I carry ...
4
votes
1answer
827 views

How can I determine who (or what) has blocked access to a centos user account?

CentOS 5.x A user account on my CenTOS server has become inaccessible and I'm not sure why. If I run chage -l foo I see: Minimum: 0 Maximum: 0 Warning: 5 Inactive -1 Last Change: ...
4
votes
2answers
1k views

Hugepages not utilized by MySQL 5.0, CentOS 5

I've set up Hugepages, but i'm not seeing any of them reserved. Have I missed a step, or for some particular reason, is MySQL is unable to utilize the Hugepages? I have not created a mount of ...
4
votes
2answers
723 views

Huge load on Centos, many apache processes

I'm experiencing a huge load on my server at the moment and I can't figure out why. When I use the 'top' command, there's hundreds of apache processes with the command "aux", but I can't find ...
4
votes
2answers
1k views

Adding the Source Repo to CentOS 5

How and what repository do I add/enable that contains all of the source file packages in CentOS 5? This is in order to enable yumdownloader --source <package_name>