From owner-freebsd-ports@freebsd.org Mon Oct 17 11:38:34 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 D0DB8C15093 for ; Mon, 17 Oct 2016 11:38:34 +0000 (UTC) (envelope-from lewismj@me.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id B2A75E8C for ; Mon, 17 Oct 2016 11:38:34 +0000 (UTC) (envelope-from lewismj@me.com) Received: by mailman.ysv.freebsd.org (Postfix) id AF137C15092; Mon, 17 Oct 2016 11:38:34 +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 AE9E7C15091 for ; Mon, 17 Oct 2016 11:38:34 +0000 (UTC) (envelope-from lewismj@me.com) Received: from mr22p34im-asmtp004.me.com (mr22p34im-asmtp004.me.com [17.111.211.51]) (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 94932E8B for ; Mon, 17 Oct 2016 11:38:34 +0000 (UTC) (envelope-from lewismj@me.com) Received: from process-dkim-sign-daemon.mr22p34im-asmtp004.me.com by mr22p34im-asmtp004.me.com (Oracle Communications Messaging Server 7.0.5.38.0 64bit (built Feb 26 2016)) id <0OF600E00T7NSE00@mr22p34im-asmtp004.me.com> for ports@FreeBSD.org; Mon, 17 Oct 2016 10:38:28 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=4d515a; t=1476700708; bh=jBovUIHaFDgGhZIOqmbZ6gPwxckOVDdWR0xw0IWzxpk=; h=From:Content-type:MIME-version:Subject:Message-id:Date:To; b=d/xeLam0lNr68SEDIlodWEwgavq14sBdM7LdYdqN1U2/OtflXRUlWjh1hWFiqS5hM mqiiCTpqFW8sw8uRsWKkF37OfN88Oe8h8NrTkKgHKZZycEUR9og9WBt8puD4jqq9kW FkAP7irGopZPaHr8dAZ5i3g9eACmUgDZCc90ssBtWPb/Mnt4kKTD+pwTB9KpLF4Vg/ FNwUJCaeVhRVPv2spZmC+87aAzTBn4iFGwKr47r/FSAM2UXBAyEFUN2JPWIrjX64RA KA5DvTPMAO7HdxlvAHo9n7pou7Npc/1rU4ItiRtPBPRjYa73mwDnU1cn8imb6dUTHW wK0B1mqlTidcQ== Received: from [172.30.7.48] (unknown [207.228.189.2]) by mr22p34im-asmtp004.me.com (Oracle Communications Messaging Server 7.0.5.38.0 64bit (built Feb 26 2016)) with ESMTPSA id <0OF6000RNTK0ED30@mr22p34im-asmtp004.me.com>; Mon, 17 Oct 2016 10:38:28 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-10-17_04:,, 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-1610170190 From: Michael Lewis MIME-version: 1.0 (Mac OS X Mail 10.0 \(3226\)) Subject: FreeBSD Port: artifactory-4.12.0.1 Message-id: <1F19714C-C317-4F88-AC86-E907057AB49E@me.com> Date: Mon, 17 Oct 2016 11:38:22 +0100 Cc: ports@FreeBSD.org To: dharrigan@gmail.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 11:38:34 -0000 Hi, 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 The install seems to run through without error, but when I tried a = simple test: www:/usr/ports/devel/artifactory # curl = http://localhost:8081/artifactory I got the error: 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 I can see that the port has installed: /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 I get see the following in the logs directory: root@www:/var/artifactory/logs # ls -ltr 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 With an errors: 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 For the first error, I checked the permissions: 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 And I can saw incorrect user ownership.So, I manually updated the = ownership: /usr/local/artifactory/# chown -fR artifactory * I saw more log files: 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 But nothing in the catalina directory after a service restart. The end of the boot.log is now: ########################################################### ### Artifactory successfully started (9.597 seconds) ### ########################################################### Running this, shows the redirect: www:/var/artifactory/logs # curl http://localhost:8081 But when I try to access the artifactory URL: www:/var/artifactory/logs # curl http://localhost:8081/artifactory/ www:/var/artifactory/logs #=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? Regards, Mike Lewis