After the fresh install of JFrog Artifactory server I am not able to start up the application. I am using a percona 5.6 mysql db server.
artifactory.service - Setup Systemd script for Artifactory in Tomcat Servlet Engine
Loaded: loaded (/usr/lib/systemd/system/artifactory.service; enabled; vendor preset: disabled)
Active: activating (auto-restart) (Result: resources) since Mon 2018-01-22 04:22:34 EST; 2s ago
Process: 8618 ExecStart=/opt/jfrog/artifactory/bin/artifactoryManage.sh start (code=exited, status=0/SUCCESS)
Jan 22 04:22:34 xxx-xxxx-xxxx systemd[1]: Failed to start Setup Systemd script for Artifactory in Tomcat Servlet Engine.
Jan 22 04:22:34 xxx-xxxx-xxxx systemd[1]: Unit artifactory.service entered failed state.
Jan 22 04:22:34 xxx-xxxx-xxxx systemd[1]: artifactory.service failed.
When I checked artifactory.bootstrap.log I am getting following error.
2018-01-22 04:07:43 [ARTIFACTORY] [INFO ] master.key file currently missing - waiting for Access to create it. Reattempting to check master.key file existence in 1 second.
If you need any more logs to diagnose please let me know.
Regards,
I had the same problem. Running under Ubuntu 16.04 and the deb installation package for 5.10.1.
It looks like the $ARTIFACTORY_HOME
points to /var/opt/jfrog/artifactory
, with the binaries in /opt/jfrog/artifactory
. Changing $ARTIFACTORY_HOME
to point to /opt/jfrog/artifactory
allows it to start, but puts all the data there as well (access, backup, data, logs and support directories). This is fine for me as we only have a demo licence and we're just doing some testing, but less than ideal if you want to keep your data under /var
.
I did try leaving $ARTIFACTORY_HOME
alone and creating links to the other directories but that didn't seem to work. I haven't bothered investigating that though, since I now have a test system that looks like it works.
I had this error recently with version 6.7.3 using java 8 on Solaris 11.
First I unzipped the file, checked all my file permissions, they were good.
Then, I set my ARTIFACTORY_HOME and JAVA_HOME in the artifactory.default file
Next, I ran the following
openssl rand -hex 16 > /m1/artifactory-oss-6.7.3/etc/security/master.key
and started Artifactory.
I found the openssl command to manually create the master.key here:
https://www.jfrog.com/jira/browse/RTFACT-15699
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With