Celeb Glow
news | April 01, 2026

Shrew Soft VPN fail to attach key daemon

I'm trying to use Shrew Soft to connect to my school VPN. But as you can see here, it says

failed to connect to key daemon

I searched for the solution and people who use Shrew Soft Trace Utility and easily solved this on Windows OS as seen here.

Yet, I don't know how to solve this on Ubuntu 14.04.

Also, is there a substitute application for Shrew Soft VPN for Ubuntu? Thanks!

1

4 Answers

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.

On Ubuntu 20.04, enable iked on startup by creating a systemd unit file:

sudo nano /etc/systemd/system/shrewvpn.service

with the contents:

[Unit]
After = network-online.target
Wants = network-online.target
[Service]
Type = oneshot
RemainAfterExit = yes
ExecStart = /usr/sbin/iked
[Install]
WantedBy = multi-user.target

Enable your service on startup by issuing:

systemctl enable shrewvpn

and start it in the current session using:

systemctl start shrewvpn

Look in services.msc, I'm assuming that one of the Shrewsoft services isn't running. Should have two or 2 of them(shrewsoft IKE Daemon, Shrewsoft IPSEC Daemon, and Shrewsoft DNS Daemon). You may not have the last one.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy