Aller au contenu
View in the app

A better way to browse. Learn more.

Next

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Linux nagios apache2

Featured Replies

Posté(e)

Bonjour,

Je suis debutant en linux ubuntu

je viens d 'installer apache2 et nagios sur ma machine.

1 )je souhaite redemarrer mon serveur apache quand j 'execute la commande suivant et j ai le message d'erreeur ci dessous

root@supervision:/usr/local# /etc/init.d/apache2 reload

-su: /etc/init.d/apache2: No such file or directory

2) Je souhaite aussi installer l'interface web de nagios quand j'éxécute la commande

root@supervision:/home/jeff/nagios-3.0.6# make install-webconf

j'ai ce message d'erreur

/usr/bin/install -c -m 644 sample-config/httpd.conf /etc/httpd/conf.d/nagios.conf

/usr/bin/install: cannot create regular file `/etc/httpd/conf.d/nagios.conf': No such file or directory

make: *** [install-webconf] Error 1

3) je fais un lien symbolique

root@supervision:/usr/local# cd apache2/

root@supervision:/usr/local/apache2# ls

bin build cgi-bin conf error htdocs icons include lib logs man manual modules

root@supervision:/usr/local/apache2# cd conf/

root@supervision:/usr/local/apache2/conf# ls

extra httpd.conf magic mime.types original

voici le lien symbolique et j obtiens ce message d 'erreur ci dessous "NO such or directory

root@supervision:/home/stein/nagios-3.0.6# ln -s /etc/apache2/conf.d/nagios.conf /etc/nagios/apache.conf

ln: creating symbolic link `/etc/nagios/apache.conf': No such file or directory

quelqu'un peut m'aider en répondant ces différents question.

Merci

Posté(e)

1) Tu ne redémarres pas apache2, tu ne lui fais que relire le fichier de configuration et lui prendre en compte. Visiblement ton fichier apache2 ne se trouve pas à cet endroit.

Fais un ls /etc/init.d/apache2 et regarde ce qu'il te dit.

2) Visiblement ton nagios cherche apache dans /etc/httpd. Ou sont les fichiers de configuration de ton apache2 ? Ne sont-ils pas dans /usr/local/etc/ ?

3) Es-tu sur de l'ordre de ton lien symbolique :

ln -s target nom_de_ton_lien

De ce que je vois, ton apache est installé dans /usr/local, précise le bien dans tes installations car par défaut il va piocher dans /etc.

Archivé

Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.