Shrew Soft VPN fail to attach key daemon

You can always check it if it's running by using the following command:

pgrep iked

if you get a result, it means the process is running

if not run the below command:

sudo /usr/sbin/iked

it starts service


I had the same problem. I found out that iked service was not running. I solved it by opening a terminal emulator and issued the command:

sudo /var/tmp/ike/script/linux/iked start

I later found out that the Shrew installation on Ubuntu does not add this script to start up at all (shame on the guys and girls from Shrew ;-)). To do this yourself do the following:

  1. In a terminal issue the command:

    sudo nano /etc/rc.local
    
  2. Type your root password and add the following line just before the last line (which normally says exit 0)

    /var/tmp/ike/script/linux/iked start
    
  3. Save and close it.

Next time you restart your computer the service will be active and the error should never bother you again.