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
1k views

SELinux - allowing rsyslog open/read access to some files

So I've got three files I need rsyslog to open in order to forward the entries to another server. SELinux is preventing this with the following error: type=AVC msg=audit(1371186588.768:1324460): ...
0
votes
0answers
47 views

Unable to install CentOS 7

I have been trying to install CentOS 7 on a computer with no success so far. I am able to boot the live USB media, but the problem is the CentOS installation referring the HDD always as /dev/sdb. No ...
1
vote
3answers
2k views

Virtual Interface Not Showing up in ifconfig?

I am trying to create a virtual interface for the purpose of NameBased Virtual Hosting on my CentOS linux box; please find below is the devices' information:- DEVICE=eth0 BOOTPROTO=dhcp ...
0
votes
1answer
137 views

Centos 6.4 (64) skype 4.2 no sound notification

Everything works fine. I can hear and others can hear me. But no sound notification. In options -> sound devices "Make a test sound" button is disabled. Other button show "PulseAudio server (local)". ...
0
votes
0answers
16 views

CentOS 6.5 Apache redirection from external access

I'm quite new to the whole CentOS thing, and I'm running into a few issues. I had LEMP installed, although that faced the same error so I switched to LAMP, I'm now working with that. When I view my ...
0
votes
0answers
115 views

Upgrade apache 2.2 on CentOS 5.1

I need to UPGRADE Apache on a CentOS 5.1 server. Its currently at 2.2.14 and I want to bring it up to the latest 2.2.29. Upgrading the OS is not an option, and I don't want to install Apache 2.4 and ...
0
votes
1answer
698 views

Adding a second hard disk CentOS

I'm running CentOS on my VMware server console, and I want to know how to make a second virtual hard disk on which I can expand the size of the primary logical volume AND and a third to hold two ...
2
votes
1answer
29 views

What's the difference between TYPE and DEVICETYPE directives in ifcfg scripts?

While learning the Network Teaming objective of the RHCE (RHEL7) exam I noticed that examples use DEVICETYPE directive in the ifcfg scripts for master and port interfaces. I knew there was TYPE ...
5
votes
1answer
2k views

Global /etc/profile setenv or export overwriting user settings in .profile

I need to call a modified version of a program in /home/user_name/bin rather than the (older) version in /opt/program_name/current on a CentOS 5.3 cluster. The program creates a tcsh script using ...
0
votes
0answers
22 views

Empty VG, but full?

I'm trying to use KVM with my dedicated server hosted on OVH, but that would require me to have a LVG (logical volume group). I have created the LVG named vg through OVH's control panel and loaded the ...
0
votes
0answers
46 views

Connection failed to any VPN!

PPTP VPN and OpenVPN don't connect and both return error about VPN Secret in my CentOS 6.4 x64 machine! I've already tested the configurations in Windows and Ubuntu with no problem. I also noticed ...
0
votes
2answers
2k views

How to add an IP to hostname file

I have a Centos 5.8 server. How can I add my server IP address 192.168.20.254 so that it reflects when I run the command hostname -i At the moment the command only shows the loopback IP 127.0.0.1 and ...
3
votes
2answers
2k views

Installing python modules for python2.6

On my CentOS 5.8 system (el5 , 64bit), I had python2.4 after OS install and I installed python2.6 now. Now I want to install python modules using yum. But whenever I install a new python module it ...
3
votes
2answers
388 views

Make problem with includes

I am installing imagick-v3.1.0RC2 package on CentOS 5.5. I have ImageMagick 6.7.9-9 installed as well and have a problem on the make step. Problem is that its cannot find included file: ...
4
votes
2answers
121 views

Centos 6.5 only using 24GB/48GB of memory

I recently installed an additional 32GB of memory in my Dell PowerEdge R900 home virtual machine server. Memory check passed and I booted into CentOS. When I opened the Virtual machine manager and ...
1
vote
1answer
357 views

ioctl: invalid argument for HDIO_GET_IDENTITY

I wrote a program to get the details of hard disk drive using HDIO_ ioctl calls. For writing program, I'm referring Documentation/ioctl/hdio.txt in kernel source(2.6.32). Here is my main part of ...
1
vote
1answer
660 views

Apache fails to start after changing cert and key

The problem appeared after I changed https certificate and key. sudo /etc/init.d/httpd restart shows this: Stopping httpd: [FAILED] Starting httpd: [FAILED] Apache's error_log: [Tue Dec 03 ...
0
votes
1answer
46 views

Telnet no echo output from xinetd script

I have have installed xinetd, and I wrote a script: #!/bin/bash echo "Some text" touch /home/somefile I made a service configuration under /etc/xinetd.d/ and basically it works when I connect to ...
0
votes
1answer
1k views

Transfer files from CentOS VM VirtualBox to Windows host machine

How can I transfer the scripts and text files I've created in my CentOS environment and put it in my host desktop (Windows 7)? I've tried using ftp but it needs to configure the routers to use vsftpd, ...
0
votes
1answer
54 views

How to surpress audit daemon rotating log messages?

On a CentOS 7 system messages like these are logged several times a day: Sep 24 00:11:42 example.org auditd[756]: Audit daemon rotating log files Sep 24 00:26:23 example.org auditd[756]: Audit daemon ...
2
votes
1answer
4k views

How to install applications from KDE desktop on CentOS

I've just installed CentOS 6.5 in a virtual machine. I know how to install packages with command-line yum but I'm wondering how to do the same from the GUI (KDE). They apparently did not write ...
0
votes
1answer
492 views

How to permanantly disable /var/log/lastlog?

When I delete files such as /var/log/lastlog, /var/log/utmp and /var/log/wtmp the files will be recreated. How do I disable the recreation of those files?
0
votes
1answer
589 views

Enable 9p filesystem type in Centos 6 virtual guest?

My question is linked to this one : http://stackoverflow.com/questions/17880460/mounting-shared-folder-in-kvm-vm-error-mount-unknown-filesystem-type-9p (but can't comment it) I have apparently the ...
0
votes
1answer
233 views

Saxon rpm build fails due to “ant: command not found”

Hopefully this is a question I can ask this community. I'm currently working on building zookeeper-3.4.5-13 for a CentOS 5 environment. During this process I've been going down a long list of required ...
0
votes
2answers
65 views

What is the difference between installing software as root versus user?

I just installed CentOS 7 with Gnome desktop. In doing so, I created a root password, and added a user. Now I am logged in as the user. I like to install MariaDB server, PHP, and other software. To ...
1
vote
0answers
56 views

No volume groups found after restoring CentOS image to VirtualBox VM

I used Clonezilla to backup an HP Proliant server running CentOS 5.10. I restored the image to a VirtualBox VM but when I try to boot I get an error of "No volume groups found" "Volume Group ...
0
votes
1answer
300 views

Unable to find an option to install CentOS 6.4 (64bit) in command line (linux text) for Asterisk

I am trying to learn Asterisk, so I downloaded the latest CentOS 6.4 (64bit) to install on VMWare Workstation 9. When I started the installation it is not giving any screen to start the installation ...
1
vote
1answer
52 views

rpmbuild library register for 'requires'

Big Picture: I am building an in-house rpm for a customized php. I build an rpm which works, but generate library requirements that I can't seem to meet without using 'nodeps', which I want to avoid ...
1
vote
2answers
494 views

How do I install Exim and Horde on Centos 7 with MariaDB 10?

I can't find a guide for this (they are old and don't work) and I can't seem to manage to install it. I can't install Postfix because of its dependencies, so I'm going with Exim, which I installed ...
4
votes
1answer
1k views

Can't resize lvm volume “lv_home is in use. e2fsck: Cannot continue, aborting”

I would like to shrink my logical volume for home directory, so that I can extend volume for root. df -h /dev/mapper/vg_mitoscomp-lv_root 50G 33G 15G 70% / /dev/mapper/vg_mitoscomp-lv_home ...
1
vote
0answers
39 views

Problems while executing slimerjs on linux (Centos 6.5 32bit)

I'm not used to work with Linux yet I wanted to try to use slimerjs on a Linux vps in order to have access to php exec function since most hosting companies disable that function. I did manage to ...
0
votes
1answer
2k views

How to remove Oracle Wallet using orapki?

Hi i'm on Centos using oracle 11g And i've created a wallet using : $ orapki wallet create -wallet /u01/app/oracle/admin/DB11G/wallet -pwd WalletPasswd123 -auto_login Now i want to remove it to ...
1
vote
0answers
36 views

Yum or Reposync: How can I slowly remove a repository without unintended dependency issues?

I have used reposync to create and maintain local copies of two repositories, remi and remi-test. These are repositories maintained by Remi Collet. On several systems in an internal LAN, I added both ...
2
votes
1answer
78 views

Bandwith Usage in OpenVPN

Is there any way to check how much bandwidth a user used in OpenVPN (using PAM Authentication)
3
votes
1answer
3k views

CentOS 6.5 Login Screen GDM Issues

I have a few issues with the GDM login screen. I am using CentOS 6.5 and installed GNOME. I was able to change the background of the login screen by replacing the default.png image on the system. ...
6
votes
5answers
27k views

Why does find -mtime +1 only return files older than 2 days?

CentOS 5.9 I'm struggling to wrap my mind around why the find interprets file modification times the way it does. Specifically, I don't understand why the -mtime +1 doesn't show files less than 48 ...
35
votes
9answers
55k views

Is CentOS exactly the same as RHEL?

I'm sure this question has been asked again and again elsewhere (I did not find anything specific to CentOS vs RHEL in SE), but I would still like to ask and confirm a few specific points. I am well ...
3
votes
1answer
112 views

Properly configuring symmetric active NTP?

I'm trying to configure two NTP servers to be peers to each other but I have no idea how to tell if it is working or not or whether my NTP configuration is even correct. I've put a simplified view of ...
2
votes
2answers
2k views

Hyperthreading not detected by Linux [closed]

I have a Dell server with two Intel Xeon E5645 cpus, each cpu has 6 cores, and each core is hyperthreaded (i.e. should be equivalent to two virtual cores). I installed CentOS 6.2 on this server and it ...
1
vote
1answer
24 views

Empty kernel processes on CentOS vps : 2 different servers

I'm not sure I'm asking correctly, or perhaps I'm just looking at the wrong things. I'm migrating from one CentOS Vps (on an OpenVZ box) to another CentOS VPS (on a VMWare box). VPS #1 = CentOS ...
1
vote
1answer
35 views

How to install mutliple PHP instances and configure for Apache

I need to upgrade my PHP installation on CentOS 6 from 5.3 to 5.5. While I have a couple of webprojects running I like first to install the new PHP in parallel and switch back to the old one if ...
1
vote
4answers
3k views

Commands not found: netstat, nmap on CentOS 7

I'm using the following CentOS: $ cat /etc/centos-release CentOS Linux release 7.0.1406 (Core) The commands nmap, netstat and lsof are not found on CentOS7. Why? $ type -a nmap bash: type: nmap: ...
6
votes
5answers
20k views

Kipmi0 eating up to 99.8% cpu on centos 6.4

We have CentOS 6.4 and the kipmi0 is showing as 99.8%cpu and 0.0% memory and load average is 1.00. What should we do to rectify on this?
0
votes
1answer
6k views

enable apache mod rewrites to load clean-urls

In CentOS, a2enmod rewrite results in “command not found” but httpd -M lists rewrite module as listed and shared. I'm trying to enable it so can then have these rewrite rule apply so I can switch back ...
2
votes
1answer
29 views

autofs does not prompt for password when needed

I am trying to setup an automount point using autofs to mount a samba fileshare. I am using the following syntax in my auto.misc file mydir -fstype=cifs,rw,user=myusername ...
2
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 ...
4
votes
1answer
398 views

How to change the repository settings for yum installer?

I am pretty much new to Linux. I am trying to install tint2 on CentOS. When I try to install using the command yum install tint2, it gave following error checking for X11... configure: error: Package ...
3
votes
2answers
167 views

First key pressed repeates forever

I just installed CentOS 6.4 on an old machine I acquired for a development box, but I am running into keyboard issues I can't get around. I start the machine and go to type a user name in and ...
2
votes
1answer
67 views

How to Mount a Drive with Right Filesystem?

I am trying to mount the device /dev/xvdc on my CentOS system. When I run an fdisk command I get: Device Boot Start End Blocks Id System /dev/xvda1 * 1 33 ...
4
votes
3answers
997 views

No font in emacs on CentOS

When I open emacs over an SSH connection I get this error Warning: Cannot convert string "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct Warning: Cannot convert string ...