CentOS is a free (as in beer and speech) GNU/Linux distribution that is community driven and based on source code released from RedHat.

learn more… | top users | synonyms

0
votes
0answers
24 views

Caching cookies with Varnish 4

I want to be able to cache pages that have a cookie. Let's say I have a cookie called "testcookie". If testcookie = 1 I want a page (cached), if testcookie = 2 it will have a different page ( i want ...
-1
votes
0answers
17 views

How to remove apache check dns error?

I have configured apache virtual host in http.conf like below <VirtualHost xx.xx.xx.xx:80> ServerAdmin admin@example.com DocumentRoot /mnt/external/project/Creative ...
1
vote
2answers
26 views

how to stop cron mail receiving in spam folder?

I have added a cron job for my incremental backup, and I configured it like this.But my mail goes to spam folder.so iclick not spam option in mail.it moves to inbox.but again it receives in spam 0 23 ...
0
votes
1answer
33 views

Problems installing PECL extension Memcache

I have installed memcached fine and seems working properly , and now I will need to install PECL extension memcache. Im running Centos 6.2 x86_64 .When I try to install gives me this error at the ...
1
vote
1answer
165 views

(nginx) Apache Forbidden error (at random): No error logs

I am running an Nginx server, but as of late I am randomly getting "Forbidden" errors by Apache, and it seems to never happen at "first" visit, only after refreshing/browsing for a while. What is ...
0
votes
1answer
65 views

Unable to get squid working on centos

I have set up squid on my centos vps server and I am trying to connect to it through my windows computer but I am getting following error for all the websites: Waiting for google.com The ...
0
votes
3answers
63 views

MySQL keep crashing

So a little background, a few weeks ago I brought a new CentOS dedicated server in Melbourne, however it seems beside the number of attackers I get, there also seem to be an issue with the MySQL ...
1
vote
0answers
38 views

High CPU Usage and hangs randomly with HHVM

I'm using phpbb on Centos 7 with 512mb of ram and 1 core. And I'm having randomly hangs and high cpu usage when I get some url of my clean phpbb installation. This is my server.hdf file: idFile = ...
1
vote
0answers
62 views

LDAP with SSSD: force user to change password - 'ShadowLastChange' not working

I have CentOS6, with LDAP user authentication, using OpenLDAP and SSSD. I'm trying to force user to change the password. According to this ServerFault question I tried to set ShadowLastChange to 0, ...
1
vote
1answer
29 views

Auditd is not logging events for some watched files

We have configured auditd to log all access to certain critical files. The system runs WebLogic Server and we want to know if anyone is trying to poke around sensitive system files, such as the domain ...
0
votes
2answers
25 views

Cannot gain networking access in CentOS 6.2 installed on Hyper-V

Im trying to test a few pieces of software on a CentOS 6.2 VM installed in Hyper-V on Windows Server 2012 R2. I was able to successfully install CentOS 6.2 in Hyper-V but I am unable to gain access to ...
3
votes
1answer
81 views

How do I combine firewall --enabled and --nobase in a CentOS kickstart?

As part of system hardening, I'm trying to configure my firewall during a CentOS 6.6 kickstart with the following line. It does work under one circumstance, and otherwise it doesn't. Kickstart ...
0
votes
0answers
26 views

JBoss service start failed

I have installed JBoss Eap 6.4 through zip installation as it's written in the redhat guide, so to summarize I: Downloaded the zip file (eap 6.4) Edited the jboss-as.conf file (see image below) ...
1
vote
0answers
15 views

Nginx req_limit_zone whitelist ip's geo module

I have setup nginx req_limit_zone to limit requests to my webserver. Also I added geo to whitelist certain IP's so request limit does not affect those IP's. The problem is that once I test it with ap ...
0
votes
3answers
105 views

How to send an e-mail after a cron job [duplicate]

I have added a cron job for my incremental backup, and I configured it like this: 0 23 * * * /usr/bin/rsync -ravzX /mnt/external/project/ /media/backup/project/ | mail -s "Backup Success" ...
-1
votes
1answer
77 views

Can't install PHP Package on CentOS

I am having trouble re-installing PHP via yum on my server hosted by digital ocean. I had PHP 5.4 installed but wanted 5.6. I added/enabled the remi repo's, ran yum -y remove php* and then tried to ...
0
votes
0answers
24 views

Preventing the most common attacks with firewalld on CentOS 7

I have seen countless iptables tutorials where you can configure your iptables to prevent the most common attacks. But the only tutorials I have been able to find on firewalld is how to enable and ...
0
votes
0answers
50 views

Kernel upgrade issue

I am trying to upgrade kernel on OnApp VM. Currently installed kernel is 2.6.32-279.22.1.el6.x86_64. The new version available is 2.6.32-504.16.2.el6.x86_64. I installed new kernel ...
0
votes
1answer
77 views

CentOS vs Ubuntu Wordpress server security

I am building out a new Wordpress server for a web developer redesigning my companies website. I originally decided to go with CentOS due to stability. However it appears based on the versions of ...
2
votes
1answer
100 views

Errors installing php extensions on Centos 7

I'm pretty sure I know what the problem is i just dont know how to fix it. Im trying to install mcrypt "yum install php-mcrypt" and i get the following error Error: Package: ...
0
votes
1answer
38 views

dual-homed Centos 7 cannot be ping'd or ssh'd from some on LAN, sees ssh connection refused on one subnet

I have 2 subnets, A and B and a router connected to both A and B and the WAN. I have 4 servers dual homed on subnets A and B, 2 of them are Mac OS and 2 of them are Centos 7 (1503). They are all ...
0
votes
2answers
40 views

CentOS - Nginx logs got deleted - unrecognized system restart, why? How to prevent?

I am using CentOS Linux release 7.0.1406 (Core). The last time I logged in to SSH of the server was on April 20. Everything was working fine. Today I logged in once again to check if anything new in ...
1
vote
1answer
41 views

ssh proxy using -W host:port [duplicate]

I'm trying to use intermediate machine to connect to a remote host but I'm doing something wrong and not sure what. I have added to my intermediate box /etc/ssh/sshd_config following lines: Match ...
1
vote
0answers
45 views

IP-rules don't seem to be working on CentOS-6.6

I faced a bit odd difficulty with policy-based routing on CentOS-6.6 server. I have a setup where I need to enroute all packets originated from 172.25.0.0/16 destinated to 172.24.0.0/16 and some ...
0
votes
0answers
17 views

request_module: runaway loop modprobe binfmt-0000

I'm running CentOS 7. Everything was working fine, until I had one pending update, which I accepted and rebooted. Now the system fails to boot and instead says: request_module: runaway loop ...
0
votes
1answer
29 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
49 views

PHP Fatal error

For some reason Apache/PHP is throwing these errors in the error_log. I can't figure out what is causing it? [Wed May 06 16:39:33.056497 2015] [:error] [pid 14857:tid 140714977302272] [client ...
0
votes
0answers
14 views

New install of authorative BIND9 logging requests but not responding

I have setup a new CentOS7 server, updated and installed bind + bind-utils to be used as an authoritative public facing NS. It seems to be ignoring external DNS queries. Configured logging, opened ...
-1
votes
1answer
44 views

Jenkins unreachable at port 8080

I'm setting up Jenkins for the first time. HTTP ERROR: 503 Problem accessing /. Reason: Service Unavailable I turned off firewalld. The jenkins came from the official jenkins yum repo. java ...
-1
votes
0answers
29 views

Why same docker container has different file system on different environment?

I have several environments - one uses Proxmox (with Ubuntu 14.04 VMs) and another one uses OpenStack (with Ubuntu 14.04 and CentOS 7 VMs). There is a docker image that is used on all these ...
1
vote
2answers
75 views

500 Internal Server Error on Wordpress - BUT WORKS from a different country

MY MACHINE SPECS: I have a VPS (Location - Miami, 4GB RAM) running Centos and a LAMP stack. I have Wordpress installed on it with a SSL certificate. PROBLEM: Out of the blue, the admin ...
0
votes
0answers
36 views

Usermod -aG vs gpasswd -a as a best practice

I am aware that usermod -g is not best practice from many posts like this however they normally explain the usermod should not be used as it changes the primary group of a user. These posts dont seem ...
0
votes
0answers
43 views

WebServer is inaccessible

I have done an install of httpd and php on my new centos server. yum install httpd php -y I have done hundreds of webserver installs but for some strange reason I seem to be having troubles. When ...
2
votes
0answers
28 views

Apache reverse proxy configuration for multiple domains

I am newbie. I have 1 LAMP CentOS server, which hosts 3 websites with the following Apache httpd.conf configuration: NameVirtualHost *:80 NameVirtualHost *:443 <VirtualHost *:80> ...
0
votes
1answer
93 views

Allow only SSH, FTP and Cloudflare Servers via IPTables

I want to allow only SSH access, FTP access and all communications between my Dedicated Server and all Cloudflare Servers using IPTables. I tried the commands beneath but it seems like I kicked out ...
0
votes
0answers
24 views

RPM Dist Tag not behaving as documented

According to the Fedora documentation the %{?dist} tag when building an RPM on CentOS 7 I should get .el7. but currently I get .el7.centos. The line from my .spec: Release: 1%{?_buildid}%{?dist} I ...
1
vote
1answer
81 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 ...
0
votes
0answers
40 views

can't create volume on disk-based libvirt storage pool

I followed Red Hat's doc (to the letter) on adding a disk-based storage pool for my libvirt/kvm server. Here's what I see: [root@kvm ~]# virsh pool-info guest_image_disk Name: ...
0
votes
2answers
40 views

nodejs version on EPEL repository

Current stable node.js version is v0.12.2. I just run yum update on my machine and it updated node to v0.10.36. Why is my EPEL repo version so old compared to current stable one? Can I update node to ...
-1
votes
0answers
31 views

CentOS 7 power-off with high context switching and read I/O

I have recently set up my first CentOS 7 box. Its a dedicated quad-core server with 32GB ram. I want to use it as an KVM Hypervisor-System. But within two weeks, the server shut down twice with no ...
-1
votes
2answers
103 views

imapd: 'username': No such file or directory

I'm using Apache, Postfix, Courier IMAP and roundcube on my CentOS 7 machine. I would like to create a new user account / new user email to be able to send emails from my domain outside my local ...
0
votes
2answers
44 views

basic varnish 4.0 setup doesn't seem to work

[Apparently I was running varnishd as root] Now, I get this: [gideon@mywebsite ~]$ sudo varnishd -f /etc/varnish/default.vcl -s malloc,128m -T 127.0.0.1:2000 -a 0.0.0.0:8000 -d [sudo] password for ...
1
vote
0answers
38 views

Many gettimeofday in Apache 2.4 + fcgid + centos 6.6 - Long Wait time for static files

When i perform a strace on apache process, i see many gettimeofday before & after GET request, even when Apache returns a static file like an image file. It results in a long downtime period ...
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
1answer
116 views

Job for httpd.service failed

after following this tutorial :https://www.digitalocean.com/community/tutorials/how-to-create-an-ssl-certificate-on-apache-for-centos-7 I have tried everything I possibly can to fix the error I have ...
1
vote
0answers
27 views

VPN Connection Failed When Using SSH [closed]

I want to connect to my server in my office over VPN which has a SSH server installed. But when I connect to the VPN and then try to SSH to my server, the vpn connection closed suddenly. What is the ...
0
votes
0answers
27 views

failed ssh logins DOS: pam_systemd Failed to connect to system bus

After a couple of weeks of script kiddies attempting to login via SSH to my CentOS 7 box on EC2, it eventually stops responding on that port (and to http on port 80), and I have to reboot it. The ...
-1
votes
1answer
38 views

make mysql to share all cpu

I am very new to linux server .I am using centos.Sometimes my cpu gets overloaded because of the process mysqld over 100% PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND ...
1
vote
0answers
15 views

CentOS vhosts causing issues with Vagrant Share command [migrated]

I have a CentOS 6.4 box running with Virtualbox with a basic Vagrantfile like this: Vagrant.configure("2") do |config| # centos box information config.vm.box = "nrel/CentOS-6.5-x86_64" ...
-1
votes
0answers
16 views

Why mails are in spam folder [duplicate]

I have set up a mail server (Postfix) in CentOs with proper configuration six months before. For the past five months, the mails which I have been sent are get received in Inbox folder. But, Now I ...