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

-1
votes
1answer
1k views

Unable to decompress a .gz file on centos. gunzip: filename.tar.gz: not in gzip format

I am trying to install the latest apache ant to centos. I did as follows: wget http://ant.apache.org/bindownload.cgi/apache-ant-1.8.2-bin.tar.gz gzip -d apache-ant-1.8.2-bin.tar.gz and I get the ...
0
votes
2answers
1k views

What causes the error “Error: Device 0 (vif) could not be connected. Hotplug scripts not working.” on CentOS5.6 x86_64 with Xen kernel?

I have 10 domU's on my CentOS 5.6 server running Xen kernel. All 10 are set to start on system boot; however, for just 1 of the machines, I get this error: Error: Device 0 (vif) could not be ...
0
votes
2answers
706 views

can't connect to MySQL from localhost on Centos 5

I have a fresh install of Centos 5.5 on a new VPS and MySQL seems unable to resolve the keyword 'localhost' - if I use 127.0.0.1 instead it works fine. I checked the /etc/hosts file which is as ...
1
vote
1answer
694 views

Install Twisted on CentOS 5.5

CentOS 5.5 is using the old python 2.4 ! But I want to install Twisted on it ! Does anyone maintain a RPM of this library ?
0
votes
1answer
114 views

VPS (LAMP) Runs out of memory every so often

I have a VPS on CentOS 5, running LAMP. Twice now in the last 3 months the server has had to be rebooted due to being out of memory. Downtime ends up being an hour, before someone can look at it. I ...
0
votes
2answers
679 views

CentOS and PXE Boot

I am working on setting up a PXE boot server based upon a minimal installation of CentOS 5.6. I have installed CentOS 5.6 with the the first CD using the minimal installation method. Next, I ...
2
votes
1answer
261 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 ...
0
votes
1answer
1k views

why CSVN do not run anymore?

An unknown service is causing the server to crash. I then stopped and started those services, but the CSVN does not run and makes the server slow when I start the service. When I do a rollback this ...
0
votes
2answers
2k views

Munin access to MySQL

According to several tutorials, the following should work: Create a new user in MySQL. $ mysql -uroot -p > CREATE USER 'munin'@'localhost'; > exit; Use that user in munin to access the ...
0
votes
1answer
145 views

VSFTPD problem on Centos 5.4 with different port

I'm changing over my server to operate ftp on different ports than standard 20/21 accomodate a nas on the same network. I have changed the ports to 201/202 but cannot connect locally from a pc on the ...
4
votes
1answer
1k views

iptables refuses connections to squid port on CentOS 5.5

I installed squid on a fresh CentOS 5.5 and added this rule for iptables: -A RH-Firewall-1-INPUT -m state --state NEW,ESTABLISHED,RELATED -m tcp -p tcp --dport 8080 -j ACCEPT Using this HOWOT: ...
2
votes
2answers
2k 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 ...
0
votes
3answers
5k views

how to Install easy_install Via yum on Linux CentOS Server

please tell me how to Install easy_install Via yum on Linux CentOS Server i tried that in panel command center yum install python-setuptools output.... epel: mirrors.tummy.com * base: ...
0
votes
1answer
182 views

losing connectivity in Linux with Dell blades and such

So we have some dell blades and chassis (blades are M600's, chassis M1000's) and other systems (R710 with MD3000 array). The R710 exports a source tree via nfs for the blades to build and test with. ...
0
votes
4answers
330 views

Trying to scale my dedicated server for high traffic

I have a quad core xeon, 8GB ram, and only 2 x 1TB SATA drives right now. I am trying to figure out how to scale my application to handle as much load and traffic per day as possible. I have an ...
0
votes
2answers
61 views

Where should websites live on Centos servers?

I am re-organising some web servers, the majority of which are running the Centos linux distro. Each of these servers has multiple sites being served using virtual hosts. Is there a "correct" ...
-2
votes
1answer
225 views

configure Cpanel Openvz container

I need to config a cpanel openvz container. I know how to configure standards containers but I would like to find more info a about cpanel containers, configurations tips and other info related with ...
0
votes
1answer
2k views

Centos+Apache+Phusion+REE=FAIL

I have been trying to get Phusion Passenger running on 5.6 for the last couple of days with no luck. Initially, I started with Ruby 1.9.2 under RVM since the default Ruby on RHEL-based distros is ...
0
votes
1answer
795 views

Plesk 10 port 8443 connection timeout

I've installed plesk 10 on centOS and after installing to access the cp you need to go https::8443 I'm not being able to, and would like to find out why i can ssh to the server and i can, from the ...
0
votes
1answer
52 views

Updating CentOS

I have a CentOS 5.5 installation with ruby, dovecot (and some other soft) installed from source, and soft like postfix, samba, bind etc. installed from yum repositories. This box is online for more ...
0
votes
1answer
372 views

Problem with sendmail combined with iptables

I have the following setup, for my iptables, I want my server secured as can be. However, I just have one problem... Sendmail does not work, when I have iptables enabled. Even though I opened port 25. ...
3
votes
2answers
2k views

PHP Woes - 500 Internal Server Error (brand new server)

Anyone ever seen these errors, or something like it? /usr/bin/php: error while loading shared libraries: libcom_err.so.2: failed to map segment from shared object: Cannot allocate memory [warn] UID ...
1
vote
1answer
2k views

haproxy forwardfor ignored while in tcp mode

I have a haproxy set for https and as such I had to enable mode:tcp for that but as it turns out becasue of that forwardfor is being ignored and I can't see original ip. is there any way to bypass it? ...
2
votes
2answers
6k 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 ...
1
vote
2answers
2k views

NFS client can mount, fails to automount

I have /etc/auto.master: /cpy/users /etc/auto.users --timeout=90 I have /etc/auto.users: * -fstype=nfs4,rw,proto=tcp,port=2049 server:/users/& On an "ordinary" CentOS 5 machine, these ...
2
votes
1answer
583 views

Cloud Server Port says connection refused?

I'm playing around with using a Rackspace Cloud Server (running CentosOS 5.5) as a server for the Beanstalk Message Queue system. I'm starting Beanstalk with the command line of "Beanstalkd -d -l ip ...
0
votes
4answers
15k views

How to install network adapter in Linux (CentOS 5)

My company has a CentOS 5 Linux server. The network card died today and we replaced it with an Intel Pro 1000 GT network adapter. I'm not great with Linux. How can I get this new NIC working? Thanks ...
1
vote
1answer
2k views

Installing Integration Services for Hyper-V into CentOS-5.x

I am trying to install Linux Integration Services v2.1 into CentOS 5.5 running on Hyper-V. I have followed the dkms instructions from here: http://support.microsoft.com/kb/2387594 This works, in ...
0
votes
1answer
1k views

qlogic HBA tuning recommendations random iops

Trying to squeeze out the most performance from a 3PAR SAN with Qlogic HBA in our HP servers. We run on Centos 5.5 with latest updates/kernel. Can anyone give useful recommendation or tuning to get ...
0
votes
3answers
230 views

ruby 1.8.7 makes and installs on Centos 5.5 but won't run

I've downloaded ruby-1.8.7.p334 ruby-1.8.7.p334.tar.gz from ftp.ruby-lang.org, and decompressed it. When I did ./configure , it complained about no suitable c compiler, so I didyum install gcc. Then ...
0
votes
3answers
1k views

NTP time sync not working in a DOMU Centos 5.5 server

I have a Xen Centos 5.5 server with ntpd working in virtual server. NTP time sync seems not working. I have disabled any firewall. my grep -i ntpd /var/log/messages output: Apr 1 16:15:47 ...
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 ...
1
vote
5answers
439 views

Simple 2 node virtualisation cluster

Could someone recommend an opensource virtualisation cluster suite?! I'm looking at setting up a 2-3 node cluster w/ 2 webservers 2 mysql and a virtualised loadbalancer for apache. We currently have ...
0
votes
3answers
2k views

Allow IP Address Range In hosts.allow

I would like to allow this Ip Range 94.1.1.1 to 94.15.255.255 I tried inputting this in the hosts.allow file after reading here that you need to use networks and netmasks? i don't know much about ...
1
vote
2answers
1k views

Enable zip on PHP 5.1.6 without recompile

I've got a CentOS / Red Hat 5.5 box running the current PHP 5.1.6 package. A user is getting the following error: Fatal error: Class 'ZipArchive' not found in /var/www/html/<filename.php> on ...
0
votes
1answer
154 views

CentOS accidental httpd upgrade

I recently tried to get trac and svn working with apache on centOS 5 through some googling I found I needed to install mod_dav_svn. I used yum to install it it listed a httpd 2.2.3 as a dependency ...
0
votes
2answers
506 views

kickstart from USB stick with RPMs not in ISO (CentOS5.x)

We have been looking to setup a USB disk (stick) for uniformly configuring our servers. (and when I say "we" I mean my colleague figured it out with my occasional help) We would like to explicitly ...
0
votes
3answers
739 views

What are the ups and downs of virtualmin and kloxo?

I'm looking at both virtualmin and kloxo for managing a CentOS 5 server that I'm setting up, and I'd like to know what the ups and downs of each are. It will mainly be a web server, and I don't have ...
1
vote
3answers
145 views

Network apache server for windows clients using CentOs 5.5

I just installed a new server for replacing a Windows XP in a small office, the clients are windows pcs and the new CentOs 5.5 is running a LAMPP setup. The clients are unable to connect to the ...
0
votes
3answers
378 views

Any user in the apache user group can view others home directorys and edit files

Okay, Just recently uncovered a very large exploit in my server. Any hosting account that was set up through the Kloxo controll panel is automatically part of the "Apache" user group. This means if ...
0
votes
1answer
557 views

CentOS Group Permissions

How do I give all users in the group ftp-users full read/write acces to /var/www recursively? Thanks
0
votes
1answer
161 views

Linode - Centos 5.5 -

I rather foolishly undertook to install a control panel on a Linode. I opted to use CentOs 5.5 (either ordinary or 64 bit) but I am like a monkey playing a reward game... I have some idea of what I ...
0
votes
1answer
1k views

Postfix allow local users and authenticated outside users to send mail

I currently have a Postfix setup on my VPS (CentOS 5.5) that allows for SMTP mail to be sent with the user being authenticated via a MySQL database. I am using Dovecot. However, any program or ...
1
vote
2answers
494 views

chmod a folder permanently

kind of a newbie to server stuff. I am running a centOS setup with whoosh search engine for my django app. Everytime I restart or rebuild my index i get a warning that states IOError: The path to ...
0
votes
1answer
60 views

harddisk free space not showing coreclty

I installed centos5.5 on my PC which has RAID1 and size of 2TB. But after installation it shows only 200 GB free space. How can I recover the volume ?
3
votes
4answers
2k views

Apache, PHP, MySQL Work faster in Linux than Windows?

I currently develop for Drupal CMS using The Uniform Server. I also tried Xampp and WampServer. Loading each page of drupal take long more than 50 second which is really painful. My Computer is: ...
0
votes
2answers
730 views

CentOS 5.5 with Xen Strange Connection Problem

I am having a strange problem with my CentOS 5.5 server. I use this server as a Xen host with 2 Xen guests. The problem is that I am unable to connect to the server using SSH or VNC. Both SSH and VNC ...
1
vote
0answers
568 views

How to configure Centos 5.3 using OpenLDAP to store and serve SSH public keys?

I want to be able to manage all my users logins via OpenLDAP. I am using Centos 5.3, OpenSSH 4.3p2-42 and OpenLDAP 2.3.43. I have installed GOsa2. Is there a GOsa plugin to manage the SSH keys in ...
0
votes
5answers
2k views

Server hang on CentOS 5.5

I'm running CentOS 5.5 on a server. It runs several VMware virtual machines and an NFS server. Occasionally, like today, it hangs. There's nothing in /var/log/messages that indicates any problem. ...
1
vote
2answers
1k views

vsftpd: access SFTP on local user without shell access with specific directory

I'm trying to configure vsftpd on my vps in order to access SFTP from Transmit/FileZilla. I've opted for SFTP and the OpenSSL is configured, but I can't seem to manage to add a new user only for ...