Solved Raspian install issue

Status
Not open for further replies.

sbohanan

Free User
Joined
Mar 14, 2020
Messages
5
Reaction score
1
Hello. I figured I'd experiment with 3CX a little. Decided to put it on a spare RPi-3B+ I had given to me. The OS installs just fine. However, when I install the 3cxpbx I get the following errors:

/usr/sbin/3CXWizard: line 65: 2019 Segmentation fault sudo -u phonesystem /usr/lib/3cxpbx/PbxConfigTool

It then removes all the symlinks for starting the services and gives me the following error:

dpkg: error processing package 3cxpbx (--configure):
subprocess installed post-installation script returned error exit status 139



Since this is mainly a proof of concept setup right now, I'm trying to resolve it without creating an official support ticket. I've followed the install instructions exactly. I've modified them within my skillset in an attempt to resolve it myself. I'm not sure how to go about troubleshooting apparently. Any pointers would be appreciated. Thanks. :)
 
Yes. I'm following those instructions exactly. I've tried both the stable and testing. I've tried performing an sudo apt update and sudo apt upgrade before or after attempting the install. I've tried installing as root. I've tried using a completely different SD card in case there was something wrong with that one.

I get the error when I execute sudo apt -t stable install 3cxpbx or sudo apt -t testing install 3cxpbx commands. I've also tried sudo apt install 3cxpbx with the same result.

As a side note, I notice this morning that once I've seen the failure, if I attempt a re-install before purging, I get the following:

Code:
Reading package lists... Done

Building dependency tree

Reading state information... Done

3cxpbx is already the newest version (16.0.4.504).

0 upgraded, 0 newly installed, 0 to remove and 115 not upgraded.

1 not fully installed or removed.

After this operation, 0 B of additional disk space will be used.

Setting up 3cxpbx (16.0.4.504) ...

Created symlink /etc/systemd/system/3CXEventNotificationManager.service → /lib/systemd/system/3CXEventNotificationManager.service.

Created symlink /etc/systemd/system/multi-user.target.wants/3CXEventNotificationManager.service → /lib/systemd/system/3CXEventNotificationManager.service.

Created symlink /etc/systemd/system/3CXCfgServ01.service → /lib/systemd/system/3CXCfgServ01.service.

Created symlink /etc/systemd/system/multi-user.target.wants/3CXCfgServ01.service → /lib/systemd/system/3CXCfgServ01.service.

Created symlink /etc/systemd/system/3CXMediaServer.service → /lib/systemd/system/3CXMediaServer.service.

Created symlink /etc/systemd/system/multi-user.target.wants/3CXMediaServer.service → /lib/systemd/system/3CXMediaServer.service.

Created symlink /etc/systemd/system/3CXPhoneSystemMC01.service → /lib/systemd/system/3CXPhoneSystemMC01.service.

Created symlink /etc/systemd/system/multi-user.target.wants/3CXPhoneSystemMC01.service → /lib/systemd/system/3CXPhoneSystemMC01.service.

Created symlink /etc/systemd/system/3CXPhoneSystem01.service → /lib/systemd/system/3CXPhoneSystem01.service.

Created symlink /etc/systemd/system/multi-user.target.wants/3CXPhoneSystem01.service → /lib/systemd/system/3CXPhoneSystem01.service.

Created symlink /etc/systemd/system/3CXIVR01.service → /lib/systemd/system/3CXIVR01.service.

Created symlink /etc/systemd/system/multi-user.target.wants/3CXIVR01.service → /lib/systemd/system/3CXIVR01.service.

Created symlink /etc/systemd/system/3CXQueueManager01.service → /lib/systemd/system/3CXQueueManager01.service.

Created symlink /etc/systemd/system/multi-user.target.wants/3CXQueueManager01.service → /lib/systemd/system/3CXQueueManager01.service.

Created symlink /etc/systemd/system/3CXCallFlow01.service → /lib/systemd/system/3CXCallFlow01.service.

Created symlink /etc/systemd/system/multi-user.target.wants/3CXCallFlow01.service → /lib/systemd/system/3CXCallFlow01.service.

Created symlink /etc/systemd/system/3CXSystemService01.service → /lib/systemd/system/3CXSystemService01.service.

Created symlink /etc/systemd/system/multi-user.target.wants/3CXSystemService01.service → /lib/systemd/system/3CXSystemService01.service.

Created symlink /etc/systemd/system/3CXTunnel01.service → /lib/systemd/system/3CXTunnel01.service.

Created symlink /etc/systemd/system/multi-user.target.wants/3CXTunnel01.service → /lib/systemd/system/3CXTunnel01.service.

Created symlink /etc/systemd/system/3CXAudioProvider01.service → /lib/systemd/system/3CXAudioProvider01.service.

Created symlink /etc/systemd/system/multi-user.target.wants/3CXAudioProvider01.service → /lib/systemd/system/3CXAudioProvider01.service.

Created symlink /etc/systemd/system/3CXHotelModule01.service → /lib/systemd/system/3CXHotelModule01.service.

Created symlink /etc/systemd/system/multi-user.target.wants/3CXHotelModule01.service → /lib/systemd/system/3CXHotelModule01.service.

/usr/sbin/3CXWizard: line 65:  3097 Segmentation fault      sudo -u phonesystem /usr/lib/3cxpbx/PbxConfigTool

Removed /etc/systemd/system/3CXSystemService01.service.

Removed /etc/systemd/system/3CXTunnel01.service.

Removed /etc/systemd/system/multi-user.target.wants/3CXSystemService01.service.

Removed /etc/systemd/system/multi-user.target.wants/3CXTunnel01.service.

Removed /etc/systemd/system/multi-user.target.wants/3CXIVR01.service.

Removed /etc/systemd/system/multi-user.target.wants/3CXHotelModule01.service.

Removed /etc/systemd/system/multi-user.target.wants/3CXMediaServer.service.

Removed /etc/systemd/system/multi-user.target.wants/3CXPhoneSystemMC01.service.

Removed /etc/systemd/system/multi-user.target.wants/3CXCfgServ01.service.

Removed /etc/systemd/system/multi-user.target.wants/3CXCallFlow01.service.

Removed /etc/systemd/system/multi-user.target.wants/3CXQueueManager01.service.

Removed /etc/systemd/system/multi-user.target.wants/3CXEventNotificationManager.service.

Removed /etc/systemd/system/multi-user.target.wants/3CXAudioProvider01.service.

Removed /etc/systemd/system/multi-user.target.wants/3CXPhoneSystem01.service.

Removed /etc/systemd/system/3CXIVR01.service.

Removed /etc/systemd/system/3CXHotelModule01.service.

Removed /etc/systemd/system/3CXMediaServer.service.

Removed /etc/systemd/system/3CXPhoneSystemMC01.service.

Removed /etc/systemd/system/3CXCfgServ01.service.

Removed /etc/systemd/system/3CXCallFlow01.service.

Removed /etc/systemd/system/3CXQueueManager01.service.

Removed /etc/systemd/system/3CXEventNotificationManager.service.

Removed /etc/systemd/system/3CXAudioProvider01.service.

Removed /etc/systemd/system/3CXPhoneSystem01.service.

active

dpkg: error processing package 3cxpbx (--configure):

subprocess installed post-installation script returned error exit status 139

Errors were encountered while processing:

3cxpbx

E: Sub-process /usr/bin/dpkg returned an error code (1)
 
Last edited by a moderator:
Thanks for the assistance (not really), I finally went and repurposed another Raspberry Pi 3B+ for this. There's apparently something wrong with the one I was trying to use. Maybe it's a 3B not a 3B+. I don't know. At any rate, as soon as I tried installing on the new device, it installed properly.
 
That is weird. What were you powering the original one with? Or maybe it was just bad and that's why it was given to you :)
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
111,940
Messages
589,845
Members
164,828
Latest member
Vera Lea Kristensen Raage