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
0answers
3 views

'realm join --client-software sssd' on centos-7 joins two realms (one with sssd and one with winbind)

On clean installed centos-7 host: realm join -U foo --client-software sssd AD.EXAMPLE.COM After running realm list output looks initially like this: AD.EXAMPLE.COM type: kerberos realm-name: ...
0
votes
0answers
9 views

Can FPM make one RPM package that acts differently if systemd is being used?

I build an RPM using fpm for EL6 hosts. It installs a /etc/init.d script. However if that package is installed on an EL7 host, I want it to install a file in /usr/lib/systemd/system instead. Is ...
-1
votes
1answer
20 views

Apache / PHP - PHP not running - mod_php5 not found

Ok, so PHP is not running, even though it is installed. I am running Apache 2.4 on CentOs 7. Here's my /conf.modules.d/10-php.conf <IfModule prefork.c> LoadModule php5_module ...
-1
votes
0answers
10 views

Centos7 server isn't booting - managed to get access from a resque system - how to diagnose

I would really appreciate some help as i'm really a newbie when it comes to linux. i have a server on hetzner and i was trying to setup postfix and dovecot. also one of the last things i did was to ...
0
votes
1answer
60 views

CentOS 7 installer: blank screen

I am trying to figure out CentOS 7 unattended network (PXE) installations in my setup, but the installer always ends up running into a black screen without interaction options. This is being tried in ...
0
votes
0answers
4 views

mariadb / mysql wont change table_cache / open_table_cache [migrated]

I've configured my i7 64gb ssd server with centos7 with the following my.cnf [mysqld] key_buffer = 12M max_allowed_packet = 16M table_cache = 4096 table_open_cache = 4096 table_definition_cache = ...
1
vote
1answer
20 views

Are there good reasons not to disable /etc/init.d/network on centos-7 in favor of exclusively using NetworkManager?

rhel-7/centos-7 network configuration is bizarre -- largely because they are straddling between the old (shell scripts usually invoked by /etc/init.d/network which mutate configuration state of ...
0
votes
2answers
47 views

How to enable CentOS 7 to connect to an external SMTP? [on hold]

I have a web application deployed in a webserver, running on a CentOS 7. This web application sends e-mails through an external SMTP (in-v3.mailjet.com, port 587). How can I enable CentOS to connect ...
0
votes
0answers
31 views

tcpdump and httpry not capturing tcp packets

I have recently formatted my machine with Centos 7. My two interfaces are named enp3s0 and enp4s1. I have used to switch to set port mirroring on both interfaces. I have used httpry and tcpdump -i ...
0
votes
1answer
24 views

Not able to access Tomcat webserver from another machine in the LAN

I have setup the basic tomcat website (tomcat 8.0.3) on a server inside my company LAN. From my work computer if I try to access the website by typing it into google chrome it is not working. The IP ...
2
votes
0answers
25 views

CentOS 7 / Apache 2.4 / FastCGI Configuration

Does anyone know how to properly configure PHP/FastCGI on a CentOS 7 machine using Apache 2.4? In the Apache Virtual Host config file, I have this: <FilesMatch \.php$> SetHandler ...
0
votes
0answers
15 views

Preventing a read-write first automount after adding a VHDX onto a CentOS7 HyperV VM

I have a VHDX file (representing a non-boot ext4 fs) that I need to run some forensics on. I have a working CentOS7 HyperV VM on a Win2012R2 host. I want to attach the VHDX to the CentOS7 VM, which ...
0
votes
1answer
39 views

Postfix fails to install in MySQL 5.7

I am trying to install postfix in my server with Centos7 MySQL 5.7 Unfortunately it seems to be they are incompatible. Why? Here the error message. Is there a way around this ? [root@doc ~]# ...
0
votes
0answers
62 views

Puppet Error: Could not request certificate: Error 403 on SERVER: Forbidden request:

When trying to puppet a client on a new puppet installation using HTTPD and Passenger, I get the following error: [root@puppet-client ~]# puppet agent --test Info: Caching certificate for ...
0
votes
0answers
29 views

CentOS kickstart raid 1 and LVM issues

Doing an unattended install of CentOS 7. I'm setting two disks to me mirrored. bootloader --location=mbr --driveorder=sda,sdb zerombr clearpart --all --initlabel # Disk partitioning part raid.01 ...
0
votes
1answer
32 views

Extend partition beyond 2TB limit

How can I expand a partition + fs to 4TB in CentOS? It's currently XFS and 900GB, without LVM. I've tried using gparted in the Ubuntu LiveCD, but I'm given an error that this partition cannot be ...
0
votes
0answers
32 views

Chef “knife client list” spits out codes

I'm in the middle of setting my localhost as a server to run Chef server. After the installation, I ran "knife ssl fetch" to accept the server's certificate. But then I get the following as the error ...
-7
votes
2answers
71 views

Setting up multiple sites on one IP address [closed]

I am working for a client that has a CentOS 7 server running Apache 2.4.6. I have a Zend Framework/PHP based website running on the server. It only has an IP address. No domain name is pointed to it. ...
0
votes
0answers
23 views

customize instance store Centos7 AMI

I am attempting to customize a base instance-store Centos7 AMI. Image I am using is: RightImage_CentOS_7.0_x64_v14.1.4_HVM - ami-d34b02e3 (instance store hvm) I start the instance, I customize it, I ...
0
votes
0answers
40 views

Centos 7 kickstart systemctl

I created a kickstart file for CentOS 7 and I'm having trouble with the following entry: services --enabled=mariadb,mongod,httpd,chronyd,NetworkManager I am getting an error: No such file or ...
0
votes
1answer
20 views

Proxmox Console to OpenVZ Container has two login shells

I am using ProxmoxVE. Proxmox is running in Stand Alone Mode. I have a variety of CentOS 7 containers running. When I try to use the "Console" button to login to the machine I am presented with two ...
0
votes
0answers
16 views

Set php-fpm slow log file permissions

I have a setup of php-fpm on CentOS 7 with each user having their own pool and log files. I want to make sure that each user is able to view their own log files. This works great for the PHP ...
-2
votes
1answer
45 views

from external host, i cant access to my apache web server that running on vmware [centos 7 64bit]

after i switched off iptables and firewalls, it doesn't work root ~ # service iptables status Redirecting to /bin/systemctl status iptables.service iptables.service - IPv4 firewall with iptables ...
0
votes
1answer
40 views

drop ip blacklist with firewalld centos 7 [closed]

Question 1 I have I very long list 1500+ ips in a file lets say /etc/blocklist.ips each ip in a line of the file. How can I DROP for every ip in the file with firewalld from centos 7 ? also I been ...
0
votes
0answers
44 views

keepalived failover for postgresql

What happens? When i start keepalived all works fine. When node01 fails and it cannot start postgresql anymore it will constantly try to force an election. Even if the postgresql cannot start. The ...
0
votes
1answer
35 views

Postgresql keepalived gluster | FAULT state

I am trying to achieve a simple failover using Keeplalived, postgres and gluster. Using CentOs 7 I have mounted a replicated gluster volume on both nodes at '/var/lib/pgsql'. Shared ...
-1
votes
1answer
48 views

remote firewall configuration on centos7

I'm using Centos 7 and am trying to configure my firewall remotely. When I run firewall-config & a window comes up but remains blank. I cannot kill the window with the X close button so I need to ...
0
votes
2answers
85 views

Postix or Dovecot debug log for Maildir folder, Virtual user mail folder owner and permission

I'm no able to find a complete tutorial about Maildir and the folders where reside owner and permissions if there's any and you already found it , please share. Anyway I wonder if there is a way to ...
0
votes
0answers
15 views

KVM guest stuck connecting

EDIT: Disabling firewalld solved this for me I'm trying to set up a KVM host for a few small virtual machines. This is not production, just internal IT dept. stuff. My host OS is CentOS 7 with a ...
0
votes
0answers
67 views

Cannot get OpenManage omreport for Dell running CentOS 7

I'm trying to get omreport on a Dell R710 running CentOS 7, but failing. The instructions at http://linux.dell.com/repo/hardware/omsa.html include a case for CentOS. The involve using wget to set ...
0
votes
1answer
32 views

CentOS 7.0 1406 installation fails on NetworkManager time out

Installing CentOS 7 on Supermicro SYS-6027TR-HTRF. The installer stops at: Error calling StartServiceByName for org.freedesktop.NetworkManager: GDBus.Error:org.freedesktop.DBus.Error.TimedOut: ...
-1
votes
1answer
44 views

Apache doesn't start at boot

I'm on a VPS that sometimes OVH restarts. When this happens, apache soesn't start at boot so I need to start it manually everytime. I have already set the command systemctl enable httpd but seems ...
4
votes
1answer
53 views

Roundcube sends e-mails without subject

I have recently set up a mail server that consists of postfix and dovecot. Yesterday I added nginx and roundcube to the mix. SPF, DKIM, DMARC, rDNS records are all done. Gmail treats my mail as valid ...
-1
votes
1answer
48 views

SELINUX blocking php-fpm and nginx working together?

I'm having some issues with SELINUX. When trying to visit my website I get 403 forbidden from nginx and the server pops up with an error and says to use grep NGINX /var/log/audit/audit.log | ...
0
votes
1answer
41 views

It is possible to configure more than one haproxy in different machines to listen to same request?

I'm wondering if it is possible to create a cluster of haproxy, so if the haproxy machine fails, another haproxy gets the job done. I tried to change the frontend configuration to listen to other ...
0
votes
0answers
21 views

cassandra on centos 7 - service control issues

I'm trying to join a set of new CentOS 7 servers to an existing cassandra cluster. All systems are running the same version (2.1.2). Running into these problems and would appreciate some pointers: ...
-2
votes
1answer
45 views

mkpasswd on Centos 7 does not support -m flag [duplicate]

I cannot find how to install grub-crypt either. How can I generate SHA512 pass hashes on Centos 7? Edit: I was actually trying to look up how to generate hashes with an adjustable number of rounds. ...
0
votes
0answers
27 views

Centos 7 cpu frequency below the minimum value

Hyeverybody,I have 2 similar Dell PowerEdge r720 server wih the following configuration: CPU: Intel(R) Xeon(R) CPU E5-2630 v2 @ 2.60GHz RAM: 64GB OS: Centos 7 I have noticed, that the in recent 2 ...
-3
votes
1answer
124 views

Can't start MySQL on CentOS 7 [closed]

The system had MariaDB before which I couldn't start either. Now I deleted MariaDB and installed MySQL. $ mysql --version mysql Ver 14.14 Distrib 5.6.23, for Linux (x86_64) using EditLine wrapper ...
0
votes
1answer
77 views

CentOS7 systemctl calling ExecStop on reboot after my procceses are already killed

I have a systemd script which is as follows: [Unit] Description=My sites Before=shutdown.target reboot.target halt.target [Service] Type=oneshot ExecStart=/bin/bash -c '/etc/xxx/mySites start' ...
0
votes
1answer
84 views

Can't boot Mysql on Centos 7

I've installed mysql on Centos 7 (mysql-community-server) as root. The problem is that I can't start the daemon with "service mysqld start", It never return me to prompt and even if I try to use ...
0
votes
0answers
58 views

PHPINFO creates Permission Denied in error log

Running CentOS 7 with apache 2.4, using PHP5.6 from REMI repository. My wordpress and phpmyadmin seem to work, however any page that has phpinfo() causes a permission denied entry into my error log. ...
0
votes
1answer
66 views

centOS 7 firewallD remove direct rule

After upgrading the system from 6.5 to 7, I started learning implementing dynamic firewall, however, I made a mistake to add the following rule firewall-cmd --permanent --direct --add-rule ipv4 ...
2
votes
1answer
50 views

Postfix doesn't start on reboot

I'm on CentOS 7 and as far as I understand, all that is needed for Postfix to start on reboot is to run systemctl enable postfix.service However, that doesn't work for me. After a reboot, systemctl ...
1
vote
1answer
107 views

Fail2ban configuration for nginx using firewallcmd in CentOS 7

Previously I have a CentOS 6.5 with Iptables and I configure some jails for nginx as suggested here: How To use fail2ban for Nginx?. But now I am in CentOS 7, trying to use the new firewall and ...
0
votes
0answers
65 views

Network Interfaces names Cent OS 7

I recently wrote a script to monitor my network interfaces in Cent OS 7. The names were like the new names for the network interfaces - so far so good (more or less). After I cloned the OS (it was a ...
0
votes
1answer
177 views

recommended way to configure a centos-7 network interface with static settings via ansible

I'm new to ansible and a little googling hasn't lead me quickly towards the right solution to my question. What's the 'with the grain' way to assign static network settings to a centos-7 host with ...
0
votes
1answer
156 views

How to do a git pull/push using ansible

I am trying to do a git pull/push using ansible. I am running ansible on one server and want to automate or orchestrate a git pull/push on a remote host. Now since i didn't find a mmodule to do this ...
0
votes
0answers
95 views

Unable to access Samba fileshare on CentOS 7 from Windows 7 on AD Domain

I'm trying to stand up a new CentOS 7 server running Samba and I'm unable to get access to the shared directories from my Windows 7 local machine. As I'm not super familiar with CentOS 7, I followed ...
2
votes
2answers
118 views

What is telling me postfix with this error: warning: connect #n to subsystem private/proxymap: Connection refused

Can anyone tell me what's postfix telling me with this error? Feb 9 13:08:59 hostname postfix/postfix-script[23077]: starting the Postfix mail system Feb 9 13:08:59 hostname postfix/master[23079]: ...