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

CentOS 7 Automated SSL Generation from Active Directory

I have an Active Directory Server setup for Certificate Services. I am able to manually generate certs as needed. However, I need to find a way to automate the sending of the cert request to AD and ...
2
votes
0answers
21 views

Can't read ACL on NFS4 share, Solaris 10 client, CentOS 7 server

First off, please excuse me if my question isn't well formed, this is my first post on serverfault :) I have successfully deployed LDAP and Kerberos authentication in a mixed Linux/Windows/Solaris ...
-1
votes
0answers
16 views

How to Create and Restore a Snapshot of CentOS from one to another Server

I own a server at SoYouStart (OVH), I have installed CentOS 7. PHP, Apache, PostgreSQL, Varnish, etc ... I want to clone the same server with the same configurations and software to my new server on ...
0
votes
0answers
13 views

CentOS 7 mount ebs thorugh systemd unit

CentOS 7 HVM community image is not mounting the drive if as recommended we do it via rc.local(since doing it via /etc/fstab entry may halt the machine and make it not reachable if any issue occurs in ...
0
votes
0answers
13 views

Installing LTTng-modules 2.5.4 on CentOS 7

I am trying to install LTTng-modules 2.5.4 on CentOS 7, by building it from source because CentOS 7 is unable to install this package from RPM. Running "make" to build package contents results in the ...
0
votes
3answers
59 views

How to install packages offline?

Our server runs offline and we need to install lot of yum packages, like oracle-jdk, elasticsearch, nginx, etc. Is there any way to download the rpm dependencies so we can install them offline in ...
-1
votes
0answers
9 views

Solr configuration CentOS7 VM

We have installed a CentOS-7 in a VM using VirtualBox. Also, we have set the network configuration to use a proxy in order to have internet access. In the VirtualBox Network configuration we have ...
0
votes
0answers
11 views

CentOS 7 Cannot delete ports defined for MongoDB

I installed and later removed the MongoDB server on a CentOS 7 box. While cleaning up, I noticed that the ports assigned to MongoDB were still open. if I remember correctly, I was able to delete the ...
1
vote
1answer
31 views

CentOS 7 no biosdevname at install time

I know that I can use net.ifnames=0 biosdevname=0 in grub to use eth0 instead of enp0s3 or whatever but how to I specify this at install time in a kickstart file?
0
votes
1answer
26 views

Enabling Qemu/KVM Filesystem Passthrough Centos 7

I have a system running Centos 7 with the stock qemu/KVM code. I have several virtual servers running on this system and would like to enable the filesystem passthrough option. So far, I have not ...
1
vote
1answer
28 views

ERROR The requested URL could not be retrieved - when accessing URL by using PROXY

I'm getting this error message: ERROR The requested URL could not be retrieved The following error was encountered while trying to retrieve the URL: http://xxx Read Timeout The system ...
2
votes
2answers
28 views

Infiniband Verifying that RDMA is working

I have two identical computers with Mellanox cards connected to each other through a cable. No switch. Using opensm. I have run several tests, including ping_pong tests, ibping, etc. They all seem to ...
0
votes
1answer
26 views

Maria db wont start | Failed to get D-Bus connection

I try to start my mariadb but I am failing to start the maria db and I dont have any clue why.. I am running centos 7 with mariadb. It doenst start when I reboot, also when I use the cli to start it ...
2
votes
1answer
50 views

Block smtp service to a IP centos 7 Firewall

I would like to know how to block an IP to use smtp service on a server with centos 7 firewall . I try to use something like this : firewall-cmd --permanent --zone="public" --add-rich-rule='rule ...
-1
votes
0answers
22 views

CentOS7 /etc/sysconfig/static-routes takes effect on service network restart but not on boot

I prefer to use /etc/sysconfig/static-routes as opposed to interface-specific /etc/sysconfig/network-scripts/route-<interface> files. I am testing whether /etc/sysconfig/static-routes still ...
4
votes
0answers
38 views

How to ensure sshd is the last service to be stopped during shutdown?

I have noticed that when I issue a reboot command, my SSH connection is immediately closed on CentOS 7. It does not mean the server has rebooted, as I can still ping it. It seems systemd is killing ...
0
votes
1answer
45 views

How to choose nginx version during rpm install

According to nginx.org instruction on how to install nginx by .rpm, it says that I should do the following. open nginx.repo $ vi /etc/yum.repos.d/nginx.repo paste the following content in it (for ...
1
vote
2answers
37 views

What might be causing LDAP to refuse connections from some but not all sources? (not firewall)

I'm migrating servers to new infrastructure and have to set up LDAP again. It's not being used to access the server, rather as a repository of users from our website to be accessed by our BI ...
0
votes
1answer
26 views

Unable to set AJXP_DATA_PATH variable for Pydio in CentOS

I'm trying to launch Pydio on my CentOS 7 server with Nginx. I get to a point where everything is working, I mean I get a Pydio Error, it is generated by Pydio. Impossible write into the ...
0
votes
1answer
40 views

How to properly make server backup [closed]

Since I'm not really a server admin but I'm always eager to learn something new. I have a dedicated server to take care of. On that server are 2 VMs and on each VM a site (webapp). Both VMs have ...
0
votes
0answers
47 views

keepalived cluster ping physical ip fails

My szenario looks like below: Router = R[number] Switch = S[number] R1      R2  I           I S1-----S2 ...
0
votes
0answers
18 views

pacemaker/corosync node doesnt work after system upgrade

Few days ago I updated(yum update) one of my cluster node. While yum was performing cleaning operations after upgrade it tried to restart pacemaker. This operation hanged for quite some time until I ...
1
vote
1answer
77 views

No write permission for Wordpress under Nginx in CentOS 7

I have a CentOS 7 machine with Nginx running and the user is "nginx" (tghe default one in CentOS). I've installed Wordpress, which is working perfectly, and I've give wrtite permissions for nginx user ...
1
vote
3answers
91 views

Disable THP and THP defrag on CentOS 7 EC2 instance

I want to disable transparent_hugepage (THP) on a CentOS 7 EC2 instance, which is enabled by default: # cat /sys/kernel/mm/transparent_hugepage/enabled [always] madvise never # cat ...
-1
votes
0answers
20 views

“Environment” not working in systemd unit file [duplicate]

I'm trying yo make Unit file for some software. I can't create variable for later use. Example: [Service] Environment="FOO=default_foo_value" ExecStart=/bin/service $FOO Seems legit. I saw many ...
0
votes
1answer
28 views

Apache SSL Errors every 30 seconds

I have three load-balanced Apache 2.4.6 servers running on fresh installs of CentOS 7. The load-balancer is a Barracuda 340. I know its old, but it's more than capable of handling the traffic, and ...
0
votes
0answers
18 views

Centos7 Network Bridge: ServerA -> VPN - > ServerB -> Internet

The core of the problem is that I want to install mariadb on ServerA (which has no internet connection). ServerB can connect to ServerA via VPN. ServerB has internet access. Until now I've 'got by' by ...
1
vote
1answer
21 views

Create KVM storage pool using a ext4 formatted drive

I have a secondary hdd that I would like to use as a storage pool for my KVM host. Here is the xml file I use to create the storage pool, <pool type='disk'> ...
2
votes
2answers
40 views

ldap is working but not ldaps correctly

I'm a little lost with ldapsearch... I have to configure a cloud with AD authentication. this is working well ldapsearch -h server -p 389 -x -D 'admin.test' -w 'xxx' -b ...
-1
votes
0answers
11 views

Centos server is in trouble with squid. Ssh access to the server is not allowed

My Centos server is in trouble with squid. when install squid with ssl_bump & ecap support. I can't reboot server. error is: Message from syslogd@wasm at Apr 30 11:42:42 ... kernel:BUG: soft ...
-1
votes
0answers
25 views

Shutdown init script is not executing on immediate reboot on CentOS 7.1

I have installed an init script to run on system shutdown with the following command /sbin/chkconfig --add shutdownExample My shutdownExample(custom script to run at system shutdown) looks like ...
2
votes
1answer
65 views

CentOS 7 /proc/net/ip_conntrack: No such file or directory

yesterday I must hard-reset my server and from the reset I can see the following problem in the munin-node.log: 2015/04/28-04:10:02 CONNECT TCP Peer: "[::ffff:127.0.0.1]:58663" Local: ...
1
vote
1answer
20 views

How to test the value of LimitRequestFieldSize in Apache 2.4

I would like to test the value of LimitRequestFieldSize in Apache 2.4. I have tried setting it and was wondering if there was a straightforward way of calling its value from apache or testing it via ...
0
votes
0answers
7 views

tincd not even trying to connect to server

I am trying to deploy tinc 1.0.24 on my CentOS 7 server and tinc 1.0.25 on my Macbook Air. I currently have a server running on IP 37.157.195.48 and a Macbook Air client running behind NAT. Tincd on ...
0
votes
4answers
42 views

Is it possible for a cronjob to start before MySQL starts?

I am on CentOS 7, and if I put: * * * * * python script.py It works. If I put: @reboot python script.py Then it says it cannot connect to MySQL. If I run it from command line too, it works. ...
-1
votes
0answers
27 views

CentOS 7: Write failed: Broken pipe on reboot

So I am trying to reboot on CentOS 7: $ sudo reboot Write failed: Broken pipe After I run the command, it waits 60 seconds for the timeout that is specified both on the server and client side, as ...
2
votes
0answers
43 views

Centos 7 & Hard CPU Limits

OS Version Information: [root@localhost system]# cat /etc/redhat-release CentOS Linux release 7.1.1503 (Core) Configuration for the test.slice is as follows: [root@localhost system]# cat ...
0
votes
0answers
29 views

CentOS7 firewalld no zones

I have installed firewalld on fresh CentOS 7 minnimal installation on a VPS (weirdly enough, from what I've been searching firewalld should already be installed with system). I tried opening some ...
1
vote
0answers
80 views

CentOS 7 httpd /server-status limitations

I have got VPS (using CentOS 7 as my OS) and now I am configuring Munin (monitoring software). I ran into a little problem with Apache monitoring. Now I have got this cfg in my httpd.conf and ...
2
votes
1answer
39 views

How to redirect FORWARD proxy users to webpage using mod_proxy - apache

I have searched quite a lot for a solution and most answers pertain to either proxypass (reverse proxy) or are not relevant. End users' web browsers are configured to use the Apache proxy server. I ...
2
votes
2answers
232 views

How to open port for a specific IP address with firewall-cmd on CentOS?

I would like to open port 4567 for the IP address 1.2.3.4 with the firewall-cmd command on a CentOS 7.1 server. How can I achieve this, as the documentation I could find was too specific on this?
0
votes
0answers
39 views

opensm CentOS 7 software switch

I have two computers both with infiniband cards in them that I would like to connect without a switch. I have a cable connecting the two computers through their QSFP ports. I have read the ...
1
vote
0answers
19 views

One drive in Centos software raid 1 array keeps disappearing

I have a pair of HP DL320e servers identically configured with 2 x WD Red 6TB drives in a software raid 1 array. # cat /proc/mdstat Personalities : [raid1] md126 : active raid1 sda3[2] sdb3[1] ...
0
votes
1answer
92 views

How to enable firewall on Centos 7?

My firewall is currently inactive. systemctl status firewalld firewalld.service Loaded: masked (/dev/null) Active: inactive (dead) I used the following command to enable the firewall # systemctl ...
1
vote
0answers
42 views

systemd Unit file for GitLab

I am currently writing a Puppet module to get GitLab running on CentOS 6/7. For the CentOS 7 install I need to write a systemd unit file to start the gitlab service (which is actually Unicorn & ...
1
vote
1answer
40 views

How do I get firewalld to restrict access to all except specified IP addresses?

I would appreciate some assistance with configuring firewalld please. Here's a bit of background. All I want to do is prevent all access- except whitelisted IP addresses to a web application running ...
0
votes
0answers
11 views

Converting Bro IDS output to CSV

I have Bro-IDS currently operating under Centos 7. I need to convert the output to CSV format. The documentation that I have seen on this is not clear to me. Has anyone done this successfully? I have ...
0
votes
0answers
36 views

CentOS7.1 missing many perl rpms

I just install a Centos7.1! It seems to be missing soo many perl rpms. Ex: perl-PerlIO-gz, perl-DBD-Sybase... I can't seem to find them in any repo. Any ideas? Thanks,
0
votes
1answer
60 views

Connection tracking in Firewalld (e.g. CentOS 7)

I can't get vsftpd and firewalld to work together properly on CentOS 7 (without adding the passive range to the firewalld). Looks like firewalld ignores connection tracking (nf_conntrack_ftp is loaded ...
0
votes
0answers
250 views

Centos 7 / phpmyadmin “Forbidden: You don't have permission to access /phpmyadmin on this server.”

I'm running CentOS 7 in Virtualbox. phpMyAdmin.conf for Apache: # phpMyAdmin - Web based MySQL browser written in php # # Allows only localhost by default # # But allowing phpMyAdmin to anyone other ...