LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   openvpn error during starting the service (https://www.linuxquestions.org/questions/linux-server-73/openvpn-error-during-starting-the-service-893078/)

saravanakumar 07-21-2011 11:58 PM

openvpn error during starting the service
 
WHEN I START /openvpn /etc/openvpn/server.conf
im getting the following error i had installed the configuration by following link http://www.webhostingtalk.com/showthread.php?t=1024872
i had pasted i error log below


/openvpn /etc/openvpn/server.conf

Tue Oct 3 03:10:52 2006 OpenVPN 2.2.0 i686-redhat-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] built on Jun 6 2011
Tue Oct 3 03:10:52 2006 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Tue Oct 3 03:10:52 2006 PLUGIN_INIT: POST /usr/share/openvpn/plugin/lib/openvpn-auth-pam.so '[/usr/share/openvpn/plugin/lib/openvpn-auth-pam.so] [/etc/pam.d/login]' intercepted=PLUGIN_AUTH_USER_PASS_VERIFY
Tue Oct 3 03:10:52 2006 Diffie-Hellman initialized with 1024 bit key
Tue Oct 3 03:10:52 2006 WARNING: POTENTIALLY DANGEROUS OPTION --client-cert-not-required may accept clients which do not present a certificate
Tue Oct 3 03:10:52 2006 TLS-Auth MTU parms [ L:1574 D:138 EF:38 EB:0 ET:0 EL:0 ]
Tue Oct 3 03:10:52 2006 Socket Buffers: R=[110592->131072] S=[110592->131072]
Tue Oct 3 03:10:52 2006 TCP/UDP: Socket bind failed on local address 10.200.1.39:1234: Cannot assign requested address
Tue Oct 3 03:10:52 2006 Exiting

TB0ne 07-22-2011 10:06 AM

Quote:

Originally Posted by saravanakumar (Post 4421985)
WHEN I START /openvpn /etc/openvpn/server.conf
im getting the following error i had installed the configuration by following link http://www.webhostingtalk.com/showthread.php?t=1024872
i had pasted i error log below

/openvpn /etc/openvpn/server.conf

Tue Oct 3 03:10:52 2006 OpenVPN 2.2.0 i686-redhat-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] built on Jun 6 2011
Tue Oct 3 03:10:52 2006 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Tue Oct 3 03:10:52 2006 PLUGIN_INIT: POST /usr/share/openvpn/plugin/lib/openvpn-auth-pam.so '[/usr/share/openvpn/plugin/lib/openvpn-auth-pam.so] [/etc/pam.d/login]' intercepted=PLUGIN_AUTH_USER_PASS_VERIFY
Tue Oct 3 03:10:52 2006 Diffie-Hellman initialized with 1024 bit key
Tue Oct 3 03:10:52 2006 WARNING: POTENTIALLY DANGEROUS OPTION --client-cert-not-required may accept clients which do not present a certificate
Tue Oct 3 03:10:52 2006 TLS-Auth MTU parms [ L:1574 D:138 EF:38 EB:0 ET:0 EL:0 ]
Tue Oct 3 03:10:52 2006 Socket Buffers: R=[110592->131072] S=[110592->131072]
Tue Oct 3 03:10:52 2006 TCP/UDP: Socket bind failed on local address 10.200.1.39:1234: Cannot assign requested address
Tue Oct 3 03:10:52 2006 Exiting

Have you tried to look up this error, or try to read/understand it?

First hit in Google:
http://forums.openvpn.net/topic7976.html

The error is VERY clear...you can't run something on that port, because something ELSE is already using it. Either you've got openVPN running on that port, and you need to stop the running instance, or another service is using that port. So, pick another. Also, are you trying to start this as root, because it will fail if you don't.


All times are GMT -5. The time now is 10:12 PM.