Reputation: 141
I'm trying to start my jboss-as and i receive this error: Starting jboss-as: -bash: /home/ec2-user/tools/jboss-as/bin/standalone.sh: Permission denied
The /jboss-as/ has permission (775 - jboss-as:jboss-as)
Edited:
Starting jboss-as: /etc/init.d/jboss-as: line 81: /var/log/jboss-as/console.log: Permission denied
chown: changing ownership of `/var/run/jboss-as': Operation not permitted
grep: /etc/init.d/jboss-as: line 92: /var/log/jboss-as/console.log: Permission denied
/var/log/jboss-as/console.log: No such file or directory
grep: /var/log/jboss-as/console.log: No such file or directory
Upvotes: 1
Views: 4326
Reputation: 5
generally default jboss installation recommend installation folder under /root. People give full permission to that folder but not '/root'. :) i got the same issue. fixed it by moving that folder under jboss user home directory.
Upvotes: 0
Reputation: 4153
Check the Jboss AS folder (and sub-folders) has got right set of permissions. When Jboss starts it writes stuff to logs and obviously those folders would need permission too. Also check the start command permissions (Obviously if your above steps are correct, then there would be permissions for the start command).
Upvotes: 2