cyberorg / openvpn-web-gui

Fork from https://www.gitorious.org/openvpn-web-gui to get it working on openSUSE
11 stars 5 forks source link

The OpenVPN server has no status file #1

Closed No1zzz closed 9 years ago

No1zzz commented 9 years ago

$config['openvpn']['status'] = '/var/log/openvpn/openvpn-status.log'; ls /var/log/openvpn/openvpn-status.log /var/log/openvpn/openvpn-status.log Where should be status file?

cyberorg commented 9 years ago

Check your openvpn config grep status /etc/openvpn/*

No1zzz commented 9 years ago

grep status /etc/openvpn/* /etc/openvpn/server.conf:status /var/log/openvpn/openvpn-status.log

No1zzz commented 9 years ago

Is it not supporting?

cyberorg commented 9 years ago

I am not sure of your issue. If you do not have /var/log/openvpn/openvpn-status.log then you have to check your openvpn configuration /et/openvpn/server.conf, it should have these 2 lines.

status /var/log/openvpn/openvpn-status.log status-version 2

If you still do not get the log file, you'd have to check with openvpn/your distro forum, IRC etc.

No1zzz commented 9 years ago

I have this file,but does not have status-version 2 With this line work fine! TY.