Apache 2.2 not reading the .htaccess?
<Directory “/var/www/html”>
AllowOverride All
Try to edit the .conf for the domain and use AllowOverride All.
Save and restart Apache.
Apache 2.2 not reading the .htaccess?
<Directory “/var/www/html”>
AllowOverride All
Try to edit the .conf for the domain and use AllowOverride All.
Save and restart Apache.
This was tested on a CentOS 7.

This might have TWO possible causes
Some important files/directories
nrpe.cfg – /etc/nagios/nrpe.cfg
nagios/nrpe plugins folder – /usr/lib64/nagios/plugins/
logs – /var/log/messages
My nrpe.cfg, in a CentOS 7, is located at /etc/nagios/nrpe.cfg
nano /etc/nagios/nrpe.cfg
In a default nrpe installation log is disabled!
You might want to enable it for better debug of the issues… Go to and enable it.
log_file=/var/run/nrpe.log
Yah!, the default installation will came also with debug disabled.
We want it enabled to see more information while we try to use service nrpe status for example.
debug=1
Server address… it might confuse you!
Server address ISN’T the NAGIOS’s ip address. It’s the actual external IP address of the current machine! allowed_hosts it’s actually it!
lsof -i:5666
netstat -an |grep 5666
If you don’t see any result… this probably means that nrpe is down!
See the ‘section’ Add NRPE to service bellow.
sudo firewall-cmd --permanent --zone=public --add-port=5666/tcp firewall-cmd --reload
sudo systemctl enable nrpe.service sudo systemctl start nrpe.service
So, I was trying to create a SSL certificate with certbot…..
root@sd-5555:~# certbot --apache -d blog.domain.com
This was how I’v done to properly create it.
certbot --authenticator standalone --installer apache -d blog.domain.com --pre-hook "systemctl stop apache2" --post-hook "systemctl start apache2"
Meanwhile in a new VPS…
2018-04-18 19:56:42,211 fail2ban.actions [14644]: NOTICE [sshd] 113.131.58.142 already banned 2018-04-18 19:56:43,213 fail2ban.actions [14644]: NOTICE [sshd] 113.131.58.142 already banned 2018-04-18 19:56:44,214 fail2ban.actions [14644]: NOTICE [sshd] 113.131.58.142 already banned 2018-04-18 19:56:45,215 fail2ban.actions [14644]: NOTICE [sshd] 113.131.58.142 already banned 2018-04-18 19:56:46,217 fail2ban.actions [14644]: NOTICE [sshd] 113.131.58.142 already banned 2018-04-18 19:56:47,218 fail2ban.actions [14644]: NOTICE [sshd] 195.72.223.106 already banned 2018-04-18 19:56:48,219 fail2ban.actions [14644]: NOTICE [sshd] 195.72.223.106 already banned
YAH!
Take a look at /etc/fail2ban/jail.local or /etc/fail2ban/jail.d/00-firewalld.conf
banaction = firewallcmd-ipset
or
banaction = iptables-multiport
This is, for what I’v read about, the two main things that we need to have updated…
kernel-3.10.0-693.11.6.el7.x86_64
microcode_ctl-2.1-22.2.el7.x86_64
Check them trought uname -r and dmesg | grep microcode

[root@sd-56969 www]# systemctl status microcode -l ● microcode.service - Load CPU microcode update Loaded: loaded (/usr/lib/systemd/system/microcode.service; enabled; vendor preset: enabled) Active: inactive (dead) since Fri 2018-01-05 17:43:08 CET; 1 weeks 6 days ago Process: 692 ExecStart=/usr/bin/bash -c grep -l GenuineIntel /proc/cpuinfo | xargs grep -l -E "model[[:space:]]*: 79$" > /dev/null || echo 1 > /sys/devices/system/cpu/microcode/reload (code=exited, status=0/SUCCESS) Main PID: 692 (code=exited, status=0/SUCCESS) Jan 05 17:43:08 sd-56969 systemd[1]: Starting Load CPU microcode update... Jan 05 17:43:08 sd-56969 systemd[1]: Started Load CPU microcode update.
[Errno -1] repomd.xml does not match metalink for epel
Trying other mirror.
epel
yum clean all rm -rf /var/cache/yum
protocol version mismatch — is your shell clean?
(see the rsync man page for an explanation)
rsync error: protocol incompatibility (code 2) at compat.c(174) [sender=3.1.0]
Are you trying to rsync to a valid shell user?
I had a script working perfectly on a server…
after moving it to another, I got PHP Parse error: syntax error, unexpected end of file.
In my case, I had to allow short_open_tag to ON in php.ini … probably located at /etc/php.ini.
Some solution
yum clean all rm -rf /var/cache/yum
This!
yum install php-xml