Не мог отключить сервис в Ubuntu 15.10

Я пытаюсь отключить apache2

$ sudo systemctl is-enabled apache2.service
apache2.service is not a native service, redirecting to systemd-sysv-install
Executing /lib/systemd/systemd-sysv-install is-enabled apache2
disabled

Вот его состояние:

$ sudo systemctl status apache2.service
● apache2.service - LSB: Apache2 web server
   Loaded: loaded (/etc/init.d/apache2)
   Active: active (running) since Fri 2016-03-04 21:37:01 ICT; 1 day 13h ago
     Docs: man:systemd-sysv-generator(8)
   CGroup: /system.slice/apache2.service
           ├─ 1345 /usr/sbin/apache2 -k start
           ├─21367 /usr/sbin/apache2 -k start
           └─21368 /usr/sbin/apache2 -k start



$ sudo systemctl disable apache2.service
apache2.service is not a native service, redirecting to systemd-sysv-install
Executing /lib/systemd/systemd-sysv-install disable apache2
insserv: warning: current start runlevel(s) (empty) of script `apache2' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `apache2' overrides LSB defaults (0 1 6).
insserv: warning: current start runlevel(s) (empty) of script `apache2' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `apache2' overrides LSB defaults (0 1 6).

И вот его состояние снова

$ sudo systemctl status apache2.service
● apache2.service - LSB: Apache2 web server
   Loaded: loaded (/etc/init.d/apache2)
   Active: active (running) since Fri 2016-03-04 21:37:01 ICT; 1 day 13h ago
     Docs: man:systemd-sysv-generator(8)
   CGroup: /system.slice/apache2.service
           ├─ 1345 /usr/sbin/apache2 -k start
           ├─21367 /usr/sbin/apache2 -k start
           └─21368 /usr/sbin/apache2 -k start

Mar 04 21:37:01 my-laptop apache2[709]: *
Mar 04 21:37:01 my-laptop systemd[1]: Started LSB: Apache2 web server.
Mar 05 00:15:32 my-laptop systemd[1]: Reloading LSB: Apache2 web server.
Mar 05 00:15:32 my-laptop apache2[10886]: * Reloading web server apache2
Mar 05 00:15:33 my-laptop apache2[10886]: *
Mar 05 00:15:33 my-laptop systemd[1]: Reloaded LSB: Apache2 web server.
Mar 06 00:14:11 my-laptop systemd[1]: Reloading LSB: Apache2 web server.
Mar 06 00:14:11 my-laptop apache2[21348]: * Reloading web server apache2
Mar 06 00:14:12 my-laptop apache2[21348]: *
Mar 06 00:14:12 my-laptop systemd[1]: Reloaded LSB: Apache2 web server.

Почему я не могу отключить apache2 и как сделать это?

2
задан 8 March 2016 в 20:03

0 ответов

Другие вопросы по тегам:

Похожие вопросы: