[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss AS 4.2.3 start as service question
wslyhbb
do-not-reply at jboss.com
Wed Aug 27 21:53:50 EDT 2008
Originally I had the log file as being /var/log/jboss, but it was not creating it on its own, and when I created it it would not even write to it. So I even tried moving it to the $JBOSS_HOME/server/default/log directory, it has user and group of "jboss". I do not get why it will not write to it. If I execute "service jboss start" the only thing logged to the console is "Starting jboss.." as found in my startup script before the actual command is executed. Nothing else is written to the console.
However, I did figure it out :-). su -l apparently does not work on my system. While it gives no error, if I use sudo -u instead it works perfectly :-):
sudo -u jboss $JBOSS_HOME/bin/run.sh > $JBOSS_LOG_FILE 2> /dev/null &
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172934#4172934
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4172934
More information about the jboss-user
mailing list