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
1answer
18 views

How to properly make server backup

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

centos7 samba share isn't listed in win7 “Network group”, but is accessible directly as //hostname

I've migrated my home NAS from Ubuntu 14.04 into Centos7. My clients are windows 7 laptops. I can no longer see the samba shares in windows explorer's Network "group" in the left-side listing. I ...
0
votes
0answers
20 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
10 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
26 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
32 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
0answers
16 views

DDoS protection script for CentOS7 [on hold]

Is DDoS attack from a LAN Connection can slow down the server? I mean if the server can be connected only through LAN networks is DDoS attack can slow down my web server? Can anyone give me some ...
0
votes
1answer
22 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
13 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
16 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
34 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
9 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
14 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
32 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
17 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
6 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
39 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
18 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
28 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
18 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
61 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
26 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
90 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
28 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
13 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
58 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
27 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
33 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
7 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
28 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
42 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
135 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 ...
1
vote
0answers
20 views

CentOS 7 doesn't recognize new Active Directory accounts/settings

I joined a CentOS 7 system to a Windows domain by syncing the time with the DC and running realm join --user=admin@mydomain.local mydomain.local. This allowed me to authenticate my login to the CentOS ...
0
votes
0answers
34 views

schroot only works as root

I recently changed my OS from openSUSE to CentOS. A part of that transition was migrating my chroot jails and schroot configuration. That transition does however not seem to be "plug and play". I used ...
-1
votes
0answers
10 views

Postgre SQL , user with “SUPER USER” and all permission to particular database can't read a specific column [migrated]

Iam trying to edit a website , I created a user for myself and granted all permissions , and set up that user as SUPER USER , using the user postgres I still can't read a specific column (which is ...
0
votes
1answer
52 views

Cannot install Varnish 3.x on CentOs 7

I have a freshly installed Centos7 and I wish to install Varnish 3.0; according with https://www.varnish-cache.org/installation/redhat I have installed the repo varnish-3.0.el6.rpm but ... ...
-1
votes
0answers
17 views

In ISC DHCPD, i want just failover server not load balancing

i am using CentOS7, i set 2 dhcp server for failover, one is primary, second is secondary. dhcpd support ip lease and pxe booting to client. what i wonder is.. when i set split with 256 value on ...
0
votes
1answer
27 views

Restore from Amazon S3 with dupy - duplicity on a new machine

I am trying to restore a full backup in a new machine but it seems that is not working. I installed my pgp's and secret keys. Also I copied my project from duply but when I run duply test restore ...
1
vote
1answer
126 views

Install Centos 7 or Ubuntu 14.04 on HP DL160 G6

I have recently bought a couple of 2nd hand HP DL160 G6. I have configured the internal B110i in RAID 1+0 (using four SATA disks). When I tried to install either Centos 7 or Ubuntu 14.04 LTS on the ...
0
votes
1answer
44 views

CentOS7 - Chef(open source) setup error

Been wrestling with setting up a chef-server at the moment on CentOS7. chef-admin seems to be doing fine. I "(1) sudo wget ...
0
votes
0answers
17 views

vsftpd service with tls enabled exit code 2

I am trying to set up TLS for VSFTPD on CentOS7. Whenever I try to start the service it fails with exit code 2 and no other information. anonymous_enable=NO local_enable=YES write_enable=YES ...
1
vote
1answer
61 views

Configure Centos7 Apache 2.4 php-fpm to run as user

I would like to configure a Centos 7 Apache 2.4 Linode to use php-fpm to execute php as the file owner. The docs for earlier Centos6 / Apache2.2 don't work and the configurations I have seen for ...
0
votes
1answer
23 views

Empty file shrinks after creating FS

I have a problem with my Server which freaks me out. I want to create a empty file and mount the file afterwards as a loop device. So I try this: dd if=/dev/zero of=/tmp/loop.img bs=1024k count=10 ...
0
votes
2answers
73 views

puppet master on CentOS 7 - Gone after reboot

I deployed a Puppet Master and Puppet Agent on two different CentOS machines. They both used to communicate via ssl but upon restart of Master server, things are gone. Httpd's conf.d contains ...
0
votes
3answers
65 views

httpd.service Cannot connect to database Centos 7

I'm trying to connect to PostgreSQL Unix domain socket from a python web application with mod_wsgi. Relevant system components: CentOS 7 x64 Python 2.7.5 SELinux disabled PostgreSQL is listening ...
0
votes
0answers
28 views

Apache HTTP to HTTPS Redirection on none HOST NAME

I'm not able to get a corect redirection from http to https on every url on my Apache on Centos. I got this in the httpd.conf: LoadModule rewrite_module modules/mod_rewrite.so NameVirtualHost *:80 ...
0
votes
0answers
46 views

Cron not running at specified time

I have a new Centos 7 system and having a trouble with cron jobs not runnning at the specified time: [root@media cron.d]# cat /etc/cron.d/rsnapshot 30 02 * * * root /bin/rsnapshot daily 00 02 * ...
0
votes
1answer
114 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
24 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 ...