{"action":"created","issue":{"url":"https://api.github.com/repos/pivpn/pivpn/issues/418","repository_url":"https://api.github.com/repos/pivpn/pivpn","labels_url":"https://api.github.com/repos/pivpn/pivpn/issues/418/labels{/name}","comments_url":"https://api.github.com/repos/pivpn/pivpn/issues/418/comments","events_url":"https://api.github.com/repos/pivpn/pivpn/issues/418/events","html_url":"https://github.com/pivpn/pivpn/issues/418","id":276589770,"number":418,"title":"The server openvpn@server.service do not start","user":{"login":"homerybart","id":33956215,"avatar_url":"https://avatars3.githubusercontent.com/u/33956215?v=4","gravatar_id":"","url":"https://api.github.com/users/homerybart","html_url":"https://github.com/homerybart","followers_url":"https://api.github.com/users/homerybart/followers","following_url":"https://api.github.com/users/homerybart/following{/other_user}","gists_url":"https://api.github.com/users/homerybart/gists{/gist_id}","starred_url":"https://api.github.com/users/homerybart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/homerybart/subscriptions","organizations_url":"https://api.github.com/users/homerybart/orgs","repos_url":"https://api.github.com/users/homerybart/repos","events_url":"https://api.github.com/users/homerybart/events{/privacy}","received_events_url":"https://api.github.com/users/homerybart/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-24T11:27:07Z","updated_at":"2017-11-25T10:00:10Z","closed_at":"2017-11-25T10:00:10Z","author_association":"NONE","body":"Hello everyone\r\n\r\nI installed openVPN in my raspberry pi but when I try to boot the server gives the following error:\r\n  \r\n● openvpn@server.service - OpenVPN connection to server\r\n   Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)\r\n   Active: failed (Result: exit-code) since Fri 2017-11-24 11:59:26 CET; 6min ago\r\n     Docs: man:openvpn(8)\r\n           https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage\r\n           https://community.openvpn.net/openvpn/wiki/HOWTO\r\n  Process: 32286 ExecStart=/usr/sbin/openvpn --daemon ovpn-server --status /run/openvpn/server.status 10 --cd /etc/openvpn --config /etc/openvpn/server.conf --writepid /run/openvpn/server.pid (code=exited, status=226/NAMESPACE)\r\n\r\nNov 24 11:59:26 Pi systemd[32286]: openvpn@server.service: Failed at step NAMESPACE spawning /usr/sbin/openvpn: Bad file descriptor\r\nNov 24 11:59:26 Pi systemd[1]: openvpn@server.service: Control process exited, code=exited status=226\r\nNov 24 11:59:26 Pi systemd[1]: Failed to start OpenVPN connection to server.\r\nNov 24 11:59:26 Pi systemd[1]: openvpn@server.service: Unit entered failed state.\r\nNov 24 11:59:26 Pi systemd[1]: openvpn@server.service: Failed with result 'exit-code'.\r\n\r\n\r\nMy piVPN debug is:\r\n\r\n::: Generating Debug Output\r\n:::\t\t\t\t\t:::\r\n::\t\tPiVPN Debug\t\t ::\r\n:::\t\t\t\t\t:::\r\n::\tLatest Commit\t\t\t ::\r\n:::\t\t\t\t\t:::\r\ncommit 7ed7e4652ebe322e51e85a0582907e83eea0d103\r\nAuthor: Carlos Colaço <cfcolaco@gmail.com>\r\nDate:   Fri Oct 20 17:00:23 2017 +0200\r\n\r\n    Added info regarding Raspbian Stretch\r\n    \r\n    added info about support for raspbian Strech, and changed the preference from Jessie to Stretch.\r\n    \r\n    Edited and merged directly since it is a minor edit.\r\n:::\t\t\t\t\t:::\r\n::\tRecursive list of files in\t ::\r\n::\t/etc/openvpn/easy-rsa/pki\t ::\r\n:::\t\t\t\t\t:::\r\n/etc/openvpn/easy-rsa/pki/:\r\nAlbert.ovpn\r\nDefault.txt\r\nMichael_norula.ovpn\r\nMichael_norulaOk.ovpn\r\nMichael_norula_norula.ovpn\r\nJose.ovpn\r\nca.crt\r\ncrl.pem\r\ndh4096.pem\r\nindex.txt\r\nindex.txt.attr\r\nindex.txt.attr.old\r\nindex.txt.old\r\nissued\r\nprivate\r\nserial\r\nserial.old\r\nta.key\r\n\r\n/etc/openvpn/easy-rsa/pki/issued:\r\nAlbert.crt\r\nMichael_norulaOk.crt\r\nJose.crt\r\nserver_ntQsz4gFFmzJKgoq.crt\r\n\r\n/etc/openvpn/easy-rsa/pki/private:\r\nAlbert.key\r\nMichael_norulaOk.key\r\nJose.key\r\nca.key\r\nserver_ntQsz4gFFmzJKgoq.key\r\n:::\t\t\t\t\t:::\r\n::\tOutput of /etc/pivpn/*\t\t ::\r\n:::\t\t\t\t\t:::\r\n:: START /etc/pivpn/DET_PLATFORM ::\r\nRaspbian\r\n:: END /etc/pivpn/DET_PLATFORM ::\r\n:: START /etc/pivpn/INSTALL_PORT ::\r\n31194\r\n:: END /etc/pivpn/INSTALL_PORT ::\r\n:: START /etc/pivpn/INSTALL_PROTO ::\r\nudp\r\n:: END /etc/pivpn/INSTALL_PROTO ::\r\n:: START /etc/pivpn/INSTALL_USER ::\r\npi\r\n:: END /etc/pivpn/INSTALL_USER ::\r\n:: START /etc/pivpn/NO_UFW ::\r\n1\r\n:: END /etc/pivpn/NO_UFW ::\r\n:: START /etc/pivpn/pivpnINTERFACE ::\r\neth0\r\n:: END /etc/pivpn/pivpnINTERFACE ::\r\n:::\t\t\t\t\t:::\r\n:: /etc/openvpn/easy-rsa/pki/Default.txt ::\r\n:::\t\t\t\t\t:::\r\nclient\r\ndev tun\r\nproto udp\r\nremote xxxxxxx.xxxxx.org 1194\r\nresolv-retry infinite\r\nnobind\r\npersist-key\r\npersist-tun\r\nkey-direction 1\r\nremote-cert-tls server\r\ntls-version-min 1.2\r\nverify-x509-name server_ntQsz4gFFmzJKgoq name\r\ncipher AES-256-CBC\r\nauth SHA256\r\ncomp-lzo\r\nverb 1\r\n:::\t\t\t\t\t:::\r\n::\tDebug Output Complete\t\t ::\r\n:::\t\t\t\t\t:::\r\n::: \r\n::: Debug output completed above.\r\n::: Copy saved to /tmp/debug.txt\r\n::: \r\n\r\nThe version of kernel is:\r\n\r\n3.4.112-sun7i\r\n\r\n\r\nThe server.conf is:\r\n\r\ndev tun\r\nproto udp\r\nport 1194\r\nca /etc/openvpn/easy-rsa/pki/ca.crt\r\ncert /etc/openvpn/easy-rsa/pki/issued/server_ntQsz4gFFmzJKgoq.crt\r\nkey /etc/openvpn/easy-rsa/pki/private/server_ntQsz4gFFmzJKgoq.key\r\ndh /etc/openvpn/easy-rsa/pki/dh4096.pem\r\ntopology subnet\r\nserver 10.8.0.0 255.255.255.0\r\n# server and remote endpoints\r\nifconfig 10.8.0.1 10.8.0.2\r\n# Add route to Client routing table for the OpenVPN Server\r\npush \"route 10.8.0.1 255.255.255.255\"\r\n# Add route to Client routing table for the OPenVPN Subnet\r\npush \"route 10.8.0.0 255.255.255.0\"\r\n# your local subnet\r\npush \"route 192.168.1.0 255.255.255.0\"\r\n# Set your primary domain name server address for clients\r\npush \"dhcp-option DNS 8.8.8.8\"\r\npush \"dhcp-option DNS 8.8.4.4\"\r\n# Override the Client default gateway by using 0.0.0.0/1 and\r\n# 128.0.0.0/1 rather than 0.0.0.0/0. This has the benefit of\r\n# overriding but not wiping out the original default gateway.\r\npush \"redirect-gateway def1\"\r\nclient-to-client\r\nkeepalive 10 120\r\nremote-cert-tls client\r\ntls-version-min 1.2\r\ntls-auth /etc/openvpn/easy-rsa/pki/ta.key 0\r\ncipher AES-256-CBC\r\nauth SHA256\r\ncomp-lzo\r\nuser nobody\r\ngroup nogroup\r\npersist-key\r\npersist-tun\r\ncrl-verify /etc/openvpn/crl.pem\r\nstatus /var/log/openvpn-status.log 20\r\nstatus-version 3\r\nlog /var/log/openvpn.log\r\nverb 1\r\n# Generated for use by PiVPN.io\r\n\r\nThanks in advance for yours help\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/pivpn/pivpn/issues/comments/346930808","html_url":"https://github.com/pivpn/pivpn/issues/418#issuecomment-346930808","issue_url":"https://api.github.com/repos/pivpn/pivpn/issues/418","id":346930808,"user":{"login":"homerybart","id":33956215,"avatar_url":"https://avatars3.githubusercontent.com/u/33956215?v=4","gravatar_id":"","url":"https://api.github.com/users/homerybart","html_url":"https://github.com/homerybart","followers_url":"https://api.github.com/users/homerybart/followers","following_url":"https://api.github.com/users/homerybart/following{/other_user}","gists_url":"https://api.github.com/users/homerybart/gists{/gist_id}","starred_url":"https://api.github.com/users/homerybart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/homerybart/subscriptions","organizations_url":"https://api.github.com/users/homerybart/orgs","repos_url":"https://api.github.com/users/homerybart/repos","events_url":"https://api.github.com/users/homerybart/events{/privacy}","received_events_url":"https://api.github.com/users/homerybart/received_events","type":"User","site_admin":false},"created_at":"2017-11-25T10:00:10Z","updated_at":"2017-11-25T10:00:10Z","author_association":"NONE","body":"Hello\r\n\r\n   My OS is Raspbian Stretch 9"}}
{"actor":{"display_login":"homerybart"}}