Fresh Asterisk 14 install on Debian Stretch - /var/lib/asterisk/bin not installed

Fresh install of asterisk 14 and freepbx 14 succeeds without errors but it does not install binaries.

Actually the directory ‘/var/lib/asterisk/bin’ is not installed at all. After installing and reinstalling many times from source and wasting a week it remains an issue. I’ve read some place that there may be a bug that ignores or silently hides an error during installation.

Asterisk does start and run. I can also access it this way ‘asterisk -rvvv’.

Could this be a freepbx issue? perhaps, but I’m under the impression that fwconsole and other binaries are installed by the asterisk installation. If nothing else, confirm for me that this is a freepbx issue, but I think not.

System Info -
Debian: 9.1 Stretch (x86_64)
php: 7.1.8
mysql: 14.14 dist 5.7.19
apache2: Server version: Apache/2.4.25 (Debian), Server built: 2017-07-18T18:37:33

directory structure after successful install: /var/lib/asterisk# l
total 48
drwxr-xr-x 2 root root 4096 Aug 17 16:58 agi-bin
drwxr-xr-x 3 root root 4096 Aug 17 16:58 documentation
drwxr-xr-x 3 root root 4096 Aug 17 16:58 firmware
drwxr-xr-x 2 root root 4096 Aug 17 16:58 images
drwxr-xr-x 2 root root 4096 Aug 17 16:58 keys
drwxr-xr-x 2 root root 4096 Aug 17 16:58 moh
drwxr-xr-x 2 root root 4096 Aug 17 17:01 phoneprov
drwxr-xr-x 2 root root 4096 Aug 17 16:58 rest-api
drwxr-xr-x 2 root root 4096 Aug 17 16:58 scripts
drwxr-xr-x 3 root root 4096 Aug 17 16:58 sounds
drwxr-xr-x 2 root root 4096 Aug 17 16:58 static-http
drwxr-xr-x 3 root root 4096 Aug 17 16:58 third-party
mybox:/var/lib/asterisk#

Followed installation instructions:
here: https://wiki.asterisk.org/wiki/display/AST/Installing+Asterisk+From+Source (success no bin directory)
and here: http://www.francoconidi.it/asterisk-14-freepbx-14-su-debian-stretch-9-1/ (success no bin directory)

compiled with the --with-pjproject-bundled

All comments and help are welcomed. Perhaps this is something very simple that I’m overlooking after staring at this for a week.

Sincerely,
Ben

I’ve never seen a /var/lib/asterisk/bin directory when compiling from source.

The asterisk binary lives in /usr/sbin

1 Like

Thank you John for looking at this with me. I have come to the directory ‘/var/lib/asterisk/bin’ missing conclusion because the symbolic links for key binaries in /usr/sbin/ point there. Specifically, after the installation, the following symbolic links exist:

mybox:/usr/sbin# ls -al fwconsole
lrwxrwxrwx 1 root root 31 Aug 24 2016 fwconsole -> /var/lib/asterisk/bin/fwconsole

mybox:/usr/sbin# ls -al amportal
lrwxrwxrwx 1 root root 30 Aug 24 2016 amportal -> /var/lib/asterisk/bin/amportal

  • Ben

Those are from FreePBX, not Asterisk.

1 Like

Thank you jcolp. That’s the confirmation I’m looking for… I really wish there was a reference to post installation files for both.

Anyway, that mean’s that it’s not asterisk issue but it’s freepbx that is blowing up during install.

-Ben