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
27k 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 ...
3
votes
1answer
4k views

How to install Sun/Oracle Java 1.6 onto centOS 6 using only textmode?

So, after a few days of struggle I have yet to be successful in installing Sun/Oracle java 1.6 onto my CentOS. The issues seem to be as follows No sun java 1.6 package available in repo due to ...
1
vote
1answer
120 views

CIFS mount fails when read is interrupted

I have a functioning CIFS mount from CentOS 6.4, 2.6.32-358.18.1.el6.x86_64, to a Windows file server. If I hit Ctrlc while doing some IO intensive (like fgrep -r), then the mount (and all other ...
1
vote
2answers
20k views

How can I set the time in Centos so that resetting the OS doesn't revert to its default value?

I have a VPS running on Cent Os 5.8 (x86). There are situations in which we are forced to reset the entire VPS (it hangs and the only way to get it back on is to reset it). When we do so, the time is ...
1
vote
1answer
150 views

Scrambled Xen Console on dom0

I installed Xen using the recommended procedure on Ubuntu's site using motherboard Supermicro X7SBL-LN2 and Ubuntu 13.04 amd64. After the installing it and rebooting my console looks like this: ...
2
votes
1answer
439 views

CentOs eth2 wont start on reboot

I have Cent OS 6.4 inside my virtualbox with two ethernet devices. One is connected to the internet with NAT, the other is connected to the internal network. here is my eth2 config file cat ...
1
vote
2answers
3k views

SSH connection establishment too slow [duplicate]

I'm having issues while connecting to my Local Centos 6.3 VM with 500 MB ram. Below is the output of ssh -vvv localhost connection: OpenSSH_6.3, OpenSSL 1.0.1e 11 Feb 2013 debug1: Reading ...
1
vote
2answers
2k views

error: “net.inet.ip.fastforwarding” is an unknown key

I've been doing some research into improving performance for OpenVPN and I found out about setting fastforwarding to 1 but when I tried I got the error error: "net.inet.ip.fastforwarding" is an ...
2
votes
3answers
920 views

Where is ACL data technically stored?

I'm studying ACLs and am confused on where this information technically resides. Is this just technically just meta data from inodes?
1
vote
1answer
91 views

Why can't ACLs block users from having access to their own home directory?

CentOS 6.x In the process of studying ACLs, I came across this blurb in my training documentation: However with ACLs, you can't deny access for a user to his home directory While I can't think ...
2
votes
1answer
534 views

Broken sudo on amazon web services ec2 linux centOS

So I had no idea of the dangers of messing with the /etc/sudoers file, and was just trying to make a simple change in there. However, I seem to have put something with incorrect syntax in there, ...
1
vote
2answers
86 views

CentOS 6 and Fedora Repositories

I did a Google search and couldn't find the specific answer to my questions. I know CentOS and Fedora are extremely similar. Would a Fedora repository (i.e. ...
0
votes
0answers
117 views

PBX randomly loses network connectivity and restores itself

I'm using a QBX appliance, which is just a microATX desktop system with FreePBX connecting to asterisk and some other slapped together stuff running on CentOS 5.4. It's horribly out of date (which I ...
0
votes
0answers
241 views

Not able to install Nautilus Terminal

I am using centOS Release 6.4(Final) and GNOME 2.28.2. System information is Linux localhost 2.6.32-358.11.1.el6.x86_64 #1 SMP Wed Jun 12 03:34:52 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux I ...
2
votes
1answer
238 views

What are the pros and cons to editing iptables configuration file vs adding rules via the iptables command

I am working with a product on CentOS that occasionally needs to automatically add and remove rules from the iptables configuration. For example, during an update, we want to explicitly refuse ...
2
votes
1answer
174 views

CentOS 6 - No Updates

I've had a CentOS 6.3 VM set up for some time now, but I'm not seeing any updates when I run yum check-update, or yum list-security. There has to be something (especially with Apache/MySQL!). If I ...
3
votes
2answers
2k views

replace xen kernel with non xen kernel

I have a virtual appliance in Xen format (XVA) that I wish run to on another hypervisor (MS Hyper-V). What have I done so far: I have converted the XVA to OVF using XenConvert, this resulted in a vhd ...
2
votes
2answers
2k views

kickstart bootloader --driveorder configuration

I use a kickstart file for a customized install CentOS. On certain machines, if a memory stick is in the USB port, it fails because it tries to install CentOS on the memory stick. Kickstart current ...
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 ...
7
votes
2answers
8k views

How to tell rsyslog to create log file if not there?

Default behaviour by rsyslog is to append traces to an existing log file. Now, I've seen (CentOs, Scientific Linux) that when rsyslog is already running, you delete the log file (e.g. the one ...
0
votes
1answer
216 views

Computers are restarting spontaneously and simultaneously, how do I find the cause?

I have two computers that spontaneously shut down and rebooted (this happened more than once), both are identical hardware and were installed from the same image (CentOS 5). They are controlling some ...
1
vote
0answers
176 views

Firewall config prevents hibernate connecting to postgres in CentOS6.3

I have an operating environment in CentOS 6.3 that has tomcat7 and postgres9.2 installed. There is just one web application deployed in tomcat that tries to establish a connection from localhost to ...
1
vote
2answers
912 views

GCC compilation - where the __stack_chk_fail@GLIBC_2.4 symbol comes from?

I'm using GCC 4.7.2 from devtoolset package on CentOS 5 (CentOS 5 because we need compatibility with old Linuxes, and GCC 4.7 because it optimizes better than 4.4). There is one symbols that prevents ...
1
vote
1answer
535 views

Centos VM network configuration problems [closed]

Hi I am new to this stuff and confused. I have a CentOS VM and I cannot get it to see the outside world. I have a bridged adapter. I have tried NAT and a host only network. /etc/sysconfig/network: ...
7
votes
3answers
2k 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 ...
2
votes
2answers
2k views

How to change default permissions of files created by a process?

I'm running a game server (unreal tournament 2004) on Centos 6 x86. I use a sh script to start it in a background process. This process (game server) creates different files (demos, logs) and they all ...
1
vote
1answer
148 views

Any guides for dummies to setting up a VPN?

I am looking for a guide to setting up a VPN on a VPS, most of the guides don't explain certain elements and I've been left feeling clueless halfway through them. For example when I was installing ...
1
vote
1answer
382 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
76 views

error using yum in centos 6

my yum command used to work fine , but now , when I try to use it , it gives me an error : file:///home/user/repo/repodata/repomd.xml: [Errno 14] Could not open/read ...
1
vote
1answer
561 views

Access a NTFS external drive in centos [duplicate]

Is there any way to access a external hard drive with NTFS format in CEntOS 6.2 ?
8
votes
1answer
1k views

How are ACL permissions processed and in what order do they apply to a given user action?

CentOS 6.4 I'm trying to better understand how filesystem ACL rules are processed and in what order ACL rules apply. For example, let's say users bob and joe belong to a group called sales. Let's ...
10
votes
2answers
12k views

Package bash-completion missing from Yum in CentOS 6

I am trying to get tab-completion working in Yum in CentOS 6 (so I can do something like yum install firefo<TAB> and get back firefox), and I have found many tutorials which say to simply do yum ...
0
votes
1answer
318 views

What is linux peth* and virbr* network interface?

Usually when execute ifconfig I got the "usual" network interfaces: wlan0, eth0 and lo. Those, I suppose to be my PC's wireless adaptor, ethernet adaptor and localhost. I'm using a remote server that ...
0
votes
1answer
181 views

What package is necessary to install for the getacl command? [closed]

CentOS 6.3 I'm studying Access Control Lists and for some reason, the getacl command isn't available. When I try running it, I get: [root@foobox test] getacl test.txt -bash: getacl: command not ...
2
votes
2answers
4k views

Open a port in my CentOS

I'm trying top open a port on my CentOS machine: I edit the /etc/sysconfig/iptables file and add my rule: -A INPUT -p TCP -m state --state NEW -m tcp --dport 143 -j ACCEPT Then I restart the ...
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 ...
1
vote
1answer
72 views

Run a command when system starts for any users [duplicate]

How can my system run a command every time that it is started? Is there any script that the system runs when it is starting? I'm using CentOS 6.2.
0
votes
2answers
298 views

Create a CentOS Guest img over Ubuntu

I want to create a basic CentOS 5.8 system from scratch. for now i build my own img for Ubuntu Guest (debootstrap), my host is a Ubuntu 12.04.1LTS but I don't know how to make for a CentOS, is ...
6
votes
4answers
7k views

Question about using pdflatex on RedHat in CentOS

I am a novice in using Linux systems. I was given an assignment of writing a document using LaTeX and converting the file into a pdf file to submit. So I tried using my CentOS to do so. The version ...
3
votes
0answers
711 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 ...
2
votes
3answers
5k views

CentOS use .pac file as proxy

I have to use a proxy with authentication to connect to the Internet. But I can't find any solution for this. I have modify my yum.conf, with a lot of possibilities: ...
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 ...
2
votes
4answers
35k views

How to undelete just deleted directory with “rm -R” command?

I deleted an important directory with rm -R command. This is an very populer host data. It was located /var/zpanel/hostdata/ayrintilih After remove ayrintilih directory has gone everything. I tried ...
4
votes
2answers
458 views

How and where is the at command configured?

When I install a new Linux system, one of my first tasks is to have crontab send all its email to a designated email address, not root. I want to do the same for the at command. That is I would like ...
2
votes
0answers
137 views

Applications are not using the same keyboard mappings, it seems

I’m using an american keyboard and writing in Portuguese. I updated /etc/sysconfig/keyboard as the following article suggested. It worked but only in the console. Firefox and Sublime Text2 shows '+c ...
1
vote
2answers
987 views

How to run a command ( ifup eth0 ) 10 seconds AFTER the desktop loads?

My modem does not connect as fast to the internet as the computer reboots. My modem and my computer are connected to the same outlet that I shut off and on via remote, so I need the computer to wait ...
2
votes
1answer
934 views

Debugging dmesg logs

I noticed I have the following in my logs. I just am not sure as to how to go about figuring out how to fix or find out what is causing them and if they are serious. [582046.956291] Core dump to ...
4
votes
1answer
2k views

Does segfaults mean bad memory

This is a brand new server with a new install and fresh compile of Apache/PHP with nothing crazy. Just a WordPress site hosted and I get the following. Could this just mean bad RAM? If so how can I ...
3
votes
1answer
106 views

HDD Testing En Masse

Does anyone have any ideas about how to set up automatic detection and conditional formatting of a LOT of HDDs? I tried posting this on TomsHardwareForums, but I don't think the responder read my ...
0
votes
1answer
187 views

Problems in installing firefox 23 on centos 6.3 ( libpangoft2-1.0.so.0)

XPCOMGlueLoad error for file /home/xd/firefox/firefox/libxul.so: libpangoft2-1.0.so.0: cannot open shared object file: No such file or directory Couldn't load XPCOM. I cannot find a way to install ...