отдал service статус message missing in ubuntu 15.04

i made an update to ubuntu 15 i dont get статус messages of the service system anymore.

On the old ubuntu 14.04 when i did:

$sudo service apache2 restart
* Restarting web server apache2                                                                                            
... waiting

Now i don't get the output anymore:

$sudo service apache2 restart

Nothing.... The статус message is just missing. Some ты разрабатываешь on that?

0
задан 10 November 2015 в 13:57

1 ответ

Ubuntu 15.04 и выше использует systemd, однако все еще поддерживаемый SysV init.

Для запуска остановите, перезапустите, проверка состояния:

systemctl <action> <prog>

Например:

root@mylenovo:~# systemctl status cups
● cups.service - CUPS Scheduler
   Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
   Active: active (running) since Sel 2015-11-10 20:45:33 MYT; 8min ago
     Docs: man:cupsd(8)
 Main PID: 710 (cupsd)
   CGroup: /system.slice/cups.service
           ├─710 /usr/sbin/cupsd -l
           ├─789 /usr/lib/cups/notifier/dbus dbus://
           ├─790 /usr/lib/cups/notifier/dbus dbus://
           ├─791 /usr/lib/cups/notifier/dbus dbus://
           ├─794 /usr/lib/cups/notifier/dbus dbus://
           └─796 /usr/lib/cups/notifier/dbus dbus://

Nov 10 20:45:33 mylenovo systemd[1]: Started CUPS Scheduler.
1
ответ дан 30 September 2019 в 05:03

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

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