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

learn more… | top users | synonyms (2)

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
505 views

Why is NetworkManager attempting to control an interface script that doesn't exist?

I'm showing hundreds of frequently repeated entries in /var/log/messages that don't make sense. More below the example. Here's an example, which is repeated ad nauseam in the log file: Oct 15 ...
1
vote
1answer
113 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 ...
3
votes
3answers
2k views

openvpn[]: Options error: In [CMD-LINE]:1: Error opening configuration file

when trying to service openvpn start Oct 12 14:02:01 ccushing1 openvpn[9091]: Options error: In [CMD-LINE]:1: Error opening configuration file: devnet-client-vm.conf running openvpn ...
3
votes
1answer
357 views

Intermittent ssh denial

The main server in my network (nothing less...) plays tricks with its ssh connectivity. It is a CentOS 6.4/64 (runs as KVM-based virtualization host with a dozen VMs on it). It receives its IP via ...
0
votes
2answers
873 views

CentOS restore firewall after `service iptables panic`

My friend and I were doing some firewall configurations and in the meanwhile he thought it was a good idea to type service iptables panic. Now we cannot put the firewall back on the original state ...
1
vote
2answers
10k views

Globally change path for all users, even in cron

We're setting up an SGE cluster with CentOS 6. My sysadmin is installing applications that are not installed via RPM (i.e. via other means like make install) should go in a non-standard directory, in ...
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 ...
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
4k views

How To Install Thunderbird 24.0 on centos

How do I update thunderbird to latest version 24 on centos 6.3 (final) 64bit. I cannot find any good tutorial on installing it on centos. Merely copying and pasting the 'thunderbird' folder in ...
2
votes
1answer
411 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
1answer
529 views

Centos6.4 Kickstart stuck at %POST

I have the below kickstart %post, but it hangs at the Post Installation Screen. Any thing I had missed or done wrongly? Thanks. %post --log=/root/my-post-log ( echo "# Running Post Configuration #" ...
2
votes
3answers
843 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
83 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
463 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
84 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
218 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
160 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 ...
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 ...
0
votes
1answer
209 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 ...
6
votes
6answers
8k views

jemalloc and other errors making redis on centos 6.4

I am setting up a new, dedicated, centos 6.4 system with redis. I have installed redis many times, but have never hit this issue (and have never been on centos 6.4 before). cd redis-2.6.16 sudo make ...
1
vote
0answers
173 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
1answer
495 views

ERROR: could not find driver after changing from mysql to mariadb

mysql was working fine but I wanted to give mariadb a try on a new server I have going. However I am having an issue where all my php websites seem to have issues communicating with mariadb. Webmin ...
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 ...
1
vote
1answer
502 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: ...
2
votes
1answer
220 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 ...
1
vote
1answer
141 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 ...
7
votes
2answers
7k 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 ...
2
votes
1answer
71 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
448 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 ?
1
vote
1answer
485 views

how to investigate Firewall blocked outbound TCP

CentOS webserver with CSF (Config Server Firewall) running. Blocking all outbound / Inbound traffic except listed ports 80 81 22 21 etc. for web, mail & FTP services etc. I'm use to seeing heaps ...
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 ...
0
votes
1answer
176 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
294 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 ...
1
vote
1answer
68 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.
2
votes
2answers
763 views

Adding files to Linux readonly-root

I've a netboot Linux server where the the /root is mounted as readonly. # Set to 'yes' to mount the system filesystems read-only. READONLY=yes # Set to 'yes' to mount various temporary state as ...
0
votes
3answers
21k views

Yum update error: Could not retrieve mirrorlist

I'm trying to do yum update. This is the error I'm getting. sudo yum update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Could not retrieve mirrorlist ...
7
votes
2answers
3k views

Is it possible to add an item to the Nautilus right click menu?

I want to add an item to my right click menu, and run a command when a user clicks on it. I'm using Centos 6.2, is it possible? If yes please tell me how I can do this.
3
votes
2answers
7k views

Postfix, Amavis-new, ClamAV: Permission denied. ERROR

Error lines in /var/log/maillog Sep 22 12:08:20 sun amavis[4493]: (04493-09) (!)run_av (ClamAV-clamd) FAILED - unexpected , output="/var/spool/amavisd/tmp/amavis-20130922T052321-04493-crApLkq5/parts: ...
5
votes
4answers
6k 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 ...
7
votes
2answers
6k views

How to install git for CentOS?

I tried several suggestions from this answer but none of them worked. [root@308321 sugar-dev]# yum install git Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: ...
2
votes
4answers
31k 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
429 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 ...
1
vote
2answers
878 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 ...
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 ...
2
votes
1answer
869 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 ...
2
votes
2answers
330 views

How to use -d in ntfsundelete?

As far as I can tell from the manpage of ntfsundelete getting a file back is done with e.g. ntfsundelete /dev/sdb3 -u -m important.txt which would undelete the file in-place. If I don't want ...
2
votes
0answers
132 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 ...
2
votes
1answer
6k views

PHP Upgrade Error (PHP 5.3.3 to PHP 5.4.19 on CentOS 6.4)

I'm using CentOS 6.4 and I was following this tutorial in order to upgrade PHP from v 5.3.3 to v 5.4.19 but I got the following error: Error: php54w-common conflicts with ...