Jump to content

Recommended Posts

Posted

Hi team,

I'm just attempting a clean install on a new Raspberry Pi 5.

It's a current, clean, Raspbian 64bit lite install (Debian Bookworm), patched and upgraded to current (apt update; apt upgrade)

Then followed https://doc.vodia.com/docs/installlinux and the Raspberry Pi specific section.

Upon completing, I can't run pbxctrl. I'm wondering if on Pi 5 I am better using the debian installer, or is there something else obvious to check. Unfortunately the error doesn't tell me which required file can't be found.

 

Cheers

 

admin@pbx:/tmp$ sudo ./install-mini3.sh 
./install-mini3.sh: 38: [: Illegal number: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
  libcamera0.1
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  ntpsec python3-ntp
Suggested packages:
  certbot ntpsec-doc ntpsec-ntpviz
The following packages will be REMOVED:
  systemd-timesyncd
The following NEW packages will be installed:
  ntp ntpsec python3-ntp
0 upgraded, 3 newly installed, 1 to remove and 0 not upgraded.
Need to get 446 kB of archives.
After this operation, 1,291 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://deb.debian.org/debian bookworm/main arm64 python3-ntp arm64 1.2.2+dfsg1-1+deb12u1 [94.0 kB]
Get:2 http://deb.debian.org/debian bookworm/main arm64 ntpsec arm64 1.2.2+dfsg1-1+deb12u1 [330 kB]
Get:3 http://deb.debian.org/debian bookworm/main arm64 ntp all 1:4.2.8p15+dfsg-2~1.2.2+dfsg1-1+deb12u1 [22.0 kB]
Fetched 446 kB in 0s (3,437 kB/s)
(Reading database ... 74410 files and directories currently installed.)
Removing systemd-timesyncd (252.22-1~deb12u1) ...
Selecting previously unselected package python3-ntp.
(Reading database ... 74394 files and directories currently installed.)
Preparing to unpack .../python3-ntp_1.2.2+dfsg1-1+deb12u1_arm64.deb ...
Unpacking python3-ntp (1.2.2+dfsg1-1+deb12u1) ...
Selecting previously unselected package ntpsec.
Preparing to unpack .../ntpsec_1.2.2+dfsg1-1+deb12u1_arm64.deb ...
Unpacking ntpsec (1.2.2+dfsg1-1+deb12u1) ...
Selecting previously unselected package ntp.
Preparing to unpack .../ntp_1%3a4.2.8p15+dfsg-2~1.2.2+dfsg1-1+deb12u1_all.deb ...
Unpacking ntp (1:4.2.8p15+dfsg-2~1.2.2+dfsg1-1+deb12u1) ...
Setting up python3-ntp (1.2.2+dfsg1-1+deb12u1) ...
Setting up ntpsec (1.2.2+dfsg1-1+deb12u1) ...
Created symlink /etc/systemd/system/timers.target.wants/ntpsec-rotate-stats.timer → /lib/systemd/system/ntpsec-rotate-stats.timer.
Created symlink /etc/systemd/system/network-pre.target.wants/ntpsec-systemd-netif.path → /lib/systemd/system/ntpsec-systemd-netif.path.
Created symlink /etc/systemd/system/ntp.service → /lib/systemd/system/ntpsec.service.
Created symlink /etc/systemd/system/ntpd.service → /lib/systemd/system/ntpsec.service.
Created symlink /etc/systemd/system/multi-user.target.wants/ntpsec.service → /lib/systemd/system/ntpsec.service.
Setting up ntp (1:4.2.8p15+dfsg-2~1.2.2+dfsg1-1+deb12u1) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for dbus (1.14.10-1~deb12u1) ...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'nodejs' is not installed, so not removed
The following package was automatically installed and is no longer required:
  libcamera0.1
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'apache2' is not installed, so not removed
The following package was automatically installed and is no longer required:
  libcamera0.1
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  libcamera0.1
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 2,045 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 74469 files and directories currently installed.)
Removing libcamera0.1:arm64 (0.1.0+rpt20231122-1) ...
Processing triggers for libc-bin (2.36-9+rpt2+deb12u4) ...
--2024-03-04 13:10:44--  https://portal.vodia.com/downloads/pbx/audio/audio_en.zip
Resolving portal.vodia.com (portal.vodia.com)... 54.175.147.78
Connecting to portal.vodia.com (portal.vodia.com)|54.175.147.78|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10389084 (9.9M) [application/zip]
Saving to: ‘audio_en.zip’

audio_en.zip        100%[===================>]   9.91M  3.94MB/s    in 2.5s    

2024-03-04 13:10:47 (3.94 MB/s) - ‘audio_en.zip’ saved [10389084/10389084]

Archive:  audio_en.zip
  inflating: audio_en/aa_accounting.wav  
  inflating: ...  
 <truncated>  
  inflating: audio_en/wk_welcome.wav  
--2024-03-04 13:10:47--  https://portal.vodia.com/downloads/pbx/audio/audio_moh.zip
Resolving portal.vodia.com (portal.vodia.com)... 54.175.147.78
Connecting to portal.vodia.com (portal.vodia.com)|54.175.147.78|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 856238 (836K) [application/zip]
Saving to: ‘audio_moh.zip’

audio_moh.zip       100%[===================>] 836.17K   680KB/s    in 1.2s    

2024-03-04 13:10:49 (680 KB/s) - ‘audio_moh.zip’ saved [856238/856238]

Archive:  audio_moh.zip
  inflating: audio_moh/bi_ced.wav    
  inflating: ... 
   <truncated>   
  inflating: audio_moh/page_end.wav  
--2024-03-04 13:10:49--  https://portal.vodia.com/downloads/pbx/mini3/pbxctrl-mini3-69.2.1
Resolving portal.vodia.com (portal.vodia.com)... 54.175.147.78
Connecting to portal.vodia.com (portal.vodia.com)|54.175.147.78|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9756640 (9.3M)
Saving to: ‘pbxctrl-mini3-69.2.1’

pbxctrl-mini3-69.2. 100%[===================>]   9.30M  4.11MB/s    in 2.3s    

2024-03-04 13:10:52 (4.11 MB/s) - ‘pbxctrl-mini3-69.2.1’ saved [9756640/9756640]

--2024-03-04 13:10:52--  https://portal.vodia.com/downloads/pbx/dat/pbxctrl-69.2.1.dat
Resolving portal.vodia.com (portal.vodia.com)... 54.175.147.78
Connecting to portal.vodia.com (portal.vodia.com)|54.175.147.78|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4523967 (4.3M)
Saving to: ‘pbxctrl-69.2.1.dat’

pbxctrl-69.2.1.dat  100%[===================>]   4.31M  2.61MB/s    in 1.7s    

2024-03-04 13:10:55 (2.61 MB/s) - ‘pbxctrl-69.2.1.dat’ saved [4523967/4523967]

Starting PBX daemon./pbx: line 29: /pbx/pbxctrl: cannot execute: required file not found

admin@pbx:/tmp$

 

  • 4 weeks later...
Posted
On 3/5/2024 at 12:09 PM, Vodia PBX said:

Do you see the file pbxctrl and pbxctrl.dat in the /pbx directory? What if you

mkdir /pbx
cd /pbx
./install-mini3.sh

 

Yes. They are in the directory.
 

024-03-29 13:43:34 (2.65 MB/s) - ‘pbxctrl-69.2.3.dat’ saved [4526265/4526265]

Starting PBX daemon./pbx: line 29: /pbx/pbxctrl: cannot execute: required file not found

pbx@pbx:/pbx$ ls -la
total 14024
drwxr-xr-x  4 pbx  root    4096 Mar 29 13:43 .
drwxr-xr-x 19 root root    4096 Mar 29 13:35 ..
drwxr-xr-x  2 root root   20480 Mar 29 13:43 audio_en
drwxr-xr-x  2 root root    4096 Mar 29 13:43 audio_moh
-rwxr-xr-x  1 pbx  pbx     3702 Mar 16 06:36 install-mini3.sh
-rwxr-xr-x  1 root root 9793532 Mar 16 01:54 pbxctrl
-rw-r--r--  1 root root 4526265 Mar 16 01:36 pbxctrl.dat
pbx@pbx:/pbx$ 

I am *guessing* that you've supplied a dynamically linked binary, which needs ld-linux-armhf.so.3
On the Pi5 Raspbian OS, are expecting binaries to link to /lib/ld-linux-aarch64.so.1
 

Posted

What is you start the PBX with ./pbxctrl --version? The PBX needs only libopus and the usual standard libraries. I would expect the loader to log something what is missing?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...