syncobj_admin command not found

In this troubleshooting guide we learn how to fix syncobj_admin command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

syncobj_admin: command not found

or when using sudo you get the following error message

sudo: syncobj_admin: command not found

Solutions to syncobj_admin: command not found

How To Fix syncobj_admin: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu syncobj_admin is provided by python3-pysyncobj package.

python3-pysyncobj is:

PySyncObj is a python library for building fault-tolerant distributed systems. It provides the ability to replicate your application data between multiple servers. It has following features:

  • raft protocol for leader election and log replication
  • Log compaction - it use fork for copy-on-write while serializing data on disk
  • Dynamic membership changes - you can do it with syncobj_admin utility or directly from your code
  • Zero downtime deploy - no need to stop cluster to update nodes
  • In-memory and on-disk serialization - you can use in-memory mode for small data and on-disk for big one
  • Encryption - you can set password and use it in external network
  • Configurable event loop - it can works in separate thread with it’s own event loop - or you can call onTick function inside your own one
  • Convenient interface - one can easily transform arbitrary class into a replicated one

To fix this problem, we can install more using the command below.

sudo apt-get -y install python3-pysyncobj

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install python3-pysyncobj.

sudo apt -y install python3-pysyncobj

Or if you have aptitude installed you can use the following command.

sudo aptitude install python3-pysyncobj

Summary

In this tutorial we learn how to fix syncobj_admin command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.