Date: Mon, 17 Oct 2016 13:12:15 +0100 From: Michael Lewis <lewismj@me.com> To: dharrigan@gmail.com Cc: ports@FreeBSD.org Subject: Re: FreeBSD Port: artifactory-4.12.0.1 Message-ID: <C2276616-1C29-46E4-96D1-8158A4346F72@me.com> In-Reply-To: <1F19714C-C317-4F88-AC86-E907057AB49E@me.com> References: <1F19714C-C317-4F88-AC86-E907057AB49E@me.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <lewismj@me.com> 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 = <mailto: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 <http://localhost:8081/artifactory> >=20 > I got the error: >=20 > <!DOCTYPE html><html><head><title>Apache Tomcat/8.0.32 - Error = report</title><style type=3D"text/css">H1 = {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;= font-size:22px;} H2 = {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;= font-size:16px;} H3 = {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;= font-size:14px;} BODY = {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} = B = {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;= } P = {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-siz= e:12px;}A {color : black;}A.name {color : black;}.line {height: 1px; = background-color: #525D76; border: none;}</style> </head><body><h1>HTTP = Status 404 - /artifactory</h1><div class=3D"line"></div><p><b>type</b> = Status report</p><p><b>message</b> = <u>/artifactory</u></p><p><b>description</b> <u>The requested resource = is not available.</u></p><hr class=3D"line"><h3>Apache = Tomcat/8.0.32</h3></body></html>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 = <http://localhost:8081/> > <html> > <head> > <meta http-equiv=3D"refresh" content=3D"0;URL=3D/artifactory"> > </head> > <body> > </body> > </html> >=20 > But when I try to access the artifactory URL: >=20 > www:/var/artifactory/logs # curl http://localhost:8081/artifactory/ = <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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C2276616-1C29-46E4-96D1-8158A4346F72>