diff --git a/docs/en/24.03_LTS_SP2/_toc.yaml b/docs/en/24.03_LTS_SP2/_toc.yaml index f041a93ce6d95bb968c231342f7322374045dc36..5da5f2b2fb5f572fde63a50ef7929352dfe21f2c 100644 --- a/docs/en/24.03_LTS_SP2/_toc.yaml +++ b/docs/en/24.03_LTS_SP2/_toc.yaml @@ -15,5 +15,4 @@ sections: href: ./native_turbo.md - label: Appendix href: ./appendix.md - - label: Common Issues and Solutions - href: ./faqs_and_solutions.md + diff --git a/docs/en/24.03_LTS_SP2/faqs_and_solutions.md b/docs/en/24.03_LTS_SP2/faqs_and_solutions.md deleted file mode 100644 index 4d22ebce78b308690af9e11faf540ec285b5464d..0000000000000000000000000000000000000000 --- a/docs/en/24.03_LTS_SP2/faqs_and_solutions.md +++ /dev/null @@ -1,52 +0,0 @@ -# Common Issues and Solutions - -## Issue 1: An error occurs when the **train** command is used to train a model, and the message "training data failed" is displayed - -Cause: Only one type of data is collected by using the **collection**command. - -Solution: Collect data of at least two data types for training. - -## Issue 2: atune-adm cannot connect to the atuned service - -Possible cause: - -1. Check whether the atuned service is started and check the atuned listening address. - - ```shell - systemctl status atuned - netstat -nap | grep atuned - ``` - -2. The firewall blocks the atuned listening port. -3. The HTTP proxy is configured in the system. As a result, the connection fails. - -Solution: - -1. If the atuned service is not started, run the following command to start the service: - - ```shell - systemctl start atuned - ``` - -2. Run the following command on the atuned and atune-adm servers to allow the listening port to receive network packets. In the command, **60001** is the listening port number of the atuned server. - - ```shell - iptables -I INPUT -p tcp --dport 60001 -j ACCEPT - iptables -I INPUT -p tcp --sport 60001 -j ACCEPT - ``` - -3. Run the following command to delete the HTTP proxy or disable the HTTP proxy for the listening IP address without affecting services: - - ```shell - no_proxy=$no_proxy, Listening_IP_address - ``` - -## Issue 3: The atuned service cannot be started, and the message "Job for atuned.service failed because a timeout was exceeded." is displayed - -Cause: The hosts file does not contain the localhost information. - -Solution: Add localhost to the line starting with **127.0.0.1** in the **/etc/hosts** file. - -```text -127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 -``` diff --git a/docs/zh/24.03_LTS_SP2/_toc.yaml b/docs/zh/24.03_LTS_SP2/_toc.yaml index c37b865d4a516d4482c0edf73829c907949d6fb7..f61bdc82fe7d7704b426b567fd3b1ae27905b681 100644 --- a/docs/zh/24.03_LTS_SP2/_toc.yaml +++ b/docs/zh/24.03_LTS_SP2/_toc.yaml @@ -15,5 +15,4 @@ sections: href: ./native_turbo.md - label: 附录 href: ./appendix.md - - label: 常见问题与解决方法 - href: ./faqs_and_solutions.md + diff --git a/docs/zh/24.03_LTS_SP2/faqs_and_solutions.md b/docs/zh/24.03_LTS_SP2/faqs_and_solutions.md deleted file mode 100644 index 52bed705a43e1dc733bf3beb167a9c93d18c35d2..0000000000000000000000000000000000000000 --- a/docs/zh/24.03_LTS_SP2/faqs_and_solutions.md +++ /dev/null @@ -1,52 +0,0 @@ -# 常见问题与解决方法 - -## **问题1:train命令训练模型出错,提示“training data failed”** - -原因:collection命令只采集一种类型的数据。 - -解决方法:至少采集两种数据类型的数据进行训练。 - -## **问题2:atune-adm无法连接atuned服务** - -可能原因: - -1. 检查atuned服务是否启动,并检查atuned侦听地址。 - - ```shell - # systemctl status atuned - # netstat -nap | grep atuned - ``` - -2. 防火墙阻止了atuned的侦听端口。 -3. 系统配置了http代理导致无法连接。 - -解决方法: - -1. 如果atuned没有启动,启动该服务,参考命令如下: - - ```shell - # systemctl start atuned - ``` - -2. 分别在atuned和atune-adm的服务器上执行如下命令,允许侦听端口接收网络包,其中60001为atuned的侦听端口号。 - - ```shell - # iptables -I INPUT -p tcp --dport 60001 -j ACCEPT - # iptables -I INPUT -p tcp --sport 60001 -j ACCEPT - ``` - -3. 不影响业务的前提下删除http代理,或对侦听IP不进行http代理,命令如下: - - ```shell - # no_proxy=$no_proxy,侦听地址 - ``` - -## **问题3:atuned服务无法启动,提示“Job for atuned.service failed because a timeout was exceeded.”** - -原因:hosts文件中缺少localhost配置 - -解决方法:在/etc/hosts文件中127.0.0.1这一行添加上localhost - -```conf -127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 -```