I installed [FILE]jetty[/FILE] with the [FILE]pkg_add[/FILE] command in FreeBSD 9.1 but can not start this service. I receive this message:
- Code: Select all
root@FreeBSD:/usr/ports/www/jetty # /usr/local/etc/rc.d/jetty restart
jetty not running? (check /usr/local/jetty/jetty.pid).
Traceback (most recent call last):
File "/usr/local/sbin/jettyctl", line 166, in <module>
File "/usr/local/sbin/jettyctl", line 77, in start
l = open(LOG_FILE, 'a')
IOError: [Errno 13] Permission denied: '/usr/local/jetty/jetty.log'
/usr/local/etc/rc.d/jetty: WARNING: failed to start jetty
How can fix this problem?