sqlbox command not found

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

Introduction

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

sqlbox: command not found

or when using sudo you get the following error message

sudo: sqlbox: command not found

Solutions to sqlbox: command not found

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

In Ubuntu sqlbox is provided by kannel-sqlbox package.

kannel-sqlbox is:

Kannel is a gateway for connecting WAP (Wireless Application Protocol) phones to the Internet. It also works as an SMS/SMPP gateway, for providing SMS based services for GSM phones.

Sqlbox is a special Kannel box that sits between bearerbox and smsbox and uses a database queue to store and forward messages.

Messages are queued on a configurable table (defaults to send_sms) and moved to another table (defaults to sent_sms) afterwards.

You can also manually insert messages into the send_sms table and they will be sent and moved to the sent_sms table as well. This allows for fast and easy injection of large amounts of messages into Kannel.

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

sudo apt-get -y install kannel-sqlbox

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

You can also use apt command to install kannel-sqlbox.

sudo apt -y install kannel-sqlbox

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

sudo aptitude install kannel-sqlbox

Summary

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