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

How to make sure to get the Main/External IP without regard to network device type/name

Hello, I need to make sure I have the external or at least the main IP address for a given machine, regardless to the device type/name. I quickly wrote that tiny script for that purpose, but I need ...
1
vote
0answers
55 views

Cron job running at 12.00 AM despite changing its time

I have only one cron configured in cPanel for WHMCS to run once per day at 12.00 AM. The cron sends daily activity logs to my email. A problem came up recently in which cron job activity logs sent ...
1
vote
0answers
52 views

Why I am getting this dependency error?

I try to install Shibboleth service provider to Centos 7. However, I get this error: Error: Package: shibboleth-2.5.3-1.1.x86_64 (security_shibboleth) Requires: ...
1
vote
0answers
131 views

Apache2 'Server' header reports wrong openSSL version

Does anyone know where the Apache 'Server' header pulls the openSSL version from (file location/directory)? I am expecting openssl-1.0.1j but apache is reporting openssl-1.0.1g (system's openssl ...
1
vote
0answers
60 views

how are runlevels from CentOS 6 chkconfig translated for CentOS 7 systemctl?

How would I translate the following command from CentOS 6 to run in CentOS 7? chkconfig --level 345 dovecot on My first guess is to type the following instead: systemctl enable dovecot But ...
1
vote
0answers
123 views

Is there a “supported” way in RHEL/CentOS 7 to union-mount a directory tree on top of an NFS mount point?

I have an NFS share containing almost 500 chrooted (s)ftp user's home directories. This NFS share is mounted on several FTP servers forming a highly available FTP cluster. I would like to enable ...
1
vote
0answers
165 views

Creating ISO Bootable Image from a CentOS (Linux) system

I have a Linux machine (CentOS 5.8) on which I have installed multiple applications and tools (with yum and few others after compiling the source code) on it. As I have spent considerable time in ...
1
vote
0answers
22 views

Extract configuration from linux and emulate in fresh copy of same linux

I have a short project on emulating linux distros. The project involves extracting system-wide configuration i.e packages, services, configuration files of services, users informations from a linux ...
1
vote
0answers
166 views

Add files to Centos Live CD

I'm trying to 'inject' 2 files into a Centos 6 live CD ISO. Process to date: extracted the files from the iso to ./files/ extracted the files from the squashfs.img to ./squashfs/ mounted the ...
1
vote
0answers
89 views

How to configure nginx to dynamically read folders, user accounts/domains?

I have cPanel and Apache 2.4 on my CentOS 6.6 VPS. I installed Nginx as a reverse proxy. Everything works fine. I have 2 domains on the VPS & I'm able to configure them both on nginx. The ...
1
vote
0answers
299 views

Xvfb: keyboard error

We have some GUI tests (selenium) that are run on a virtualized CentOS6.6 environment and when the Xvfb process is started, we get the following error: The XKEYBOARD keymap compiler (xkbcomp) ...
1
vote
0answers
310 views

rp_filter dropping packets in linux bridges+vlan_tagged interface + tap interfaces configuration

I've a linux bridge which has it's first interface as a eth0.123 (VLAN tagged interface) & one or more tap interfaces created by kvm. (libvirt+kvm VM) [root@compute1 ~]# brctl show bridge name ...
1
vote
0answers
85 views

centos virtual machine not registering with intranet dns server

When I am creating a Ubuntu virtual machine on virtual box it automatically registered with DNS server in my intranet network, it has both intranet IP and domain name. When creating CentOS virtual ...
1
vote
0answers
843 views

Samba 4 has high CPU usage when accessing mapped drive through Windows

I have noticed that when I access my Samba share from Windows, the smbd daemon will always use aprox 10-20% CPU - no matter if the share is used or not from Windows. Even if I close the share/window, ...
1
vote
0answers
93 views

Centos web camera, fast application for snapshot?

I'm using ffmpeg for taking snapshots / still images with web cameras. I'm going to use several web cameras to take photos at the same time or one after the other (timelapse). It's important for me ...
1
vote
0answers
359 views

Port Forward For OpenVpn

I have setup a OpenVPN server on CentOS 6, and it starts ok when i /etc/init.d/openvpn start it shows me Starting openvpn: [ OK ] so far so good, but ...
1
vote
0answers
120 views

Dual displays, one fixed, one spinning (CentOS 7)

I have 2 monitors and would like to have my setup like this: Monitor = fixed desktop (only 1) Monitor = dynamic, spinning desktop (1+) It was working like this at the beginning but somehow I ...
1
vote
0answers
699 views

CentOS - upstart script is created, but its never running at all

I have this following setup but its not working in my CentOS 6x (3.10.23-xxxx-std-ipv6-64 #1 SMP Tue Mar 18 14:48:24 CET 2014 x86_64 x86_64 x86_64 GNU/Linux) Step 1: vi /etc/init/a.conf description ...
1
vote
0answers
49 views

Giving a user SFTP access only with access to subdirectory outside of home?

I have user [USER A] account which contains scripts and a downloads folder. I would like to create a new account [USER B] so that the user has read/write (SFTP and not full SSH) access to their home ...
1
vote
0answers
24 views

Huawei(e303s) installation in centos 6.4

I have installed CentOS 6.4 in my system. I connected Huawei(e303s) with airtel 3g,tried installing the driver provided with Huawei its getting installed with some error. It shows error like : The ...
1
vote
0answers
125 views

Tor install on CentOS server

I have followed the instructions provided here: https://www.torproject.org/docs/rpms.html.en However, when running yum install tor, i get the following dependency error: Error: Package: ...
1
vote
0answers
89 views

Download & install Report Lab on CentOs

I am following this link to install report lab and download parts of googlebooks as pdf. However, I am on CentOs 5, can not use apt-get, probably I need to use yum, but I do not know how. Any ...
1
vote
0answers
165 views

Why don't I hear audio playing from my CentOS 6.5 Vagrant box?

I want to play a wave file from my CentOS 6.5 Vagrant box using aplay and of course I want to hear the sound. This is what I do: > aplay sine.wav Playing WAVE 'sine.wav' : Signed 16 bit Little ...
1
vote
0answers
71 views

pip won't find system package on a custom location

I am working remotely on a CentOS system via bash with an account without administrator privileges and I need to install the Python package matplotlib. I can do this using pip install -t ...
1
vote
0answers
93 views

SNAT with firewall-cmd?

I have an interface with multiple IP Addresses (on CentOS 7), which is in zone "external" (with masquerade on). I want to specify that, if a connectiona attempt to a specific address goes out, to use ...
1
vote
0answers
35 views

Installing an OS from source on separate partition. Is this possible?

I'm trying to install Minimal CentOS on a small partition and the installer quits and brings me to a prompt every time. It says something like it can't find initrd.img. I was wondering if I could ...
1
vote
0answers
445 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 ...
1
vote
0answers
299 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 ...
1
vote
0answers
256 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 ...
1
vote
0answers
136 views

Get KERN_DEBUG messages into syslog on rhel7/centos7?

I've been trying to get KERN_DEBUG messages logged to a file in centos7, but have had no luck. I can get them just fine from "dmesg," but not /var/log/messages or /var/log/dmesg Here's a MWE kernel ...
1
vote
0answers
201 views

Datanode in slave isn't working : Hadoop in CentOS

We've created a Hadoop cluster of two machines following these instructions: http://tecadmin.net/set-up-hadoop-multi-node-cluster-on-centos-6/ with the machines set as follows: hadoop1 = master ...
1
vote
0answers
186 views

Set persistent permissions for /var/log/boot.log

Every time I reboot my CentOS 6.5 computer, it writes the boot log to /var/log/boot.log. The permissions on this file are always 644 after a reboot. I want the permissions to be 600. When I change the ...
1
vote
0answers
4k views

Redhat / Centos 7 Firewalld best practice for pptp or L2TP/IPsec rules

Having a quick look at Centos 7, and though I'd spin up a VPN daemon or 3, but immediately discovered the usual packages aren't yet in the core repositories, so had to dig around and found the ...
1
vote
0answers
199 views

How do you run CPU at turbo speed continuously

processor : 7 vendor_id : GenuineIntel cpu family : 6 model : 60 model name : Intel(R) Xeon(R) CPU E3-1230 v3 @ 3.30GHz stepping : 3 cpu MHz : 3299.670 ...
1
vote
0answers
115 views

How to route network in order to use internet on CentOs?

I have 2 computer in local network which have CentOS both. One has wireless card which can use internet connection. Other computer does not have internet connection. I want to route ip addresses in ...
1
vote
0answers
41 views

Passing Environment Variable to NetworManager GUI

My VPN stoped working when I switched to Centos 7. I narrowed the problem to the lack of MD5 support (not strong enough). I followed this thread, and now I can use open-vpn on the command-line to ...
1
vote
0answers
22 views

Why Would Spacing Matter in grub.conf?

See my earlier question. GRUB wouldn't recognize the XEN kernel until extra blank lines were added and the title of the GRUB entry matched the version of XEN installed on the server. I've always ...
1
vote
0answers
106 views

TPM passwordless boot

I'm trying to create device with CentOS6, encrypted disk (with LUKS), TPM module and TrustedGRUB to boot securely and without interaction. I'm following instructions from ...
1
vote
0answers
89 views

Virtual Host setup works for one server, not another

Having an issue with my virtual host set up. Used this tutorial as a reference on both: http://youtu.be/wXIJMtwmPCE Apache/2.2.15 (Unix) on both servers. Seemingly Identical httpd.conf file on both ...
1
vote
0answers
71 views

Unable to start apache

I'm running CentOS7 in virtualbox on a mac (osx 10.9.3). Ultimately, I want to acces the website on my Guest VM from my Host. I can Ping and SSH to VM but I can't acces the webpage when entering the ...
1
vote
0answers
1k views

openswan l2tp/IPsec VPN server (NAT'ed)

I have searched for a solution for this problem for a few days now and cannot seem to find anything close to my situation (server is always NAT'd and clients are sometimes NAT'd). I am trying to ...
1
vote
0answers
317 views

VIA “Chrome 9 HC” graphics card causes blackscreen on CentOS 6.5

I'm using Centos 6.5 (i386, fully updated) and get a black screen, when trying to startx. Debian was able to run a Desktop-Environment on the same machine. My graphics card is: CN896/VN896/P4M900 ...
1
vote
0answers
819 views

Samba 4.1.9 returning “access denied” trying to change share perms from Win client

UPDATE: version mismatch seemed to stop happening for some reason, although not sure why/at what point. Have a "public" (within LAN...like this) read-write share on a CentOS 6.4 box running, ...
1
vote
0answers
579 views

Help with lost software RAID5 on CentOS 6.5

I've been searching for hours and giving up / too scared to delete all my data. I have a file server running CentOS 6.5 which has 4 WD RED 2TB drives (all > 1 year old) in software raid 5 with mdadm, ...
1
vote
0answers
929 views

checking sendmail status as NON root user

I am in the process of converting to CentOS 6.5 from 5.5 and need a way to check if sendmail is on or not. For reasons I don't want to go through, I need to be able to check if sendmail is ON as a ...
1
vote
0answers
864 views

X11 connection rejected because of wrong authentication — on CentOS, for all users (including root)

I'm configuring a small computing cluster with CentOS. The last step is setting up X11 forwarding, and here I find problems that I cannot solve. On all compute nodes except one, I can set up ...
1
vote
0answers
108 views

Setting up traffic for GRE Tunnel

I want to set up clients that are behind NAT with a public IP but allow them to have one or more public IP's on their device. The idea is to have a linux box with either 1 or two network cards. Lets ...
1
vote
0answers
428 views

Improving TCP performance over a gigabit network

I have two machines both network cards speed is 10Gbps. The inbound bandwidth between the two machines is 10Gbps, the outbound bandwidth internet bandwidth is 500Mpbs. Both machines are using public ...
1
vote
0answers
765 views

Apache server: permission and symbolic link problem

I am using CentOS(Linux 2.6.32-431.11.2.el6.x86_64). I am trying to create an Apache2.2.15 web server. Every thing configured very well. My DocumentRoot is the default location i.e. /var/www/html. I ...
1
vote
0answers
3k views

mysqld dead but pid file exists

Webserver was running fine for weeks then suddenly: I can access, but I am unable to log into Webmin I can access Magento, a php-based storefront application, but I am no longer able to log in and ...