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

learn more… | top users | synonyms

2
votes
3answers
233 views

What is the equivalent of packages.debian.org for CentOS?

I have a CentOS machine that is not connected directly to the internet. I need to install some packages manually. If this were Debian I would go to packages.debian.org, search for the package and ...
2
votes
2answers
1k views

Setting up vsftpd with users locked to specific directory

I setup vsftpd, and changed the chroot settings in the vsftpd.conf file. But how do I make a user able to access only /var/www/html/username_here/ I made the user with useradd, but what's next? ...
2
votes
3answers
1k views

Where to define command in nagios

I want to define new command in nagios for remote host but i can't find out where should i write this thing define command { } on remote host i have only this file vim ...
2
votes
2answers
761 views

What is the correct mail set up for multiple domains on one server?

I have a machine (centos 5) with one external ip address. On that machine I have many virtual hosts with a few different top level domain names and sub-domains under those eg. sub1.domain1.com ...
2
votes
1answer
67 views

Subversion update

I have a Subversion system running. It always does an post-commit update on /var/www by the following code: /usr/bin/svn update /var/www/. But, this is OK when I am working on an other server. I do a ...
2
votes
1answer
104 views

Python multithreading not working on VPS server

I am running an python multithreaded application with multiple processes which scrapes data from some websites. While running on my localhost It works great, but on the vps server I am using( Centos ...
2
votes
1answer
916 views

My CentOS 5.7 server can't access the internet

I have a CentOS 5.7 server setup in my office. I have recently moved to a new router (Linksys E3200) and I don't seem to be able to access the web at all through it (git, yum etc.). All the other ...
2
votes
2answers
498 views

Centos server migrate to larger disk

I have a centos server that runs a whm/cpanel with mysql, apache, bind and email daemons. The server now has 95% of the server disk full. It is a dell poweredge 1950 with 2 spaces for SAS disks. I ...
2
votes
2answers
194 views

Yum update info from what version, to what version

Is there some simple yum command so I can know what is current and what is future version of package for updating. I now about: yum list updates But that only prints new version of packages...
2
votes
5answers
3k views

How can see what processes makes my server slow?

All my websites on my server are extremely slow or not loading at all. Even server admin (Plesk) will not load some times. There's been no changes to the sites for the last coupple of months. How ...
2
votes
3answers
827 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
2answers
5k views

How to mount Windows share on boot using mount.cifs and autofs/automount?

I'm having some trouble mounting a network share using autofs. I have added the following line to /etc/auto.master: /mnt/mountpoint /etc/auto.servername I then created the file ...
2
votes
2answers
2k 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
3answers
492 views

Can I ? - Develop C/C++ in Fedora 14 using GCC 4.4 and deploy in CentOS 5.2 using GCC 4.4

My production env runs CentOS 5.2 and 5.5 versions. I have to develop a new tool using C/C++ and deploy it on this production env. I was planning to use Fedora 14 on my desktop with GCC 4.4 to do the ...
2
votes
1answer
727 views

problem while installing some python packages

There is an issue while installing some of the packages for python. They show 'No package available' message while trying to do yum install . They are these: python-psycopg, python-reportlab, ...
2
votes
3answers
8k views

How can I adapt this debian init.d script to work with CentOS 5?

I'm trying to get an lsyncd daemon running. I installed the lsyncd RPM from epel, but it doesn't seem to come with an init.d script. In the lsyncd repository, there's this script that works with ...
2
votes
2answers
11k views

How to fix yum install not valid release error on Centos 5

When I try to yum install anything I get: -bash-3.2# yum install strace Loading "fastestmirror" plugin Determining fastest mirrors * dag: apt.sw.be * lxlabsupdate: download.lxlabs.com * rpmforge: ...
2
votes
3answers
276 views

CentOS VM, NTP synchronization problems

We have three CentOS 5.9 VMs on an ESX3.5 host. Because of the nature of the services we provide it is required that the NTP time is synchronized and the time is correct on all three of them. ...
2
votes
1answer
332 views

Why is LVS dropping packets?

I am currently trying to get down to the core of a problem where my LVS-director seems to drop a packet coming from a client from time to time. We have this problem on our production systems and can ...
2
votes
2answers
787 views

Httpd restart “Address already in use” error

I have an .rpm, which I created. In its %post part, I do some stuff, and in the end of this script, i call service httpd restart. It gives the following error: + service httpd restart Stopping httpd: ...
2
votes
2answers
1k views

Monitor or log directory permission changes?

I'm having an issue with a cPanel shared server running CentOS 5 where a few directories under the public_html folder keep getting changed to 777 from 755. The customer says they are not changing it ...
2
votes
1answer
689 views

How to install Percona XtraDB Cluster on x86 server?

I'm going to migrate from MySQL replication to Percona XtraDB Cluster. The problem I'm facing is one node is running on x86, and I cannot install Percona-XtraDB-Cluster-server from the Percona repo ...
2
votes
3answers
337 views

Centos how to set default permissions for specific folder

I have a centos server that one of my apps creates files in a tmp folder. The files are always created with the permissions r--r--r-- and i need all the new files in this directory to be created with ...
2
votes
3answers
726 views

SNMPD running but not listening for connections at random

OS: CentOS release 5.7 (Final) Net-SNMP: net-snmp-5.3.2.2-14.el5_7.1 (from RPM) Periodically my NMS notifies me that SNMP has gone down on this machine. The service is restored in between 10 to 30 ...
2
votes
2answers
138 views

Consolidate separate /var and swap drives back to / drive in CentOS

The genius that originally set up the web server at my company put the swap, /var, and / directories on different drive pairs. I need to some how consolidate all three into one drive for migration ...
2
votes
1answer
237 views

Tomcat Solr times out

(Plesk 10.4 centos 5.8 linux apache2 server, with Tomcat5 on port 8080 and Apache Solr) I get "The connection has timed out" on requesting domain.com:8080 or www.domain.com:8080 or ip.ad.dr.ess:8080 ...
2
votes
1answer
2k views

How do I format this regex so it will work in fail2ban?

I've just installed fail2ban on my CentOS server in response to an SSH brute force attempt. The default regular expressions in fail2ban's sshd.conf file do not match any entries in audit.log, which ...
2
votes
1answer
910 views

Autofs BROWSE Mode in CentOS\RHEL

I have multiple server mounting their $HOME from a file server. On the clients I have set in /etc/sysconfig/autofs BROWSE_MODE="no" The client also mount directories from other files servers to ...
2
votes
2answers
210 views

UnRaid software raid - CentOs

I have a linux ( CentOS ) server that has 2 hard drives, and it configure by software raid1, Now I need to un-raid hard drives, and use both of them. How can I Un-raid them ? ( I just has SSH access ...
2
votes
1answer
2k views

Windows XP and SAMBA

We have a CentOS 5.5 server that is running kernel 2.6.18-194.32.1.el5 and SAMBA version 3.0.33-3.29.el5_6.2. We have a hidden share created that we use to map network drives to. This was working ...
2
votes
1answer
259 views

build RHEL6 kernel on Centos 5?

I have an existing Centos 5.5 box that really needs a couple features available in kernel version 2.6.32 and up. Is it possible to take a RHEL6 kernel and build it on my Centos 5.5 installation? I ...
2
votes
2answers
1k views

Multipathd load balancing on md3200i

I'm working on setting up a cluster of servers with an iSCSI MD3200i SAN for shared storage. Everything is working well but I have one small detail I can't seem to get working. Multipath seems to only ...
2
votes
4answers
2k views

Other processes take over port 80 when restarting Apache - why, and how to solve?

I have a CentOS 5.5 server running Apache on port 80 as well as some other applications. All works fine until I for some reason need to restart the httpd process. Doing so returns: sudo ...
2
votes
2answers
2k views

PHP-CGI Not working on CentOS 5?

While trying to configure php-cgi on a CentOS 5 server running nginx, I run into this: [root@~~~~~~~ run]# /etc/init.d/php_cgi start Starting php-cgi: spawn-fcgi: child exited with: 255 ...
2
votes
1answer
2k views

HOw to check firewall rules in Centos

I have centos 5. I tried iptables -L and it gives the following output Chain INPUT (policy ACCEPT) target prot opt source destination RH-Firewall-1-INPUT all -- anywhere ...
2
votes
2answers
715 views

Installing gitweb failed: No package gitweb available

I have tried installing gitweb via ssh and failed. Below is what I get. root@server [~]# yum install gitweb Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * rpmforge: ...
2
votes
1answer
173 views

How to open a port below 1024 in Cent OS for socket.io?

I'm trying to open port 843 in my Cent OS 5.2, I added following line to etc\sysconfig\iptables : -A INPUT -p tcp --dport 843 -j ACCEPT and then updated my iptables service. I need to listen to ...
2
votes
1answer
225 views

HTTP 400: No Host matches server name for MS Office files on Apache Server

Background We just migrated our website to a new server. Both the old and the new servers run/ran CentOS 5.5 and Apache 1.3.33. However, after the migration we have not been able to download any ...
2
votes
2answers
67 views

similar files has the same permission & owner but some of them give forbidden error

I moved a file from another server to my server. in directory listing Apache doesn't show it and I cant download it from browser (forbidden) but I created a new file and chmod + chown both of them to ...
2
votes
2answers
1k views

Installation of GitLab ignores ./config/gitlab.yml

I have been trying to install GitLab on CentOS 5.x, but I am stuck now and google's are confusing. I have been following this install guide (currently stuck here) After running bundle exec rake ...
2
votes
2answers
248 views

Download files from server while logged in via ssh

I have root ssh logins disabled on my server, but I currently want to back up some files owned by root onto my my local box. I am trying to figure out a way to use SCP to retrieve files while logged ...
2
votes
2answers
1k views

How to install latest version of imagick on centos 5.8 64bit using bash

How can I download and install latest version of imagick on centos 5.8 64bit using bash for php 5.4. >yum info php Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * ...
2
votes
1answer
667 views

Installing APC on CentOS 5.8 with PHP 5.2.17

I'm trying to install APC on CentOS 5.8 with PHP 5.2.17. I ran the dependancies, which weren't needed, and then pecl install apc and after a whole bunch of stuff, got: Build process completed ...
2
votes
3answers
800 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
1answer
1k views

CentOS - Automatically run fsck on boot into recovery

I'm automating a process to upgrade my ext3 filesystem to ext4. Following the instructions from here I'm able to successfully migrate my filesystem. I've scripted the vast majority of the work, and ...
2
votes
1answer
5k views

How do I configure a USB ethernet adapter under CentOS 5.3?

I've got a server running CentOS 5.3 (Final; kernel version 2.6.18) which I need to add a 2nd NIC to, initially temporarily, but eventually permanently. I'm not familiar with installing drivers under ...
2
votes
1answer
460 views

Virtual box - How to add disks and move var, opt and home to them?

I created a CentOS 5.6 Guest OS Virtual Machine. I made the first disk 10GB, I am rapidly outgrowing it. It was suggested that I make disks for my /var, /opt and /home directories and move them so I ...
2
votes
1answer
249 views

Hide folders in samba

I have a samba server running on CentOS 5.6. When I browse the the server from Windows 7 computer I see a share that I did not assign. I have already looked through the /etc/samba/smb.conf there ...
2
votes
1answer
1k views

Cannot login to cyradm to administrate Cyrus IMAP

I have a fresh installation of cyrus-imapd (2.3) on CentOS 5 with all these packages: cyrus-imapd cyrus-imapd-utils cyrus-sasl cyrus-sasl-plain cyrus-sasl-md5 I have changed the password of user ...
2
votes
3answers
2k views

httpd keeps crashing without any reference to why in the logs

I have the logs set to debug in the hopes of tracking down what's causing the crash, but I can't find anything. Here is the error_log. [Thu Jan 06 10:27:35 2011] [debug] proxy_util.c(1967): ...