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

15
votes
4answers
11k views

Failed to instal APC via pecl install APC

Hy when i try to install APC via pecl install APC-3.1.5 or even pecl install APC I get following error when the package comes to the make command: running: make /bin/sh ...
13
votes
2answers
27k views

Upgrade CentOS 5.x to CentOS 6.x - tips and techniques

Now that CentOS 6.0 is making its way to the various mirror sites, I wanted to solicit opinions on the upgrade process. In working with the commercial RedHat 5.6 and 6.x distributions for the past few ...
11
votes
3answers
567 views

CentOS /dev/bus/usb structure

On my Ubuntu 12.04 when I plug in usb device, under dev directory tree usb device is added like this: /dev/bus/usb/001/001 On my CentOS 5 added like below: /dev/bus/usb/devices/2-1.4/ lsusb ...
10
votes
3answers
15k views

How to list RPM dependencies?

Our production server is running CentOS release 5.2 (Final). How do I see/get/list all the dependencies of an already installed RPM package? For example: SQLite v3.3.6 is already installed in the ...
9
votes
2answers
5k views

High disk I/O - jbd2/sda2-8 process

I have run a file server on a CentOS 5.8 final server. My only concern at the moment is what appears to be intermittent but continuous high disk I/O activity causing a general slowdown because of ...
8
votes
1answer
575 views

Create swap file on a running Linux machine

Our company web sites have just been moved from a shared host to a VDS, as the hosting company plans on retiring the less than completely reliable shared hosting server(s). The VDS only has 256MB of ...
8
votes
3answers
6k views

Bind zone transfer refused

UPDATE: BIND Version: [root@10.224.45.130] $ named -v BIND 9.3.6-P1-RedHat-9.3.6-16.P1.el5 Operating System: CentOS release 5.6 (Final) After running [root@10.224.45.131] $ dig @10.224.45.130 ...
8
votes
2answers
347 views

FreeRADIUS 2 should use a different Python than default

We've got a FreeRADIUS 2 deamon installed on a CentOS 5.7 server. We'd like to use a pre-written Python module to do authorization but there's a problem: The Python module we've got requires Python ...
6
votes
3answers
2k views

Cent OS: How do I turn off or reduce memory overcommitment, and is it safe to do it?

From time to time "my" server stalls because it runs out of both memory and swap space. (it keeps responding to ping but nothing more than that, not even ssh). I'm told linux does memory ...
6
votes
2answers
7k views

How to remove packages that are no longer needed on CentOS 5?

While installing package I get some additional packages on dependency. But when I remove installed package with yum, the dependency packages are not removed, though I don't need them anymore. How ...
6
votes
5answers
4k views

nagios Missing Dependency: perl(Net::SNMP)

I have an odd problem. I'm trying to install nagios NRPE but it keeps failing with nagios-plugins-1.4.15-2.el5.rf.i386 from rpmforge has depsolving problems --> Missing Dependency: ...
6
votes
2answers
505 views

ntlm_auth - can login in AD with both old and new passwords

I have problem with AD and ntlm_auth. I use the following command, to query the AD server for checking the user existence: ntlm_auth --use-cached-creds --username=SOME_USER --password=SOME_PASS ...
6
votes
2answers
2k views

Can not switch drbd to secondary

I'm running drbd83 with ocfs2 in centos 5 and planning to use packemaker with them. Afer some time, I'm facing drbd split brain problem. version: 8.3.13 (api:88/proto:86-96) GIT-hash: ...
5
votes
3answers
2k views

Clear / Flush cached memory

I have a small VPS with 6GB RAM hosting a couple of websites. Recently I have noticed that my cached memory size is quite high - see below: Cpu(s): 0.1%us, 0.1%sy, 0.0%ni, 99.1%id, 0.0%wa, ...
5
votes
4answers
25k views

How to save and exit crontab -e?

How to save and exit crontab -e? i tried every method listed here and none works, i have a centos 5, vi comes by default with yum and i installed nano Solved just changed the default editor export ...
5
votes
3answers
15k views

How do I tell what process is causing kswapd to be in use?

I see kswapd using 100% CPU... how can I tell on which process's behalf kswapd is being used so much?
5
votes
3answers
2k views

CentOS6 installation from CentOS5 box?

I am trying to build a new CentOS 6 VM from my CentOS 5 host, but it appears that something fundamental has changed between these versions: $ rpm -ivh --nodeps --nodigest --ignorearch --ignoreos ...
5
votes
3answers
11k views

where is my php installation path

I am using centos and I need to find out where is the php installation path is. Is there a command I can use to find that out. Thanks
5
votes
1answer
512 views

Block outgoing connections for certaing uids (root, apache, nobody)

With iptables in CentOS 5 and 6 Linux - how can you please prevent processes running as root, apache or nobody from initiating outgoing connections? On CentOS 5 Linux I've tried putting these lines ...
5
votes
2answers
668 views

Timezone for cron jobs

We have a VDS running CentOS 5.5 that was created and configured with the EDT timezone. I have replaced etc/localtime with a link pointing to the Australia/Melbourne (UTC+10) timezone file. Running ...
5
votes
3answers
986 views

Why is my MPIO connection to the SAN capped at 1 Gbps when using Linux?

I'm connecting a RHEL5 box to a Dell EqualLogic PS5000X and seeing a maximum of 1 Gbps even while using MPIO with three gigabit NICs. I have all three interfaces on the PS5000X and three dedicated ...
4
votes
3answers
2k views

Which filesystem for 16TB under CentOS 5.5?

We have a PowerVault NX3100 from Dell here. I have to install a Linux Server on this system and don't know which filesystem I should use and which partition layout would be useable for the RAID with ...
4
votes
2answers
9k views

Configure domain name in CentOS

How do I configure domain names in Cent OS? I am actually connecting to the servers via SSH remote terminal and I also have root credentials. Does configuring the /etc/sysconfig/network and ...
4
votes
3answers
441 views

system monitoring software? [duplicate]

Possible Duplicate: What tool do you use to monitor your servers? Hi, i'm a newbie at server administration, for that my questions :P i'm needing a system monitoring software that work on ...
4
votes
5answers
10k views

Upgrade Centos 5 tot PHP 5.2 or 5.3 [recommended way?]

We are using Zend Framework and in version 2, php 5.2 will be the minimum requirement. We love CentOS and we'd like to keep using it, but PHP 5.1 just won't do anymore when developing web applications ...
4
votes
2answers
252 views

High Server Load cannot figure out why [closed]

My server is currently running CentOS 5.2, with WHM 11.34. Currently, we're at 6.43 to 12 for a load average. The sites that we're hosting are taking a lot time to respond and resolve. top doesn't ...
4
votes
1answer
11k views

How to upgrade to latest PHP, MySQL, and phpmyadmin on CentOS 5.8 (32bit)?

I have searched around on the internet and cannot find a reliable source for installing the latest versions of PHP, MySQL, and phpmyadmin on CentOS 5.8 32bit with apache. I have tried a couple times, ...
4
votes
2answers
2k views

Is this a hacking attempt? (CENTOS, NGINX log file)

Here's what I found from /var/log/nginx/error.log file. 2012/02/23 04:28:32 [error] 1704#0: *2 open() "/usr/share/nginx/html/MyAdmin/scripts/setup.php" failed (2: No such file or directory), client: ...
4
votes
1answer
933 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: ...
4
votes
2answers
404 views

static web server: 32 or 64 bits?

For a webserver serving just static files (lighttpd or nginx) which is better, 32 or 64 bits? Which OS is preferable? Centos 5 or Ubuntu 10.04?
4
votes
4answers
1k views

Configuring several IPs on centOS from different networks

So i have a plesk centos server. This server has public IPs and is hosted at a datacenter. And i have several IPs. The ones working lets say 192.168.1.50 .51 .52 192.168.1.50 is configured has eth0 ...
4
votes
2answers
755 views

SELinux & ncsa_auth in Squid

I'm trying to enable SELinux on a CentOS 5.5 server with Squid 3.1.12 that handles authentication via ncsa_auth. When I turn off SElinux everything works fine, but when I enable it, Squid crashes on ...
4
votes
2answers
619 views

Managing consistent mounting of external USB hard drives in Linux (CentOS 5)

I have configured a server with CentOS 5.2 and am now working out a backup strategy. I plan on using Amanda as the backup application. Additionally, I am leaning towards using some USB hard drives for ...
4
votes
1answer
146 views

making sure daemons are safe

So I was wondering, what steps should we take to make sure PHP daemons are safe? One of the things that I read about was assigning the daemon to run as a user with limited priveleges? But how can we ...
4
votes
3answers
625 views

Compiling kernel version >= 2.6.34 on CentOS 5: RAID set “ddf1_foo” was not activated?

I want to mount a Ceph FS on some CentOS 5 servers. Since the ceph-fuse failed with below errors: # ceph-fuse --no-fuse-big-writes -m 192.168.2.15:6789 /mnt/ceph/ ceph-fuse[7528]: starting ceph ...
4
votes
3answers
129 views

How to clear a disk entry from Linux

I have few Linux (RHEL 5.x / Centos 5.x) boxes running on KVMs, on which I used to attach and detach disks on the fly. Now the problem with EL5 versions are, when we add a disk, initially it will be ...
4
votes
1answer
2k views

Mount Mac OS X 10.7 share on CentOS?

I need to create a mount point/share on a Mac OS X 10.7.4 (non-server) machine that a CentOS 5.2 box can mount. I've searched a ton but most instances are for using a linux server and Mac client... ...
4
votes
1answer
2k views

Too many TCP connections causes disconnections

I have a game server which runs with TCP connections. Server disconnects users randomly. I think its related with TCP settings of server. In local development environment written code can handle ...
4
votes
2answers
966 views

CentOS 5.6 Update Version Of Tar

I am running CentOS 5.6 and for some ungodly reason, the version of tar is from 2004, and not compatible with the node package manager (NPM). How in the world can I update it? Is there an additional ...
4
votes
2answers
807 views

mod proxy not working on apache

I am trying to install Mod_Proxy Apache module on WHM/CPanel CeEntOS Linux Server. Here is system info: CentOS release 5.6 (Final) Server version: Apache/2.2.21 (Unix) Cpanel::Easy::Apache v3.7.2 ...
3
votes
6answers
3k views

Lightweight Linux DNS [on hold]

Can anyone recommend a lightweight Linux DNS server, which would be suitable for the data center? EDIT: We speak about data-center typically within 10 - 20 servers, up to 100 at maximum. For larger ...
3
votes
6answers
2k views

I think my server is being hacked. What should I do? [duplicate]

I'm not a server admin and I have very little experience in "debuging" a server. But from looking at my log files, it looks as if I'm being hacked. But I have no clue to what I should do :-/ I was ...
3
votes
2answers
3k views

How to make permanent changes to iptables of CentOS 5.5

I want to make an iptable rule permanent so if the server is rebooted I won't have to add the rule again. Specifically a rule I have related to nginx being reverse proxy of apache. iptables -t nat ...
3
votes
4answers
292 views

Unintended rm-rf command on server

Hey Guys, I was trying to remove a directory on my server when I unintentionally ran the following command (notice the space) as root rm -rf db /* can someone tell me, in what ways this must have ...
3
votes
4answers
1k 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: ...
3
votes
4answers
2k views

Do i need swap memory on my CentOS vps?

Do i need a swap memory for my centos vps? Will it increase performance and if so how do i go about setting it up? I've found this link ...
3
votes
1answer
1k views

Cent OS upgrade PHP

I'm in the midst of resolving a bunch of security issues on a clients server to get them compliant with credit card laws and such. The first order of business is getting php from 5.2.14 to 5.2.16. ...
3
votes
1answer
133 views

Is it possible to migrate CentOS from (Mac) VMware Fusion into (Cisco VPS) VMWare ESXi?

Is there any solution to clone CentOS (full mirror) from Mac VMware fusion to VMWare ESXi on Cisco VPS server?
3
votes
1answer
174 views

Odd log entries and insane bandwidth usage

I have a CentOS cloud server I use for testing and noticed that in the past 30 days, bandwidth out has gone through the roof (16,000 GB to be precise) When I initially attempted to check on the ...
3
votes
1answer
6k views

how to uninstall JDK on centos x64 linux based system

I tried installing JDK in my CentOS x64 web server, it looks like I have made a hash of things :(... Now, how do I uninstall JDK 1.6.0_26 in Centos x64 linux? Regards, Arvind.