SOLVED Incredible PBX LITE Raspbian 10 - asterisk fails to start

sortons

Member
Joined
Aug 9, 2018
Messages
60
Reaction score
10
Hi,

I just went through the initialization procedure. That's what I get after the reboot:

2356

...and:

root@raspberrypi:~# systemctl status asterisk.service
â asterisk.service - LSB: Asterisk PBX
Loaded: loaded (/etc/init.d/asterisk; generated)
Active: failed (Result: exit-code) since Sun 2019-07-07 22:16:20 EDT; 11min ago
Docs: man:systemd-sysv-generator(8)
Process: 2152 ExecStart=/etc/init.d/asterisk start (code=exited, status=132)

Jul 07 22:16:20 raspberrypi systemd[1]: Starting LSB: Asterisk PBX...
Jul 07 22:16:20 raspberrypi asterisk[2152]: Starting Asterisk PBX: asteriskIllegal instruction
Jul 07 22:16:20 raspberrypi systemd[1]: asterisk.service: Control process exited, code=exited, status=13
Jul 07 22:16:20 raspberrypi systemd[1]: asterisk.service: Failed with result 'exit-code'.
Jul 07 22:16:20 raspberrypi systemd[1]: Failed to start LSB: Asterisk PBX.
lines 1-11/11 (END)

Any suggestions?
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,198
Reaction score
5,218
systemctl restart asterisk. If it doesn't start, check the Asterisk log for a reason.

Did you have a working Internet connection to the RasPi when you performed the initial installation procedure?
 

sortons

Member
Joined
Aug 9, 2018
Messages
60
Reaction score
10
root@raspberrypi:/var/log/asterisk# systemctl restart asterisk
Job for asterisk.service failed because the control process exited with error code.
See "systemctl status asterisk.service" and "journalctl -xe" for details.

That's where I got "systemctl status asterisk.service" from. The output of "journalctl -xe" is:
root@raspberrypi:/var/log/asterisk# journalctl -xe
-- Support: https://www.debian.org/support
--
-- A start job for unit asterisk.service has begun execution.
--
-- The job identifier is 1573.
Jul 08 06:01:50 raspberrypi asterisk[6302]: Starting Asterisk PBX: asteriskIllegal instruction
Jul 08 06:01:50 raspberrypi systemd[1]: asterisk.service: Control process exited, code=exited, status=132
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- An ExecStart= process belonging to unit asterisk.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 132.
Jul 08 06:01:50 raspberrypi systemd[1]: asterisk.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit asterisk.service has entered the 'failed' state with result 'exit-code'.
Jul 08 06:01:51 raspberrypi systemd[1]: Failed to start LSB: Asterisk PBX.
-- Subject: A start job for unit asterisk.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit asterisk.service has finished with a failure.
--
-- The job identifier is 1573 and the job result is failed.
lines 2854-2881/2881 (END)

The file /var/log/asterisk/full is empty.

I'm on a working wired Internet connection. The allocated IP address was there at the middle of the screen above the login prompt from the beginning.
 

sortons

Member
Joined
Aug 9, 2018
Messages
60
Reaction score
10
I re-downloaded the PBX LITE image and transferred it to another SD card. Same result as above.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,198
Reaction score
5,218
Looks like a damaged microSD card or load. Not much of a hint as to the actual cause. Failed with result 'exit-code' doesn't tell us much.

Also be sure checksum on downloaded ZIP file matches checksum on SourceForge.
 

dicko

Still learning but earning
Joined
Oct 30, 2015
Messages
1,633
Reaction score
841
Start asterisk with

asterisk -vvvvc

When it fails, look at the end of the full.log
 

sortons

Member
Joined
Aug 9, 2018
Messages
60
Reaction score
10
I used 2 different SD cards. As for the checksum:
2358

root@raspberrypi:~# asterisk -vvvvc
Illegal instruction
root@raspberrypi:~# tail /var/log/asterisk/full
root@raspberrypi:~#

As pbxstatus shows (first post) this is on a Raspberry Pi 1.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,198
Reaction score
5,218
Sorry. I didn't catch it earlier. We don't support the RasPi 1. You probably don't have sufficient horsepower (RAM) to load all the Asterisk components since this configuration loads almost all of them. You need at least 1GB of RAM.
 

Members online

No members online now.

Forum statistics

Threads
25,802
Messages
167,720
Members
19,232
Latest member
voiplads
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top