TDengine
TDengine copied to clipboard
Service error install tdengine on Win11 WSL ubuntu22.04
Bug Description 在win11下面的WSL(ubuntu22.04)使用官方推荐的apt方式安装最新版tdengine(3.1.5),安装成功,但是最后报错如下:
taosd: unrecognized service
Couldn't find an alternative telinit implementation to spawn.
cp: cannot stat '%{init_d_dir}/taosd': No such file or directory
update-rc.d: error: unable to read /etc/init.d/taosd
To configure TDengine : edit /etc/taos/taos.cfg
To start TDengine : sudo update-rc.d taosd default for the first time
: sudo service taosd start after
To access TDengine : taos -h DESKTOP-DLO2RUD to login into TDengine server
TDengine is installed successfully!
导致无法通过service taosd restart 方式启动tdengine,只能手动启动。
TDengine 暂时还没有针对 WSL 做适配
@wsf1990 did you upgrade WSL to latest? https://devblogs.microsoft.com/commandline/systemd-support-is-now-available-in-wsl/
