Issue when install 3CX on Linux Debian 9.12 (Stretch)

Status
Not open for further replies.

Kwang Mien

Silver Partner
Advanced Certified
Joined
May 14, 2020
Messages
255
Reaction score
17
Hi All,

I followed the instructions in the below URL to install 3CX on Debian 9.12 (Stretch) Kernel version is 4.9.0-12-686-pae.

https://www.3cx.com/docs/manual/installing-debian-linux-pbx/

However, when i execute one of the command

sudo apt install 3cxpbx


the result is

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package 3cxpbx


It seems that the package 3cxpbx is missing.

Can anyone advise how to resolve this issue ?

Thank you.


Regards,
Kwang Mien
 
Hi Kwang,

Were the commands on step 1. executed? those are required so that Debian will know what repository to look for when you try to install.

Alternatively, you can use our pre-built ISO file from here and deploy that on your machine from scratch
https://www.3cx.com/phone-system/download-links/
 
Hi John,

yes. i have executed the commands in step 1.

in particular this step has been executed, but still at "sudo apt install 3cxpbx ", package 3cxpbx cannot be found.

echo "deb http://downloads-global.3cx.com/downloads/debian stretch main" | sudo tee /etc/apt/sources.list.d/3cxpbx.list

Kindly advise if there is an updated repository to download the 3cxpbx package.


I have also tried the ISO (Debian for 3CX (includes SBC) at the URL that you mentioned.
However, as my system is using AMD processor, 3CX cannot be installed. The ISO was built for Intel processor.

Thank you.

Regards,
Kwang Mien
 
Hi,

Suppose you only want to install the stable version, please try next steps:
Code:
wget -O- http://downloads-global.3cx.com/downloads/3cxpbx/public.key | apt-key add -
echo "deb http://downloads-global.3cx.com/downloads/debian stretch main" | tee /etc/apt/sources.list.d/3cxpbx.list
apt-get update
apt-get install 3cxpbx
 
Hi,

Yes. I tried the commands but still it showed "cannot locate package 3cxpbx".
below are the sequence of the commands.


wget -O- http://downloads-global.3cx.com/downloads/3cxpbx/public.key | apt-key add -
--2020-05-15 08:18:20-- http://downloads-global.3cx.com/downloads/3cxpbx/public.key
Resolving downloads-global.3cx.com (downloads-global.3cx.com)... 35.201.76.132
Connecting to downloads-global.3cx.com (downloads-global.3cx.com)|35.201.76.132|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1179 (1.2K) [application/octet-stream]
Saving to: ‘STDOUT’

- 100%[=====================================================================================>] 1.15K --.-KB/s in 0s

2020-05-15 08:18:20 (182 MB/s) - written to stdout [1179/1179]

OK

root@3CXPBX:/home/user# echo "deb http://downloads-global.3cx.com/downloads/debian stretch main" | tee /etc/apt/sources.list.d/3cxpbx.list
deb http://downloads-global.3cx.com/downloads/debian stretch main

root@3CXPBX:/home/user# apt-get update
Hit:1 http://downloads-global.3cx.com/downloads/debian stretch-testing InRelease
Ign:2 http://deb.debian.org/debian stretch InRelease
Hit:3 http://downloads-global.3cx.com/downloads/debian stretch InRelease
Hit:4 http://deb.debian.org/debian stretch Release
Get:6 http://security.debian.org/debian-security stretch/updates InRelease [94.3 kB]
Ign:7 http://ftp.de.debian.org/debian jessie InRelease
Ign:8 http://ftp.sg.debian.org/debian stretch InRelease
Hit:9 http://ftp.de.debian.org/debian jessie Release
Get:10 http://ftp.sg.debian.org/debian stretch-updates InRelease [91.0 kB]
Hit:12 http://ftp.sg.debian.org/debian stretch Release
Fetched 185 kB in 1s (141 kB/s)
Reading package lists... Done
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:20
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:20
W: Target Translations (main/i18n/Translation-en_SG) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:20
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:20
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:20
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:20
W: Target Translations (main/i18n/Translation-en_SG) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:20
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:20
root@3CXPBX:/home/user# apt-get install 3cxpbx
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package 3cxpbx



Hi,

Suppose you only want to install the stable version, please try next steps:
Code:
wget -O- http://downloads-global.3cx.com/downloads/3cxpbx/public.key | apt-key add -
echo "deb http://downloads-global.3cx.com/downloads/debian stretch main" | tee /etc/apt/sources.list.d/3cxpbx.list
apt-get update
apt-get install 3cxpbx
 
Hi John,

yes. i have executed the commands in step 1.

in particular this step has been executed, but still at "sudo apt install 3cxpbx ", package 3cxpbx cannot be found.

echo "deb http://downloads-global.3cx.com/downloads/debian stretch main" | sudo tee /etc/apt/sources.list.d/3cxpbx.list

Kindly advise if there is an updated repository to download the 3cxpbx package.


I have also tried the ISO (Debian for 3CX (includes SBC) at the URL that you mentioned.
However, as my system is using AMD processor, 3CX cannot be installed. The ISO was built for Intel processor.

Thank you.

Regards,
Kwang Mien

We routinely test the 3CX system on both intel and AMD platforms and it works correctly. I think something else is the case here. As Debian 9 is not UEFI compatible, you may have to enable CSM before installing it.

As you are already running Debian 9, I imagine you have enabled it already, so you might have to tell us more on how you discovered the 3CX ISO cannot be installed, also what model is the CPU?
 
Hi,

the error occurred during the installation of the ISO. Our system is VMWare ESXI version 6.7 running on Intel(R) Xeon (R) CPU E5-2630 v3 @ 2.4GHz.

I downloaded the ISO from https://www.3cx.com/phone-system/download-links/. The filename is debian-amd64-netinst-3cx.iso. Is there an ISO for Intel processor ?


I would also like to try the manual way of installation. but as mentioned, the "unable to locate package 3cxpbx" occurred. it seems that the package 3cxpbx does not exist in http://downloads-global.3cx.com/downloads/debian .

Do you have similar issue when manual install the 3CX ?


Regards,
Kwang Mien


We routinely test the 3CX system on both intel and AMD platforms and it works correctly. I think something else is the case here. As Debian 9 is not UEFI compatible, you may have to enable CSM before installing it.

As you are already running Debian 9, I imagine you have enabled it already, so you might have to tell us more on how you discovered the 3CX ISO cannot be installed, also what model is the CPU?
 
i used the ISO to install. However, at the "Finish the Installation" stage, the below error appeared

"Failed to run preseeded command. Execution of preseeded command "in-target uget -0 /tmp/post-install http://downloads.3cx.com/downloads/debian9iso/post-install_9.9.0.txt; in-target chmod+x /tmp/post-install; in-target /bin/bash /tmp/post-install failed with exit code 1"

The server cannot be rebooted after that.

Can you advise how to resolve this issue ?

Thanks.

1589550520696.png
 
Is it the case perhaps that the installer cannot reach our online repositories to fetch the files?

I would say check for any firewall or IP Geoblocking restrictions on your network
 
there is no firewall blocking for the server.

During the configuration of the Network, the following information was entered

a. enter the IP address of the server

b. enter the IP address of the name server

c. enter the host name

d. enter the domain name


There is no configuration for the IP Address of the gateway.

Kindly advise how the gateway ip address can be configured during installation

Thanks.
 
Last edited:
  • Like
Reactions: JohnS_3CX
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
111,951
Messages
589,884
Members
164,842
Latest member
abdullah.alshehri@rewaa