Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please Re-Open "Problem running on OpenVZ #129" #378

Closed
StuckUpCreations opened this issue Jan 1, 2019 · 3 comments
Closed

Please Re-Open "Problem running on OpenVZ #129" #378

StuckUpCreations opened this issue Jan 1, 2019 · 3 comments

Comments

@StuckUpCreations
Copy link

#129

im still having this problen on debian 9 minimal install and this solution propposed here solves my problem...after commenting out what is suggested here my service started and everything works as expected..

Debian 9 minimal install on OpenVZ

@angristan
Copy link
Owner

Hello, what line are you talking about? It's commented here:

sed -i 's|LimitNPROC|#LimitNPROC|' /etc/systemd/system/openvpn\@.service

@angristan
Copy link
Owner

Let me know if you find the issue.

@parasquid
Copy link

Heya, sorry I just got here while debugging my own installation.

tristan@quadhost-nc:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.6 LTS
Release:        16.04
Codename:       xenial

It would seem like the OS detection is detecting that I have Ubuntu (which I do) but I am running on an OpenVZ host.

Copying and pasting the lines after the else in that if branch you linked got everything working.

HenryNe added a commit to HenryNe/openvpn-install that referenced this issue Mar 27, 2020
On Debian 9 the copy of unit file `/etc/systemd/system/openvpn@.service` has no effect, see angristan#583.
Same problem as angristan#129 and angristan#378, unit can not start on OpenVZ. 

There must execute `systemctl enable` before `systemctl restart`.
So the new link to `/etc/systemd/system/openvpn@.service` was created before `systemctl restart`.
angristan pushed a commit that referenced this issue Mar 28, 2020
On Debian 9 the copy of unit file `/etc/systemd/system/openvpn@.service` has no effect, see #583.
Same problem as #129 and #378, unit can not start on OpenVZ. 

It must execute `systemctl enable` before `systemctl restart`.
So the new link to `/etc/systemd/system/openvpn@.service` was created before `systemctl restart`.
angristan pushed a commit that referenced this issue Mar 28, 2020
On Debian 9 the copy of unit file `/etc/systemd/system/openvpn@.service` has no effect, see #583.
Same problem as #129 and #378, unit can not start on OpenVZ.

It must execute `systemctl enable` before `systemctl restart`.
So the new link to `/etc/systemd/system/openvpn@.service` was created before `systemctl restart`.

Fix #583
timbo2k pushed a commit to timbo2k/openvpn-install that referenced this issue Dec 25, 2021
On Debian 9 the copy of unit file `/etc/systemd/system/openvpn@.service` has no effect, see angristan#583.
Same problem as angristan#129 and angristan#378, unit can not start on OpenVZ.

It must execute `systemctl enable` before `systemctl restart`.
So the new link to `/etc/systemd/system/openvpn@.service` was created before `systemctl restart`.

Fix angristan#583
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants