linux tomcat 用/etc/init.d/tomcat start启动报错

line 13: [ 0: unary operator expected 

please use "sudo service tomcat stop|start|restart"

 

 

出现此错误,需要去编辑/etc/init/tomcat

然后把 U_UID=  改成  U_UID=0 就可以了

posted @ 2016-11-13 17:51  ixiaofeilee  阅读(1678)  评论(0编辑  收藏  举报