Code: Select all
/etc/apache2/sites-available/Code: Select all
sudo ln -s /etc/apache2/sites-available/nagios.conf /etc/apache2/sites-enabled/nagios.conf
sudo service apache2 restartCode: Select all
/etc/apache2/sites-available/Code: Select all
sudo ln -s /etc/apache2/sites-available/nagios.conf /etc/apache2/sites-enabled/nagios.conf
sudo service apache2 restartCode: Select all
root@Nagios:/etc/apache2/sites-available# ln -s /etc/apache2/sites-available/nagios.conf /etc/apache2/sites-enabled/nagios.conf
root@Nagios:/etc/apache2/sites-available# sudo service apache2 restart
bash: sudo: no se encontró la orden
root@Nagios:/etc/apache2/sites-available# service apache2 restart
Job for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details.
root@Nagios:/etc/apache2/sites-available# /etc/init.d/apache2 restart
[....] Restarting apache2 (via systemctl): apache2.serviceJob for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details.
failed!
Code: Select all
root@Nagios:/etc/apache2/sites-available# /etc/init.d/apache2 stop
[ ok ] Stopping apache2 (via systemctl): apache2.service.
root@Nagios:/etc/apache2/sites-available# /etc/init.d/apache2 start
[....] Starting apache2 (via systemctl): apache2.serviceJob for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details.
failed!
Code: Select all
systemctl status apache2.service
journalctl -xn
Code: Select all
systemctl status apache2.service