# Installing repo manager on RHEL 8

**URL:** <https://community.sonatype.com/t/installing-repo-manager-on-rhel-8/6470>\
**Category:** Sonatype Nexus Repository\
**Created:** [May 6, 2021, 2:03pm UTC](https://community.sonatype.com/t/installing-repo-manager-on-rhel-8/6470 "2021-05-06T14:03:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![chad.schrock](https://avatars.discourse-cdn.com/v4/letter/c/ccd318/32.png) [@chad.schrock](https://community.sonatype.com/u/chad.schrock)\
**Post date:** [May 6, 2021, 2:03pm UTC](https://community.sonatype.com/t/installing-repo-manager-on-rhel-8/6470/1 "2021-05-06T14:03:14Z")

</div>

Hi,

We are attempting to evaluate the repo manager to see if our organization is going to purchase, but we are having a very difficult time getting it to run on our systems.

(Also, I know very little about Java, so most of this is pretty foreign to me.)

The setup: VM running RHEL 8, in FIPS mode, configured to DISA STIG security hardening benchmarks, nginx reverse proxy in front of Nexus.

What I’m getting when I go to [http://localhost/](http://localhost/) or [http://localhost:8081/](http://localhost:8081/) is the black “Nexus Repository Manager” startup page and the “Initializing” gear spinning.

My nexus.log file contains the following:  
2021-05-06 09:28:24,301-0400 ERROR [qtp1389665704-58] \*UNKNOWN org.sonatype.nexus.extdirect.internal.ExtDirectExceptionHandler - Failed to invoke action method: rapture\_Security.getPermissions, java-method: org.sonatype.nexus.rapture.internal.security.SecurityComponent.getPermissions  
com.google.inject.ProvisionException: Unable to provision, see the following errors:

1. Error injecting constructor, java.io.FileNotFoundException: NONE (No such file or directory)  
at com.sonatype.nexus.ssl.plugin.internal.TrustStoreImpl.(TrustStoreImpl.java:84)  
at / (via modules: org.sonatype.nexus.extender.modules.NexusBundleModule → org.eclipse.sisu.space.SpaceModule)  
while locating com.sonatype.nexus.ssl.plugin.internal.TrustStoreImpl  
while locating java.lang.Object annotated with \*  
at org.eclipse.sisu.wire.LocatorWiring  
while locating org.sonatype.nexus.ssl.TrustStore  
for the 5th parameter of org.sonatype.nexus.ldap.internal.realms.EnterpriseLdapManager.(EnterpriseLdapManager.java:91)  
at / (via modules: org.sonatype.nexus.extender.modules.NexusBundleModule → org.eclipse.sisu.space.SpaceModule)  
while locating org.sonatype.nexus.ldap.internal.realms.EnterpriseLdapManager  
while locating java.lang.Object annotated with \*  
at org.eclipse.sisu.wire.LocatorWiring  
while locating org.sonatype.nexus.ldap.internal.realms.LdapManager  
for the 1st parameter of org.sonatype.nexus.ldap.internal.LdapAuthorizationManager.(LdapAuthorizationManager.java:42)  
at / (via modules: org.sonatype.nexus.extender.modules.NexusBundleModule → org.eclipse.sisu.space.SpaceModule)  
while locating org.sonatype.nexus.ldap.internal.LdapAuthorizationManager  
while locating java.lang.Object annotated with \*

1 error  
at com.google.inject.internal.InternalProvisionException.toProvisionException(InternalProvisionException.java:226)

I did see the post of the one person that had a very similar error and he ended up abandoning a direct install in favor of a container, but a container is not going to work for my use case.

Thanks.

---

<div class="post-metadata">

**Author:** ![mmartz](https://avatars.discourse-cdn.com/v4/letter/m/e9bcb4/32.png) [@mmartz](https://community.sonatype.com/u/mmartz)\
**Post date:** [May 6, 2021, 2:59pm UTC](https://community.sonatype.com/t/installing-repo-manager-on-rhel-8/6470/2 "2021-05-06T14:59:13Z")

</div>

Maybe it’s some kind of filesystem/permissions issue? The error doesn’t really make sense to me, which version of nxrm are you installing?

If you’re planning to evaluate for purchase I’d recommend reaching out to our sales team as they should be able to provide additional assistance and/or support

---

<div class="post-metadata">

**Author:** ![chad.schrock](https://avatars.discourse-cdn.com/v4/letter/c/ccd318/32.png) [@chad.schrock](https://community.sonatype.com/u/chad.schrock)\
**Post date:** [May 6, 2021, 3:15pm UTC](https://community.sonatype.com/t/installing-repo-manager-on-rhel-8/6470/3 "2021-05-06T15:15:32Z")

</div>

Hi,

Thank you for your reply. I’m installing nxrm 3.30.1-01. I’ll double-check the permissions though. I assumed that the restrictive permissions after I untarred the archive (0700) were by default.

Thanks.

---

<div class="post-metadata">

**Author:** ![daniel.babcock](https://avatars.discourse-cdn.com/v4/letter/d/e495f1/32.png) [@daniel.babcock](https://community.sonatype.com/u/daniel.babcock)\
**Post date:** [December 26, 2021, 2:34pm UTC](https://community.sonatype.com/t/installing-repo-manager-on-rhel-8/6470/4 "2021-12-26T14:34:43Z")

</div>

Sorry I am so late to the conversation. I’ve been trying to get Nexus OSS installed on a STIG’d RHEL 8 for a while. For testing purposes, I installed a RHEL 8 VM and Nexus OSS 3.37.1-01, and then STIG’d the server with DISA STIG V1R4, rebooting and testing along the way. I do not have nginx installed as a reverse proxy.  
Here is what I have found and I am about 90% STIG’d.

- In /etc/fstab, /home must not have noexec: opens V-230302, CAT-II
- FIPS mode must be turned off; if on, initialization gear spins forever: opens V-230223, CAT-1

With these open items, Nexus seems to work well, but I have not installed a certificate on the server to enable SSL either yet. I also have not fully configured and enforce fapolicy, so that may, or may not, have an effect on the installation as well. And, not sure how many ISSMs want to open a CAT-1 to install Nexus… But, at least now you know. Perhaps the Nexus team will fix to allow FIPS mode in future releases? Hope this helps someone else.

---

<div class="post-metadata">

**Author:** ![daniel.babcock](https://avatars.discourse-cdn.com/v4/letter/d/e495f1/32.png) [@daniel.babcock](https://community.sonatype.com/u/daniel.babcock)\
**Post date:** [December 26, 2021, 9:27pm UTC](https://community.sonatype.com/t/installing-repo-manager-on-rhel-8/6470/5 "2021-12-26T21:27:24Z")

</div>

…and, fapolicyd does have an effect on Nexus install… negatively. So,

- fapolicyd requires proper config or turned off which opens V-244545, CAT-II.

So there you have it. STIG’d with RHEL 8 V1R4, you must open three (3) checklist items to install Nexus 3. I have followed the STIG for my fstab with exception to /home: All drives except root (/) are nodev. All drives are nosuid except /var (not required) and root (/). All drives are noexec except root (/), /home (V-230302 as indicated above), /boot (not required), and /var (not required).
