OpenVPN-AS issues
I'm having issues installing Openvpn-as on my VPN
I have enabled tun/tap.
When trying to install openvpn-as I get a error.
Setting up openvpn-as (2.0.5-Ubuntu13) ...
Automatic configuration failed, see /usr/local/openvpn_as/init.log
You can configure manually using the /usr/local/openvpn_as/bin/ovpn-init tool.
Tried running /usr/local/openvpn_as/bin/ovpn-init same issue.
This is from the init.log
Traceback (most recent call last): File "/usr/local/openvpn_as/bin/_ovpn-init", line 25, in <module> from pyovpn.util.cloudsigma import cs_get_user_dict File "build/bdist.linux-x86_64/egg/pyovpn/util/cloudsigma.py", line 6, in <mo$ File "/usr/local/openvpn_as/lib/python2.7/site-packages/serial/serialutil.py"$ self.open() File "/usr/local/openvpn_as/lib/python2.7/site-packages/serial/serialposix.py$ self.fd = os.open(self.portstr, os.O_RDWR|os.O_NOCTTY|os.O_NONBLOCK) OSError: [Errno 2] No such file or directory: '/dev/ttyS1'
OS
Ubuntu 13.04 64bit
latest openvpn-as for ubuntu 13.04 64bit
cat /dev/net/tun cat: /dev/net/tun: File descriptor in bad state
I have a valid openvpn-as licence.
I contacted host who couldnt see any issues.
I contacted openvpn who told me to get a new host (lol)
Thanks for any advice.
Best regards
Novalite
Comments
Are you on an OpenVZ system?
yes sir. OpenVZ
Iniz
I had the same issue today
cough tun/tap enable cough
When I had this issue tun/tap was already enabled
tun/tap is enabled, and Iniz verified it.
Run
Should see
It's enabled.
If you read the OP post you will already see I did this. Its enabled.
cat /dev/net/tun
cat: /dev/net/tun: File descriptor in bad state
We have enabled the required modules / permissions as stated here:
https://openvpn.net/index.php/access-server/docs/admin-guides/186-how-to-run-access-server-on-a-vps-container.html
I'm unaware of why the error is occurring, please try the manual method.
Enable Tun/Tap in solusvm panel , if still doesn't work, let your provider run command per instruction from the link below
http://wiki.openvz.org/VPN_via_the_TUN/TAP_device
http://openvpn.net/index.php/access-server/docs/admin-guides/186-how-to-run-access-server-on-a-vps-container.html
This has been done.
Whoops my bad.
How are you installing AS? I had no issue on my OVZ server using the packages from the OpenVPN website.
https://openvpn.net/index.php/access-server/download-openvpn-as-sw.html
Ubuntu 13 32bit
Ubuntu 13 64bit
Remember to remove the current version you have, with apt-get purge openvpn*
Please provide the output of
uname -a
?uname -a "Linux vpn 2.6.32-042stab084.17 #1 SMP Fri Dec 27 17:10:20 MSK 2013 x86_64 x86_64 x86_64 GNU/Linux" cat /proc/version "Linux version 2.6.32-042stab084.17 (root@rh6-build-x64) (gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) ) #1 SMP Fri Dec 27 17:10:20 MSK 2013"
This is the way I am trying to install it
Does anyone know how/where I can find documentation on manually installing Openvpn-as?
This was resolved by using version 2.0.3, I was unable to get 2.0.5 work on several OVZ VMs