Hi,
Please ignore below, I believe this was an issue with passwd file. Don’t
believe it was an issue with the port.
Regards,
Mike
> On 17 Oct 2016, at 11:38, Michael Lewis <lewi...@me.com> wrote:
>
> Hi,
>
> I’ve tried to install the artifactory 4.12.0.1 port onto my machine
>
> 11.0-RELEASE-p1 FreeBSD
> 11.0-RELEASE-p1 #0 r306420: Thu Sep 29 01:43:23 UTC 2016
> r...@releng2.nyi.freebsd.org
> <mailto:r...@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
> <http://localhost:8081/artifactory>
>
> I got the error:
>
> Apache Tomcat/8.0.32 - Error
> reportH1
> {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-size:12px;}A
> {color : black;}A.name {color : black;}.line {height: 1px; background-color:
> #525D76; border: none;} HTTP Status 404 -
> /artifactorytype Status
> reportmessage /artifactorydescription
> The requested resource is not available. class="line">Apache
> Tomcat/8.0.32root@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 artifactory0 Oct 17 09:37 .deleteForSecurityMarker
> -rw-r--r-- 1 1008 artifactory0 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 artifactory512 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 artifactory806 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
> <http://localhost:8081/>
>
>
>
>
>
>
>
>
> But when I try to access the artifactory URL:
>
> www:/var/artifactory/logs # curl http://localhost:8081/artifactory/
> <http://localhost:8081/artifactory/>
> www:/var/artifactory/logs #
>
> I don’t see any log output. I’d be grateful if you had any ideas on what may
> be wrong with my install?
>
>
> Regards,
> Mike Lewis
>
>
>
>
>
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"