Runuser: not found

Hi all,

I’m having a little trouble with a fresh install on debian 11

STARTING ASTERISK
Asterisk Started
root@PC:/usr/local/src/freepbx# ./install -n
Assuming you are Database Root
Checking if SELinux is enabled...Its not (good)!
Reading /etc/asterisk/asterisk.conf...Done
Checking if Asterisk is running and we can talk to it as the 'asterisk' user...sh: 1: runuser: not found
Error!
Error communicating with Asterisk.  Ensure that Asterisk is properly installed and running as the asterisk user
Asterisk appears to be running as asterisk
Try starting Asterisk with the './start_asterisk start' command in this directory

root@PC:/usr/local/src/freepbx# ps aux|grep asterisk
asterisk 1372818  0.0  0.3 228484 15076 ?        S    11:02   0:00 /usr/sbin/apache2 -k start
asterisk 1372819  0.0  0.3 228484 15076 ?        S    11:02   0:00 /usr/sbin/apache2 -k start
asterisk 1372820  0.0  0.3 228484 15076 ?        S    11:02   0:00 /usr/sbin/apache2 -k start
asterisk 1372821  0.0  0.3 228484 15076 ?        S    11:02   0:00 /usr/sbin/apache2 -k start
asterisk 1372822  0.0  0.3 228484 15076 ?        S    11:02   0:00 /usr/sbin/apache2 -k start
root     1375632  0.0  0.0   2428   112 pts/0    S    11:36   0:00 /bin/sh /usr/sbin/safe_asterisk -U asterisk -G asterisk
asterisk 1375635  0.0  0.9 1529840 37920 pts/0   Sl   11:36   0:00 /usr/sbin/asterisk -f -U asterisk -G asterisk -vvvg -c
root     1379389  0.0  0.0   6180   664 pts/0    S+   12:28   0:00 grep asterisk

any help would be great :slight_smile:

The message is relating to the runuser Linux command not existing on your system, not to a permissions problem with Asterisk. NB this is not Runuser.

Why do you need to run on Debian 11, rather than installing the FreePBX distro on a bare machine, which is the recommended method for non-experts.

See Freepbx16 on debian11 user...sh: 1: runuser: not found for more.

apt install util-linux

it’s surprising that your system would not already have these tools.

I will add it to the wiki.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.