红联Linux门户
Linux帮助

Ubuntu启动activemq报/data/activemq.pid: Permission denied

发布时间:2017-01-18 09:37:38来源:linux网站作者:zhangxihangzhuan
1.安装目录为/export/servers/apache-activemq-5.14.3
 
2.启动 ./export/servers/apache-activemq-5.14.3/bin/activemq start  终端打印下列信息
INFO: Loading '/etc/default/activemq'
INFO: Using Java '/usr/bin/java'
INFO: Starting - inspect logfiles specified in logging.properties and log4j.properties to get details
INFO: changing to user 'activemq' to invoke java
No directory, logging in with HOME=/
-su: 3: cannot create /export/servers/apache-activemq-5.14.3//data/activemq.pid: Permission denied
INFO: pidfile created : '/export/servers/apache-activemq-5.14.3//data/activemq.pid' (pid '3489')
 
3.解决办法:
chown -R activemq:users /export/servers/apache-activemq-5.14.3
 
本文永久更新地址:http://www.linuxdiyf.com/linux/27904.html