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)

1
vote
0answers
25 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
26 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
45 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
28 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
34 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
53 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
27 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
36 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
40 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
44 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
47 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
39 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
26 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
21 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
37 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
30 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
34 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
333 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
38 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
33 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
41 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
32 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
36 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
86 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
36 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
39 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
27 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
36 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
74 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
44 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 ...
0
votes
0answers
14 views

Unable to run LVM on CentOS 6 via VNC Viewer

Need to run Logical Volume Manager on my CentOS 6 vm using VNC Viewer but when I double click on it, nothing happens. What I did is to go to System > Administrator > Logical Volume Manager Am I ...
0
votes
0answers
50 views

CentOS 7.2 Minimal Time synchronization timedated and/or ntpd/chrony

Environment: KVM CentOS 7.2 Minimal installation. I am trying to sync the time with an NTP server in my network. My Proxmox-Host (Debian based) is able to do this by enabling systemd-...
1
vote
1answer
16 views

App Repo vs Package Repo?

What is the difference between an "app repository" like EPEL / RPMForge / etc and a "package repo" like PkgDB? Can I point yum / df to pkgDB so it can figure out where to download stuff from without ...
1
vote
1answer
30 views

Missing Ubuntu in boot menu after installing Cent OS 6

I had Ubuntu in my hard disk and after installing CentOS 6 on it I am not able to see Ubuntu in the boot menu. My /bootgrub/grub.conf file looks as follows: What changes do I need to make in this ...
0
votes
1answer
45 views

Can I build centos 7 (el7) rpm package on centos 6 (el6) server?

There are some documents teaching me on how to build rpm by myself in centos with rpm-build or mock. I am fine to build them for el6 rpm package. My question is, can I build a rpm package for centos ...
1
vote
0answers
20 views

VLAN setup via command line works, ifcfg-ethX.Y does not (CentOS 6.8)

I have CentOS 6.8 running in a Parallels VM. eth0 is bridged to the Ethernet adapter in the Mac. I need the CentOS server running a specific VLAN (10), so I have read this RHEL documentation. eth0 ...
1
vote
0answers
22 views

Minecraft acting differently when started from terminal compared to started by cron job at start-up

So I use a CentOS Linux 7.2.1511 server, where I host a couple of things, amongst them a Minecraft server. Since from time to time server is rebooted I scheduled a cron job to run minecraft server on ...
-3
votes
1answer
54 views

Update nginx on Amazon linux (CentOs)

I'm trying to update nginx on a amazon linux instance which I read is compatible with centos repos.On their site there is a little guide to upgrade the repo. However I'm not sure how to translate it ...
0
votes
0answers
61 views

CentOS 6.7 Dedicated server, -bash: fork: Cannot allocate memory 128GB Ram

I bought my new dedicated server for hosting game servers, websites and personal stuff. Also for learning and testing. I have used dedicated servers before with Linux and windows so I guess I'm ...
3
votes
2answers
40 views

Multiple tmpfs partitions

[mayur@mayur311-pc ~]$ df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/centos-root 50G 3.6G 47G 8% / devtmpfs 3.9G 0 3.9G 0% /dev tmpfs ...
1
vote
1answer
25 views

How to fix install openvpn on CentOS 7?

All image about my problem is here Why I can't install openvpn with yum even I try to fix it like this website said . What is wrong in here? Help me, please people. By the way, the problem I see,is ...
0
votes
0answers
22 views

how to fix centOS after set up problem? [duplicate]

Why after set up CentOS 7 (I choice GNOME desktop install), reboot and It happen like this.(this picture). I choice c ; r ; 1, it still don't work, believe me. I snapshot again for everybody can see ...
-3
votes
1answer
29 views

how to fix error python-pyparsing when install GNOME desktop in centos 7?

in first picture you see, I just type "# yum -y groups install "GNOME Desktop" and i meet the problem, that error, python-pyparsing, you see. How can I fix this problem? I try to do this, don't know ...