我在 Ubuntu 16.04 中遇到了这个问题,在链接的帮助下将 wildfly 设置成服务时出错 https://gesker.wordpress.com/2016/02/09/wildfly-10-on-ubuntu-15-10/ 显示以下异常
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script haproxy missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script haproxy
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script haproxy
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script elasticsearch missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script elasticsearch
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script elasticsearch