Questions tagged [centos5]

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

CentOS 5 is a free (as in beer and speech) GNU/Linux distribution that is community driven and based on source code released from RHEL. It went end-of-life on 2017-03-31, is now unsupported, and shouldn't be used on production systems.

805 questions
40
votes
5 answers

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 EDITOR=nano and now i can do what I do using nano…
user
  • 809
  • 3
  • 13
  • 18
40
votes
5 answers

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 server. I want to see all the dependencies of this…
Gnanam
  • 1,439
  • 13
  • 26
  • 32
37
votes
3 answers

Tcpdump on multiple interfaces

I need to capture traffic on a CentOS 5 server which acts as a web proxy with 2 wan interfaces and 1 LAN. In order to troubleshoot a weird proxy problem, I would like to have a capture of a full conversation. Since external connections are balanced…
Nahidul islam
  • 371
  • 1
  • 3
  • 3
30
votes
4 answers

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?
Deshawn
  • 363
  • 2
  • 4
  • 5
28
votes
2 answers

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 jbd2/sda2-8 process. jbd2/sda2-8 is making use of…
Evan Hamlet
  • 401
  • 1
  • 5
  • 6
25
votes
2 answers

How can I configure netcat (or some other stock linux utility) to listen on a specific port on a secondary IP address?

CentOS 5.9 For testing purposes, I want my CentOS server to listen on a secondary virtual IP (eth0:0). I'm familiar with nc -l -p but it only listens on the primary. Is there a way I can specify a specific IP for the listener to use? If…
Mike B
  • 11,570
  • 42
  • 106
  • 165
22
votes
3 answers

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 overcommitment, which as far as I understand is the same as…
matteo
  • 701
  • 2
  • 9
  • 21
21
votes
3 answers

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 /etc/hosts suffice? Would be great to have some steps or…
19
votes
2 answers

Patch command not found

I tried to apply patch to my file with following command patch -p0 < foo.patch I got the following output bash: patch: command not found I have Centos 5.x server. Please guide what to do in this case
Sukhjinder Singh
  • 393
  • 1
  • 4
  • 12
19
votes
4 answers

Failed to instal APC via pecl install APC

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 /var/tmp/pear-build-root/APC-3.1.5/libtool --mode=compile cc -I. -I/var/tmp/APC…
sangoku
  • 191
  • 1
  • 1
  • 3
17
votes
2 answers

yum should error when a package is not available

I recently ran into a bug in a script where I tried to do the following: yum -y install another_package.x86_64 some_package.x86_64 && run_my_script The script ran well on a newer CentOS, but when I tried to execute it on Cent OS 5,…
pmr
  • 425
  • 1
  • 4
  • 9
16
votes
5 answers

How do I change my locale to UTF-8 in CentOS?

Here's the output of…
locale
  • 373
  • 2
  • 4
  • 10
15
votes
5 answers

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
user50946
  • 473
  • 2
  • 7
  • 18
14
votes
2 answers

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 months, I've been relying on a fresh install…
ewwhite
  • 194,921
  • 91
  • 434
  • 799
13
votes
4 answers

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 needs usb devices to be created under /dev like first…
denizeren
  • 329
  • 3
  • 11
1
2 3
53 54