FreePBX | Register | Issues | Wiki | Portal | Support

System down asterisk will not start after failed attempt to switch to asterisk 13


(Tv Engr) #1

Please any help greatly appreciated.

Just updated to 10.13.66-1 then tried to change to asterisk 13.

the following was received

asterisk13 had an issue being installed and did not complete
Review the console logs and resolve the RPM conflict first
echo and rerun this script to try again.

then a module update we tried, and the system locked up.

the system was rebooted

asterisk did not start

asterisk -rvvvvv
-bash: asterisk: command not found

then fwconsole start ws tried

the following was returned.

Running FreePBX startup…
Taking too long? Customize the chown command, See http://wiki.freepbx.org/display/FOP/FreePBX+Chown+Conf
Setting Permissions…
Setting base permissions…Done
Setting specific permissions…
4322 [============================]
Finished setting permissions
Running Asterisk pre from Dahdiconfig module
Wanrouter: No valid Sangoma Hardware found, if you have no Sangoma cards this is OK
DAHDi: Already started
Running Asterisk pre from Sysadmin module
Running Sysadmin Hooks
Restarting fail2ban
fail2ban Restarted
Updating License Information for 49429142
Checking Vpn server
Starting Asterisk…
[--------------->------------] 13 secs

[Exception]
Unable to connect to Asterisk. Did it start?

start [–pre] [–post] [–skipchown] [–] []…

please any help appreciated.


(Itzik) #2

Try re-installing

asterisk-version-switch

And re-select 13


(Tv Engr) #3

here is what happened

asterisk13 had an issue being installed and did not complete
Review the console logs and resolve the RPM conflict first
echo and rerun this script to try again.

here is the log

[2019-Jun-26 01:01:21] [CRITICAL] (admin/bootstrap.php:262) - Connection attmempt to AMI failed
[2019-Jun-26 01:01:21] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/fun$
[2019-Jun-26 01:01:21] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/fun$
[2019-Jun-26 01:01:22] [INFO] (libraries/modulefunctions.class.php:781) - Detected Missing Dependency of: pm2 13.0.3.18
[2019-Jun-26 01:01:22] [INFO] (libraries/modulefunctions.class.php:806) - Found local Dependency of: pm2 13.0.7.1
[2019-Jun-26 01:01:22] [INFO] (libraries/modulefunctions.class.php:816) - Installing Missing Dependency of: pm2 13.0.3.18
[2019-Jun-26 01:01:22] [INFO] (pm2/Pm2.class.php:33) - Node version is: 0.10.40 requirement is 0.12.18. Run ‘yum upgrade nodejs’ from the CLI as root
[2019-Jun-26 01:01:22] [INFO] (libraries/modulefunctions.class.php:818) - The following error(s) occured:
[2019-Jun-26 01:01:22] [INFO] (libraries/modulefunctions.class.php:819) - - Failed to run installation scripts

then this was tryed yum upgrade nodejs

with the following results

yum upgrade nodejs
Loaded plugins: fastestmirror, kmod
Setting up Upgrade Process
Loading mirror speeds from cached hostfile
http://yum.freepbxdistro.org/pbx/6.13.66/x86_64/repodata/b8d79109bf4e3639629dcc34cdf5a870310beb5d71633865fd714317769cc6b6-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - “The requested URL returned error: 403 Forbidden”
Trying other mirror.
Error: failure: repodata/b8d79109bf4e3639629dcc34cdf5a870310beb5d71633865fd714317769cc6b6-primary.sqlite.bz2 from pbx: [Errno 256] No more mirrors to try.

thank you for any more help


(Dave Burgess) #4

Did you try this?