Problem start jetty service

Discussion related to network/web services such as Apache, BIND Sendmail, etc.

Problem start jetty service

Postby mah454 » 29 Apr 2013, 04:15


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/
Starting jetty.
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?
Junior Member
Posts: 25
Joined: 10 Mar 2013, 11:00

Postby bkouhi » 29 Apr 2013, 05:13


[CMD]touch /usr/local/jetty/jetty.log[/CMD]
[CMD]chown www:www /usr/local/jetty/jetty.log[/CMD]
[CMD]chmod 644 /usr/local/jetty/jetty.log[/CMD]
Posts: 202
Joined: 14 Sep 2011, 09:01

Return to Web & Network Services

Who is online

Users browsing this forum: No registered users and 1 guest