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/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/

Répondre à