Questions tagged [centos-5]
CentOS is a community-supported distribution derived from RHEL.
98
questions
0
votes
1
answer
25
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 ...
0
votes
2
answers
3k
views
How to query a DHCP server to get the local DNS servers
I have a ClarkConnect (CentOS based) box running as my home router on a RR connection. I had the DNS servers set up to use Google's DNS server. I want to change them back to the local DNS servers ...
0
votes
2
answers
3k
views
ecryptfs in centos
I am trying to install ecryptfs on Cent0s 5.5. Thee process is:
yum install ecryptfs-utils
It seems to run fine.
However when I do
modprobe ecryptfs
It returns FATAL: Module ecryptfs not found....
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 ...
1
vote
0
answers
103
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 ...
3
votes
3
answers
39k
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 ...
40
votes
6
answers
138k
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 ...
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 ...
3
votes
3
answers
69k
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 ...
1
vote
4
answers
4k
views
/etc/bashrc Permission denied
It's that simple:
root@server [/etc]# touch /etc/bashrc
touch: cannot touch '/etc/bashrc': Permission denied
OS: Linux
Distro: CentOS
Release: 5.3
Extras: cPanel installed
Any ideas?
0
votes
1
answer
631
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 ...
0
votes
0
answers
28
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 ...
0
votes
1
answer
495
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 ...
17
votes
4
answers
4k
views
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,...
2
votes
3
answers
3k
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 ...
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 ...
1
vote
0
answers
240
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 ...
3
votes
1
answer
9k
views
Changing desktop environment from Gnome to KDE in CentOS
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 ...
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, ...
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 ...
9
votes
2
answers
22k
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 ...
1
vote
2
answers
4k
views
How to install Xpdf on Centos 5.5
I'd like to install xPDF on a CentOS 5.5 server. No GUI, I really just need the console apps.
Can anyone give me a brief guide?
8
votes
3
answers
72k
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 do I change the hour to be UTC/GMT +1?
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 (...
0
votes
2
answers
864
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 ...
1
vote
1
answer
3k
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 (...
4
votes
0
answers
24k
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 ...
9
votes
3
answers
84k
views
"-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.
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 ...
1
vote
2
answers
10k
views
Command to go to previous folder in cent os
Suppose I have entered following sequence of command:
[root@user ~] cd /
[root@user /] cd /usr
[root@user usr] cd /local
[root@user local] cd /myFolder
[root@user myFolder] cd /
[root@user /] <!-- ...
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 ...
2
votes
2
answers
730
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-...
3
votes
1
answer
9k
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 ...
1
vote
1
answer
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 ...
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 ...
1
vote
1
answer
6k
views
limits.conf: noproc or nproc?
I'm using centos 5.x, and editing /etc/security/limits.conf now.
I found in the comments, it's:
- nofile - max number of open files
- nproc - max number of processes
One is nofile, another is nproc....
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 ./...
0
votes
1
answer
601
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 ...
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 ...
0
votes
2
answers
824
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:...
14
votes
3
answers
63k
views
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 ...
2
votes
1
answer
7k
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 ...
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 ...
1
vote
1
answer
838
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....
4
votes
2
answers
10k
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 ...
5
votes
3
answers
6k
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 ...
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 ...
0
votes
1
answer
401
views
CentOS 5.6: Setup global extensions in Firefox 10.0.1
I have setup Firefox to run off a server for a group of people, so that it runs for them without a local install. Now, I wish to also setup a few extensions globally, which would be available to all ...
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.
...
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 ...