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
1answer
78 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
52 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
48 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
64 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
53 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
103 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
59 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
17 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
2answers
120 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
vote
2answers
100 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
67 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
54 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
44 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
164 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
34 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
157 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
65 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
77 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
2answers
115 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
56 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
65 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
37 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
527 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
33 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
59 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
47 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 ...
0
votes
0answers
92 views

How do I force IPV4 with PCS? (Pacemaker/Corosync)

I'm setting up a Pacemaker/Corosync cluster with a DRBD mount for a highly available Webapp in a secure environment. This is running on CentOS 7. The cluster is working. However to get this system ...
0
votes
1answer
69 views

Postfix blocking mail from backup MX

I have two CentOS 6.6 servers configured with Postfix for sending email. I have everything working great, SPF entries, Domain Keys and OpenDKIM configured and working, but I'm trying to perfect my ...
2
votes
1answer
116 views

LUKS full disk encryption use keyfile instead of passphrase

I have enabled LUKS full disk encryption on an LVM volume while installing centos6.6, however it asks for a passphrase every time the OS is rebooted. I am now trying to use a key file according to ...
-1
votes
2answers
101 views

Chroot user to an existing folder witch parent owner isn´t root [closed]

We have moodle installed on our company and due to big SCORM packages + slow conection + proxy, I usually upload them with SFTP with my root user. Now, I want to give users a way to upload files by ...
0
votes
2answers
344 views

SQLSTATE[HY000] [1045] Access denied for user 'admin'@'localhost' (using password: YES) [closed]

I've changed the password for admin user of mysql in phpmyadmin and now I can't access neither my Plesk panel and neither mysql via ssh. The error it triggers is: SQLSTATE[HY000] [1045] Access denied ...
6
votes
4answers
75 views

LInux OOM custom response

I'm running Apache webserver and would like to improve a little bit how the OOM situation is handled. I'm avare of the OOM scores and already did some customizations in that matter so when something ...
0
votes
0answers
60 views

SSH Connection Refused during Installing CentOS

I am re-installing CentOS 6.6 to upgrade from 5.6. I was using SSH and VNC to install the CentOS. Thus, I was trying to install CentOS 6.6 remotely. I tried to follow instructions in this link: ...
1
vote
1answer
108 views

What URL do I use to PXE boot over http with CentOS 7 dvd?

I have this mount on my nginx server: /home/msh/CentOS-7-x86_64-DVD-1503-01.iso on /usr/share/nginx/www/iso type iso9660 (ro,relatime) so the root of the iso file system is one step in from the ...
0
votes
1answer
34 views

CPAN installation proble, HTTP::Message on CentOS

I have a perl script that needs a long list of prerequisites. While installing these, I am not getting past the installation of HTTP::Message When I run cpan HTTP::Message from the command line as ...
0
votes
0answers
98 views

OpenSSL 1.0.2.a and Centos5.7

I have an old version of Centos (5.7) and I would like to enable TLS 1.2 due to Google Chrome warning about TLS 1.0 I tried to update with yum but I can see that no OpenSSL 1.x could be installed ...
1
vote
1answer
39 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 ...
-3
votes
1answer
41 views

system halt twice a week [closed]

My system stop responding almost twice a week. following message is found in log, Apr 27 04:44:37 Helpdesk shutdown[29686]: shutting down for system halt Apr 27 04:44:39 Helpdesk modclusterd: ...
0
votes
0answers
79 views

CentOS 99% memory usage

for the past week my CentOS VPS has had 99% memory usage. [root@server ~]# free -m total used free shared buffers cached Mem: 2048 2032 15 ...
1
vote
2answers
151 views

Fail2ban critical exception - does not block ips

I'm trying to get fail2ban running on CentOS7 (no SELinux) and it uses firewalld. My goal is to set it to ban Asterisk password fails. Setup was default yum install fail2ban Config-wise I ONLY added ...
0
votes
1answer
122 views

Route traffic through private IP for only certain hosts - CentOS 6.6

I am having a weird problem which I cant figure out - so I was hoping someone here could give me a hand. First off the end goal is that a specific server in my network runs an IPSEC connection to ...
0
votes
0answers
34 views

WebApp won't compile in CentOS 7 server, but does compile in Windows

I am getting a "resource marked as read-only" error when I try to compile a war file on a CentOS 7 installation. But the same eclipse project does not throw any compilation error on Windows after I ...
1
vote
0answers
41 views

Library Dependency is different when checked via yum vs. rpm

I'm new here and am debugging something I've never seen before, so I'm hoping someone can show me where I'm going wrong. I've created a local yum repo for all my servers. The idea is to distribute ...
1
vote
1answer
84 views

CentOS Qemu+KVM lot of virtual machine processes

I am on host-machine with Centos 6.5, qemu+KVM and 2 virtual hosts in it (behind NAT). Both virtual hosts were configured with Virtual Machine Manager (one of them is with Windows 2003 and other with ...
1
vote
1answer
303 views

Update version of network manager

In shell on sever I see following error after launching several commands: Error: nmcli (1.0.0) and NetworkManager (0.9.9.1) versions don't match. Force execution using --nocheck, but the results are ...
0
votes
4answers
48 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. ...
0
votes
0answers
49 views

Incomplete Page Loads in Apache and PHP

A client frequently loads our site on his iPhone and has troubles with incomplete page loads. I also sometimes on my laptop load up the home page and there's issues with our rotator due to an ...
-5
votes
3answers
102 views

How I can Block all China to entry to my server [closed]

How I can Block China to entry to my server ? All China country ? By ipset and iptables I want by this to avoid DDOS attacks OS: CentOS 6.6 Thanks.
1
vote
0answers
167 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
2answers
922 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?