Someone on my team deleted the openvpn.log files while the vpn server is still running.

Now for some reason no new log file is being created by openvpn and therefor, we have no more logs.

Is there anyway to force openvpn to resume logging to the file without needing to restart it?

  • What happens if you ceate a new file (touch openvpn.log)? – Esa Jokinen Jul 5 '18 at 7:45
  • Nothing, File stays empty (It has write permissions for everyone) – ThomasVdBerge Jul 5 '18 at 8:13
  • Try to send it a SIGHUP, it should reread config, and reopen log files. – Don Simon Mar 29 at 21:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.