From owner-freebsd-ports@freebsd.org Mon Oct 17 13:12:26 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AE7BAC12407 for ; Mon, 17 Oct 2016 13:12:26 +0000 (UTC) (envelope-from lewismj@me.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8ED05C04 for ; Mon, 17 Oct 2016 13:12:26 +0000 (UTC) (envelope-from lewismj@me.com) Received: by mailman.ysv.freebsd.org (Postfix) id 8DD47C12406; Mon, 17 Oct 2016 13:12:26 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8D67AC12403 for ; Mon, 17 Oct 2016 13:12:26 +0000 (UTC) (envelope-from lewismj@me.com) Received: from mr22p34im-asmtp003.me.com (mr22p34im-asmtp003.me.com [17.111.211.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 71B1BC03 for ; Mon, 17 Oct 2016 13:12:26 +0000 (UTC) (envelope-from lewismj@me.com) Received: from process-dkim-sign-daemon.mr22p34im-asmtp003.me.com by mr22p34im-asmtp003.me.com (Oracle Communications Messaging Server 7.0.5.38.0 64bit (built Feb 26 2016)) id <0OF600200XV8YW00@mr22p34im-asmtp003.me.com> for ports@FreeBSD.org; Mon, 17 Oct 2016 12:12:20 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=4d515a; t=1476706340; bh=X/2mJSMUP9dwK1SRHwggO7B0pzKo2dtWeANTuM+UYfs=; h=From:Message-id:Content-type:MIME-version:Subject:Date:To; b=k8zVEfPXLQkOW3CTdixjww9Eoz1gFGY/r3U1e+QzxeoigWn4bqjbAbYmf5tvdwR6l Un7cqiiHCBowNok8h4I1v392qqLDuVY8EyDwMdlMMPXWG8C/Oytk/tWWsqKCUyAtpx IHnTcRofzwhZyDPDEVvXPJT2Sz7PlfZ1z/+GmTSuaxQhcXPZmzQ1ZFONFmgh7TVmGf XneDGcco0gQ0F/kVUzhnX48ZsnyF4cSOUiUb77/8TQWYKBwg/5ZxBcbjdedyiqi3GV OK7vlIkQtRbGU5ow4CrZDKWeZuYV9uOszkybsdzrL2ftGVIlMBdpYiGXMaZVCqZD2O LV8LvclP5tXMw== Received: from [172.30.7.48] (unknown [207.228.189.2]) by mr22p34im-asmtp003.me.com (Oracle Communications Messaging Server 7.0.5.38.0 64bit (built Feb 26 2016)) with ESMTPSA id <0OF600PGWXWG0F50@mr22p34im-asmtp003.me.com>; Mon, 17 Oct 2016 12:12:20 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-10-17_05:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 clxscore=1034 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1603290000 definitions=main-1610170215 From: Michael Lewis Message-id: MIME-version: 1.0 (Mac OS X Mail 10.0 \(3226\)) Subject: Re: FreeBSD Port: artifactory-4.12.0.1 Date: Mon, 17 Oct 2016 13:12:15 +0100 In-reply-to: <1F19714C-C317-4F88-AC86-E907057AB49E@me.com> Cc: ports@FreeBSD.org To: dharrigan@gmail.com References: <1F19714C-C317-4F88-AC86-E907057AB49E@me.com> X-Mailer: Apple Mail (2.3226) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Oct 2016 13:12:26 -0000 Hi, Please ignore below, I believe this was an issue with passwd file. = Don=E2=80=99t believe it was an issue with the port.=20 Regards, Mike > On 17 Oct 2016, at 11:38, Michael Lewis wrote: >=20 > Hi, >=20 > I=E2=80=99ve tried to install the artifactory 4.12.0.1 port onto my = machine=20 > =20 > 11.0-RELEASE-p1 FreeBSD=20 > 11.0-RELEASE-p1 #0 r306420: Thu Sep 29 01:43:23 UTC 2016 =20 > root@releng2.nyi.freebsd.org = :/usr/obj/usr/src/sys/GENERIC = amd64 >=20 > The install seems to run through without error, but when I tried a = simple test: >=20 >=20 > www:/usr/ports/devel/artifactory # curl = http://localhost:8081/artifactory >=20 > I got the error: >=20 > Apache Tomcat/8.0.32 - Error = report

HTTP = Status 404 - /artifactory

type = Status report

message = /artifactory

description The requested resource = is not available.


Apache = Tomcat/8.0.32

root@www:/usr/ports/devel/artifactory >=20 > I can see that the port has installed: >=20 > /var/artifactory # ls -ltr > total 24 > drwxr-xr-x 3 artifactory artifactory 512 Oct 17 10:21 logs > drwxr-xr-x 6 artifactory artifactory 512 Oct 17 10:21 tomcat > drwxr-xr-x 5 artifactory artifactory 512 Oct 17 10:21 data > drwxr-xr-x 2 artifactory artifactory 512 Oct 17 10:21 backup > drwxr-xr-x 2 artifactory artifactory 512 Oct 17 10:21 support > drwxr-xr-x 4 artifactory artifactory 512 Oct 17 10:21 etc >=20 >=20 > I get see the following in the logs directory: >=20 > root@www:/var/artifactory/logs # ls -ltr >=20 > total 12 > drwxr-xr-x 2 artifactory artifactory 512 Oct 17 10:20 catalina > -rw-r--r-- 1 root artifactory 6690 Oct 17 10:22 boot.log >=20 > With an errors: >=20 > org.artifactory.common.ArtifactoryHome - Warning: Directory = '/usr/local/artifactory/data/tmp' is not writable! > SEVERE: One or more listeners failed to start. Full details will be = found in the appropriate container log file >=20 > For the first error, I checked the permissions: >=20 > drwxr-xr-x 4 1008 artifactory 512 Oct 17 09:36 tmp > -rw-r--r-- 1 1008 artifactory 836 Oct 17 09:36 = artifactory.properties > drwxr-xr-x 3 1008 artifactory 512 Oct 17 09:37 filestore > -rw-r--r-- 1 1008 artifactory 0 Oct 17 09:37 = .deleteForSecurityMarker > -rw-r--r-- 1 1008 artifactory 0 Oct 17 09:55 .lock > drwxr-xr-x 5 1008 artifactory 512 Oct 17 09:55 derby >=20 > And I can saw incorrect user ownership.So, I manually updated the = ownership: >=20 >=20 > /usr/local/artifactory/# chown -fR artifactory * >=20 > I saw more log files: >=20 > drwxr-xr-x 2 artifactory artifactory 512 Oct 17 10:20 catalina > -rw-r--r-- 1 artifactory artifactory 0 Oct 17 10:26 access.log > -rw-r--r-- 1 artifactory artifactory 0 Oct 17 10:26 = import.export.log > -rw-r--r-- 1 artifactory artifactory 0 Oct 17 10:26 = traffic.1476700012819.log > -rw-r--r-- 1 artifactory artifactory 0 Oct 17 10:26 request.log > -rw-r--r-- 1 artifactory artifactory 0 Oct 17 10:26 = request_trace.log > -rw-r--r-- 1 artifactory artifactory 806 Oct 17 10:27 derby.log > -rw-r--r-- 1 artifactory artifactory 41082 Oct 17 10:27 boot.log > -rw-r--r-- 1 artifactory artifactory 31358 Oct 17 10:27 = artifactory.log >=20 > But nothing in the catalina directory after a service restart. >=20 > The end of the boot.log is now: >=20 > ########################################################### > ### Artifactory successfully started (9.597 seconds) ### > ########################################################### >=20 > Running this, shows the redirect: >=20 > www:/var/artifactory/logs # curl http://localhost:8081 = > > > > > > > >=20 > But when I try to access the artifactory URL: >=20 > www:/var/artifactory/logs # curl http://localhost:8081/artifactory/ = > www:/var/artifactory/logs #=20 >=20 > I don=E2=80=99t see any log output. I=E2=80=99d be grateful if you had = any ideas on what may be wrong with my install? >=20 >=20 > Regards, > Mike Lewis >=20 >=20 >=20 >=20 >=20