Questions tagged [centos-5]

CentOS is a community-supported distribution derived from RHEL.

CentOS stands for Community ENTerprise Operating System. It is a community-supported distribution derived from sources freely provided to the public by Red Hat for Red Hat Enterprise Linux (RHEL). CentOS Linux aims to be functionally compatible with RHEL.

98 questions
40
votes
6 answers

yum hangs and won't respond

I am running yum check-update and it freezes after a 2 lines of output: Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile I'm not sure what is happening. The last things I remember doing with yum were yum update and looking…
barrrista
  • 1,749
17
votes
4 answers

Setting up Dual Heads on CentOS 5

I asked a question on Stack Overflow a while ago about learning to use Linux, and since then I've installed CentOS 5 on a local machine to match my host. Installation was fine, and I'm up and running, but I can't setup it up to use 2 monitors (Dual…
14
votes
3 answers

How to execute a shell script on startup?

I have created a script to start a server (my first question). Now I want it to run on the system boot and start the defined server. What should I do to get this done? My findings tell me put this file in the /etc/init.d location, and it will…
12
votes
2 answers

Getting 2 IP addresses on one network card, using DHCP

Given: A computer running Linux (CentOS 5.x), one network card connected to LAN switch, a second one to cable modem via crossover cable. This computer acts as a router/firewall/traffic shaper for the local network. Computer gets its public IP…
haimg
  • 23,153
  • 17
  • 83
  • 117
10
votes
3 answers

"-bash: line 7: dpkg: command not found" said CentOS

I'd like to use the command dpkg in my PHP script (using exec). I'm running CentOS. Is there a way I can install the command dpkg on there? Step by step guide would be fantastic.
Moe
  • 111
8
votes
3 answers

How to change the date of Linux to UTC/GMT +1?

I need to change the date of my system. I'm running a Linux CentOS 5.6. # date +%Z UTC # date Thu Oct 6 11:42:45 UTC 2011 How do I change the hour to be UTC/GMT +1?
André
  • 259
7
votes
2 answers

How to fix _decimal module compilation error when installing Python 3.3.2 in CentOS 5.9 (x86_64)?

I'm getting the following error when trying to compile Python 3.3.2 in CentOS 5.9 x86_64: Failed to build these modules: _decimal I get this error when executing the "make" command (after the ./configure command). Doing a Google search, I have…
Nicolas G
  • 161
5
votes
3 answers

Intel CPU microcode update fails everytime

I have a few XenServer VMs all running CentOS 5.5. Some are 32-bit and others are 64-bit. Every time they boot, the following message appears: Applying Intel CPU microcode update: [FAILED] Does anyone know why this is happening and how I can fix it?
Reado
  • 471
5
votes
1 answer

chained pipes in bash throws `Operation not permitted`

The symptom is very simple. For instance: ls | grep a | grep b | grep c | grep d throws -bash: child setpgid (8948 to 8943): Operation not permitted -bash: child setpgid (8950 to 8943): Operation not permitted -bash: child setpgid (8952 to 8943):…
Jeon
  • 183
4
votes
2 answers

Installing selinux headers

I'm trying to build the newest version of glibc (2.19) on CentOS 5.6 and I've run into some issues The documentation of glibc says that I need at minimum the linux kernel headers 2.6.19 (even if this is not the kernel I am using). I tried to install…
4
votes
2 answers

Python2.7 yum module

I have a virtual machine running centos 5.8 and I just installed python2.7 because I was having some issues with import simplejson as json. After installing python2.7 and running ansible roles I have the follwing error: failed: [default] =>…
tavi
  • 151
4
votes
3 answers

Use Dedicated VPS as a DNS

I live in Canada, I want an american IP (Speficily? So I can watch netflix on my WDTV). I have a dedicated virtual server in California. How do I use my VPS (CentOS 5/64Bit, PLESK) as a DNS.
askon
  • 141
4
votes
2 answers

Difference between Centos CD and DVD versions

What is the difference between Centos 5.8 CD and DVD versions? I want to download Centos ISO files but stumbled upon two different files. One is of around 600MB and another is of massive 4GB.
Jafar
  • 43
4
votes
3 answers

How to diagnosis and resolve: /usr/lib64/libz.so.1: no version information available

I had a hell of a time installing lxml for Python 2.7 on CentOS 5.6. For some background, Python 2.7 is an alternative installation of Python on CentOS 5.6 which comes with Python 2.4 installed. it was bulit from source per its…
matchew
  • 508
4
votes
0 answers

Linux log files - why did my server go down?

When I got home, my server was hung in the BIOS boot process - the system had restarted for some reason. The last log entry in /var/log/messages relates a DHCP renewal request - there's nothing listed after that. I have viewed all of the files…
Will
  • 49
1
2 3 4 5 6 7