Openvpn not start on 6.6

Hi everyone, I just installed nethserver and service vpn, openvpn but do not start even if terminal “service openvpn start” failed to tell me what may depend?
Thank you
P.S. This is an on-line translation

You’ll need to provide some logs from openvpn in order for anyone to assist why the service isn’t starting. OpenVPN logs are typcially found in /var/log directory and may be in their own log directory within that path called openvpn. You do need to be root to access that directory.

1 Like

what shows the openvpn.log?

no logs related to openvpn

Check /var/log/openvpn.log

[root@vpnserver log]# ls
anaconda.ifcfg.log btmp ipsec.log secure
anaconda.log ConsoleKit lastlog shorewall-init.log
anaconda.program.log cron maillog slapd
anaconda.storage.log dmesg messages smwingsd
anaconda.syslog dmesg.old nethserver-install.log spooler
anaconda.xlog dracut.log ntpstats tallylog
anaconda.yum.log firewall.log openvpn wtmp
audit httpd ppp yum.log
boot.log httpd-admin samba

Openvpn there is only one directory no log files

complete contents of the directory /var /log

[root@vpnserver log]# ls -l
totale 2164
-rw-------. 1 root root 2368 15 ott 12:44 anaconda.ifcfg.log
-rw-------. 1 root root 76727 15 ott 12:44 anaconda.log
-rw-------. 1 root root 109621 15 ott 12:44 anaconda.program.log
-rw-------. 1 root root 243694 15 ott 12:44 anaconda.storage.log
-rw-------. 1 root root 78650 15 ott 12:44 anaconda.syslog
-rw-------. 1 root root 41180 15 ott 12:44 anaconda.xlog
-rw-------. 1 root root 2600 15 ott 12:44 anaconda.yum.log
drwxr-x—. 2 root root 4096 15 ott 12:46 audit
-rw-r–r--. 1 root root 1681 15 ott 12:49 boot.log
-rw-------. 1 root utmp 384 15 ott 13:06 btmp
drwxr-xr-x. 2 root root 4096 10 nov 2010 ConsoleKit
-rw-------. 1 root root 5061 15 ott 18:01 cron
-rw-r–r--. 1 root root 46116 15 ott 12:49 dmesg
-rw-r–r--. 1 root root 46116 15 ott 12:46 dmesg.old
-rw-r–r--. 1 root root 359679 15 ott 13:09 dracut.log
-rw-------. 1 root root 8974 15 ott 13:59 firewall.log
drwx------. 2 root root 4096 15 ott 13:04 httpd
drwx------. 2 root root 4096 15 ott 12:58 httpd-admin
-rw-------. 1 root root 29705 15 ott 14:43 ipsec.log
-rw-r–r--. 1 root root 146000 15 ott 14:42 lastlog
-rw-------. 1 root root 916 15 ott 13:08 maillog
-rw-------. 1 root root 453290 15 ott 18:14 messages
-rw-r–r--. 1 root root 82244 15 ott 12:58 nethserver-install.log
drwxr-xr-x. 2 ntp ntp 4096 16 mar 2015 ntpstats
drwxr-xr-x. 2 root root 4096 27 ago 18:01 openvpn
drwx------. 2 root root 4096 23 ago 2010 ppp
drwx------. 4 root root 4096 15 ott 14:13 samba
-rw-------. 1 root root 39946 15 ott 14:43 secure
-rw-------. 1 root root 422404 15 ott 14:43 shorewall-init.log
-rw-------. 1 root root 0 15 ott 12:58 slapd
-rw-------. 1 root root 0 15 ott 12:58 smwingsd
-rw-------. 1 root root 0 15 ott 12:42 spooler
-rw-------. 1 root root 0 15 ott 12:42 tallylog
-rw-rw-r–. 1 root utmp 12672 15 ott 14:42 wtmp
-rw-------. 1 root root 15400 15 ott 14:40 yum.log

This is what succedo with the command “service openvpn restart”

[root@vpnserver log]# service openvpn restart
Arresto di openvpn: [ OK ]
Avvio di openvpn: [FALLITO]

Dear @Vinny74
Show please

less /var/log/openvpn/openvpn.log

Did you set it up through the gui? i´ve setup it and tried to started and
log was shown at /var/log/openvpn/openvpn.log

If openvpn is not configured, the service will fail to start.
Please setup the roadwarrior configuration and the server will start.

2 posts were split to a new topic: Openvpn and AD users