Docs/xsren/ts 2750/start service des on mac (#20196)
* fix: launchctl start tasd needs root permit * docs: start service describle * fix: start service describe with english * docs: refine wording --------- Co-authored-by: facetosea <25808407@qq.com> Co-authored-by: Shuduo Sang <sangshuduo@gmail.com>
This commit is contained in:
parent
daa0dd7609
commit
526105d4b8
|
@ -202,16 +202,18 @@ After the installation is complete, double-click the /applications/TDengine to s
|
|||
|
||||
The following `launchctl` commands can help you manage TDengine service:
|
||||
|
||||
- Start TDengine Server: `launchctl start com.tdengine.taosd`
|
||||
- Start TDengine Server: `sudo launchctl start com.tdengine.taosd`
|
||||
|
||||
- Stop TDengine Server: `launchctl stop com.tdengine.taosd`
|
||||
- Stop TDengine Server: `sudo launchctl stop com.tdengine.taosd`
|
||||
|
||||
- Check TDengine Server status: `launchctl list | grep taosd`
|
||||
- Check TDengine Server status: `sudo launchctl list | grep taosd`
|
||||
|
||||
:::info
|
||||
|
||||
- The `launchctl` command does not require _root_ privileges. You don't need to use the `sudo` command.
|
||||
- The first content returned by the `launchctl list | grep taosd` command is the PID of the program, if '-' indicates that the TDengine service is not running.
|
||||
- Please use `sudo` to run `launchctl` to manage _com.tdengine.taosd_ with administrator privileges.
|
||||
- The administrator privilege is required for service management to enhance security.
|
||||
- Troubleshooting:
|
||||
- The first column returned by the command `launchctl list | grep taosd` is the PID of the program. If it's `-`, that means the TDengine service is not running.
|
||||
- If the service is abnormal, please check the `launchd.log` file from the system log or the `taosdlog` from the `/var/log/taos directory` for more information.
|
||||
|
||||
:::
|
||||
|
||||
|
|
|
@ -196,20 +196,22 @@ Active: inactive (dead)
|
|||
|
||||
<TabItem label="macOS 系统" value="macos">
|
||||
|
||||
安装后,在应用程序目录下,双击 TDengine 图标来启动程序,也可以运行 `launchctl start com.tdengine.taosd` 来启动 TDengine 服务进程。
|
||||
安装后,在应用程序目录下,双击 TDengine 图标来启动程序,也可以运行 `sudo launchctl start com.tdengine.taosd` 来启动 TDengine 服务进程。
|
||||
|
||||
如下 `launchctl` 命令可以帮助你管理 TDengine 服务:
|
||||
如下 `launchctl` 命令用于管理 TDengine 服务:
|
||||
|
||||
- 启动服务进程:`launchctl start com.tdengine.taosd`
|
||||
- 启动服务进程:`sudo launchctl start com.tdengine.taosd`
|
||||
|
||||
- 停止服务进程:`launchctl stop com.tdengine.taosd`
|
||||
- 停止服务进程:`sudo launchctl stop com.tdengine.taosd`
|
||||
|
||||
- 查看服务状态:`launchctl list | grep taosd`
|
||||
- 查看服务状态:`sudo launchctl list | grep taosd`
|
||||
|
||||
:::info
|
||||
|
||||
- `launchctl` 命令不需要管理员权限,请不要在前面加 `sudo`。
|
||||
- `launchctl list | grep taosd` 指令返回的第一个内容是程序的 PID,若为 `-` 则说明 TDengine 服务未运行。
|
||||
- `launchctl` 命令管理`com.tdengine.taosd`需要管理员权限,务必在前面加 `sudo` 来增强安全性。
|
||||
- `sudo launchctl list | grep taosd` 指令返回的第一列是 `taosd` 程序的 PID,若为 `-` 则说明 TDengine 服务未运行。
|
||||
- 故障排查:
|
||||
- 如果服务异常请查看系统日志 `launchd.log` 或者 `/var/log/taos` 目录下 `taosdlog` 日志获取更多信息。
|
||||
|
||||
:::
|
||||
|
||||
|
|
Loading…
Reference in New Issue