mywgl commented on issue #3001:
URL: https://github.com/apache/hugegraph/issues/3001#issuecomment-4296911448

   @bitflicker64 使用最新的master分支打包出来的安装包,启动hugegraph-server会有一个lsof 的使用报错:
   lsof: unacceptable port specification in: -i :
   lsof 4.93.2
    latest revision: https://github.com/lsof-org/lsof
    latest FAQ: https://github.com/lsof-org/lsof/blob/master/00FAQ
    latest (non-formatted) man page: 
https://github.com/lsof-org/lsof/blob/master/Lsof.8
    usage: [-?abhKlnNoOPRtUvVX] [+|-c c] [+|-d s] [+D D] [+|-E] [+|-e s] 
[+|-f[gG]]
    [-F [f]] [-g [s]] [-i [i]] [+|-L [l]] [+m [m]] [+|-M] [-o [o]] [-p s]
    [+|-r [t]] [-s [p:s]] [-S [t]] [-T [t]] [-u s] [+|-w] [-x [fl]] [--] [names]
   Use the ``-h'' option to get more help information.
   Starting HugeGraphServer in daemon mode...
   
   经过排查是"start-hugegraph.sh" 里面的check_port "$REST_SERVER_URL" 导致的错误
   check_port是util.sh文件的函数,把函数中的:
   local port=$(echo "$1" | awk -F':' '{print $3}')
   修改成:
   local port=$(echo "$1" | awk -F':' '{print $NF}')
   就能解决上面的错误,希望官方修改这个错误


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to