Bash : fwconsole : command not found

I have installed FreePBX 17 on debian 12, but when i try to access fwconsole it says

bash : fwconsole : command not found

Try sudo fwconsole or

# su root
your_password.
# fwconsole

I think you don’t have the privilege to run fwconsole.

I have tried that but no luck

run: whereis fwconsole

If fwconsole is not found, then your install is compromized.
Try to run the script again and check if there is not problem during install. (Errors…Etc).
Just an idea like that.

i tried the command whereis fwconsole
the following output comes out fwconsole : /usr/sbin/fwconsole

If you have the good privilege to run fwconsole, there is no problem to execute it.
With the user root, you should have the privilege to run fwconsole.
If your type fwc and next press TAB button, it should display fwconsole. That means you’ve got the privilege.
If you don’t have the suite of fwconsole after pressing TAB, then you don’t have the privilege with the curent user.

root@FPBX17:~# whereis fwconsole
fwconsole: /usr/sbin/fwconsole
root@FPBX17:~# ls -al /usr/sbin/fwconsole
lrwxrwxrwx 1 root root 31 Apr 27  2024 /usr/sbin/fwconsole -> /var/lib/asterisk/bin/fwconsole
root@FPBX17:~#
root@FPBX17:~# ls -al /var/lib/asterisk/bin/fwconsole
-rwxrwxr-x 1 asterisk asterisk 5970 Oct 14 06:48 /var/lib/asterisk/bin/fwconsole

Redo the install if it doesn’t work.
Maybe your install is messe up.

i am able to execute it, but fwconsole still not working

whoami
echo $PATH

Can this be linked to symlink or something another related command

Hi @Samarvir99 Please ensure your path ($PATH) is set properly.

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

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