Raspberry Pi 3 B+ - Service start failed

Status
Not open for further replies.

SvenWitlox

Bronze Partner
Advanced Certified
Joined
May 9, 2019
Messages
7
Reaction score
1
Lately we have a lot of problems with the 3CX phone system and SBC software on Raspberry Pi. First
i thought it was a faulty SD card but i think problems are bigger.

I have heard issues with the Raspberry Pi 4, and 3CX software. But this is a hardware model 3 B+
Maybe the problems are caused because of Raspberrt Pi version 4.14?

Our Pi is running this version:
Linux raspberrypi 4.14.50-v7+ #1122 SMP Tue Jun 19 12:26:26 BST 2018 armv7l GNU/Linux

PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian

Installation of 3CX is going fine and operation is no problem, but if we restart the Raspberry Pi Services fail to start:

pi@raspberrypi:~ $ sudo systemctl status 3CXPhoneSystemMC01.service
â— 3CXPhoneSystemMC01.service - 3CX PhoneSystem 01 Management Console
Loaded: loaded (/lib/systemd/system/3CXPhoneSystemMC01.service; enabled; vendor preset: enable
Active: failed (Result: signal) since Wed 2019-11-13 09:33:02 CET; 10min ago
Process: 820 ExecStopPost=/bin/rm -f /var/run/phonesystem/management_console01.socket (code=exi
Process: 818 ExecStopPost=/bin/rm -f /var/run/phonesystem/3CXPhoneSystemMC01.pid (code=exited,
Process: 637 ExecStart=/usr/lib/3cxpbx/3CXManagementConsole --pid /var/run/phonesystem/3CXPhone
Main PID: 637 (code=killed, signal=SEGV)

Nov 13 09:32:46 raspberrypi systemd[1]: Starting 3CX PhoneSystem 01 Management Console...
Nov 13 09:33:02 raspberrypi systemd[1]: 3CXPhoneSystemMC01.service: Main process exited, code=kil
Nov 13 09:33:02 raspberrypi systemd[1]: Failed to start 3CX PhoneSystem 01 Management Console.
Nov 13 09:33:02 raspberrypi systemd[1]: 3CXPhoneSystemMC01.service: Unit entered failed state.
Nov 13 09:33:02 raspberrypi systemd[1]: 3CXPhoneSystemMC01.service: Failed with result 'signal'.


and

UNIT LOAD ACTIVE SUB DESCRIPTION
3CXAudioProvider01.service loaded active running 3CX PhoneSystem 01 Aud
3CXCallFlow01.service loaded active running 3CX PhoneSystem 01 Cal
3CXCfgServ01.service loaded active running 3CX PhoneSystem Config
3CXEventNotificationManager.service loaded active running 3CX Event Notification
3CXHotelModule01.service loaded inactive dead 3CX PhoneSystem 01 Hot
3CXIVR01.service loaded active running 3CX PhoneSystem 01 IVR
3CXMediaServer.service loaded active running 3CX PhoneSystem Media
3CXPhoneSystem01.service loaded active running 3CX PhoneSystem 01 SIP
â— 3CXPhoneSystemMC01.service loaded failed failed 3CX PhoneSystem 01 Man


Anyone any idea??
 
Hi Sven,

Was the below guide followed and especially step 1 where we provide the correct disk image?
https://www.3cx.com/docs/installing-pbx-raspberry-pi/

If not please start from scratch using the exact instructions and links provided in the guide.

Note: our image would give Linux raspberrypi 4.4.34+
 
Last edited:
Hi John,

Thank you for your quick reply! That sure is strange, because I used the image from the 3cx site. As listed above...

Maybe the system updated itself to 4.14.50-v7

I'll start with a blank install and try again!
 
  • Like
Reactions: JohnS_3CX
Great! Let us know how it goes. Note that we do not recommend installing anything else on your 3CX instance and I would recommend against running any manual updates (or scheduled automatically by non-3CX scripts). You can keep the system updated by your management console which will ensure the Pi does not install any untested updates or dependencies (which may break the instance)
 
Downloaded the image again via the 3CX site and re-written the SD card. First thing (on first boot)
that shows on the CLI is:

Linux raspberrypi 4.14.50-v7+ #1122 SMP Tue Jun 19 12:26:26 BST 2018 armv7l GNU/Linux

So this version comes with your image (?).
 
Hi Sven,

I apologize, you are indeed correct it should show:
Linux raspberrypi 4.14.50-v7+ #1122 SMP Tue Jun 19 12:26:26 BST 2018 armv7l

I was running a virtualized Pi for a quick test and my versions were different due to the emulator kernel.

Let me know how your installation goes regardless though
 
hi John,

Do you have the right linux raspberry pi version, I have the same problem as sven.
 
Did a fresh install, system was running fine for a couple of days. Just restarted it and the problem is back.
I did some research and it seems that the problem is caused by faulty SD card.

I'm going to do another install but then on the original 16GB SD card which was deliverd with the Raspberry Pi.

We have 3B+ with official power supply but upgraded the SD card to 32GB (was deliverd with the raspberry pi Scandisk Ultra)
 

Attachments

  • IMG_3373.jpg
    IMG_3373.jpg
    730.3 KB · Views: 7
Oh you are getting the mmc block read errors? yeah start again with a fresh SD. Those are a weak point although the better SD card brands seem to be fine.
 
Have you done PI install with 3CX iso ?
 
yes, i'm now going to test with the original PI SD card (this is 16GB) but for testing purposes should be enough.

I'll report back later!
 
Status
Not open for further replies.

Forum statistics

Threads
111,934
Messages
589,819
Members
164,811
Latest member
aurorasigntrtechitnet