0 votes
Good afternoon.

I installed the IPsec VPN for Business module and in the configuration I got the following message:

Ooooops: exception 'clearos\apps\base\Engine_Exception' with message '000 using kernel interface: netkey' in /usr/clearos/apps/base/libraries/Shell.php:227 Stack trace: #0 /usr/clearos/apps/static_vpn/libraries/Openswan.php(582): clearos\apps\base\Shell->execute('/usr/sbin/ipsec', 'auto --status', true, Array) #1 /usr/clearos/apps/static_vpn/controllers/report.php(73): clearos\apps\static_vpn\Openswan->get_tunnel_status() #2 /usr/clearos/framework/application/libraries/Page.php(641): Report->index() #3 /usr/clearos/framework/application/libraries/Page.php(504): Page->view_controllers(Array, 'Static IPsec VP...') #4 /usr/clearos/apps/static_vpn/controllers/static_vpn.php(76): Page->view_forms(Array, 'Static IPsec VP...') #5 [internal function]: Static_Vpn->index() #6 /usr/clearos/framework/system/core/CodeIgniter.php(535): call_user_func_array(Array, Array) #7 /usr/clearos/framework/htdocs/app/index.php(224): require_once('/usr/clearos/fr...') #8 {main}

I am very grateful if any of you can help me by indicating how I can correct this or what happened.
In ibVPN
Monday, April 09 2018, 09:03 PM
Share this post:

Accepted Answer

Monday, April 09 2018, 09:40 PM - #Permalink
1 votes
Unfortunately the app is a bit sensitive to mis-configurations and to changing configurations. The easiest thing is to delete the conf and secrets files for the conn in /etc/ipsec.d/ and start again.

Before you do that, have a look in the .conf file and if there are any blank lines, remove them. Also there should be only one line starting "conn" at the top. Delete any others. Then try restarting ipsec with a:
systemctl restart ipsec.service
If it starts, the webconfig should be OK, fingers crossed.
The reply is currently minimized Show
Responses (1)
  • Accepted Answer

    Wednesday, April 11 2018, 04:11 PM - #Permalink
    0 votes

    Thank you so much for your collaboration. I see the module IPsec again.

    I'll try to configure it again.
    The reply is currently minimized Show
Your Reply