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
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
465 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
4k 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
332 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
3k 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
185 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
387 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
212 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
975 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?
0
votes
0answers
389 views

Installing XSP on CentOS

Trying to install xsp-2.10.2. Worked fine in the past, now getting this error. Making install in Mono.WebServer mkdir: cannot create directory `2.0': File exists GMCS /out:2.0/Mono.WebServer2.dll ...
0
votes
1answer
854 views

Upgrade OpenGL from 1.2 to 2 for Nvidia GT218 [GeForce 310]

To run my application OpenGL version 2.0 or higher is required. glxinfo | grep OpenGL yields: Xlib: extension "NV-GLX" missing on display ":1007.0". OpenGL vendor string: Mesa project: ...
1
vote
2answers
161 views

2 ip ranges / 1 nic OR why does one ip range follow default route before local routes

Updated at the bottom I'm using Centos as a router, and just replaced the routing system at work. I've got 2 routers to send data around. For the most part it's working. On one router I have 2 ...
1
vote
0answers
3k views

centos 6, hostname won't resolve, dns issue, loop detected

I've searched everywhere and tried all the suggestions that I've seen, but I just can't get this to work now (it was working before). This is the first time I've ever installed a test server that I ...
2
votes
1answer
608 views

Properly Set Permission to /home/user folder for webserver

I'm currently setting up my own Linux server running CentOs 6. To test the security on my server I wrote a PHP script that acts like a sort of "navigator". I can go one directory up, open the files, ...
1
vote
1answer
294 views

Cannot enter in centOS with any user

I am using cent OS Operating system without GNOME. In the starting, it asks localhost login: Password: It has one user named service under group name service whose password is also service. I ...
0
votes
0answers
346 views

centos 6.3 apache local network not working

I have clean installed centos, apache, mysql, php and have my php pages running fine at 192.168.1.66. I type that ip in on another computer (macbook) on the same network and get nothing. Page time ...
6
votes
4answers
3k views

What's the difference between a hard links and copied files?

RHEL 6 My understanding is that hard links include a copy of the original file and that I could delete a hard-linked file in one directory, and it would still exist in the other directory. If ...
1
vote
4answers
247 views

Why would someone want to change the last access date of a file without making actual changes within the file itself?

CentOS 6 I'm studying RHEL / Centos and recently learned that the touch command can be used to change the last access date of a file. I'm struggling to understand a practical reason why anyone would ...
5
votes
3answers
3k views

How to track the number of processes and forks per user?

I need to figure out how many forks are done and how many concurrent processes are run by each user over time. It does not look like this information is tracked by my distribution. I know how to ...
1
vote
1answer
5k views

Automatic Startup of Oracle 11gR2 on CentOS 6.3

I've setup a handful of CentOS 5.6 servers with Oracle 11gR2 and not run into this particular problem, but I have hit a wall with CentOS 6.3 and auto-starting Oracle. Not sure if this is related to ...
-1
votes
1answer
2k views

Unable to clone git repository: foo.git/info/refs not found

I tried to clone a git repository using the command: git clone http://git.denx.de/cgi­bin/gitweb.cgi?p=u­boot.git;a=summary but I got the error: fatal: ...
3
votes
2answers
588 views

Memory management, bias to swapping

I was having 768 MB RAM. In a general day MySQL was using 100-180 mb of RAM and MySQL was swapping 80-120 mb. I was having 50-60 mb free RAM. So I thought I should upgrade. Then I upgraded my RAM ...
0
votes
2answers
231 views

Check CPU for AES support during custom-CentOS installation

I have custom distribution of CentOS Linux 6.3. The installed system needs CPU support for AES-NI for all services to work properly. Can I add a check for AES support during the installation? I'm ...
1
vote
1answer
367 views

Grub problem booting problem at fresh install of Centos

I've Windows 7 installed on my PC. I would like to install Centos and remove Windows 7 completely. After burning a Centos 6.2 on a DVD, and restarting the machine, I got the grub> window. I can ...
2
votes
1answer
1k views

Which processes swaps memory

I can see swap's total, used, free etc. sizes from top command. But I can't figure out which process uses swap, is it possible to find out swap memory by process? I'm running CentOS 6.3.
3
votes
0answers
674 views

SCSI Tape drive on ubuntu and centos

On ubuntu 12.10 I have those SCSI drives: [1:0:0:0] cd/dvd TSSTcorp CDDVDW TS-H653N 0208 /dev/sr0 [2:0:0:0] disk Generic USB SD Reader 1.00 /dev/sdb [2:0:0:1] disk Generic ...
1
vote
2answers
4k views

iptables blocking from internet side on eth1?

How to use iptables to deal with two Ethernet ports? eth0 port for LAN use (192.168.1.50 Private IP). eth1 port is connected to the internet via cable modem (80.0.xxx.xxx public IP). ifconfig ...
1
vote
1answer
175 views

Point IP to an application instance

I was just wondering how I go about pointing a static IP address which I have purchased to an application instance on my server, using a different IP from the one I currently have pointing to my main ...
2
votes
3answers
2k views

Requires: perl(Compress::Raw::Zlib) = 2.052

Im trying to run a yum update but getting stopped by dependencies. I have installed rpmforge el6 which i need for other packages. Error: Package: perl-IO-Compress-2.052-1.el6.rfx.noarch ...
2
votes
0answers
592 views

Xen is unable to use URL's to install CentOS

I can't seem to use URL's when using the netinstall for CentOS, I'm installing CentOS on a Xen VPS. I keep getting this error in the terminal window, when I use the URL: ...
5
votes
2answers
25k views

How to install g++ 4.7.2 & c++11 on CentOS 5.x?

I'm trying to install the latest stable g++ and c++11. My host did it through yum install and thought that it was the latest, but it's not, and they are now saying that this is beyond their level of ...
2
votes
1answer
2k views

set default g++ on CentOS?

I'm a linux virgin and have only been programming c++ for 2 weeks, so please bear with me. I'm trying to set the default g++ to 4.7.2 which I'm told by my host is installed (I'm also told that c++11 ...
2
votes
2answers
697 views

Use desktop speakers over SSH from laptop

I have VLC media player and media files on a desktop CentOS 6.3 set up (without a GUI). I can play the media files at the machine but when I issue the command via SSH it is silent. I'm guessing it's ...
29
votes
7answers
1k views

What's the equivalent to && when writing a bash script?

I apologize in advance if this is a duplicate question. I did make an effort to search/check before asking here. I'm comfortable with writing one-liners like this: foocommand && ...
2
votes
1answer
5k views

No CentOS Windows 8 GRUB Options on Restart

How do I dual-boot CentOS 6.3 Minimal Version on an Acer 64-bit Windows 8 Laptop and get the GRUB options to select either CentOS or Windows 8 when I restart? (Currently it boots straight into Windows ...
4
votes
1answer
915 views

CentOS - how to install vsftpd for specific username to have specific directory access only?

I have VSFTPD installed in CentOS. Where i have one username "lesstrust1", when the user login i want the user only can upload/download to this path /var/www/html/oxwall $ yum install vsfptd $ ...
3
votes
1answer
726 views

set VM IP address to be the same every time from DHCP on CentOS 5.6

I have an issue where, each time I start my CentOS 5.6 VM, DHCP (I believe) is allocating my VM a different IP. I have the VM mapped as a Samba share in Windows 7 and this changes between 192.168.0.8, ...
4
votes
4answers
4k views

Can't compile XBMC 12 because of TAGLIB problem

I am trying to compile the latest version of XBMC on CentOS 6 x64 but on ./configure I get: checking for TAGLIB... no configure: error: Could not find a required library. Please see the README for ...
1
vote
1answer
244 views

Xen error on CentOS

During the creating of a new virtual server in xen using this command xen-create-image --hostname=minecraft.koanhosting.com --ip 87.98.249.146 --install -method=debootstrap But I keep getting this ...
0
votes
1answer
432 views

Installing Ioncube loaders without issues CentOS 5.9

Seem to be having issues installing Ioncube loaders on CentOS 5.9. I followed this guide to install Ioncube: but it's still not working on the site at all, I keep getting this error on BoxBilling, ...
3
votes
1answer
3k views

Failed to start slapd in CentOS

I was trying to setup an LDAP server for my development. For this purpose, I have chose CentOS 6.3 install it in VirtualBox host in Fedora 17. I'm following this tutorial to guide me on this setup, ...
1
vote
2answers
134 views

Can't figure out which Cent OS to download

I'm not sure if this belongs here, but I really need help on which Cent OS version to download. There's some linux distros that I want to try, but none of the websites are as user friendly as Ubuntu ...
1
vote
1answer
2k views

Guide to installing Xen on CentOS 5.9 (That is still valid)

I need an idiots guide to installing Xen Hypervisor on CentOS 5.9 We attempted to install it on 6.3 before, but completely failed, so we reverted to 5.9 to see if we had more luck. We had issues ...
0
votes
1answer
2k views

Is it possible to install KVM On A VMWare virtual machine? If so, what are the steps?

I want to understand how to use KVM in CenTOS. At the moment, all I have is a VMWare ESX 5.x server to use. Is there a way to get KVM working on a system that is running on VMWare? Essentially, a ...
2
votes
1answer
776 views

IBM Java Runtime Environment on CentOS

I need to install IBM's JRE, but I can't seem to find an appropriate download or guide to installing it on CentOS. I've found various zips, but none of them include an RPM and I have no idea where to ...
0
votes
2answers
683 views

CentOS 5.9 | Program Listening on Port, Causing It Not To Bind

I have a game server running on my CentOS box that binds to port 28960, now when I restarted the game server it stated that it can't bind the port because its in use, but its obviously because the ...
6
votes
2answers
1k views

OpenLDAP Password Policy overlay error while loading

I'm trying to load the password policy overlay but i'm having the following error ldapadd -Wx -D "cn=Manager,cn=config" -f overlay.ldif Enter LDAP Password: adding new entry ...