CentOS is an Enterprise-class Linux Distribution derived from Redhat Enterprise Linux sources freely provided to the public.

learn more… | top users | synonyms (2)

1
vote
1answer
810 views

Unable to install CentOS in VirtualBox

I am trying to install CentOS 5.6 in My VirtualBox but I got this error on boot screen. Your CPU Does not support long mode : use a 32 bit Distribution My CPU is 64 bit I checked that using uname -a ...
1
vote
2answers
1k views

ffmpeg and libvpx: error while loading shared libraries

When I run ffmpeg I get the following error: /usr/local/bin/ffmpeg: error while loading shared libraries: libvpx.so.1: cannot open shared object file: No such file or directory Output of ls -l ...
1
vote
0answers
301 views

Set default Soundcard Centos

How do I set my default soundcard on Centos/Linux? I have two soundcards installed on my system and it always detects the wrong one, upon boot.
1
vote
0answers
117 views

Naming process in init scripts

I'm trying to write an init script that will start a service that needs to have started postgresql server before. Bellow is the postgresql's init header: #!/bin/sh # # postgresql This is the init ...
0
votes
3answers
2k views

CentOS Live CD won't install server

Sorry if this is a very nooby question, but it's my first time trying CentOS and I'm installing from Live-CD. I want to get a server up and running in VirtualBox but during installation no option for ...
7
votes
5answers
26k views

CentOS 6.3 Device eth0 does not seem to be present (Minimal non-cloned setup)

I installed CentOS 6.3 on my hardrive partition (new install...minimal install). After successful installation, I see that eth0 was down looked for 70-persistent-net.rules file under /etc/udev .. ...
2
votes
2answers
288 views

Missing dependency during rpm install

When I install CodeAnalsyt, i get a failed dependency on libbfd-2.20.51 on Centos 6.3. Binutils is installed on my system and the failed dependency does exists at ...
3
votes
2answers
5k views

CentOS 6 VSFTP 553 Could not create file

I installed vsftpd yesterday on CentOS 6, however didn't get a chance to test it today. When I went to upload a test file it's coming back and giving me this error: 553 Could not create file After ...
1
vote
0answers
458 views

RHN Satellite scout won't push

My RHN Satellite (Spacewalk) server is having issues with monitoring. The Spacewalk Monitor Scout will not push out successfully. It always stops with a Request Expired status. I can't seem to find ...
1
vote
1answer
2k views

Network Interface Names output from ifconfig

So this has been driving me nuts for a good couple of hours, so I thought I'd ask about it here (let me know if there's a better forum for this question). I have a CentOS Virtual Machine on ESXi. I ...
1
vote
1answer
193 views

CentOS5, RHEL5, Java dependent Packages, Alternate JVM/JDK

Specifically regarding Java dependent packages, such as ant. Is it possible to install them via rpm, when using an alternate JVM/JDK? For example, If I install the Oracle JDK, can I use an ant ...
9
votes
2answers
12k views

how do I install the stock centos repositories?

I have a situation where the stock repo files that should exist in /etc/yum.repos.d/ (like centos-base.repo) are not present. I need to get them installed. I am sure this is simple, but after hours of ...
6
votes
2answers
208 views

du command show a slash after directories?

How to use du command show a slash after directories? For example: du -ab /root/test/php-5.4.8/ Result: 1781 /root/test/php-5.4.8/main/internal_functions.c.in 973596 ...
4
votes
1answer
1k views

Can I refresh my shell within a shell script?

Very new to Bash scripting... I am trying to setup a script that starts with a minimal CentOS 6 install and provisions it for Ruby development. #!/bin/bash # Add PostgreSQL Repo rpm -i ...
2
votes
2answers
2k views

Hyperthreading not detected by Linux [closed]

I have a Dell server with two Intel Xeon E5645 cpus, each cpu has 6 cores, and each core is hyperthreaded (i.e. should be equivalent to two virtual cores). I installed CentOS 6.2 on this server and it ...
1
vote
1answer
3k views

64bit rpm can not resolve 32bit dependencies

Problem I'm having a RPM that contains mixed 64bit and 32bit binaries. One of the binaries depends on 32bit i686 packages. When I try to install the package yum gives me an error, noting that the ...
0
votes
3answers
6k views

Updating PHP 5.3 to 5.4 in CentOS

I followed this tutorial to update PHP from 5.3 version to 5.4. My distro is CentOS 5.5. After running the following command: yum --enablerepo=remi,remi-test install httpd php php-common I get ...
7
votes
3answers
1k views

Download ALL rpms for a product

I have two CentOS machines, one 6.3 box (A), and another CentOS 6.1. (B) 6.3 box is with internet connection, 6.1 box is without internet connection. I want to download ALL dependencies of a product ...
1
vote
3answers
8k views

Centos GUI not working

I installed centos 6.3 Final . But after rebooting it stuck and doesn't show GUI
1
vote
0answers
2k views

After install Centos 6.3 from USB, it doesn't boot

I installed CentOS on my machine from my USB. I did a minimal CentOS USB drive with UNetbootin. After I install the CentOS, when i try to reboot, it does not starts. I have only the cursor blinking on ...
1
vote
2answers
4k views

Disk space management

How will I be able to view my entire hard disk space in CentOS? I have tried fdisk -l but it will show me the entire space available but I am not able to judge that where all the space have been ...
3
votes
2answers
1k views

Xen, bridge and multiple IPs on CentOS

There's a new server that is assigned 5 IP addresses. I want to use Xen to run several VMs with various services. This is my first attempt to install Xen, I use this tutorial as a guideline. Stuck ...
2
votes
1answer
489 views

Script for courier maildir folders on CentOS LAMP environment

I'm looking for resources to help me build a script to do monthly maintenance of maildir folders for a typical CentOS LAMP VPS hosting environment. I would like to run a script that runs from a ...
3
votes
1answer
9k views

httpd cant write to folder/file because of selinux

Does anyone know which sebool it is to allow httpd write access to /home/user/html? When I disable selinux echo 0 > /selinux/enforce I can write, so definitely selinux. Just don't know which one is ...
3
votes
3answers
598 views

How can I automate the process of copying files from one folder to another in Centos

I have a statistical application which runs every minute and creates charts accordingly. In order to make these charts available to other users, I need to copy the whole folder containing the charts ...
2
votes
1answer
3k views

Extracting the contents of a zip file with overwrite all mode in centos 5

How can I Unzip a Zip file which contains different directories and sub directories with the overwrite mode ? I mean i want the zipped contents to overwrites any existing files (be it old be it new). ...
3
votes
2answers
726 views

Piped input to nano

Why does ls | nano - open the editor in Ubuntu but close the editor and save a file to -.save in CentOS? How can I get nano in CentOS to remain open when reading stdin?
3
votes
2answers
502 views

Make problem with includes [closed]

I am installing imagick-v3.1.0RC2 package on CentOS 5.5. I have ImageMagick 6.7.9-9 installed as well and have a problem on the make step. Problem is that its cannot find included file: ...
2
votes
1answer
1k views

RHEL how to sync network settings between GUI and configuration files in /etc/sysconfig/network-scripts/?

In RHEL, we can change network settings either using GUI or editing the configuration files in /etc/sysconfig/network-scripts/. I would like to know how the network settings (e.g. IP address, ...
3
votes
2answers
5k views

How do I find out if my computer has PAE using Linux? [duplicate]

Possible Duplicate: What do the flags in /proc/cpuinfo mean? I tried installing CentOS 6.3 on my computer only to see a complaint that my computer doesn't have PAE. I am not sure if my ...
6
votes
1answer
637 views

/etc/passwd sql with bash access

I just got a CentOS VPS and was reviewing the passwd file and saw this: mysql:x:498:499:MySQL server:/var/lib/mysql:/bin/bash Is bash necessary for mysql?
4
votes
3answers
890 views

Error when try to install KVM on CentOS

I am trying to install KVM from Installation doc. When I run the command modprobe kvm-intel I get the error FATAL: Error inserting kvm_intel ...
1
vote
0answers
596 views

Can't launch Snort on CentOS 6.3

I have a problem installing Snort on CentOS 6.3 in a virtual environment. When I run snort - ./snort status: Running in packet dump mode --== Initializing Snort ==-- Initializing Output ...
2
votes
1answer
2k views

How to make IPv6 static routes persistent on CentOS?

Static routes are forgotten once the network service is restarted. However, IPv4 static routes can be made persistent by adding them to /etc/sysconfig/static_routes. This file is read by the network ...
1
vote
2answers
640 views

Getting error 2006 MySQL server has gone away on CentOS

I need to import a database into a freshly created CentOS 5 virtual machine. However, whenever I run the import command on the console, it stops working in about a minute and I get the error message: ...
2
votes
0answers
832 views

Can't ping gateway after bridge

I am running CentOS 6.3 with NetworkManager disabled. I was trying to set up a network bridge to try out setting up guests w/ kvm. I was creating a bridge before setting up stuff with kvm, just since ...
2
votes
1answer
361 views

Static IP config no longer persistent in CentOS6

I was messing around with KVM in CentOS 6.3 when I noticed I was having problems with the IP address of my principle network connection (eth0). I backed out my bridge and restored the network-script ...
1
vote
2answers
4k views

Auto Start MySQL and Apache

How does one get certain daemons to automatically startup on a restart of the server? I found this post on Server Fault but I am looking of a more in depth explanation of how getting a daemon to auto ...
2
votes
0answers
873 views

Owner & Group setting for OpenCart install on CentOS 6.3

I'm setting up a development server on a HP microserver with CentOS 6.3. I'm relatively new to Linux and have ran into some issues/confusion. I have the server fully setup/updated with yum. It's a ...
2
votes
1answer
741 views

IPMI does not start up during kickstart-installation

I am in the process of further automating our system-installation on new servers. Main problem here is that the network-devices do not appear in the order we expect them (i.e. first onboard network ...
1
vote
0answers
219 views

Multiple Sessions and 1 is slow

Setup is a Centos 6 x64 server and a Windows 7 client running putty. Multiple sessions are opened to this same server from the same client. Periodically, one of these sessions slows to a crawl and ...
4
votes
1answer
1k views

CentOS 4.8 and glibc 2.5

How would I go about installing glibc 2.5 on CentOS 4.8? I know CentOS 4.8 has been EOL'd, which is all good and well. However, the environment that I am working in is using this version, and will ...
2
votes
2answers
445 views

SMB Mount To Windows Server Appears to Lock up. Any Ideas?

We are running CentOS 6.3 with all the latest updates. (Attempt to resolve this issue) The Server I am trying to connect to is a Windows Server 2008 R2 box. Though this applies to our old SBS'03 Box ...
0
votes
1answer
4k views

Kernel upgrade 2.6 to 3.5.3 on CentOS 5.8 -> switchroot: mount failed: No such file or directory

I upgraded kernel on my CentOS 5.8 from 2.6.18 to 3.5.3 and now it is unable to mount the root filesystem: I could not find any explanation through Google. Can you point me in the right direction? ...
5
votes
5answers
671 views

Automatically acquire new IP address in new network

I'm running a Centos virtual machine on a laptop using a bridged network connection to avoid double-NAT issues, with the address assigned via DHCP. This works fine until I move the laptop to another ...
1
vote
0answers
586 views

Install CentOS in a VirtualBox to a Compact Flash and use it on a mini PC

I got into a very specific situation and want to get to know your opinions. I have got a mini PC with Intel Atom processor which should run CentOS with an upgraded kernel to 3.x and some ...
0
votes
2answers
604 views

Unable to install Mono 2.6 on CentOS

I have an application that breaks on mono 2.10, so I'm trying to install an older mono instead. I found an RPM and tried to install it, but it won't install (I believe) because the glibc and gcc ...
1
vote
2answers
955 views

How to extend second CentOS 5 partition in VMware

I know this question has already been answered for a primary partition, but what about a secondary? I have extended the space to 30G in VMware. When I perform an fdisk -l, here's the output: Disk ...
3
votes
2answers
338 views

Is it better to partition one drive or use separate drives?

I am a system admin with limited Linux experience, and have been tasked with setting up Cent OS 5.8 64bit install, and creating a template once complete. My main client base will be developers, and I ...
1
vote
3answers
2k views

Root permission - username ALL=(ALL) ALL does not work

I'm a beginner. I'm trying to give my user root permissions, so I edited the sudoers file like this: black ALL=(ALL) ALL "black" is my username. But I still don't have root permissions, and ...