Skip to main content

Questions tagged [centos-5]

CentOS is a community-supported distribution derived from RHEL.

Filter by
Sorted by
Tagged with
0 votes
1 answer
58 views

Outdated CentOS 5.11 and https

I have CentOS 5.11 on server, which is too outdated. It has Apache/2.2.22 (Unix) and Apache Tomcat/5.5.25 Unfortunately migration to the new OS is not possible at the moment. The website hosted on the ...
Vadym K.'s user avatar
1 vote
0 answers
111 views

Implementing the right conditions for a yum command for centos5 in Ansible

I'm currently working with a centos5 host and I have to install some packages with yum.. unfortunately, as far as I know, centos5 doesn't support Ansible's yum module so I have to use the 'command' or ...
Wander's user avatar
  • 11
0 votes
1 answer
675 views

NFS does not share a folder with name starting with DOT

I have two machines: NFS server Linux: 2.6.18-308.11.1.el5 NFS: 3.2.22 NFS client Linux: 2.6.32-358.23.2.el6.x86_64 NFS: 3.2.29 And it was totally fine until someone created a directory with the ...
Climber123's user avatar
0 votes
0 answers
31 views

RAID1 restoring and upgrading

I have a server running CentOS 5 in a software Raid 1 (2 Drives) One of the drives has degraded and these drives are SATA 250GB @ 3Gbps not 6Gbps, I was wondering what If I slapped in a 500GB @ 6Gbps ...
JohnDoe's user avatar
  • 13
1 vote
0 answers
186 views

not able to ping remote ip from my virtual box having bridged adapter setting

my virtual box having environment in the range of 172.18.122.XXX, and remote ip is in range of 153.60.64.XXX, but i am not able to ping it. My network settings of vm is bridged adapter. can anyone ...
Harish Raghav's user avatar
1 vote
0 answers
249 views

DHCP Server Issuing same IP address to client

Greeting Guru's I am using CentOS DHCP and DNS Server. Recently, I have notice that the DHCP Server has been issuing multiple IP Address to same client (Phone/Laptop). This has caused IP Conflict in ...
monketrip28's user avatar
5 votes
1 answer
2k views

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 ...
Jeon's user avatar
  • 183
2 votes
1 answer
1k views

Download Java 1.7.0 JDK for CentOS

I have a CentOS 5.2 32-bit machine, which I can't connect to the internet. As Java Oracle does not seem to work, I would like to try using OpenJDK, but therefore I need to install OpenJDK first (...
Dominique's user avatar
  • 2,321
0 votes
2 answers
894 views

CentOS 5.2: GLibC version too old (libgio issue), upgrade to which GLibC version

I'm working on a CentOS 5.2 system. The application I'm trying to launch, refuses because a reference to libgio-2.0.so.0 seems not to exist. This seems to be due to the GLibC version, so I had ...
Dominique's user avatar
  • 2,321
0 votes
1 answer
1k views

Git push fails to find repo and fails with exit code 128

I'm using CentOS 5.5 and need to install git server on it. Installed git and set home directory: yum install git mkdir -p /home/git cd /home/git/ chmod 777 -R . # yeah I know this is evil, but I ...
Nux's user avatar
  • 464
0 votes
1 answer
522 views

Is it possible to modify .bash_logout?

I am trying to modify .bash_logout to append the shell history to a txt file. I am also trying to figure to make some restrictions on that file. I have tried a bunch of commands while searching about ...
Dhrumit Patel's user avatar
0 votes
1 answer
602 views

Unable to build wireshark in the centOS 5.3

I downloaded the source code from the wireshar.org and tried to build it but I am facing the problem in compiling it. Following is the error I am getting during configure (./configure) checking for ...
subhash kumar singh's user avatar
4 votes
2 answers
6k views

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 ...
John Dood's user avatar
0 votes
2 answers
380 views

My PC have no IP address and routing table

I am a newbie in sysadmin. Am having a problem with my comp PC. The new DEL XPS 8700 with windows, has been replaced with CentOS 5.10 (OS used currently by my comp). After uninstalled the windows, ...
shuda103's user avatar
4 votes
2 answers
4k 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 ...
tavi's user avatar
  • 151
0 votes
1 answer
1k views

Login loop in Centos 5.5

A strange problem occurred after a power shortage. The server works and I'm able to log in as root from SSH, but not able to log in directly (with keyboard connected directly to the machine). This is ...
Nux's user avatar
  • 464
7 votes
2 answers
2k 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 ./...
Nicolas G's user avatar
  • 161
0 votes
1 answer
2k views

Createrepo ignoring additional versions of packages

I have a repo where I need to be able to serve older versions of a package to clients. However, when I run createrepo on a given directory with those older versions of a package present, it only ...
donovan.lampa's user avatar
1 vote
1 answer
2k 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. ...
ulmas's user avatar
  • 113
1 vote
2 answers
6k views

Unable to installed CentOS 5.6, Could not allocate the requested partition: Partitioning Failed: Not enough space left to create partition for /

I have 160 GB hard disk and i recently format it and installed Windows 7 with following partitions System reserved = 100 M Primary partition C: = 40 GB Extended partitions = 80 GB (with 2 logical ...
Ganesh Dake's user avatar
0 votes
2 answers
506 views

Where is the Riak CentOS installation directory?

Used "yum install riak" on CentOS 5.8, and easily found the config files in /etc/riak. However, I can't find where the data files and installation files are located. Anyone know where they are? Thanks!...
crockpotveggies's user avatar
1 vote
1 answer
841 views

Postfix: which process is attempting to send to example.com?

Here is the maillog extract: May 15 10:20:41 nucleus postfix/smtp[4754]: connect to example.com[192.0.43.10]:25: Connection timed out May 15 10:20:41 nucleus postfix/smtp[4755]: connect to example....
qwertzman's user avatar
  • 113
1 vote
0 answers
803 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 ...
stoneyang's user avatar
3 votes
1 answer
2k 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 ...
Xanathos's user avatar
  • 245
2 votes
2 answers
741 views

Error Compiling Python 2.7.3 on CentOS5

I'm trying to install Python 2.7.3 on my CentOS 5.50 machine. Download, extract, configure (with --prefix=/usr/local) are fine. Its the make that throws this error: gcc -pthread -c -fno-strict-...
Honus Wagner's user avatar
0 votes
2 answers
826 views

Accidentally renamed a file in centos 5 in /lib folder, no idea what it was called, how to find out?

In the above image it I renamed the file accidentally to l and I have no idea what it was in the first place. It's sorted by name, and I am 99% sure it started with an L, most likely lib.... And FYI:...
Shackrock's user avatar
  • 830
3 votes
1 answer
993 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 ...
Edward's user avatar
  • 509
0 votes
2 answers
3k views

YUM Update error

I got a virtual machine with CentOS 6 on it. I've tried to run yum update, but I got this error: http://mirror.centos.org/centos/6/addons/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The ...
user196901's user avatar
0 votes
0 answers
937 views

evince not opening PDF files

On my CentOS 5.5 machine, evince is not working. I cannot open PDF files. I tried to kill to restart it, but I couldn't find its PID. Here is what I get when I launch it from the terminal: [...
chaohuang's user avatar
  • 133
1 vote
0 answers
565 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 ...
Summer_More_More_Tea's user avatar
4 votes
3 answers
3k 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.
askon's user avatar
  • 141
3 votes
3 answers
40k 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 ...
irukeru's user avatar
  • 131
0 votes
1 answer
2k views

/dev/ttyUSB0 missing in CentOS on VirtualBox

I'm trying to configure 3G USB modem in my CentOS 5.7 instance that I have installed on VirtualBox (Win7 x64 is my main system). First of all I'd like to configure a dialer in /etc/wvdial.conf [...
rafek's user avatar
  • 179
0 votes
1 answer
206 views

IPTables Allowing Access without Rules

I'm sure this is mostly my misunderstanding of how iptables works, but I've set up some rules... -A INPUT -p tcp --dport 22 -m state --state NEW,ESTABLISHED -j ACCEPT -A OUTPUT -p tcp --sport 22 -m ...
Dave Johnshon's user avatar
0 votes
1 answer
260 views

Can I run one bash shell script on many machines simultaneously?

I would like to run one bash shell script on two or more machines simultaneously.Can I run one bash shell script on many machines simultaneously? I place this shell script on centos 5.5 and other ...
Sai Ye Yan Naing Aye's user avatar
1 vote
0 answers
214 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 ...
donovan.lampa's user avatar
3 votes
3 answers
73k views

VNC server is running but I cannot connect to it using VNC viewer

I have installed VNC server on CentOS 5.8 and it is running, but I cannot connect to it using VNC viewer. I get the following error message: connect: Connection timed out(10060) What could be the ...
Beginner's user avatar
  • 131
2 votes
0 answers
464 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 ...
bilal's user avatar
  • 21
0 votes
1 answer
1k views

Need to create GUI interface in Cent OS which is located in Windows XP

I am in need to install GUI of Cent OS (5.8-final) in Windows XP. I have installed Cent OS 5.8-final on Windows XP using VMPlayer. And Finally it has been done. How can I create a GUI Interface in ...
Fero's user avatar
  • 135
1 vote
2 answers
2k views

How to run a VB.NET .exe file on CentOS 5.6

I would like to execute my .exe file written in VB.NET (in VS 2008) on CentOS 5.6. I have installed mono. But I'm not that familiar with CentOS, so I don't know how to proceed. I created a "Hello ...
Jerick Gonito's user avatar
4 votes
2 answers
1k 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.
Jafar's user avatar
  • 43
1 vote
0 answers
3k 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 : .pwd....
alexgindre's user avatar
0 votes
2 answers
3k 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 ?
Haren Sarma's user avatar
2 votes
1 answer
930 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 ...
BetaRide's user avatar
  • 2,349
3 votes
3 answers
6k 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 ...
user avatar
2 votes
1 answer
1k 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 ...
Matt Chambers's user avatar
2 votes
1 answer
8k 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 ...
gunnx's user avatar
  • 121
0 votes
2 answers
1k views

pygtk2 on centos 5x with python 2.7?

I'm trying to install pygtk2 on centos 5.8 for use with python 2.7 installing yum install pygtk* works only for the default python 2.4. I tried compiling pygtk2 from source but it does not configure ...
garg's user avatar
  • 186
2 votes
2 answers
21k views

Increase /tmp size CentOS

new to Linux here. Can anyone explain me how to increase the size of /tmp? I was able to increse the size of /dev/mapper/vg00-usr, var and home , but how can I do if the /tmp folder is shown as "none"...
chupeman's user avatar
  • 123
3 votes
1 answer
633 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 ...
JKirchartz's user avatar