首页 > 代码库 > linux tomcat 用/etc/init.d/tomcat start启动报错

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 就可以了

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