httpd2 автозагрузка не работает.
ОС
ALT Linux 7.0.5 Centaurus (Pholus) ядро 3.14.31-std-def-alt1httpd2 Нужна каждый раз запускать в ручную.
Запускается 2-я командами.
systemctl start httpd2.service или
service httpd2 startДо запуска проверяю командой
systemctl --filedПоказывает вот что.
[root@viktarh_pc ~]# systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
drweb-spider.service loaded failed failed LSB: drweb-spider is a Dr.Web SpID
httpd2.service loaded failed failed The Apache2 HTTP Server
mdadm-activation.service loaded failed failed Activation of RAID devices
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
3 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
Эту проблему пока не пробовал устранить.
drweb-spider.service
mdadm-activation.serviceПосле запуска в ручную
httpd2.service командой
systemctl start httpd2.service.
systemctl --failed показывает вот что
[root@viktarh_pc ~]# systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
drweb-spider.service loaded failed failed LSB: drweb-spider is a Dr.Web SpID
mdadm-activation.service loaded failed failed Activation of RAID devices
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
2 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
После это го если сделать
systemctl stop httpd2.servicesystemctl --failed показывает что всё уже норм.
[root@viktarh_pc ~]# systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
drweb-spider.service loaded failed failed LSB: drweb-spider is a Dr.Web SpID
mdadm-activation.service loaded failed failed Activation of RAID devices
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
2 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
drweb-spider.service, mdadm-activation.service Вроде как мне не мешает. Ну если можно это тоже починить буду признателен.
Вопросы по поводу зачем тебе DrWeb, На компе стоит Alt-Linux и Win 8.1, и еще каждый день по многу раз мая Флешка бывает на разных компах моих клиентов, у которых, как правило стоит win, по этому не хочу быть распространителем вирусов.
А вот
httpd2.service нужно чтобы запускался при старте системы, надоело запускать в ручную, хотя это проблем не доставляет, но всё же, проблему хочется решить. Раньше на win сидел на denwer.
Прошу не ругать, пока учусь.
