• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

VPN Services Do No Start After Reboot

V

vision

Guest
I've started using the VPN services (on a Fedora box), however the service is not starting automatically after I reboot.

When I look at the module, I have the switch to disable the module. After I reboot, it shows the service is enabled (button shows disable) but it does not work.

I have to disable, then enable and the VPN will start working.

Anyone know where to look to fix this problem?
 
I had same problem and after digging about it I have found the problem is that the psa-vpn init script doesn't create the file /var/lock/subsys/psa-vpn, this causes it to never run the script with stop param at runlevel 6 (reboot) as it should do, and therefore the pid file is never removed, which causes it to refuse to start at next reboot... to fix the problem, edit the file /etc/init.d/psa-vpn

search for:
Code:
    if $PRODUCT_ROOT_D/admin/sbin/modules/$MODULE/openvpn --config "$conf"; then
      echo "$SERVICE_NAME: OpenVPN has been started"
after this add:
Code:
      touch /var/lock/subsys/psa-vpn

search for:
Code:
    if [ -f "$pid" ]; then
      kill `cat "$pid"`
      rm -f "$pid"
after this add:
Code:
      rm -f /var/lock/subsys/psa-vpn

Then start/stop the service and it will now work correcty after reboot.
 
Back
Top