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

11
votes
3answers
6k 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?
7
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
4k 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
4answers
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
1answer
329 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
2answers
6k views

Why is the chroot_local_user of vsftpd insecure?

I'm setting up on my VPS a vsftpd, and i don't want users be allowed to leave they're ftp home directory. I'm using local_user ftp, not anonymous, so I added: chroot_local_user=YES I've read in ...
5
votes
3answers
3k 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
285 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
759 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
936 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
598 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
850 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
606 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
6k 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
1k 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
832 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
389 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
976 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
1answer
1k 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
236 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
144 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
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
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
607 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
742 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
856 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
880 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
215 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
644 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 ...
2
votes
3answers
773 views

Root file system is full and I need to install additional software.

I am trying to install to install EPEL Repository on CentOS 5.7. I still have lots of space available on my hard drive. /dev/sda2 3.9G 3.9G 0 100% / /dev/sda11 17G ...
2
votes
2answers
2k views

CentOS httpd running as both root and apache user

I have an Apache httpd server running on my CentOS server, but apparently it both runs a httpd-process as root and one as the apache user. See this screenshot of top: User and group are set to ...
2
votes
1answer
2k views

Unable to add user using useradd

Attempting to add a (non-existant) user to my CentOS system is returning useradd: user example exists. I can successfully manually add the user to /etc/passwd and /etc/shadow, but that workaround is A ...
2
votes
4answers
971 views

SSH failing authentication after manual edit of /etc/passwd and /etc/shadow

Recently, I needed to add a user to our CentOS server. For some reason, I could not add or remove them using useradd or userdel, so I edited /etc/passwd and /etc/shadow manually, adding them. I was ...
2
votes
2answers
842 views

Centos Clone Live Server?

We have 2 server one is old server like 4 year old other one is just brought both the hardware is similar, on the old server we using centos 4.5 last 1900days old server is not rebooted. Now we want ...
2
votes
2answers
489 views

SELinux prevents Apache from writing to pgbouncer's Unix domain socket

I'm using freshly installed CentOS 5.7 Linux 64 bit with PGDG packages: # rpm -qa|grep -i PG postgresql-libs-8.4.8-2PGDG.rhel5 pgdg-centos-8.4-2 postgresql-8.4.8-2PGDG.rhel5 pgbouncer-1.3.4-1.rhel5 ...
2
votes
3answers
805 views

arp table filling up

I have a CentOS 5 system which serves as an IPSec VPN connector between my network and a couple of remote networks. Lately it is running into this problem once or twice a day where its ARP cache gets ...
2
votes
4answers
1k 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
3k views

yum package conflict installing mysqlclient package

I'm trying to build and install Zabbix 1.8 on my CentOS 5.2 server. This server has MySQL 5.0 installed from the standard CentoOS 5.2 repository. ./configure ... is failing because of: configure: ...
2
votes
2answers
1k views

Installed php-mcrypt but it doesn't show up in phpinfo()

I'm trying to install php-mcrypt on a CentOS 5.4 but while the extensions appears to be installed, there's nothing about it when I do a phpinfo(). For example, you can see below that php-mcrypt ...
2
votes
4answers
9k views

How do I use RPM to install GCC from my CentOS distribution media?

I have a few package installation related questions concerning RPM, YUM and CentOS and getting GCC installed: I've mounted my distribution media on my CentOS 5.2 machine but I can't seem to work out ...
2
votes
2answers
204 views

Configuring two DNS zones with named.conf

I am trying to configure DNS to run two domain names. I am able to do one domain but am not sure how to configure a second domain. So for example: test.com and test1.com on same machine. How do i ...
2
votes
2answers
443 views

How to change default sendmail SMTP error codes, responses, and/or DSN text?

CentOS 5.x - SendMail Hi Guys, I'm curious -- is there any way to customize the STMP error codes, response text, and/or DSN body text in sendmail? If so, where is this stored? Thanks, Mike