istgtcontrol command not found

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

Introduction

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

istgtcontrol: command not found

or when using sudo you get the following error message

sudo: istgtcontrol: command not found

Solutions to istgtcontrol: command not found

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

In Ubuntu istgtcontrol is provided by istgt package.

istgt is:

istgt is a iSCSI target for Unix-like operating systems (including those with Linux and kFreeBSD kernels) running as daemon process in user space.

It supports:

  • Multipath I/O
  • 64bit LBA for volumes over 2 TiB size
  • Header/Data digest by CRC32C
  • Mutual authentication with CHAP
  • Multiple LUNs and ACLs for portals
  • IPv6/IPv4 support

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

sudo apt-get -y install istgt

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

You can also use apt command to install istgt.

sudo apt -y install istgt

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

sudo aptitude install istgt

Summary

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