You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@doris.apache.org by GitBox <gi...@apache.org> on 2018/11/28 13:43:14 UTC

[GitHub] chalsliu commented on issue #365: Failed to start Doris BE on centos 7

chalsliu commented on issue #365: Failed to start Doris BE on centos 7
URL: https://github.com/apache/incubator-doris/issues/365#issuecomment-442450897
 
 
   ```
   if [ -f $pidfile ]; then
       if kill -0 $(cat $pidfile); then
           echo "Backend running as process `cat $pidfile`. Stop it first."
           exit 1
       else
           rm $pidfile
       fi
   fi
   ```
   
   
   Solution:
   Don't use kill to send a signal to check whether the process is started. A better way is to verify the existence of the /proc/$pid path. This method can further obtain other information about the process for more accurate judgment.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@doris.apache.org
For additional commands, e-mail: dev-help@doris.apache.org