Installing the service with id 'Influx'

使用winsw安装influxdb服务的时候报错,

2021-01-19 15:06:37,783 INFO  - Installing the service with id 'Influx'
Service with id 'Influx' already exists
To install the service, delete the existing one or change service Id in the configuration file
2021-01-19 15:06:37,783 FATAL - Unhandled exception
System.Exception: Installation failure: Service with id 'Influx' already exists
   在 winsw.WrapperService.Run(String[] _args, ServiceDescriptor descriptor)
   在 winsw.WrapperService.Main(String[] args)
System.Exception: Installation failure: Service with id 'Influx' already exists
   在 winsw.WrapperService.Run(String[] _args, ServiceDescriptor descriptor)
   在 winsw.WrapperService.Main(String[] args)

C:\Program Files\influxdb-1.8.3-1>

C:\Program Files\influxdb-1.8.3-1>

C:\Program Files\influxdb-1.8.3-1>

异常内容如上,主要原因就是服务用已存在influxdb服务了,使用sc命令删除influxdb即可

sc delete 服务名称
posted @ 2021-01-19 15:11  框架师  阅读(434)  评论(0编辑  收藏  举报