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

learn more… | top users | synonyms (2)

6
votes
2answers
191 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
940 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
5k 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
7k 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
2k 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
411 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
5k 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
505 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
2k 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
495 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
390 views

Make problem with includes

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, ...
2
votes
2answers
4k 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
510 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
689 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
534 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
459 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
751 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
337 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 ...
0
votes
2answers
3k 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
746 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
581 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
210 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
973 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
410 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
4answers
552 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
535 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
543 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
876 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
290 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 ...
1
vote
1answer
697 views

Centos 6.3 force password prompt on clicking nm-applet tray icon?

I'm using Network Manager to connect to a secure wireless network on a publicly accessible kiosk machine. The problem is, if the user manages to get to the desktop, the nm-applet is accessible by a ...
2
votes
1answer
3k views

Getting config error for yum in CentOS

I'm very new to linux, and I am using CentOS in a VM for program testing. Everything seems to be fine, except for every few minutes I get this error: Error Type: <class 'yum.Errors.ConfigError'> ...
3
votes
2answers
2k views

CentOS: Install packages listed in a text file?

I have an existing CentOS installation which I'd like to install extra packages to. The packages to be installed were supplied to me in a list, one package per line, which looks like: .... ...
1
vote
1answer
804 views

httpd-devel requires outdated version of glibc-common on CentOS 6.3

httpd-devel requires an outdated version of glibc-common on CentOS 6.3 x86_64 and Apache/2.2.15. It wants 2.12-1.80.el6 and I have 2.12-1.80.el6_3.3.x86_64 installed (via CentOS @update repo) Here is ...
2
votes
1answer
5k views

How do I download and launch a JNLP file in CentOS?

I'm using Amazon's GPU cluster to experiment with some HPC java code on CentOS. The Java application is in JNLP format and has a GUI. I've followed Amazon's getting started video, but I'm not ...
2
votes
2answers
964 views

Can readahead-services be safely disabled?

I am just going through the service-list of a server (CentOS 5) - the question will probably apply to other RedHat, Fedora, ... versions, too. Note that my servers normally run in runlevel 3 (no GUI ...
3
votes
1answer
438 views

Kickstart: one network card with DHCP, one with static IP?

I am using Kickstart to automate a CentOS install. I wanted one of the interfaces to have static IP so I wrote - network --onboot yes --bootproto static \ -ip="intended IP" -netmask="intended ...
1
vote
1answer
228 views

Runtime User Privilege Management ColdFusion on CentOS cPanel

I'm needing to understand the correct workflow for managing permissions to allow the ColdFusion 9 runtime user {coldfusion} to have access to user accounts. The germane elements ... Centos 5.8 WHM ...
1
vote
1answer
1k views

PPTP ping client to client error

I installed pptp server on a centos 6 64bit server PPTP Server ip : 55.66.77.10 PPTP Local ip : 10.0.0.1 Client1 IP : 10.0.0.60 centos 5 64bit Client2 IP : 10.0.0.61 centos5 64bit PPTP Server ...
3
votes
1answer
221 views

In my secure log there is a new group added that Im unsure about after adding semanage

I installed semanage onto my CentOS 6.2 box and I was going through my secure log after the install and noticed this entry: Aug 31 22:12:17 xxxx groupadd[12929]: group added to /etc/group: ...
2
votes
2answers
4k views

Linux CentOS 5 SSH User Permission Denied

Today when I try to SSH into my server, I get a permission denied message (same for sftp). It used to work well before, I didn't change any server settings, except I was trying to modify a few folders ...
3
votes
1answer
754 views

Changing firewall settings after installation of CentOS via kickstart

I was trying to install CentOS 6.3 via Windows Deployment Server. And to automate the installation process I used kickstart file in which i provided various details required during installation.Then i ...