Monthly Archives: March 2017

Failed to obtain lock on file /var/run/nagios/nagios.pid: No such file or directory

Another nagios update – another issue -…

[1490254976] Event broker module ‘NERD’ deinitialized successfully.
[1490254991] Failed to obtain lock on file /var/run/nagios/nagios.pid: No such file or directory
[1490254991] Bailing out due to errors encountered while attempting to daemonize… (PID=792)

SHIT!

I had to

mkdir /var/run/nagios
chown nagios:nagios /var/run/nagios

 

And restart nagios.

The name org.freedesktop.PolicyKit1 was not provided by any .service files

 

[email protected]:~$ service mysql restart
Failed to restart mysql.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files
See system logs and ‘systemctl status mysql.service’ for details.

 

[email protected]:~$ systemctl start deluged
Failed to start deluged.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files
See system logs and ‘systemctl status deluged.service’ for details.

 

try do sudo!

Skyrave @ Skyrock Radio

La Skyrave était l’émission des musiques électroniques (samedi soir minuit-3h) initiée par Supernana et mixée par DOM[Depuis quand ?]. Puis en 2001, c’est Rosco qui prend le relais et présente, mixe la Skyrave avec + de 400 invités : djs, producteurs, artistes… David Guetta, Carl Cox, Martin Solveig, Laurent Garnier, Bob Sinclar, Joachim Garraud etc.) il animera l’émission jusqu’en septembre 2006 avant que la direction ne décide de l’arrêter. Malgré son succès elle ne correspond plus à la nouvelle ligne éditorial de Skyrock.[réf. nécessaire]

https://fr.wikipedia.org/wiki/Skyrave

 

CentOS – Enable the mod_proxy modules in the HTTPD

In our /etc/httpd/conf/httpd.conf lets see if we have the following lines on it.
Uncomment them or add them.

  1. LoadModule proxy_module modules/mod_proxy.so
    LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
    LoadModule proxy_http_module modules/mod_proxy_http.so
    # Uncomment these to proxy FTP or HTTPS
    #LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
    #LoadModule proxy_connect_module modules/mod_proxy_connect.so
    

 

PHP 5.6 on CentOS 7

This is how I managed to have PHP 5.6 on a fresh CentOS 7.

yum install epel-release
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
yum clean
yum update

Then…

yum install php56w php56w-opcache php56w-mcrypt php56w-pdo php56w-mysql php56w-mbstring php56w-gd php56w-dom

 

ImageMagick

yum install ImageMagick php56w-imagick

 

Restart httpd

service httpd restart