The tag has no wiki summary.

learn more… | top users | synonyms (1)

8
votes
2answers
11k views

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 ...
6
votes
3answers
36k views

How to execute a shell script on startup?

I have create 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 ...
6
votes
4answers
3k views

Setting up Dual Heads on CentOS 5

I asked a question 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 ...
5
votes
2answers
2k views

how to find which process had created any file in Linux

Is there any way to know which process had created any file in Linux Red Hat/CentOS 5?
4
votes
1answer
252 views

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 ...
4
votes
2answers
6k views

Kernel panic booting CentOS 5 image in VirtualBox

I'm using VirtualBox, and have a vdi. It works fine on the virtual machine I originally configured for it, but if I clone it (with VBoxManage clonehd) or just copy it, create a new VM and boot it, I ...
3
votes
1answer
3k views

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 ...
3
votes
3answers
6k views

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 ...
3
votes
2answers
679 views

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.
3
votes
3answers
1k views

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.
3
votes
1answer
164 views

rsync … blocked for more than 120 seconds

I'm running an rsync between two external USB 2TB drives to make a copy on a CentOS 5.9 server. It appears to have stalled, and it hangs when I cd to the source drive in the copy, while the ...
2
votes
1answer
3k views

httpd: bad user name apache

on centos when I enter service httpd start or restart server gives Starting httpd: httpd: bad user name apache [FAILED] I tried to add ...
2
votes
1answer
127 views

vim doesn't display first line?

when I use vim to open some php files, it starts with line 2, other files display fine. When I view the file with less I have the same issue. however when I edit it with nano I can see that line's in ...
2
votes
2answers
1k views

Name of log file where boot process is logged

I'm using CentOS 5.3. After booting up, where can I find the log file that contains if all services where successfully loaded or not? For example when computer boots you get a list of start services ...
2
votes
1answer
189 views

Get rid of directory of unknown user

I'm constantly failing to do something usefull to a directory. ls gives this output: drwxrwxr-x 2 root 1000 0 19. Jul 14:03 backup Here I'm trying to remove, move or chown this directory ...
2
votes
2answers
11k views

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 ...
2
votes
1answer
3k views

Install gksu on Centos

I want to install gksu on Centos 5.5. su and sudo both work fine (although I had to tweak some BASH profile files to find the commands properly), but I want gksu installed so that I can easily use ...
2
votes
2answers
2k views

Raid 1 mdadm (linux) disk failure recovery: DRDY err (UNC) keeps repeating can't reach login

Over the weekend, I got several emails from our network storage server (just a custom box with CentOS 5 and 2 2tb drives software raid 1) indicating SMART detected issues with one of the drives. I ...
2
votes
1answer
137 views

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 ...
2
votes
0answers
228 views

Centos iptables blocks after reboot

I have a Centos5 installation with kvm on my server. I am using nat portforwarding to ssh my virtual machines. I have several iptables rules and saved then in /etc/sysconfig/iptables. After reboot, I ...
2
votes
3answers
525 views

Remove Auto mount of linux drive/partition on Snow Leopard

I have a Snow Leopard + CentOS dual boot system setup. When I log in to Snow Leopard, it tells me that it is unable to mount the disk that i have just inserted. It is referring to my centos ...
2
votes
1answer
1k views

CentOS live CD of current installation

I'm trying to create a live CD of my current CentOS installation. I want it to be almost like a backup, so whenever I want to copy my current installation to another computer I would simply install ...
1
vote
2answers
15k views

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 to change the hour to be UTC/GMT +1? Best Regards,
1
vote
3answers
2k views

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 ...
1
vote
2answers
8k views

Can I install just the client for SVN on Centos?

I want to install just the subversion client on a Centos machine so that I can use it for version control of config files, etc. All the instructions are for installing the full thing, including Apache ...
1
vote
1answer
1k views

Can't access anymore from SSH to CentOS5.7

I have made an update to CentOS5.7 and since then I can't access by SSH to the machine. I have disable the Firewall and I have the "sshd" service active. I got the following when I do this from the ...
1
vote
1answer
1k views

How do you find out which version of mono is installed on a CentOS machine?

How do you find out which version of mono is installed on a CentOS machine? (N00b alert - what's the command prompt/shell command to find the version number of mono?)
1
vote
2answers
519 views

How can I automatically lock the screen when idle in CentOS?

How can I automatically lock the screen when idle in CentOS? I would like it so that a user has to re-enter their password once the machine has been idle for a period of time. If there is no option ...
1
vote
2answers
398 views

Move mount point to new RAID set

I have a CentOS 5 production server with multiple OS-managed RAID-1 sets. I'd like to add a new mirrored set and move the /var partition to the new drives. What is the best way to do this? On a ...
1
vote
1answer
2k views

Trouple unzipping a 4GB .zip file on CentOS 5.5

I am in the process of moving from a windows to a linux box. I zipped a folder of images on the windows box and ftpd it to the linux box. When I try to unzip the file I get: error: Zip file too big ...
1
vote
1answer
2k views

Yum Error Installing Git from kernel.org Repo

I want to install the latest version of Git using yum and the RPM repository on kernel.org, but adding the repo to yum.repos.d causes yum to fail with checksum errors. The prevailing solution to ...
1
vote
1answer
627 views

CentOS: revert python version back to original

I installed python 2.6 using the instructions here on CentOS 5.4. However I realized it was a bad move and I need to revert back to 2.4, which was there originally. Can anyone guide me on how to undo ...
1
vote
1answer
252 views

Yum Update Doesn't Work

I've started a fresh VPS with CentOS 5. As the first step, wanted to update all packages so I executed yum update It showed the list of packages to be upgraded - 86 in total, 98 Mb download size. ...
1
vote
0answers
301 views

GRUB reported “error: file not found.” when booting CentOS 5

I installed CentOS 5.3 by using a 4GB USB disk on an old PC that I used run a Debian on it. After a series of housework on the fresh system, I reboot the system using: sudo shutdown -r now After ...
1
vote
1answer
371 views

Make Office Portable for Linux?

I have an Microsoft Office 2010 license, and I wanted to know if there was a way to have this suite as a portable app (or apps) and use it from Linux. (I'm using CentOS 5.9, by the way) Do you know ...
1
vote
0answers
163 views

USB disabled when installing CentOS 5.8

My USB keyboard does not response when installing CentOS 5.8 with options "linux noprobe". Given the fact that before installing from a burnt DVD, I once tried to install from a USB flash storage, it ...
1
vote
0answers
81 views

Centos5: Custom comps.xml documentation/options?

I've got an app that I've packaged into rpms along with some of its dependencies. I'd like to be able to have it accessible as a group for easy install/uninstall. However, there's not too many ...
1
vote
0answers
626 views

useradd /etc/passwd lock

I'm trying to add a user (as root) on CentOS 5.5 and I've got this message : useradd: unable to lock password file After reading some post linked to this issue I've deleted two files in /etc : ...
1
vote
0answers
366 views

Samba upgrade from 3.0 to 3.6 broke my ADS authentication

I just upgraded my CentOS 5.4's Samba 3.0.33-3.15.el5_4 to 3.6.4 built from source. I copied over config and stuff from the old distro-locations to the source-expected location in /usr/lib. I copied ...
1
vote
1answer
1k views

Unable to mount device on Linux (XFS)

I am unable to mount a device on my server due to error when mounting, the device is type XFS. The mount command returns message: "mount: structure needs cleaning" I've tried using xfs_check and it ...
1
vote
0answers
154 views

Start nodejs server at Centos linux startup

What is the easiest way to startup nodejs server at the boot of CentOS server?
1
vote
2answers
6k views

Install CentOS 6.2 on external USB portable hard drive?

I've Windows XP installed on my laptop. And I've external 80 GB drive which I usually connect to my laptop through USB. I want to install CentOS 6.2 on this external drive & it should also boot ...
1
vote
1answer
586 views

CentOS - mdadm raid1 drive won't mount to default location

I'm running CentOS 5.5, the system, boot, swap, etc. is all on /dev/sda and I have two identical single-partition drives /dev/sdb1 /dev/sdc1 that are configured in RAID1 (using mdadm). It was working ...
1
vote
0answers
198 views

Grub on Centos 5.2 PC shows “Starting up” on VGA display

I have a CentOS 5.2 PC with Grub. Output is redirected to a serial console. A snippet of my grub.conf: title CentOS (2.6.18-92) root (hd0,0) kernel /boot/vmlinuz-2.6.18-92 ro ...
1
vote
1answer
532 views

ionCube - Works on CLI but not with HTTP

-- I've tried this question on server fault without much success, maybe i'll be more lucky here, I'll delete the original if I can get an answer here -- I'm trying to install ionCube loader on a ...
1
vote
1answer
1k views

CentOS: Changing desktop environment from Gnome to KDE

I have installed my CentOS machine with the GNOME desktop environment. I would like to change it to KDE. I am already in the process of downloading and installing KDE packages, will that conflict with ...
1
vote
1answer
911 views

Check status of a shell script

I'm running CentOS 5.5 and have created an init script. The start of the script contains: # Source function library. if [ -f /etc/init.d/functions ]; then . /etc/init.d/functions fi The ...
0
votes
3answers
240 views

Linux date command is 4 minutes slow

I installed Centos onto my server and I noticed that when I compared the date command's output to time.gov (same timezones, of course), the output was 4 minutes behind. This also affects my ...
0
votes
1answer
1k views

What's different between Red Hat Enterprise Linux and CentOS?

When I do cat /etc/redhat-release, I got this. #CentOS release 5.5 (Final) Red Hat Enterprise Linux Server 5.5 (Tikanga) It looks Red Hat Enterprise Linus is originated from CentOS. Anyway I want ...
0
votes
2answers
2k views

Two OS in same computer, how to set boot priority for windows 7?

I have Centos and Win 7 installed in same PC. How Can I change setting in CentOS to show Windows 7 in top of the list in boot menu ?