SOLVED Incredible PBX LITE Raspbian 10 - asterisk fails to start

sortons

Member
Joined
Aug 9, 2018
Messages
39
Reaction score
6
Hi,

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

2356

...and:

[email protected]:~# 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
15,083
Reaction score
2,601
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
39
Reaction score
6
[email protected]:/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:
[email protected]:/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
39
Reaction score
6
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
15,083
Reaction score
2,601
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
644
Reaction score
234
Start asterisk with

asterisk -vvvvc

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

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
15,083
Reaction score
2,601
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.
 
  • Like
Reactions: dicko

Members online

PIAF 5 - Powered by 3CX

Forum statistics

Threads
22,319
Messages
137,021
Members
14,550
Latest member
treimers