# Error in one-context-force status after one-context install on Debian 10

**URL:** <https://forum.opennebula.io/t/error-in-one-context-force-status-after-one-context-install-on-debian-10/7694>\
**Category:** Product Support\
**Created:** [September 30, 2019, 10:54am UTC](https://forum.opennebula.io/t/error-in-one-context-force-status-after-one-context-install-on-debian-10/7694 "2019-09-30T10:54:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![peterlavin](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/peterlavin/32/6215_2.png) [@peterlavin](https://forum.opennebula.io/u/peterlavin)\
**Post date:** [September 30, 2019, 10:54am UTC](https://forum.opennebula.io/t/error-in-one-context-force-status-after-one-context-install-on-debian-10/7694/1 "2019-09-30T10:54:16Z")

</div>

Dear All,  
This is not a new problem as it has been flagged before in earlier versions, see [this link](https://github.com/OpenNebula/addon-context-linux/issues/118)

I have created a new image doing a routine installation cycle from an Debian 10.1 ISO (from [debian.org](http://debian.org)).  
I then installed one-context\_5.8.0-1.deb, saved the disk as described in the docs. On creating a new VM from this image, I am seeing an error in the output during booting…

```
[FAILED] Failed to start OpenNebula forced reconfiguration.
See 'systemctl status one-context-force.service' for details.

```

To get more information on the error, I added the following lines to /usr/sbin/one-context-run…

```
else
    echo 'Contextualization must start first as a boot service' >&2
    echo '################ problem here ################'
    echo ''
    pwd
    ls -l $(dirname ${CONTEXT_BASE}) >&2
    echo ''
    exit 1
fi

```

This gave the following output from `systemctl status one-context-force`

```
root@vmXXX:~# systemctl status one-context-force
● one-context-force.service - OpenNebula forced reconfiguration
   Loaded: loaded (/lib/systemd/system/one-context-force.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2019-09-30 11:10:47 IST; 1min 10s ago
  Process: 378 ExecStart=/usr/sbin/one-context-run force (code=exited, status=1/FAILURE)
 Main PID: 378 (code=exited, status=1/FAILURE)

Sep 30 11:10:47 vmaXXX systemd[1]: Starting OpenNebula forced reconfiguration...
Sep 30 11:10:47 vmaXXX one-context-run[378]: Contextualization must start first as a boot service
Sep 30 11:10:47 vmaXXX one-context-run[378]: ################ problem here ################
Sep 30 11:10:47 vmaXXX one-context-run[378]: /
Sep 30 11:10:47 vmaXXX one-context-run[378]: ls: cannot access '/var/run/one-context': No such file or directory
Sep 30 11:10:47 vmaXXX systemd[1]: one-context-force.service: Main process exited, code=exited, status=1/FAILURE
Sep 30 11:10:47 vmaXXX systemd[1]: one-context-force.service: Failed with result 'exit-code'.
Sep 30 11:10:47 vmaXXX systemd[1]: Failed to start OpenNebula forced reconfiguration

```

**My system is…**  
OpenNebula 5.6.1  
Frontend is…  
Debian GNU/Linux 9.8 (stretch) 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3.1 (2019-02-19) x86\_64 GNU/Linux

Is this expected, or is there a fix available for it. I am looking to use context for simple username and network configuration,

regards,  
Peter

---

<div class="post-metadata">

**Author:** ![peterlavin](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/peterlavin/32/6215_2.png) [@peterlavin](https://forum.opennebula.io/u/peterlavin)\
**Post date:** [October 7, 2019, 10:17am UTC](https://forum.opennebula.io/t/error-in-one-context-force-status-after-one-context-install-on-debian-10/7694/2 "2019-10-07T10:17:31Z")

</div>

Update, this problem has been resolved. Although it had a similar manifestation to a previous problem, it was caused by a systemd problem on the VM image, not related to the use of the one-context package.

---

<div class="post-metadata">

**Author:** ![vholer](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/vholer/32/4392_2.png) [@vholer](https://forum.opennebula.io/u/vholer)\
**Post date:** [October 8, 2019, 2:06pm UTC](https://forum.opennebula.io/t/error-in-one-context-force-status-after-one-context-install-on-debian-10/7694/3 "2019-10-08T14:06:37Z")

</div>

Closed on October 8, 2019, 2:06pm UTC


