Questions specific to the CentOS Linux distribution. Use this tag if your question relates to how the CentOS distribution affects your problem; do not use it if you just happen to be using CentOS and your question is about a specific configuration detail or syntax.

learn more… | top users | synonyms (2)

0
votes
1answer
47 views

Mixing yum repos for different OS major versions does not work

First of all: I am well aware that in general it is a very bad idea to mix yum repos for different major OS versions. However on CentOS 7 I need a few packages from CentOS 6. So I have added CentOS 6 ...
1
vote
1answer
61 views

OpenVPN Server does not reply to Client ping

An OpenVPN client seems to initialize on a CentOS 7 client virtual machine. However, the response from the server is not clear when the client sends a ping. Specifically, ping 10.8.0.0 from the ...
0
votes
2answers
70 views

parsing using loop and assigning row numbers to file

It is a bit complicated. i have a configuration file. it looks something like this. customer="airtel" model_name=fast programmer_typ_of="dev" Now the 1st column contains all the keys and whatever ...
0
votes
0answers
32 views

Recover Files in Centos

i am changing all wwwroot folder file ownership root to www and all files automatically deleted or missing from /home/wwwroot folder. so if anyone know how to recover that files and why this happening ...
0
votes
0answers
16 views

selinux blocking vsftpd directory listing

I am trying to get a better understanding of selinux and configuring a local ftp repository on Centos7. I installed vsftpd on my host. I created a repository on my host: /var/ftp/pub/centos7 EFI ...
0
votes
0answers
32 views

pgloader in centOS 6.7

I'm trying to install pgloader on centOS 6.7 (64 bits) Steps wget http://pgsql.tapoueh.org/pgloader/pgloader-3.0.98-21.el6.x86_64.rpm rpm -Uvh pgloader-3.0.98-21.el6.x86_64.rpm Result -Uvh ...
0
votes
0answers
20 views

Using new apps with old distro

We have an old Centos 6 cluster installed in 2010. The kernel is old and accompanying set of system tools and applications are old as well. It is not being updated and I have no root access. I want to ...
0
votes
2answers
34 views

rpm -Vf doesn't report a changed file

I'm trying to write a puppet module that writes a templated config out but onlyif it's the stock config from the RPM (so as to not screw with any formatting they have going on). The rest of config ...
1
vote
1answer
35 views

How to create a default system wide dconf setting starting from just created ad-hoc user config?

I'm in need to standardize (a default standard desktop configuration for all existent and new users) a GNOME environment starting from an existent configuration of an ad-hoc created user. What I have ...
0
votes
0answers
26 views

Custom centos6.7 iso does not boot in uefi

I have created a custom CentOS 6.7 iso and in BIOS it boots and installs my application successfully. When I configured my VMware to boot in UEFI I get this error: -EFI Virtusl disk (0.0)... ...
0
votes
0answers
49 views

Setting up 12X2TB Centos Storage Server

I'm having some issues setting up a storage server for an image hosting website. I used to order smaller servers but this time I decided to order a large storage server. I had the data center set-up ...
0
votes
1answer
30 views

PHP5.5 or PHP5.6 Availability for CentOS 7

Is php5.5 or php5.6 Available for CentOS 7?
2
votes
0answers
51 views

Centos 7 Installation problems [closed]

I want to install CentOS 7 in a virtual machine wih virtual box but when I choose the option °Tes this media and install centos 7° I get this error: Checking: 090.5% The media check is completed,...
0
votes
0answers
72 views

Errors installing VirtualBox 5 on headless CentOS 7

I attempting to install VirtualBox 5.0 on CentOS 7. I have googled for hours trying to resolve this with no luck so I'm asking for help. Here is what I've done. On a clean install of CentOS 7: # cd /...
1
vote
0answers
29 views

How to solve File-based locking initialisation failed.

Am on a CentOS-Minimal Virtual Machine, i had accidentally deleted a hard disk that contained a Volume Group (LVM). After rebooting i got an error saying " File-based locking initialisation failed". ...
0
votes
0answers
27 views

snortd.service doesn't load on centos 7

I have installed snort Ids via its manual but there is a problem I am facing right now. There is no snortd service in init.d folder and when I run systemctl status snortd.service I get the following ...
-1
votes
1answer
46 views

Change Apache Directory [closed]

I am trying to change the /var/www/html default directory to /var/www/domain.com I have changed this in the httpd config file but it doesn't seem to work. I am running Centos 7 and Apache2
3
votes
0answers
32 views

Can't disable TLSv1 and RC4-SHA

I need to remove TLSv1 and RC4-SHA support in Centos 7. I have these lines in my ssl.conf SSLProtocol +TLSv1.2 +TLSv1.1 -TLSv1 SSLCompression off SSLHonorCipherOrder on SSLCipherSuite "ECDHE-ECDSA-...
1
vote
0answers
38 views

Runlevels behaviour when kill script has failed

When I execute sudo init 3, the system executes the kill scripts in /etc/rc.3/ One of those scripts returns a failure (this is expected because the thing it's trying to do won't work). When I then do ...
3
votes
0answers
57 views

Enable touch screen on CentOS 7

I have CentOS 7 installed as a guest OS inside VirtualBox running in a Windows 8.1 host machine. The host is a notebook computer with a touch screen. The windows host can accept touch screen ...
1
vote
0answers
31 views

How to reboot a server with a LUKS encrypted partition

I have a CentOS 6 VM on which I used the following shell script for installing and configuring MongoDB to use a secondary LUKS (dm-crypt) encrypted disk for its database files: #!/bin/bash -e # Set ...
0
votes
0answers
19 views

Error While compiling GCC4.8.4 from source [duplicate]

I am a non-root user running CentOS 6. While building gcc 4.8.4 from source I was getting this error running the make command: /usr/bin/ld: skipping incompatible /home/internal/evol/sskadam/lib/../...
1
vote
1answer
37 views

Failed to access CentOS in VmWare ESXi [closed]

I had a CentOS 6.7 on a VMware ESXi (V5.5). I upgraded that to CentOS 7 but after reboot I lost graphical VMware console and remote SSH too. ssh: connect to host XXXXXXXXX port 22: Operation timed ...
1
vote
1answer
44 views

Updating Python on CentOS

I am running 64 bit CentOS 7 on an Oracle VirtualBox. The CentOS ISO that I downloaded came with Python 2.7.5 and I am trying to update to 2.7.11, but the normal steps are not working. I downloaded ...
1
vote
1answer
45 views

How to use SystemD to run a game server 24/7?

I'm relatively new to Linux (CentOS 7.2). I'm trying to get my Hurtworld servers to run from systemd so I can use that nice restart=always feature. However to get multiple HW servers running, I ...
0
votes
1answer
13 views

Problem in Videos playing

I am using Dell Inspiron 3542, when I tried to play videos, it is showing: mpeg-4 AAC decoder not installed. What is the solution? Using PHP 7 on CentOS 64bit.
0
votes
1answer
48 views

CentOS define same date and timezone for system and MySQL

I was watching that my droplets have different timezone between OS and MySQL. By default, I've configured all vms to Brazilian timezone (America/Sao_Paulo) through tzselect, and, assuming that MySQL ...
0
votes
0answers
42 views

ffmpeg won't upgrade or uninstall on centos 6.8

I'm trying to upgrade ffmpeg on CentOS 6 but everything I try doesn't work. I've tried re-installing to overwrite it but no luck. This is the version and when it was installed. It installed 2 weeks ...
1
vote
0answers
27 views

How to enable additional audit logging?

We use Auditd to monitor specific changes on Linux systems. Majority of our rules come from CIS Benchmark guidelines and then few are added specifically to monitor certain command executions. We have ...
0
votes
0answers
24 views

Assign Static IP to KVM CentOS Guest.

I am attempting to set up a CentOS(7) guest on my Linux Mint(17.3) system using KVM. My Mint host has a static IP (10.10.16.247) configured already and is currently fully network functional.I have a ...
0
votes
2answers
41 views

Verify SSLCertificateChainFile using OpenSSL

I encountered such issue on a server of a client as I did not know how to verify SSLCertificateChainFile among other certificates. I have a folder with a lot of SSL certificate keys and corresponding ...
0
votes
1answer
37 views

Xen + DRBD + Pacemaker on Centos7

So my current environment is centos7 on a pair of identical bare metal servers. I've installed drbd and carved up 3 x 100G block devices for DRBD to mirror. Then I installed a Centos7 image on one of ...
1
vote
1answer
24 views

Installing pam_radius through package manager

So instead of following the manual installation of pam_radius I installed EPEL and then got to install pam_radius using package manager : yum --enablerepo=epel info pam_radius Loaded plugins: ...
1
vote
1answer
37 views

What happens if I don't use & at the end of a nohup command? [duplicate]

What's the difference between nohup foocommand and nohup foocommand &? I understand that & marks the task/job/process as running in the background but does that make it more resilient than ...
0
votes
1answer
24 views

virtualhost problem with apache

I'm setting up a server with centos 7 and I have already installed Apache and php. I have tried to set-up a virtual-host to avoid "localhost/xxx.xxx", but now I cannot access to local-host any more. ...
2
votes
2answers
340 views

“cc: Command not found” when compiling a PAM module on Centos

I was trying to make a linux server become a radius client. So I downloaded pam_radius. By following the steps from this website : openacs.org/doc/install-pam-radius.html and by following these steps :...
1
vote
1answer
42 views

How to avoid the difference in options that were used for creation of ext4 partitions on different Linux distro?

I have some set of scripts that create qcow2 file with grub legacy (0.97) with special patch to boot from ext4 and ext4 file system for '/'. When I run those scripts on Ubuntu 12.04/14.04 the VMs ...
0
votes
1answer
35 views

How to send a ghost email message?

When I was running tcpdump and watching output on my new created VPS (OS:CentOS 7.1) via SSH, a message appears suddenly: OPTIONS sip:100@My_VPS_IP SIP/2.0 Via: SIP/2.0/UDP 69.64.57.15:5596;branch=...
3
votes
1answer
42 views

Create a bootable clone in Linux

I have a working Linux system (Centos 6.7) which I would like to clone to a bootable hard disk. The hard disk is also internal. The purpose of the clone is for disaster recover as well as to allow me ...
2
votes
1answer
47 views

Unprivileged ping6 not working

I am trying to get my CentOS v7 server to run IPv6. Root works, it can ping using "ping6 ipv6.google.com", and ifconfig looks great; I see the lines: eth0: flags=4163<UP,BROADCAST,RUNNING,...
1
vote
0answers
39 views

Total memory decreased when increasing swap file?

I am running a low-end server with about 1GB RAM and I was trying to optimize my ram. But after increasing my swap file and emptying the buffers, my total ram, judging from free -m, have lowered from ...
0
votes
0answers
33 views

Very slow RMI+SSL requests after added SSL certificate

I added a SSL certificate to a RMI based application, and it's working normally on test server, so after deploy it at production servers, all requests are waiting for SSL handshake, even local ...
1
vote
1answer
37 views

Search files in a certain period and copy them into another directory

The problem is that I have a directory containing many files with extensions .xml, .txt and .p7m from year 2015 up today. I must create a script that searches into the directory 1 all files created ...
0
votes
0answers
103 views

How to disable the Intel graphics driver on CentOS 7?

I have installed CentOS 7 recently, I found that my GUI is always laggy, specially when playing videos or GIFs. have tried multiple video players and web browsers and they all have the same results ...
0
votes
1answer
41 views

Install Apache and PHP on Centos without package manager (yum, rpm…) [closed]

Can anyone explain how to Install Apache and PHP on Centos without package manager? i've only found this documentation in my searches: http://php.net/manual/fr/install.unix.apache.php
1
vote
2answers
42 views

what should I write on server.conf when try create VPN on CentOS 7?

I use CentOS 7 . I want to create VPN server on my machine. I am following perfect VPN tutorial until I get to this part, editing /etc/openvpn/server.conf: local x.x.x.x port 1194 proto udp dev tun ...
0
votes
0answers
30 views

Padre (perl IDE) package not found under Centos7

I wanted to install Padre the Perl IDE under CentOS7. I followed the Fedora page on the Padre wiki : http://padre.perlide.org/download/fedora.html It just says install is done through: # yum ...
1
vote
1answer
39 views

Nmtui as non-root user Centos 7.1

Trying to run nmtui as a non-root user to edit network connections. As it stands I get a Unable to save connection: Insufficient privileges error. I've tried setting the USERCTL=no to USERCTL=yes ...
1
vote
2answers
84 views

installing google-chrome gives me error

When I run the following command sudo yum install -y ruby ruby-devel gcc xorg-x11-server-Xvfb google-chrome-stable on a centos 6 server I get the following error: Package: google-chrome-stable-...
1
vote
1answer
45 views

How to fix SSH into CentOS 7? [closed]

I use Windows 10. And I have a CentOS 7 VirtualBox machine. I want to use putty login into CentOS use ssh, but the trouble is like this: I have changed my machine network to bridge adapter. This ...