ktpktr0 opened a new issue, #26291:
URL: https://github.com/apache/doris/issues/26291

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   os version: oracle linux 8
   doris: 2.0.2
   doris-manager: 23.9.2
   
   ### What's Wrong?
   
   Guess it was when adding the crontab task, replacing the installation 
directory with the IP address of the webserver caused the addition of the 
crontab to fail
   
   There is also this error when installing the Doris standalone version
   
   ```
   集群部署失败,请尝试修改节点、集群配置并重新部署。 failed to add crontab for webui node 
192.168.1.180, stdout: , stderr: + DEPLOY_DIR=192.168.1.180 + 
CLUSTER_NAME=cluster-478286445330437 + cat bash: line 9: 
192.168.1.180/.webui_cluster-478286445330437_cron.sh: No such file or directory 
+ chmod +x 192.168.1.180/.webui_cluster-478286445330437_cron.sh chmod: cannot 
access '192.168.1.180/.webui_cluster-478286445330437_cron.sh': No such file or 
directory + grep -q webui_cluster-478286445330437 + crontab -l + crontab -l + 
crontab - + echo '*/1 * * * * 
192.168.1.180/.webui_cluster-478286445330437_cron.sh' "-":1: bad minute errors 
in crontab file, can't install. , err: run cmd ` #!/bin/bash set -o pipefail 
set -x DEPLOY_DIR=""192.168.1.180"" CLUSTER_NAME=""cluster-478286445330437"" # 
direct overwrite cat > "${DEPLOY_DIR}/.webui_${CLUSTER_NAME}_cron.sh" << EOF 
#!/bin/bash WEBUI_PID_FILE="${DEPLOY_DIR}/bin/webui.pid" if [ -e 
"\${WEBUI_PID_FILE}" ]; then pid=\$(cat "
 \${WEBUI_PID_FILE}") kill -0 "\$pid" if [ \$? -eq 0 ]; then
   ```
   
   ### What You Expected?
   
   Successfully deployed Doris cluster
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to