CentOS is a Linux distribution standing for "Community ENTerprise Operating System" and is a rebuild of "Red Hat Enterprise Linux" (RHEL), belonging to the same company that distributes RHEL (Red Hat, Inc.). The "CentOS7" tag refers to versions 7.x-xxxx of CentOS, working only on 64-bit hardware. ...

learn more… | top users | synonyms

0
votes
2answers
13 views

Syntax for CentOS Environment Config File

I am trying to modify the file /etc/sysconfig/httpd on CentOS 7. This file modifies the environment for the httpd service under systemd. I want to modify the PATH variable by adding to it. I can set ...
0
votes
0answers
6 views

LVM Raid1 mirror leg lost

Odd one. I have 3 x 3TB disks in my server. /dev/sdc[1] is a raw 3 TB disk /dev/sda1 is /boot /dev/sda2 is /swap /dev/sda3 is 3TB /dev/sdb1 is 3TB sda and sdb were a raid1 mirror The server was up ...
-1
votes
1answer
33 views

Apache wont start on Centos 7

I've installed http24u onto a Centos 7 VM and the httpd service wont startup properly, it'll start for about 30 seconds or so and then crash out with the below message which doesn't mean anything to ...
0
votes
1answer
13 views

Google Compute Engine - Instance Shutdown request deleting and recreating instance deleting all data

I am new to GCS, I created a Compute Engine Instance via Instance Group. and installed Couchbase Server and Node JS on them. After four five days of working I tried to shutdown my instances. As I was ...
0
votes
0answers
13 views

Centos7 Fresh install boots into black screen

I installed Centos7 onto a box we have here for testing, I am using a Bootable HDD to install it on the System, I have used the same HDD to install Centos7 on a Dell Powerblade Server & a HP Z640 ...
2
votes
1answer
14 views

ipset behave differently when adding IP address from iptables and ipset command

I have a list that created below command ipset create foo hash:ip maxelem 40000000 timeout 180 This is how empty foo look like #ipset list foo Name: foo Type: hash:ip Revision: 1 Header: family ...
0
votes
0answers
12 views

Trying to add CPAN Perl Modules to mod_perl on Apache CentOS 7

I am running Apache on Centos 7. Some of the Perl modules that were not available via yum I have installed using CPAN in the custom location /export/home/www/perl5. I have used this custom location ...
0
votes
0answers
27 views

Change kernel of Centos OVH

I'm using a server of OVH with OS centos7. OVH has its own linux kernel: 3.14.32-xxxx-grs-ipv6-64 Now I try to configure another Centos7 kernel. I installed the other kernel(s). yum install kernel ...
0
votes
0answers
6 views

Postfix GMAIL Relay – Issues with Mail

I’ve installed the latest release of Postfix onto a CentOS7 server and have configured it to relay any mail on test@mydomain.com to send to an account on Gmail. The problem I have is that whenever ...
-1
votes
0answers
8 views

Django runs with manage.py runserver, but not within mod_wsgi on CentOS7-minimal

I managed to run my django project with manage.py runserver command, but having issue to run it within mod_wsgi. Here is traceback I got in apache error log file: mod_wsgi (pid=9357): Target WSGI ...
1
vote
0answers
47 views
+100

CentOS 7 connectivity issues

I have a second CentOS 7 box that's having a lot of trouble connecting. Basically, we were running WHMCS, but a domain lookup kept failing. So the issue is IPv6 connectivity. [root@da01 ~]# yum ...
1
vote
1answer
26 views

SELinux rules in CentOS 7 with Samba and SSSD on Kerberos Ticket generation

I've built a simple File Server with Samba and Netatalk running on CentOS 7.2. Everything is working as expected except for SELinux that's denying Samba to authenticate due to a policy of denying ...
0
votes
1answer
7 views

PHP cant connect to postgreSQL in Centos 7 Selinux

After migration to a new VPS and trying website on new server(Centos 7), Selinux somehow prevents http from accessing Postgresql: pg_connect(): Unable to connect to PostgreSQL server: could not ...
0
votes
1answer
13 views

How do I diagnose non-working Netatalk on Centos?

Our Centos 7.1.503 server, running Netatalk recently ran to full disk capacity and our macs couldn't save files. I rebooted it and removed some (non-system) files but now the Netatalk share isn't ...
-1
votes
0answers
18 views

/etc/group overriden after reboot

For my server Centos7 in google cloud I've tried to modify user and add him to docker group with usermod -aG docker dev. Everything works until a reboot occurs. After reboot user is no longer in ...
0
votes
0answers
6 views

Change Gluster default block size

I'm building a Gluster server, using Gluster 3.7 on top of Centos7. In the profiling report, read is always in the same 128k block size. And write can aggregate to bigger block size, thus have higher ...
0
votes
1answer
27 views

Unable to disable transparent_hugepage/defrag to never in centOS 7.2

I am following this link, https://docs.mongodb.com/v3.0/tutorial/transparent-huge-pages/ I am getting the output cat /sys/kernel/mm/transparent_hugepage/enabled always madvise [never] cat /sys/...
0
votes
0answers
11 views

Pervent connman disable wired interface

I'm running application over Centos 7 using Connman to manage connectivity. I have one issue working in the following scenario: Wired connection is enabled and online, have inet connection in this ...
0
votes
0answers
13 views

SOLVED mount(2): Stale file handle NFS after update server to Debian 8

I've several server that mounting NFS on remote backups server Everything worked until I did an update on the NFS server to Debian Jessie. Now some machines work and others not work. Try several ...
0
votes
1answer
28 views

Apache with PHP-FPM - PHP doesn't execute

I have compiled PHP 7 with FPM support using this tutorial on CentOS 7.x environment. I was able to test the php through CLI by running. cd /opt/php7/bin ./php --version Which outputs PHP 7.0.6 (...
0
votes
1answer
15 views

Domain Redirect Missing Slash for full URLs

I have 2 old servers, which I am not using any more, which have been replaced by 1 new system, and I want anyone who tries to go to the old domain names, to be redirected to the new one. So, for ...
1
vote
1answer
53 views

PHP7 + OpenSSL-1.0.2h on CentOS 7 [Nginx 1.11.1]

Since yesterday, I've applied OpenSSL-1.0.2h to my Nginx server, which I both recompiled from source. For the OpenSSL part, I've followed this guide: https://syslint.com/blog/tutorial/how-to-upgrade-...
-2
votes
0answers
17 views

Can't make Asterisk because pjsip.h is not found

I was following this tutorial to install Asterisk 13 on CentOS 7: http://jonathanmanning.com/2015/06/15/how-to-install-and-compile-asterisk-13-on-centos-7/ At one of the last steps, after I run "make"...
0
votes
1answer
26 views

Switching IMAP/POP3 login username from username to username@domain

I'm running a CentOS7 server with Postfix, Dovecot, Roundcube, etc. Right now everything is working. Users log in and check their mail by their username only. I would like to alter this so they ...
1
vote
0answers
12 views

xdebug remote centos host from mac

I have a server running CentOS7, PHP7.0.7 with php-fpm, and SELinux. I am trying to debug a PHP script running on that server. And I have a Mac machine that runs PHPstorm where I intend to do the ...
0
votes
0answers
32 views

Creating multiple Apache instances on CentOS 7 SystemD

I am trying to create a duplicate httpd service in systemd on CentOS 7 (why? see bottom) This is what I have done so far: #Copy all the files cp -pr /etc/httpd /etc/httpd-bobby cp /usr/lib/systemd/...
2
votes
0answers
31 views

Samba: Can only access share by IP from Windows

I have several CentOS 7 servers running Samba v3.6, they are joined to a Windows Server 2008 R2 Active Directory Domain, my clients are Windows 10. I am unable to access the samba shares on some of ...
0
votes
0answers
11 views

Docker installation inside a google compute engine instance for installing a dcos cluster

I have been working on an ansible script for installing a DCOS mesos cluster. I have been following the steps in the advanced installation section of the documentation of DCOS inside my ansible script....
0
votes
1answer
66 views

ldapsearch works for ldaps but getent passwd 'user' returns nothing on Centos 7 minimum openldap server

I have installed openldap on centos 7 minimum and added a user newuser01 to the database successfuly. ldapsearch works fine with both the master and the client using this format: ldapsearch -H ldaps:/...
0
votes
0answers
17 views

Apache sometimes not starting after reboot

Sometimes, after my server (Cent OS7, default repository) reboots, Apache is not started automatically. To fix this, I reboot the server one more time, and then it works. My Apache error logs shows ...
0
votes
0answers
18 views

Webmin becomes inaccessible [on hold]

My VPS is using Webmin as control panel and I got troubles setting up the Apache (httpd). I reinstall my Apache twice but after that my Webmin becomes not accessible. My SSH, FTP and other stuffs ...
0
votes
2answers
113 views

Redirecting port 8080 to port 80 - how to add in /etc/sysconfig/iptables file?

On CentOS 7 Linux (acting as LAMP - and not "firewall/gateway") I have created a custom systemd service for running embedded Jetty at port 8080 as user nobody: [Unit] Description=WebSocket Handler ...
1
vote
0answers
19 views

How to troubleshoot a MySQL / MariaDB error

I've imported two Wordpress databases to a system (CentOS7), and I did not have any problems. When I try to import an .sql file (obtained with mysqldump command) for a vBulleting forum (the newest ...
-2
votes
1answer
13 views

Directory mounted on a newly created logical volume does not show a correct size

I have two physical hard drives on a Linux system (server / hosting), and I created a logical volume from sda3 (partition on disk A) and sdb (the whole disk B). I then mounted it on /home directory, ...
0
votes
0answers
8 views

Linux - bind DNS+DHCP@LAN - dynamic update not working

This is my first attempt to make bind dns and dhcp server on Linux, and I have some issue. Have this: one DHCP/DNS server (hostname:services) 192.168.3.10 few hosts (host1, host2, ...) few vlans (...
0
votes
2answers
26 views

Limits on extending LVM volume?

I have a CentOS 7 server. I have extended a LV a few times like so: fdisk /dev/sdd pvcreate /dev/sdd1 vgextend pg_data /dev/sdd1 lvextend /dev/pg_data/lvol0 /dev/sdd1 xfs_growfs /dev/pg_data/lvol0 ...
1
vote
1answer
29 views

firewalld centos7 www does not work

I have centos7 with virtualmin installed. I wanted to block port 22, so I opened another port (Example 1050) for SSH. This is what I did. vi /etc/ssh/sshd_config ..changed port 22 to port 1050 for ...
0
votes
1answer
35 views

SSH connection is slow and buggy when connected by IPv6

I noticed that my SSH session is not usable (random connection errors, hugh delay, etc.) when I'm connected by IPv6. I'm not connecting to my server by IPv4/IPv6 addresses directly. I use my domain ...
1
vote
0answers
17 views

Apache 2.4 mod_rewrite rule applying redirect to non-redirect rule (only [L] flag)

So I'm having this crazy-making issue happen on apache 2.4/CentOS7 with a web app. I want to redirect all non-secure URLS on the app domain to secure versions, EXCEPT for one uri (a webhook endpoint ...
-1
votes
1answer
20 views

How to migrate My Server OS? [closed]

I've been researching the past week or so on how to migrate my Windows 2008R2 Server to Linux CentOS, I thought I had a good grip on it but know I'm confused and my networking knowledge isn't as up to ...
1
vote
0answers
29 views

How to disable auto fsck in Centos 7?

Is there a way to disable auto fsck while booting up on Centos 7 when it is XFS file system running on it. I know in legacy versions, we use touch /forcefsck, tune2fs -c0 -i0 /dev/FILESXX etc to ...
-2
votes
0answers
31 views

another phpMyAdmin 403 error

I have searched and searched days and hours online for a solution to my problem and I am coming up empty handed. Most issues I have found are people not being able to even get to the phpMyAdmin log in ...
-1
votes
0answers
11 views

Frequent brief CPU spikes on asterisk server

We have frequently where the load average on our asterisk server suddenly spikes (80 - 100 +) and the idle goes down to single digits. We have the problem only on the servers running CentOS 7. We ...
-1
votes
1answer
35 views

CentOS 7 FTP unable to retrieve directory list

So I recently installed my DirectAdmin license on my server which is running centOS 7 but now I am getting stuck with connetcing to my FTP server. I have done the following commands to open my FTP ...
0
votes
1answer
42 views

Unable to communicate with pacemaker host while authorising

I'm trying to configure pacemaker cluster with two hosts, I'm using two centos 7(CentOS Linux release 7.2.1511 (Core)) virtual machines. What I did so far: I installed packages: yum install ...
0
votes
0answers
23 views

Django Permission Denied on Socket File

I'm trying to setup Django to run via NGINX on a Centos 7 server, however I seem to be encountering a non-stop barrage or problems. The main one that I am encountering now is that NGINX is giving me a ...
0
votes
2answers
33 views

For centos 7 minimal ldap works but ldaps does not

I have an OpenLDAP server version openldap-2.4.40 that works fine on CentOS 7 minimal. I tested by issuing: ldapwhoami -H ldap://provider.med.cornell.edu -x \ -D "cn=Manager,dc=provider,dc=med,dc=...
1
vote
2answers
23 views

BIND Slave Unable to Receive Zone Files--SERVFAIL

I've been banging my head against the bind manual and google for a few hours tying to get this figured out, but I'm not sure where I'm screwing up. I built this on a few local VM's, and the slave ...
1
vote
1answer
29 views

Allow SELinux, Nginx to read local file and make outbound connection

I am a new admin to a server which uses CentOS 7, nginix and php-fpm. There is a web form that needs to read a local file (prod.pem) and then make an outbound connection to either: gateway.push....
0
votes
0answers
4 views

Errors installing VirtualBox 5 on headless CentOS 7 [migrated]

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 /...