# Problem using hpc-toolset-tutorial demo

**URL:** <https://discourse.openondemand.org/t/problem-using-hpc-toolset-tutorial-demo/2102>\
**Category:** Get Help\
**Tags:** question\
**Created:** [June 6, 2022, 7:17pm UTC](https://discourse.openondemand.org/t/problem-using-hpc-toolset-tutorial-demo/2102 "2022-06-06T19:17:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dtenenba](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/dtenenba/32/1075_2.png) [@dtenenba](https://discourse.openondemand.org/u/dtenenba)\
**Post date:** [June 6, 2022, 7:17pm UTC](https://discourse.openondemand.org/t/problem-using-hpc-toolset-tutorial-demo/2102/1 "2022-06-06T19:17:27Z")

</div>

Hi,

I am trying to use the demo at [GitHub - ubccr/hpc-toolset-tutorial: Tutorial for installing Open XDMoD, OnDemand, & ColdFront](https://github.com/ubccr/hpc-toolset-tutorial)

The problem is the machine I am running it on does not have browsers or graphical access (why don’t I run it on my desktop machine you ask? That is a whole other thing that I may post about later.).

So I can’t access these containers via `localhost` from my desktop machine. When I go to [https://the-hostname:3443](https://the-hostname:3443) it redirects to [https://localhost:3443](https://localhost:3443).

I exec’d into the ondemand container (which is the one I want to use in a demo) and edited `/etc/ood/config/ood_portal.yml` to change the servername from localhost to the FQDN of my host name. I then ran `/opt/ood/ood-portal-generator/sbin/update_ood_portal` which suggested restarting the web server with `sudo systemctl try-restart httpd24-httpd.service httpd24-htcacheclean.service` but that command gives me:

```nohighlight
Failed to get D-Bus connection: Operation not permitted

```

Some googling suggested that I needed to run the container with `privileged: true` but I added that to the `docker-compose.yml` and restarted the containers and I am getting the same error.

Any suggestions?  
Thanks

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [June 6, 2022, 7:24pm UTC](https://discourse.openondemand.org/t/problem-using-hpc-toolset-tutorial-demo/2102/2 "2022-06-06T19:24:52Z")

</div>

Yea I just went through a bunch of trouble with our own container. My guess is you need cgroup v2 enabled on your machine to be able to restart systemd in the container. But then again - I wonder why it was able to come up at all in the first place but then not be able to restart? When I was having issues it was just with bringing up systemd in the first place, no issues restarting it.

---

<div class="post-metadata">

**Author:** ![dtenenba](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/dtenenba/32/1075_2.png) [@dtenenba](https://discourse.openondemand.org/u/dtenenba)\
**Post date:** [June 6, 2022, 7:26pm UTC](https://discourse.openondemand.org/t/problem-using-hpc-toolset-tutorial-demo/2102/3 "2022-06-06T19:26:04Z")

</div>

Thanks. I’m not sure how to enable cgroup v2 on this machine? It’s just an AWS EC2 instance running ubuntu 22.04 but it could really be any distro/version if that makes it easier…

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [June 6, 2022, 7:31pm UTC](https://discourse.openondemand.org/t/problem-using-hpc-toolset-tutorial-demo/2102/4 "2022-06-06T19:31:11Z")

</div>

It’s a boot parameter. I don’t know if you can edit ec2’s kernel boot parameters or not.

> **[Chapter 21. Using cgroups-v2 to control distribution of CPU time...](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/managing_monitoring_and_updating_the_kernel/using-cgroups-v2-to-control-distribution-of-cpu-time-for-applications_managing-monitoring-and-updating-the-kernel)**
>
> Access Red Hat’s knowledge, guidance, and support through your subscription.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/b/bae70bd0ed39a3ae769c2108155f4cb3e9da8385.png) [@system](https://discourse.openondemand.org/u/system)\
**Post date:** [December 3, 2022, 7:31pm UTC](https://discourse.openondemand.org/t/problem-using-hpc-toolset-tutorial-demo/2102/5 "2022-12-03T19:31:13Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
