Report this

What is the reason for this report?

Keepalived for Ubuntu 16

Posted on August 8, 2016

Hello Everyone,

I was wondering if anyone might be able to help me out with setting up Keepalived on Ubuntu 16. I went ahead and followed the tutorial here on Digital Ocean but when I run sudo start keepalived I get an error saying that start isnt a recognized command.

I am having a hard time finding other resources but I suspect that I either need to use different command to start keepalived, or I need to modify the tutorial in some way.

Any help or advice would greatly be appreciated!



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

YES @ArtirigoOcean! Brilliant!

Ah, Ubuntu 16.04 uses systemd instead of upstart, so “start” isn’t a thing anymore. Instead, you can use:

sudo service keepalived start

or

sudo systemctl start keepalived.service

both will do the same. :)

Oh great that worked!

I am still having some issues with keepalived working but that is because my setup is a bit more involved than the one in the tutorial. I’ll figure it out eventually.

Thanks so much for your help

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.