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

0
votes
1answer
635 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
3k 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
418 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

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
9k 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
640 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
283 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
368 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?
10
votes
3answers
946 views

Should I avoid putting two SSDs in a RAID1 configuration due to performance degradation?

I have a workstation system that will have two 64GB industrial SSDs, and the plan is to have both disks in a RAID1 configuration for redundancy which is set up in the kickstart. The system will be ...
8
votes
2answers
7k 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 ...
7
votes
4answers
5k 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 ...
6
votes
5answers
4k 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
654 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
339 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
4k 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].
4
votes
2answers
350 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
803 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
641 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
900 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
646 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>
4
votes
4answers
2k views

Force Linux servers to automatically try to get an IP address if they lose it

We use static DHCP leases for our Linux servers on our small business network. Recently something bad happened to the DHCP server and all the linux servers ended up losing their IP addresses since ...
3
votes
5answers
2k views

CPU?: Not responding

I'm attempting to build a system for co-location. I've been running into issues while trying to install CentOS 6.3 System Specs: Motherboard: ASUS m5a99x Process: AMD FX-8120 (8-core Bulldozer) ...
3
votes
2answers
7k views

glibc 2.7 on CentOS 5.5?

I'm trying to run a program that requires glibc 2.7, but I'm running it on CentOS 5.5. Is there any way to do this? I can't upgrade to CentOS 6.
3
votes
2answers
224 views

CentOS expanding directory

I currently have a file server, and all the files are installed in /usr/local/nginx/html/. The setup is one hard disk with 1 TB of data. This 1 TB of storage is all used up. I asked the ...
3
votes
4answers
2k views

Getting a list of packages installed on CentOS (by command line and on the web)

When installing CentOS (6.2), it installs a whole bunch of packages, but the installation is often very fast, it's hard to note the names of the packages. I have a couple of questions: 1) I'm ...
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
3answers
855 views

CentOS PCI Compliance assessment

We are currently working our way through a PCI compliance assessment on our server running CentOS. We are getting a lot of 'severe' issues with suggested fixes. The suggestions to rectify the issues ...
3
votes
2answers
393 views

Is my linux firewall secure?

I am newbie to linux firewalls and trying to setup my systems firewall for a public facing computer. Here are my requirements: Ports 80 and 22 should be open for HTTP requests and SSH logins Since ...
3
votes
3answers
1k views

Apache wont start after attempting to install SSL

Below is what my VirtualHosts look like in httpd.conf <VirtualHost *:80> # Admin email, Server Name (domain name) and any aliases ServerAdmin support@mydomain.com ServerName mydomain.com ...
3
votes
2answers
3k 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 ...
2
votes
2answers
77 views

Swap memory exhausting server even site has small visitors

I have CentOs 6.5 running on a 32bit VPS host. It is running only php-fpm, nginx, and mysql. I have a site that gets on average 20 visitors per day, but I am recently getting this message from my ...
2
votes
1answer
2k views

How do I install Stress load testing tool on CentOS?

stress is a tool that imposes CPU, memory, I/O, or disk stress on an operating system, so you can test if your applications work under high load, e.g. when almost out of memory. How do I install ...
2
votes
1answer
289 views

HP System Management Email notification Linux

Does anyone know of a way for a HP Linux server to send and email when identifying issues such as hard disk failure? HP System manament is installed however I can only see SNMP and no email options. ...
2
votes
2answers
3k views

XenServer 6.2 Yum Repository

I installed a clean XenServer 6.2 from the ISOs provided here. I want to compile a driver against this system and need to install make and sources and so on. If I do yum install make I get ...
2
votes
1answer
147 views

How to enable two factor authentication

I am using CentOS 6.3 and want to enable ssh RADIUS authentication. Right now my server is directly authenticated with RADIUS server. I want the server to authenticate with unix credentials first and ...
2
votes
4answers
5k 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
2answers
2k views

Why is ethtool not showing me all the properties for a NIC?

CentOS 5.8 | VMWare ESX 5.1 When I run ethtool eth0 I see the following: [root@foo ~]# ethtool eth0 Settings for eth0: Current message level: 0x00000007 (7) Link detected: yes ...
2
votes
1answer
659 views

Low-traffic WordPress website on Apache keeps crashing server [closed]

I have recently moved my low-moderate traffic (1000 UAUs, 5000 pageviews on a busy day) website from shared hosting to a Centos 6 64-bit VPS with Apache and cPanel running on 4 quad-core processor ...
2
votes
3answers
771 views

Which services to disable on a CentOs 5.8 web/database server?

I have just setup my CentOS 5.8 64 [final] server as a webserver. Specs: 2x E5620 Intel CPU, DDR3 RAM, Hardware Adaptec RAID 10, 4x SAS drives. I have installed myself: Nginx PHP-FPM MySQL ...
2
votes
1answer
916 views

Why does my namespace and class name conflict?

I have a puppet module installed that is called ntp. A node do I define by node testip { include myconfig::ntpp } and in /etc/puppet/modules/myconfig/manifests/init.pp have I class myconfig::ntpp ...
2
votes
4answers
947 views

very specific iostat output needed in realtime

Is there anyway to get the output of iostat -m and add only the column await from the extended output in realtime? I know this question sounds nutso but I need to be able to get all those column in ...
2
votes
5answers
2k views

Does CentOS 5.4 properly handle leap seconds?

Apparently the IERS have announced a leap second due at midnight, June 30th this year. Is CentOS/RHEL 5.4 properly updated to support/transition along with updated NTP systems? I was under the ...
2
votes
2answers
223 views

sshd immediately core dumps after fsck repair

I have a centos server that recently needed a fsck repair on it's main hard drive. After fixing a bunch of inode issues (booting from a system rescue disk), the box booted clean. Most of the ...
2
votes
1answer
669 views

centos out of memory

I rent a CentOS service, and with no permission creat a swap, now I now I am slow open my site, slow access with putty. When I tried many times, finally see my root part with putty Here is a list of ...