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
246 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
167 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 ...
5
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
156 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
1k 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
288 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
15k 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
156 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
21k 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
120 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
255 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 ...
3
votes
0answers
459 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
9k 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
595 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
81 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
583 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
2answers
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
558 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
3k 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
172 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
890 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
9k 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
4k 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
67k 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
182 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 ...
1
vote
1answer
2k views

Setting permissions with FTP

I'm having some issues setting up permissions for FTP. Read another thread on here regarding it, but I wasn't sure if it really matched what I needed. Essentially, right now I've got the client's FTP ...
0
votes
1answer
498 views

gpg-agent fail: undefined symbol gpg_err_set_errno

We started to get some odd issues yesterday; possible due to a yum install gone bad? One of the issues, PS -ef hanging indefinately (actually an ps command that looks at other user state) was fixed ...
4
votes
1answer
5k views

Installing development tools in RHEL 6

I have admin privilege on my office computer (running RHEL 6) which is connected in a network. I was trying to install development tools using the command: sudo yum groupinstall "Development Tools" ...
-1
votes
1answer
2k views

Why setsebool for httpd not working with -P parameter?

I'm trying to disable SELinux for httpd, but when I use the the setsebool command with -P parameter, it doesn't work: setsebool -P http_can_network_connect 1 Nothing happens when I do that ie, the ...
1
vote
3answers
340 views

Best tool for monitoring server usage

I was just wondering what the best tools for retracing logs and what logs I should be checking to work out what's going wrong with a server, or what the client has executed to get the server into it's ...
4
votes
2answers
4k views

How to install GTK3 in Centos 6.2

I have Centos 6.2 and I want to install GTK3 to be able to install gitg. I looked up on Google, and couldn't find anything useful. The thing is people suggest I need to install GTK3 by manually ...
1
vote
0answers
195 views

Centos 6.2: Unable to open terminal after vbox save state

I'm experiencing this issue frequently. Usually, I work on my Centos 6.2 in VBox for a while and then close it by saving state (going to other machines or doing host work). Then, I resume my session ...
-1
votes
1answer
395 views

unrar for centos 5.7 needs unrar-4.20-2.mga3.nonfree.x86_64.rpm which causes an error

I'm trying to install unrar package for my cpanel. as some people suggested that I need this package unrar-4.20-2.mga3.nonfree.x86_64.rpm . So when I run rpm -ivh unrar-4.20-2.mga3.nonfree.x86_64.rpm ...
1
vote
1answer
230 views

any utility on centos 6 to sound an alarm when power is low

Is there an application that will set an audible alarm when the battery goes low on a centos 6 IBM 430 machine? Details of the problem here: I have set it hibernate when battery is low. However, it ...
2
votes
1answer
4k views

Error during yum update

CentOS 6.3 Recently I've started getting the following error on my CentOS VPS when running yum update: [user@foo1 ~]# yum update Loaded plugins: fastestmirror Loading mirror speeds from cached ...
2
votes
1answer
1k views

ping receives no packets, but tcpdump can see them coming in

I'm migrating an old Ubuntu OpenVZ instance (Jaunty) to a new CentOS 6.3 host (using vzdump/vzrestore). Now networking does not work properly. Facts: It works just fine if a setup a new OpenVZ ...
0
votes
1answer
1k views

Converting update-rc.d redis_6379 defaults to chkconfig command

I'm trying to run the command below on CentOS and of course I get command not found: $ update-rc.d redis_6379 defaults How do I then perform the equivalent using chkconfig?