Re: [FRnOG] [TECH] LilbreNMS HS
Hello, On Fri, 11 May 2018 17:39:14 +0200 Alarig Le Laywrote: > Effectivement, `php artisan key:generate` et ça repart. Merci beaucoup ! My pleasure Monseigneur ;) Happy trolldi et bon WE, Paul pgpUZ8G6BNbsH.pgp Description: OpenPGP digital signature
Re: [FRnOG] [TECH] LilbreNMS HS
On ven. 11 mai 17:31:05 2018, Paul Rolland (ポール・ロラン) wrote: > Hello, > > Euh... Google me dirige sur : > https://github.com/phanan/koel/issues/516 > et > https://github.com/laravel/framework/issues/9080 > > Ca aide ? Effectivement, `php artisan key:generate` et ça repart. Merci beaucoup ! -- alarig signature.asc Description: PGP signature
Re: [FRnOG] [TECH] LilbreNMS HS
Hello, Euh... Google me dirige sur : https://github.com/phanan/koel/issues/516 et https://github.com/laravel/framework/issues/9080 Ca aide ? Paul On Fri, 11 May 2018 17:26:18 +0200 "Paul Rolland (ポール・ロラン)"wrote: > Hello, > > On Fri, 11 May 2018 17:20:54 +0200 > Alarig Le Lay wrote: > > > On ven. 11 mai 17:09:57 2018, David Ponzone wrote: > > > Tu as quoi qui s’affiche sur le web ? > > > > « Whoops, looks like something went wrong. » avec un petit fantôme qui > > dit « Exception ! » à côté. > > HTTP Error 500 ;) > > Paul -- Paul RollandE-Mail : rol(at)witbe.net CTO - Witbe.net SA Tel. +33 (0)1 47 67 77 77 Les Collines de l'Arche Fax. +33 (0)1 47 67 77 99 F-92057 Paris La DefenseRIPE : PR12-RIPE Please no HTML, I'm not a browser - Pas d'HTML, je ne suis pas un navigateur "Some people dream of success... while others wake up and work hard at it" "I worry about my child and the Internet all the time, even though she's too young to have logged on yet. Here's what I worry about. I worry that 10 or 15 years from now, she will come to me and say 'Daddy, where were you when they took freedom of the press away from the Internet?'" --Mike Godwin, Electronic Frontier Foundation pgpnmf3hkLEoT.pgp Description: OpenPGP digital signature
Re: [FRnOG] [TECH] LilbreNMS HS
Hello, On Fri, 11 May 2018 17:20:54 +0200 Alarig Le Laywrote: > On ven. 11 mai 17:09:57 2018, David Ponzone wrote: > > Tu as quoi qui s’affiche sur le web ? > > « Whoops, looks like something went wrong. » avec un petit fantôme qui > dit « Exception ! » à côté. HTTP Error 500 ;) Paul pgpwibH0QIJVc.pgp Description: OpenPGP digital signature
Re: [FRnOG] [TECH] LilbreNMS HS
On ven. 11 mai 17:09:57 2018, David Ponzone wrote: > Tu as quoi qui s’affiche sur le web ? « Whoops, looks like something went wrong. » avec un petit fantôme qui dit « Exception ! » à côté. -- alarig signature.asc Description: PGP signature
Re: [FRnOG] [TECH] LilbreNMS HS
Tu as quoi qui s’affiche sur le web ? David Ponzone > Le 11 mai 2018 à 16:52, Alarig Le Laya écrit : > >> On ven. 11 mai 10:55:30 2018, David Ponzone wrote: >> Yep. >> Aucun problème. > > Je suis dans la même situation, validate.php OK mais ifweb pétée. > > J’ai le droit à une belle stacktrace dans les logs : > 2018/05/11 16:41:12 [error] 7593#7593: *540706 FastCGI sent in stderr: "PHP > message: [2018-05-11 16:41:12] production.ERROR: RuntimeException: The only > supported ciphers are AES-128-CBC and AES-256-CBC with the correct key > lengths. in > /var/www/localhost/librenms/vendor/laravel/framework/src/Illuminate/Encryption/Encrypter.php:43 > Stack trace: > #0 > /var/www/localhost/librenms/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php(27): > Illuminate\Encryption\Encrypter->__construct('', 'AES-256-CBC') > #1 > /var/www/localhost/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(726): > > Illuminate\Encryption\EncryptionServiceProvider->Illuminate\Encryption\{closure}(Object(Illuminate\Foundation\Application), > Array) > #2 > /var/www/localhost/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(608): > Illuminate\Container\Container->build(Object(Closure)) > #3 > /var/www/localhost/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(575): > Illuminate\Container\Container->resolve('encrypter') > #4 /var/www/localhost/lib" while reading response header from upstream, > client: 57.66.185.161, server: localhost, request: "GET /librenms/ HTTP/1.1", > upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: > "monitoring.grifon.fr", referrer: > "https://monitoring.grifon.fr/librenms/device/device=7/tab=alerts/; > > Si quelqu’un y comprend quelque chose… > > -- > alarig --- Liste de diffusion du FRnOG http://www.frnog.org/
Re: [FRnOG] [TECH] LilbreNMS HS
On ven. 11 mai 10:55:30 2018, David Ponzone wrote: > Yep. > Aucun problème. Je suis dans la même situation, validate.php OK mais ifweb pétée. J’ai le droit à une belle stacktrace dans les logs : 2018/05/11 16:41:12 [error] 7593#7593: *540706 FastCGI sent in stderr: "PHP message: [2018-05-11 16:41:12] production.ERROR: RuntimeException: The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths. in /var/www/localhost/librenms/vendor/laravel/framework/src/Illuminate/Encryption/Encrypter.php:43 Stack trace: #0 /var/www/localhost/librenms/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php(27): Illuminate\Encryption\Encrypter->__construct('', 'AES-256-CBC') #1 /var/www/localhost/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(726): Illuminate\Encryption\EncryptionServiceProvider->Illuminate\Encryption\{closure}(Object(Illuminate\Foundation\Application), Array) #2 /var/www/localhost/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(608): Illuminate\Container\Container->build(Object(Closure)) #3 /var/www/localhost/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(575): Illuminate\Container\Container->resolve('encrypter') #4 /var/www/localhost/lib" while reading response header from upstream, client: 57.66.185.161, server: localhost, request: "GET /librenms/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "monitoring.grifon.fr", referrer: "https://monitoring.grifon.fr/librenms/device/device=7/tab=alerts/; Si quelqu’un y comprend quelque chose… -- alarig signature.asc Description: PGP signature
Re: [FRnOG] [TECH] LilbreNMS HS
Cela dépends du User/Group de ton process Apache si je ne m'abuse. La doc de LibreNMS considère que ton serveur web est lancé avec le user LibreNMS (le même utilisé pour les cron), d'ou le chmod 755 de base et non 775. La dernière update a du push un chmod 755 sur ces répertoires. Le monitoring fonctionne toujours, c'est juste la partie web qui est down a ce moment la. Après il est possible de désactiver les updates auto pour contrôler son installation. Ps : Jamais je ne retournerai sur Observium mais c'est un autre topic :) *Mathieu CODOMIER* 2018-05-11 11:25 GMT+02:00 David Ponzone <david.ponz...@gmail.com>: > Purée le blaireau (moi de pas avoir essayé) et les blaireaux (de LibreNMS) > de pas suggérer le chmod qui va bien, alors qu’ils suggèrent le chown… > Naïvement, je pensais que c’était voulu et que le droit 755 suffisait… > > Merci Mathieu, je te dois une bière! > > On 11 mai 2018 11:14 +0200, Mathieu Codomier <mathieu.codomier@nerd. > nintendo.com>, wrote: > > Hello la liste, > > Un petit chmod -R qui va bien (775 ? Cela dépends de ton user/group) sur > librenms/bootstrap, librenms/storage et librenms/logs, cela a fix le > problème pour moi. > > *Mathieu CODOMIER* > > 2018-05-11 10:55 GMT+02:00 David Ponzone <david.ponz...@gmail.com>: > >> Yep. >> Aucun problème. >> >> >> On 11 mai 2018 10:51 +0200, Armel Chargé - frekences <ar...@frekences.com>, >> wrote: >> > Tu as fait un ./validate.php ? >> > >> > >> > >> > >> > >> > De: David Ponzone <david.ponz...@gmail.com> >> > Répondre: David Ponzone <david.ponz...@gmail.com> >> > Date: 11 mai 2018 at 10:45:17 >> > À: Frnog-tech <frnog-t...@frnog.org>, Armel Chargé - frekences < >> ar...@frekences.com> >> > Sujet: Re: [FRnOG] [TECH] LilbreNMS HS >> > >> > > Après un problème avec une lib PHP manquante (mbstring), j’ai: >> > > >> > > Error: bootstrap/cache, storage, storage/framework/sessions, >> storage/framework/views, storage/framework/cache not writable! Run these >> commands as root on your LibreNMS server to fix: >> > > >> > > chown -R librenms:librenms /opt/librenms/bootstrap/cache >> /opt/librenms/storage /opt/librenms/storage/framework/sessions >> /opt/librenms/storage/framework/views /opt/librenms/storage/framewor >> k/cache >> > > >> > > setfacl -R -m g::rwx /opt/librenms/bootstrap/cache >> /opt/librenms/storage /opt/librenms/storage/framework/sessions >> /opt/librenms/storage/framework/views /opt/librenms/storage/framewor >> k/cache >> > > >> > > setfacl -d -m g::rwx /opt/librenms/bootstrap/cache >> /opt/librenms/storage /opt/librenms/storage/framework/sessions >> /opt/librenms/storage/framework/views /opt/librenms/storage/framewor >> k/cache >> > > >> > > If using SELinux you may also need: >> > > >> > > semanage fcontext -a -t httpd_sys_content_t >> '/opt/librenms/bootstrap/cache(/.*)?' >> > > >> > > semanage fcontext -a -t httpd_sys_rw_content_t >> '/opt/librenms/bootstrap/cache(/.*)?' >> > > >> > > restorecon -RFvv /opt/librenms/bootstrap/cache >> > > >> > > semanage fcontext -a -t httpd_sys_content_t >> '/opt/librenms/storage(/.*)?' >> > > >> > > semanage fcontext -a -t httpd_sys_rw_content_t >> '/opt/librenms/storage(/.*)?' >> > > >> > > restorecon -RFvv /opt/librenms/storage >> > > >> > > semanage fcontext -a -t httpd_sys_content_t >> '/opt/librenms/storage/framework/sessions(/.*)?' >> > > >> > > semanage fcontext -a -t httpd_sys_rw_content_t >> '/opt/librenms/storage/framework/sessions(/.*)?' >> > > >> > > restorecon -RFvv /opt/librenms/storage/framework/sessions >> > > >> > > semanage fcontext -a -t httpd_sys_content_t >> '/opt/librenms/storage/framework/views(/.*)?' >> > > >> > > semanage fcontext -a -t httpd_sys_rw_content_t >> '/opt/librenms/storage/framework/views(/.*)?' >> > > >> > > restorecon -RFvv /opt/librenms/storage/framework/views >> > > >> > > semanage fcontext -a -t httpd_sys_content_t >> '/opt/librenms/storage/framework/cache(/.*)?' >> > > >> > > semanage fcontext -a -t httpd_sys_rw_content_t >> '/opt/librenms/storage/framework/cache(/.*)?' >> > > >> > > restorecon -RFvv /opt/librenms/st
Re: [FRnOG] [TECH] LilbreNMS HS
Purée le blaireau (moi de pas avoir essayé) et les blaireaux (de LibreNMS) de pas suggérer le chmod qui va bien, alors qu’ils suggèrent le chown… Naïvement, je pensais que c’était voulu et que le droit 755 suffisait… Merci Mathieu, je te dois une bière! On 11 mai 2018 11:14 +0200, Mathieu Codomier <mathieu.codom...@nerd.nintendo.com>, wrote: > Hello la liste, > > Un petit chmod -R qui va bien (775 ? Cela dépends de ton user/group) sur > librenms/bootstrap, librenms/storage et librenms/logs, cela a fix le problème > pour moi. > > Mathieu CODOMIER > > > 2018-05-11 10:55 GMT+02:00 David Ponzone <david.ponz...@gmail.com>: > > > Yep. > > > Aucun problème. > > > > > > > > > On 11 mai 2018 10:51 +0200, Armel Chargé - frekences > > > <ar...@frekences.com>, wrote: > > > > Tu as fait un ./validate.php ? > > > > > > > > > > > > > > > > > > > > > > > > De: David Ponzone <david.ponz...@gmail.com> > > > > Répondre: David Ponzone <david.ponz...@gmail.com> > > > > Date: 11 mai 2018 at 10:45:17 > > > > À: Frnog-tech <frnog-t...@frnog.org>, Armel Chargé - frekences > > > > <ar...@frekences.com> > > > > Sujet: Re: [FRnOG] [TECH] LilbreNMS HS > > > > > > > > > Après un problème avec une lib PHP manquante (mbstring), j’ai: > > > > > > > > > > Error: bootstrap/cache, storage, storage/framework/sessions, > > > > > storage/framework/views, storage/framework/cache not writable! Run > > > > > these commands as root on your LibreNMS server to fix: > > > > > > > > > > chown -R librenms:librenms /opt/librenms/bootstrap/cache > > > > > /opt/librenms/storage /opt/librenms/storage/framework/sessions > > > > > /opt/librenms/storage/framework/views > > > > > /opt/librenms/storage/framework/cache > > > > > > > > > > setfacl -R -m g::rwx /opt/librenms/bootstrap/cache > > > > > /opt/librenms/storage /opt/librenms/storage/framework/sessions > > > > > /opt/librenms/storage/framework/views > > > > > /opt/librenms/storage/framework/cache > > > > > > > > > > setfacl -d -m g::rwx /opt/librenms/bootstrap/cache > > > > > /opt/librenms/storage /opt/librenms/storage/framework/sessions > > > > > /opt/librenms/storage/framework/views > > > > > /opt/librenms/storage/framework/cache > > > > > > > > > > If using SELinux you may also need: > > > > > > > > > > semanage fcontext -a -t httpd_sys_content_t > > > > > '/opt/librenms/bootstrap/cache(/.*)?' > > > > > > > > > > semanage fcontext -a -t httpd_sys_rw_content_t > > > > > '/opt/librenms/bootstrap/cache(/.*)?' > > > > > > > > > > restorecon -RFvv /opt/librenms/bootstrap/cache > > > > > > > > > > semanage fcontext -a -t httpd_sys_content_t > > > > > '/opt/librenms/storage(/.*)?' > > > > > > > > > > semanage fcontext -a -t httpd_sys_rw_content_t > > > > > '/opt/librenms/storage(/.*)?' > > > > > > > > > > restorecon -RFvv /opt/librenms/storage > > > > > > > > > > semanage fcontext -a -t httpd_sys_content_t > > > > > '/opt/librenms/storage/framework/sessions(/.*)?' > > > > > > > > > > semanage fcontext -a -t httpd_sys_rw_content_t > > > > > '/opt/librenms/storage/framework/sessions(/.*)?' > > > > > > > > > > restorecon -RFvv /opt/librenms/storage/framework/sessions > > > > > > > > > > semanage fcontext -a -t httpd_sys_content_t > > > > > '/opt/librenms/storage/framework/views(/.*)?' > > > > > > > > > > semanage fcontext -a -t httpd_sys_rw_content_t > > > > > '/opt/librenms/storage/framework/views(/.*)?' > > > > > > > > > > restorecon -RFvv /opt/librenms/storage/framework/views > > > > > > > > > > semanage fcontext -a -t httpd_sys_content_t > > > > > '/opt/librenms/storage/framework/cache(/.*)?' > > > > > > > > > > semanage fcontext -a -t httpd_sys_rw_content_t > > > > > '/opt/librenms/storage/framework/cache(/.*)?' > > > > > > > > > > restorecon -RFvv /opt/librenms/storage/framewor
Re: [FRnOG] [TECH] LilbreNMS HS
Hello la liste, Un petit chmod -R qui va bien (775 ? Cela dépends de ton user/group) sur librenms/bootstrap, librenms/storage et librenms/logs, cela a fix le problème pour moi. *Mathieu CODOMIER* 2018-05-11 10:55 GMT+02:00 David Ponzone <david.ponz...@gmail.com>: > Yep. > Aucun problème. > > > On 11 mai 2018 10:51 +0200, Armel Chargé - frekences <ar...@frekences.com>, > wrote: > > Tu as fait un ./validate.php ? > > > > > > > > > > > > De: David Ponzone <david.ponz...@gmail.com> > > Répondre: David Ponzone <david.ponz...@gmail.com> > > Date: 11 mai 2018 at 10:45:17 > > À: Frnog-tech <frnog-t...@frnog.org>, Armel Chargé - frekences < > ar...@frekences.com> > > Sujet: Re: [FRnOG] [TECH] LilbreNMS HS > > > > > Après un problème avec une lib PHP manquante (mbstring), j’ai: > > > > > > Error: bootstrap/cache, storage, storage/framework/sessions, > storage/framework/views, storage/framework/cache not writable! Run these > commands as root on your LibreNMS server to fix: > > > > > > chown -R librenms:librenms /opt/librenms/bootstrap/cache > /opt/librenms/storage /opt/librenms/storage/framework/sessions > /opt/librenms/storage/framework/views /opt/librenms/storage/ > framework/cache > > > > > > setfacl -R -m g::rwx /opt/librenms/bootstrap/cache > /opt/librenms/storage /opt/librenms/storage/framework/sessions > /opt/librenms/storage/framework/views /opt/librenms/storage/ > framework/cache > > > > > > setfacl -d -m g::rwx /opt/librenms/bootstrap/cache > /opt/librenms/storage /opt/librenms/storage/framework/sessions > /opt/librenms/storage/framework/views /opt/librenms/storage/ > framework/cache > > > > > > If using SELinux you may also need: > > > > > > semanage fcontext -a -t httpd_sys_content_t '/opt/librenms/bootstrap/ > cache(/.*)?' > > > > > > semanage fcontext -a -t httpd_sys_rw_content_t > '/opt/librenms/bootstrap/cache(/.*)?' > > > > > > restorecon -RFvv /opt/librenms/bootstrap/cache > > > > > > semanage fcontext -a -t httpd_sys_content_t > '/opt/librenms/storage(/.*)?' > > > > > > semanage fcontext -a -t httpd_sys_rw_content_t > '/opt/librenms/storage(/.*)?' > > > > > > restorecon -RFvv /opt/librenms/storage > > > > > > semanage fcontext -a -t httpd_sys_content_t '/opt/librenms/storage/ > framework/sessions(/.*)?' > > > > > > semanage fcontext -a -t httpd_sys_rw_content_t '/opt/librenms/storage/ > framework/sessions(/.*)?' > > > > > > restorecon -RFvv /opt/librenms/storage/framework/sessions > > > > > > semanage fcontext -a -t httpd_sys_content_t '/opt/librenms/storage/ > framework/views(/.*)?' > > > > > > semanage fcontext -a -t httpd_sys_rw_content_t '/opt/librenms/storage/ > framework/views(/.*)?' > > > > > > restorecon -RFvv /opt/librenms/storage/framework/views > > > > > > semanage fcontext -a -t httpd_sys_content_t '/opt/librenms/storage/ > framework/cache(/.*)?' > > > > > > semanage fcontext -a -t httpd_sys_rw_content_t '/opt/librenms/storage/ > framework/cache(/.*)?' > > > > > > restorecon -RFvv /opt/librenms/storage/framework/cache > > > > > > > > > J’ai beau faire le chown (pas le reste, j’ai pas selinux installé), le > message persiste. > > > apt-get upgrade fait > > > reboot fait > > > (debian 9.4) > > > > > > > > > On 11 mai 2018 10:43 +0200, Armel Chargé - frekences < > ar...@frekences.com>, wrote: > > > > Salut, > > > > > > > > Quels soucis as tu rencontré ? > > > > > > > > J’ai plusieurs instances UP sans défauts particulier malgré le > daily.sh qui a tourné. > > > > > > > > Armel > > > > > > > > > > > > De: David Ponzone <david.ponz...@gmail.com> > > > > Répondre: David Ponzone <david.ponz...@gmail.com> > > > > Date: 11 mai 2018 at 10:36:40 > > > > À: Frnog-tech <frnog-t...@frnog.org> > > > > Sujet: [FRnOG] [TECH] LilbreNMS HS > > > > > > > > > Je suis le seul à avoir LibreNMS HS ? > > > > > A priori y a pas mal de monde concerné… > > > > > > > > > > > > > > > --- > > > > > Liste de diffusion du FRnOG > > > > > http://www.frnog.org/ > > --- > Liste de diffusion du FRnOG > http://www.frnog.org/ > --- Liste de diffusion du FRnOG http://www.frnog.org/
Re: [FRnOG] [TECH] LilbreNMS HS
oui oui :) Merci quand même, mais pour moi, c’est le signe qu’il faut changer :) On 11 mai 2018 11:05 +0200, Armel Chargé - frekences <ar...@frekences.com>, wrote: > Barf, sorry, je vois pas la. > > A tout hasard hein, t’as bien un user Librenms ? > > > De: David Ponzone <david.ponz...@gmail.com> > Répondre: David Ponzone <david.ponz...@gmail.com> > Date: 11 mai 2018 at 11:02:39 > À: Frnog-tech <frnog-t...@frnog.org>, Armel Chargé - frekences > <ar...@frekences.com> > Sujet: Re: [FRnOG] [TECH] LilbreNMS HS > > > $ ./scripts/composer_wrapper.php install --no-dev > > > LibreNMS\ComposerHelper::preInstall > > Loading composer repositories with package information > > Installing dependencies from lock file > > Nothing to install or update > > Generating autoload files > > > LibreNMS\ComposerHelper::postInstall > > > Illuminate\Foundation\ComposerScripts::postInstall > > > php artisan optimize > > Generating optimized class loader > > The compiled services file has been removed. > > > > $ composer install --no-dev > > > LibreNMS\ComposerHelper::preInstall > > Loading composer repositories with package information > > Installing dependencies from lock file > > Nothing to install or update > > Generating autoload files > > > LibreNMS\ComposerHelper::postInstall > > > Illuminate\Foundation\ComposerScripts::postInstall > > > php artisan optimize > > Generating optimized class loader > > The compiled services file has been removed. > > > > -> pas mieux > > le pire c’est que je n’ai aucun problème pour écrire dans les répertoires > > indiqués avec le user librenms > > Ca pourrait donc être un problème de SELinux, mais comme il n’est pas > > activé… > > > > > > On 11 mai 2018 10:58 +0200, Armel Chargé - frekences <ar...@frekences.com>, > > wrote: > > > Un petit composer wrapper pour la forme : > > > > > > ./scripts/composer_wrapper.php install --no-dev > > > > > > Puis : > > > > > > composer install --no-dev > > > > > > De: David Ponzone <david.ponz...@gmail.com> > > > Répondre: David Ponzone <david.ponz...@gmail.com> > > > Date: 11 mai 2018 at 10:56:00 > > > À: Frnog-tech <frnog-t...@frnog.org>, Armel Chargé - frekences > > > <ar...@frekences.com> > > > Sujet: Re: [FRnOG] [TECH] LilbreNMS HS > > > > > > > Yep. > > > > Aucun problème. > > > > > > > > > > > > On 11 mai 2018 10:51 +0200, Armel Chargé - frekences > > > > <ar...@frekences.com>, wrote: > > > > > Tu as fait un ./validate.php ? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > De: David Ponzone <david.ponz...@gmail.com> > > > > > Répondre: David Ponzone <david.ponz...@gmail.com> > > > > > Date: 11 mai 2018 at 10:45:17 > > > > > À: Frnog-tech <frnog-t...@frnog.org>, Armel Chargé - frekences > > > > > <ar...@frekences.com> > > > > > Sujet: Re: [FRnOG] [TECH] LilbreNMS HS > > > > > > > > > > > Après un problème avec une lib PHP manquante (mbstring), j’ai: > > > > > > > > > > > > Error: bootstrap/cache, storage, storage/framework/sessions, > > > > > > storage/framework/views, > > > > > > storage/framework/cache not writable! Run these commands as root on > > > > > > your LibreNMS server to fix: > > > > > > > > > > > > chown -R librenms:librenms /opt/librenms/bootstrap/cache > > > > > > /opt/librenms/storage /opt/librenms/storage/framework/sessions > > > > > > /opt/librenms/storage/framework/views > > > > > > /opt/librenms/storage/framework/cache > > > > > > > > > > > > setfacl -R -m g::rwx /opt/librenms/bootstrap/cache > > > > > > /opt/librenms/storage /opt/librenms/storage/framework/sessions > > > > > > /opt/librenms/storage/framework/views > > > > > > /opt/librenms/storage/framework/cache > > > > > > > > > > > > setfacl -d -m g::rwx /opt/librenms/bootstrap/cache > > > > > > /opt/librenms/storage /opt/librenms/storage/framework/sessions > > > > > > /opt/librenms/storage/framework/views > > > > > > /opt/librenms/s
Re: [FRnOG] [TECH] LilbreNMS HS
$ ./scripts/composer_wrapper.php install --no-dev > LibreNMS\ComposerHelper::preInstall Loading composer repositories with package information Installing dependencies from lock file Nothing to install or update Generating autoload files > LibreNMS\ComposerHelper::postInstall > Illuminate\Foundation\ComposerScripts::postInstall > php artisan optimize Generating optimized class loader The compiled services file has been removed. $ composer install --no-dev > LibreNMS\ComposerHelper::preInstall Loading composer repositories with package information Installing dependencies from lock file Nothing to install or update Generating autoload files > LibreNMS\ComposerHelper::postInstall > Illuminate\Foundation\ComposerScripts::postInstall > php artisan optimize Generating optimized class loader The compiled services file has been removed. -> pas mieux le pire c’est que je n’ai aucun problème pour écrire dans les répertoires indiqués avec le user librenms Ca pourrait donc être un problème de SELinux, mais comme il n’est pas activé… On 11 mai 2018 10:58 +0200, Armel Chargé - frekences <ar...@frekences.com>, wrote: > Un petit composer wrapper pour la forme : > > ./scripts/composer_wrapper.php install --no-dev > > Puis : > > composer install --no-dev > > De: David Ponzone <david.ponz...@gmail.com> > Répondre: David Ponzone <david.ponz...@gmail.com> > Date: 11 mai 2018 at 10:56:00 > À: Frnog-tech <frnog-t...@frnog.org>, Armel Chargé - frekences > <ar...@frekences.com> > Sujet: Re: [FRnOG] [TECH] LilbreNMS HS > > > Yep. > > Aucun problème. > > > > > > On 11 mai 2018 10:51 +0200, Armel Chargé - frekences <ar...@frekences.com>, > > wrote: > > > Tu as fait un ./validate.php ? > > > > > > > > > > > > > > > > > > De: David Ponzone <david.ponz...@gmail.com> > > > Répondre: David Ponzone <david.ponz...@gmail.com> > > > Date: 11 mai 2018 at 10:45:17 > > > À: Frnog-tech <frnog-t...@frnog.org>, Armel Chargé - frekences > > > <ar...@frekences.com> > > > Sujet: Re: [FRnOG] [TECH] LilbreNMS HS > > > > > > > Après un problème avec une lib PHP manquante (mbstring), j’ai: > > > > > > > > Error: bootstrap/cache, storage, storage/framework/sessions, > > > > storage/framework/views, > > > > storage/framework/cache not writable! Run these commands as root on > > > > your LibreNMS server to fix: > > > > > > > > chown -R librenms:librenms /opt/librenms/bootstrap/cache > > > > /opt/librenms/storage /opt/librenms/storage/framework/sessions > > > > /opt/librenms/storage/framework/views > > > > /opt/librenms/storage/framework/cache > > > > > > > > setfacl -R -m g::rwx /opt/librenms/bootstrap/cache > > > > /opt/librenms/storage /opt/librenms/storage/framework/sessions > > > > /opt/librenms/storage/framework/views > > > > /opt/librenms/storage/framework/cache > > > > > > > > setfacl -d -m g::rwx /opt/librenms/bootstrap/cache > > > > /opt/librenms/storage /opt/librenms/storage/framework/sessions > > > > /opt/librenms/storage/framework/views > > > > /opt/librenms/storage/framework/cache > > > > > > > > If using SELinux you may also need: > > > > > > > > semanage fcontext -a -t httpd_sys_content_t > > > > '/opt/librenms/bootstrap/cache(/.*)?' > > > > > > > > semanage fcontext -a -t httpd_sys_rw_content_t > > > > '/opt/librenms/bootstrap/cache(/.*)?' > > > > > > > > restorecon -RFvv /opt/librenms/bootstrap/cache > > > > > > > > semanage fcontext -a -t httpd_sys_content_t > > > > '/opt/librenms/storage(/.*)?' > > > > > > > > semanage fcontext -a -t httpd_sys_rw_content_t > > > > '/opt/librenms/storage(/.*)?' > > > > > > > > restorecon -RFvv /opt/librenms/storage > > > > > > > > semanage fcontext -a -t httpd_sys_content_t > > > > '/opt/librenms/storage/framework/sessions(/.*)?' > > > > > > > > semanage fcontext -a -t httpd_sys_rw_content_t > > > > '/opt/librenms/storage/framework/sessions(/.*)?' > > > > > > > > restorecon -RFvv /opt/librenms/storage/framework/sessions > > > > > > > > semanage fcontext -a -t httpd_sys_content_t > > > > '/opt/librenms/storage/framework/views(/.*)?' > > > > > > > > semanage fcontext -a -t ht
Re: [FRnOG] [TECH] LilbreNMS HS
Barf, sorry, je vois pas la. A tout hasard hein, t’as bien un user Librenms ? De: David Ponzone <david.ponz...@gmail.com> Répondre: David Ponzone <david.ponz...@gmail.com> Date: 11 mai 2018 at 11:02:39 À: Frnog-tech <frnog-t...@frnog.org>, Armel Chargé - frekences <ar...@frekences.com> Sujet: Re: [FRnOG] [TECH] LilbreNMS HS $ ./scripts/composer_wrapper.php install --no-dev > LibreNMS\ComposerHelper::preInstall Loading composer repositories with package information Installing dependencies from lock file Nothing to install or update Generating autoload files > LibreNMS\ComposerHelper::postInstall > Illuminate\Foundation\ComposerScripts::postInstall > php artisan optimize Generating optimized class loader The compiled services file has been removed. $ composer install --no-dev > LibreNMS\ComposerHelper::preInstall Loading composer repositories with package information Installing dependencies from lock file Nothing to install or update Generating autoload files > LibreNMS\ComposerHelper::postInstall > Illuminate\Foundation\ComposerScripts::postInstall > php artisan optimize Generating optimized class loader The compiled services file has been removed. -> pas mieux le pire c’est que je n’ai aucun problème pour écrire dans les répertoires indiqués avec le user librenms Ca pourrait donc être un problème de SELinux, mais comme il n’est pas activé… On 11 mai 2018 10:58 +0200, Armel Chargé - frekences <ar...@frekences.com>, wrote: Un petit composer wrapper pour la forme : ./scripts/composer_wrapper.php install --no-dev Puis : composer install --no-dev De: David Ponzone <david.ponz...@gmail.com> Répondre: David Ponzone <david.ponz...@gmail.com> Date: 11 mai 2018 at 10:56:00 À: Frnog-tech <frnog-t...@frnog.org>, Armel Chargé - frekences <ar...@frekences.com> Sujet: Re: [FRnOG] [TECH] LilbreNMS HS Yep. Aucun problème. On 11 mai 2018 10:51 +0200, Armel Chargé - frekences <ar...@frekences.com>, wrote: Tu as fait un ./validate.php ? De: David Ponzone <david.ponz...@gmail.com> Répondre: David Ponzone <david.ponz...@gmail.com> Date: 11 mai 2018 at 10:45:17 À: Frnog-tech <frnog-t...@frnog.org>, Armel Chargé - frekences <ar...@frekences.com> Sujet: Re: [FRnOG] [TECH] LilbreNMS HS Après un problème avec une lib PHP manquante (mbstring), j’ai: Error: bootstrap/cache, storage, storage/framework/sessions, storage/framework/views, storage/framework/cache not writable! Run these commands as root on your LibreNMS server to fix: chown -R librenms:librenms /opt/librenms/bootstrap/cache /opt/librenms/storage /opt/librenms/storage/framework/sessions /opt/librenms/storage/framework/views /opt/librenms/storage/framework/cache setfacl -R -m g::rwx /opt/librenms/bootstrap/cache /opt/librenms/storage /opt/librenms/storage/framework/sessions /opt/librenms/storage/framework/views /opt/librenms/storage/framework/cache setfacl -d -m g::rwx /opt/librenms/bootstrap/cache /opt/librenms/storage /opt/librenms/storage/framework/sessions /opt/librenms/storage/framework/views /opt/librenms/storage/framework/cache If using SELinux you may also need: semanage fcontext -a -t httpd_sys_content_t '/opt/librenms/bootstrap/cache(/.*)?' semanage fcontext -a -t httpd_sys_rw_content_t '/opt/librenms/bootstrap/cache(/.*)?' restorecon -RFvv /opt/librenms/bootstrap/cache semanage fcontext -a -t httpd_sys_content_t '/opt/librenms/storage(/.*)?' semanage fcontext -a -t httpd_sys_rw_content_t '/opt/librenms/storage(/.*)?' restorecon -RFvv /opt/librenms/storage semanage fcontext -a -t httpd_sys_content_t '/opt/librenms/storage/framework/sessions(/.*)?' semanage fcontext -a -t httpd_sys_rw_content_t '/opt/librenms/storage/framework/sessions(/.*)?' restorecon -RFvv /opt/librenms/storage/framework/sessions semanage fcontext -a -t httpd_sys_content_t '/opt/librenms/storage/framework/views(/.*)?' semanage fcontext -a -t httpd_sys_rw_content_t '/opt/librenms/storage/framework/views(/.*)?' restorecon -RFvv /opt/librenms/storage/framework/views semanage fcontext -a -t httpd_sys_content_t '/opt/librenms/storage/framework/cache(/.*)?' semanage fcontext -a -t httpd_sys_rw_content_t '/opt/librenms/storage/framework/cache(/.*)?' restorecon -RFvv /opt/librenms/storage/framework/cache J’ai beau faire le chown (pas le reste, j’ai pas selinux installé), le message persiste. apt-get upgrade fait reboot fait (debian 9.4) On 11 mai 2018 10:43 +0200, Armel Chargé - frekences <ar...@frekences.com>, wrote: Salut, Quels soucis as tu rencontré ? J’ai plusieurs instances UP sans défauts particulier malgré le daily.sh qui a tourné. Armel De: David Ponzone <david.ponz...@gmail.com> Répondre: David Ponzone <david.ponz...@gmail.com> Date: 11 mai 2018 at 10:36:40 À: Frnog-tech <frnog-t...@frnog.org> Sujet: [FRnOG] [TECH] LilbreNMS HS Je suis le seul à avo
Re: [FRnOG] [TECH] LilbreNMS HS
Un petit composer wrapper pour la forme : ./scripts/composer_wrapper.php install --no-dev Puis : composer install --no-dev De: David Ponzone <david.ponz...@gmail.com> Répondre: David Ponzone <david.ponz...@gmail.com> Date: 11 mai 2018 at 10:56:00 À: Frnog-tech <frnog-t...@frnog.org>, Armel Chargé - frekences <ar...@frekences.com> Sujet: Re: [FRnOG] [TECH] LilbreNMS HS Yep. Aucun problème. On 11 mai 2018 10:51 +0200, Armel Chargé - frekences <ar...@frekences.com>, wrote: Tu as fait un ./validate.php ? De: David Ponzone <david.ponz...@gmail.com> Répondre: David Ponzone <david.ponz...@gmail.com> Date: 11 mai 2018 at 10:45:17 À: Frnog-tech <frnog-t...@frnog.org>, Armel Chargé - frekences <ar...@frekences.com> Sujet: Re: [FRnOG] [TECH] LilbreNMS HS Après un problème avec une lib PHP manquante (mbstring), j’ai: Error: bootstrap/cache, storage, storage/framework/sessions, storage/framework/views, storage/framework/cache not writable! Run these commands as root on your LibreNMS server to fix: chown -R librenms:librenms /opt/librenms/bootstrap/cache /opt/librenms/storage /opt/librenms/storage/framework/sessions /opt/librenms/storage/framework/views /opt/librenms/storage/framework/cache setfacl -R -m g::rwx /opt/librenms/bootstrap/cache /opt/librenms/storage /opt/librenms/storage/framework/sessions /opt/librenms/storage/framework/views /opt/librenms/storage/framework/cache setfacl -d -m g::rwx /opt/librenms/bootstrap/cache /opt/librenms/storage /opt/librenms/storage/framework/sessions /opt/librenms/storage/framework/views /opt/librenms/storage/framework/cache If using SELinux you may also need: semanage fcontext -a -t httpd_sys_content_t '/opt/librenms/bootstrap/cache(/.*)?' semanage fcontext -a -t httpd_sys_rw_content_t '/opt/librenms/bootstrap/cache(/.*)?' restorecon -RFvv /opt/librenms/bootstrap/cache semanage fcontext -a -t httpd_sys_content_t '/opt/librenms/storage(/.*)?' semanage fcontext -a -t httpd_sys_rw_content_t '/opt/librenms/storage(/.*)?' restorecon -RFvv /opt/librenms/storage semanage fcontext -a -t httpd_sys_content_t '/opt/librenms/storage/framework/sessions(/.*)?' semanage fcontext -a -t httpd_sys_rw_content_t '/opt/librenms/storage/framework/sessions(/.*)?' restorecon -RFvv /opt/librenms/storage/framework/sessions semanage fcontext -a -t httpd_sys_content_t '/opt/librenms/storage/framework/views(/.*)?' semanage fcontext -a -t httpd_sys_rw_content_t '/opt/librenms/storage/framework/views(/.*)?' restorecon -RFvv /opt/librenms/storage/framework/views semanage fcontext -a -t httpd_sys_content_t '/opt/librenms/storage/framework/cache(/.*)?' semanage fcontext -a -t httpd_sys_rw_content_t '/opt/librenms/storage/framework/cache(/.*)?' restorecon -RFvv /opt/librenms/storage/framework/cache J’ai beau faire le chown (pas le reste, j’ai pas selinux installé), le message persiste. apt-get upgrade fait reboot fait (debian 9.4) On 11 mai 2018 10:43 +0200, Armel Chargé - frekences <ar...@frekences.com>, wrote: Salut, Quels soucis as tu rencontré ? J’ai plusieurs instances UP sans défauts particulier malgré le daily.sh qui a tourné. Armel De: David Ponzone <david.ponz...@gmail.com> Répondre: David Ponzone <david.ponz...@gmail.com> Date: 11 mai 2018 at 10:36:40 À: Frnog-tech <frnog-t...@frnog.org> Sujet: [FRnOG] [TECH] LilbreNMS HS Je suis le seul à avoir LibreNMS HS ? A priori y a pas mal de monde concerné… --- Liste de diffusion du FRnOG http://www.frnog.org/ --- Liste de diffusion du FRnOG http://www.frnog.org/
Re: [FRnOG] [TECH] LilbreNMS HS
J’avais pas encore essayé de lancer /opt/librenms/daily.sh, mais c’est pas mieux. Bon, c’est le moment de passer à Observium je crois…. On 11 mai 2018 10:51 +0200, Dominique Rousseau, wrote: > Le Fri, May 11, 2018 at 10:44:55AM +0200, David Ponzone > [david.ponz...@gmail.com] a écrit: > > Après un problème avec une lib PHP manquante (mbstring), j???ai: > > Par ici, j'ai eu le soucis de paquet php-mbstring manquant, mais apres > l'avoir installe et relance le daily.sh c'est reparti. > > > -- > Dominique Rousseau > Neuronnexion, Prestataire Internet & Intranet > 6 rue des Hautes cornes - 8 Amiens > tel: 03 22 71 61 90 - fax: 03 22 71 61 99 - http://www.neuronnexion.coop > > > --- > Liste de diffusion du FRnOG > http://www.frnog.org/ --- Liste de diffusion du FRnOG http://www.frnog.org/
Re: [FRnOG] [TECH] LilbreNMS HS
Yep. Aucun problème. On 11 mai 2018 10:51 +0200, Armel Chargé - frekences <ar...@frekences.com>, wrote: > Tu as fait un ./validate.php ? > > > > > > De: David Ponzone <david.ponz...@gmail.com> > Répondre: David Ponzone <david.ponz...@gmail.com> > Date: 11 mai 2018 at 10:45:17 > À: Frnog-tech <frnog-t...@frnog.org>, Armel Chargé - frekences > <ar...@frekences.com> > Sujet: Re: [FRnOG] [TECH] LilbreNMS HS > > > Après un problème avec une lib PHP manquante (mbstring), j’ai: > > > > Error: bootstrap/cache, storage, storage/framework/sessions, > > storage/framework/views, storage/framework/cache not writable! Run these > > commands as root on your LibreNMS server to fix: > > > > chown -R librenms:librenms /opt/librenms/bootstrap/cache > > /opt/librenms/storage /opt/librenms/storage/framework/sessions > > /opt/librenms/storage/framework/views /opt/librenms/storage/framework/cache > > > > setfacl -R -m g::rwx /opt/librenms/bootstrap/cache /opt/librenms/storage > > /opt/librenms/storage/framework/sessions > > /opt/librenms/storage/framework/views /opt/librenms/storage/framework/cache > > > > setfacl -d -m g::rwx /opt/librenms/bootstrap/cache /opt/librenms/storage > > /opt/librenms/storage/framework/sessions > > /opt/librenms/storage/framework/views /opt/librenms/storage/framework/cache > > > > If using SELinux you may also need: > > > > semanage fcontext -a -t httpd_sys_content_t > > '/opt/librenms/bootstrap/cache(/.*)?' > > > > semanage fcontext -a -t httpd_sys_rw_content_t > > '/opt/librenms/bootstrap/cache(/.*)?' > > > > restorecon -RFvv /opt/librenms/bootstrap/cache > > > > semanage fcontext -a -t httpd_sys_content_t '/opt/librenms/storage(/.*)?' > > > > semanage fcontext -a -t httpd_sys_rw_content_t '/opt/librenms/storage(/.*)?' > > > > restorecon -RFvv /opt/librenms/storage > > > > semanage fcontext -a -t httpd_sys_content_t > > '/opt/librenms/storage/framework/sessions(/.*)?' > > > > semanage fcontext -a -t httpd_sys_rw_content_t > > '/opt/librenms/storage/framework/sessions(/.*)?' > > > > restorecon -RFvv /opt/librenms/storage/framework/sessions > > > > semanage fcontext -a -t httpd_sys_content_t > > '/opt/librenms/storage/framework/views(/.*)?' > > > > semanage fcontext -a -t httpd_sys_rw_content_t > > '/opt/librenms/storage/framework/views(/.*)?' > > > > restorecon -RFvv /opt/librenms/storage/framework/views > > > > semanage fcontext -a -t httpd_sys_content_t > > '/opt/librenms/storage/framework/cache(/.*)?' > > > > semanage fcontext -a -t httpd_sys_rw_content_t > > '/opt/librenms/storage/framework/cache(/.*)?' > > > > restorecon -RFvv /opt/librenms/storage/framework/cache > > > > > > J’ai beau faire le chown (pas le reste, j’ai pas selinux installé), le > > message persiste. > > apt-get upgrade fait > > reboot fait > > (debian 9.4) > > > > > > On 11 mai 2018 10:43 +0200, Armel Chargé - frekences <ar...@frekences.com>, > > wrote: > > > Salut, > > > > > > Quels soucis as tu rencontré ? > > > > > > J’ai plusieurs instances UP sans défauts particulier malgré le daily.sh > > > qui a tourné. > > > > > > Armel > > > > > > > > > De: David Ponzone <david.ponz...@gmail.com> > > > Répondre: David Ponzone <david.ponz...@gmail.com> > > > Date: 11 mai 2018 at 10:36:40 > > > À: Frnog-tech <frnog-t...@frnog.org> > > > Sujet: [FRnOG] [TECH] LilbreNMS HS > > > > > > > Je suis le seul à avoir LibreNMS HS ? > > > > A priori y a pas mal de monde concerné… > > > > > > > > > > > > --- > > > > Liste de diffusion du FRnOG > > > > http://www.frnog.org/ --- Liste de diffusion du FRnOG http://www.frnog.org/
Re: [FRnOG] [TECH] LilbreNMS HS
Tu as fait un ./validate.php ? De: David Ponzone <david.ponz...@gmail.com> Répondre: David Ponzone <david.ponz...@gmail.com> Date: 11 mai 2018 at 10:45:17 À: Frnog-tech <frnog-t...@frnog.org>, Armel Chargé - frekences <ar...@frekences.com> Sujet: Re: [FRnOG] [TECH] LilbreNMS HS Après un problème avec une lib PHP manquante (mbstring), j’ai: Error: bootstrap/cache, storage, storage/framework/sessions, storage/framework/views, storage/framework/cache not writable! Run these commands as root on your LibreNMS server to fix: chown -R librenms:librenms /opt/librenms/bootstrap/cache /opt/librenms/storage /opt/librenms/storage/framework/sessions /opt/librenms/storage/framework/views /opt/librenms/storage/framework/cache setfacl -R -m g::rwx /opt/librenms/bootstrap/cache /opt/librenms/storage /opt/librenms/storage/framework/sessions /opt/librenms/storage/framework/views /opt/librenms/storage/framework/cache setfacl -d -m g::rwx /opt/librenms/bootstrap/cache /opt/librenms/storage /opt/librenms/storage/framework/sessions /opt/librenms/storage/framework/views /opt/librenms/storage/framework/cache If using SELinux you may also need: semanage fcontext -a -t httpd_sys_content_t '/opt/librenms/bootstrap/cache(/.*)?' semanage fcontext -a -t httpd_sys_rw_content_t '/opt/librenms/bootstrap/cache(/.*)?' restorecon -RFvv /opt/librenms/bootstrap/cache semanage fcontext -a -t httpd_sys_content_t '/opt/librenms/storage(/.*)?' semanage fcontext -a -t httpd_sys_rw_content_t '/opt/librenms/storage(/.*)?' restorecon -RFvv /opt/librenms/storage semanage fcontext -a -t httpd_sys_content_t '/opt/librenms/storage/framework/sessions(/.*)?' semanage fcontext -a -t httpd_sys_rw_content_t '/opt/librenms/storage/framework/sessions(/.*)?' restorecon -RFvv /opt/librenms/storage/framework/sessions semanage fcontext -a -t httpd_sys_content_t '/opt/librenms/storage/framework/views(/.*)?' semanage fcontext -a -t httpd_sys_rw_content_t '/opt/librenms/storage/framework/views(/.*)?' restorecon -RFvv /opt/librenms/storage/framework/views semanage fcontext -a -t httpd_sys_content_t '/opt/librenms/storage/framework/cache(/.*)?' semanage fcontext -a -t httpd_sys_rw_content_t '/opt/librenms/storage/framework/cache(/.*)?' restorecon -RFvv /opt/librenms/storage/framework/cache J’ai beau faire le chown (pas le reste, j’ai pas selinux installé), le message persiste. apt-get upgrade fait reboot fait (debian 9.4) On 11 mai 2018 10:43 +0200, Armel Chargé - frekences <ar...@frekences.com>, wrote: Salut, Quels soucis as tu rencontré ? J’ai plusieurs instances UP sans défauts particulier malgré le daily.sh qui a tourné. Armel De: David Ponzone <david.ponz...@gmail.com> Répondre: David Ponzone <david.ponz...@gmail.com> Date: 11 mai 2018 at 10:36:40 À: Frnog-tech <frnog-t...@frnog.org> Sujet: [FRnOG] [TECH] LilbreNMS HS Je suis le seul à avoir LibreNMS HS ? A priori y a pas mal de monde concerné… --- Liste de diffusion du FRnOG http://www.frnog.org/ --- Liste de diffusion du FRnOG http://www.frnog.org/
Re: [FRnOG] [TECH] LilbreNMS HS
Le Fri, May 11, 2018 at 10:44:55AM +0200, David Ponzone [david.ponz...@gmail.com] a écrit: > Après un problème avec une lib PHP manquante (mbstring), j???ai: Par ici, j'ai eu le soucis de paquet php-mbstring manquant, mais apres l'avoir installe et relance le daily.sh c'est reparti. -- Dominique Rousseau Neuronnexion, Prestataire Internet & Intranet 6 rue des Hautes cornes - 8 Amiens tel: 03 22 71 61 90 - fax: 03 22 71 61 99 - http://www.neuronnexion.coop --- Liste de diffusion du FRnOG http://www.frnog.org/
Re: [FRnOG] [TECH] LilbreNMS HS
Up chez moi aussi Le 11/05/2018 10:36, « David Ponzone »a écrit : Je suis le seul à avoir LibreNMS HS ? A priori y a pas mal de monde concerné… --- Liste de diffusion du FRnOG http://www.frnog.org/ --- Liste de diffusion du FRnOG http://www.frnog.org/
Re: [FRnOG] [TECH] LilbreNMS HS
Après un problème avec une lib PHP manquante (mbstring), j’ai: Error: bootstrap/cache, storage, storage/framework/sessions, storage/framework/views, storage/framework/cache not writable! Run these commands as root on your LibreNMS server to fix: chown -R librenms:librenms /opt/librenms/bootstrap/cache /opt/librenms/storage /opt/librenms/storage/framework/sessions /opt/librenms/storage/framework/views /opt/librenms/storage/framework/cache setfacl -R -m g::rwx /opt/librenms/bootstrap/cache /opt/librenms/storage /opt/librenms/storage/framework/sessions /opt/librenms/storage/framework/views /opt/librenms/storage/framework/cache setfacl -d -m g::rwx /opt/librenms/bootstrap/cache /opt/librenms/storage /opt/librenms/storage/framework/sessions /opt/librenms/storage/framework/views /opt/librenms/storage/framework/cache If using SELinux you may also need: semanage fcontext -a -t httpd_sys_content_t '/opt/librenms/bootstrap/cache(/.*)?' semanage fcontext -a -t httpd_sys_rw_content_t '/opt/librenms/bootstrap/cache(/.*)?' restorecon -RFvv /opt/librenms/bootstrap/cache semanage fcontext -a -t httpd_sys_content_t '/opt/librenms/storage(/.*)?' semanage fcontext -a -t httpd_sys_rw_content_t '/opt/librenms/storage(/.*)?' restorecon -RFvv /opt/librenms/storage semanage fcontext -a -t httpd_sys_content_t '/opt/librenms/storage/framework/sessions(/.*)?' semanage fcontext -a -t httpd_sys_rw_content_t '/opt/librenms/storage/framework/sessions(/.*)?' restorecon -RFvv /opt/librenms/storage/framework/sessions semanage fcontext -a -t httpd_sys_content_t '/opt/librenms/storage/framework/views(/.*)?' semanage fcontext -a -t httpd_sys_rw_content_t '/opt/librenms/storage/framework/views(/.*)?' restorecon -RFvv /opt/librenms/storage/framework/views semanage fcontext -a -t httpd_sys_content_t '/opt/librenms/storage/framework/cache(/.*)?' semanage fcontext -a -t httpd_sys_rw_content_t '/opt/librenms/storage/framework/cache(/.*)?' restorecon -RFvv /opt/librenms/storage/framework/cache J’ai beau faire le chown (pas le reste, j’ai pas selinux installé), le message persiste. apt-get upgrade fait reboot fait (debian 9.4) On 11 mai 2018 10:43 +0200, Armel Chargé - frekences <ar...@frekences.com>, wrote: > Salut, > > Quels soucis as tu rencontré ? > > J’ai plusieurs instances UP sans défauts particulier malgré le daily.sh qui a > tourné. > > Armel > > > De: David Ponzone <david.ponz...@gmail.com> > Répondre: David Ponzone <david.ponz...@gmail.com> > Date: 11 mai 2018 at 10:36:40 > À: Frnog-tech <frnog-t...@frnog.org> > Sujet: [FRnOG] [TECH] LilbreNMS HS > > > Je suis le seul à avoir LibreNMS HS ? > > A priori y a pas mal de monde concerné… > > > > > > --- > > Liste de diffusion du FRnOG > > http://www.frnog.org/ --- Liste de diffusion du FRnOG http://www.frnog.org/
Re: [FRnOG] [TECH] LilbreNMS HS
Salut, Quels soucis as tu rencontré ? J’ai plusieurs instances UP sans défauts particulier malgré le daily.sh qui a tourné. Armel De: David Ponzone <david.ponz...@gmail.com> Répondre: David Ponzone <david.ponz...@gmail.com> Date: 11 mai 2018 at 10:36:40 À: Frnog-tech <frnog-t...@frnog.org> Sujet: [FRnOG] [TECH] LilbreNMS HS Je suis le seul à avoir LibreNMS HS ? A priori y a pas mal de monde concerné… --- Liste de diffusion du FRnOG http://www.frnog.org/ --- Liste de diffusion du FRnOG http://www.frnog.org/
Re: [FRnOG] [TECH] LilbreNMS HS
C’est OK chez moi ! PS: Il serait temps de migrer vers Observium quand même ! ;-) > On 11 May 2018, at 10:34, David Ponzonewrote: > > Je suis le seul à avoir LibreNMS HS ? > A priori y a pas mal de monde concerné… > > > --- > Liste de diffusion du FRnOG > http://www.frnog.org/ --- Liste de diffusion du FRnOG http://www.frnog.org/