SOLVED SOLVED: FreePBX Reload not working

rossiv

Guru
Joined
Oct 26, 2008
Messages
2,624
Reaction score
139
Not yet. Will do that now. Thanks
-
Found a similar thread there and ran the command and this is what I got:
Code:
root@piaf-home:~ $ mysqlcheck -u root -p --check asterisk
Enter password: 
asterisk.Backup                                    OK
asterisk.admin                                     OK
asterisk.ampusers                                  OK
asterisk.announcement                              OK
asterisk.callback                                  OK
asterisk.cidlookup                                 OK
asterisk.cidlookup_incoming                        OK
asterisk.cronmanager
warning  : 2 clients are using or haven't closed the table properly
status   : OK
asterisk.custom_destinations                       OK
asterisk.custom_extensions                         OK
asterisk.customcontexts_contexts                   OK
asterisk.customcontexts_contexts_list              OK
asterisk.customcontexts_includes                   OK
asterisk.customcontexts_includes_list              OK
asterisk.customcontexts_module                     OK
asterisk.customcontexts_timegroups                 OK
asterisk.customcontexts_timegroups_detail          OK
asterisk.customerdb                                OK
asterisk.daynight                                  OK
asterisk.devices                                   OK
asterisk.disa                                      OK
asterisk.endpointman_brand_list                    OK
asterisk.endpointman_custom_configs                OK
asterisk.endpointman_global_vars                   OK
asterisk.endpointman_line_list                     OK
asterisk.endpointman_mac_list                      OK
asterisk.endpointman_model_list                    OK
asterisk.endpointman_oui_list                      OK
asterisk.endpointman_product_list                  OK
asterisk.endpointman_template_list                 OK
asterisk.endpointman_time_zones                    OK
asterisk.extensions                                OK
asterisk.featurecodes                              OK
asterisk.findmefollow                              OK
asterisk.freepbx_log                               OK
asterisk.gabcast                                   OK
asterisk.gizmo5                                    OK
asterisk.globals                                   OK
asterisk.hotelwakeup                               OK
asterisk.iax                                       OK
asterisk.iaxsettings                               OK
asterisk.incoming                                  OK
asterisk.inventorydb                               OK
asterisk.ivr                                       OK
asterisk.ivr_dests                                 OK
asterisk.kohana_session                            OK
asterisk.languages                                 OK
asterisk.manager                                   OK
asterisk.meetme                                    OK
asterisk.miscapps                                  OK
asterisk.miscdests                                 OK
asterisk.module_xml
warning  : 2 clients are using or haven't closed the table properly
status   : OK
asterisk.modules                                   OK
asterisk.notifications                             OK
asterisk.outroutemsg                               OK
asterisk.paging_autoanswer                         OK
asterisk.paging_config                             OK
asterisk.paging_groups                             OK
asterisk.parkinglot                                OK
asterisk.phpagiconf                                OK
asterisk.pinsets                                   OK
asterisk.queueprio                                 OK
asterisk.queues_config                             OK
asterisk.queues_details                            OK
asterisk.recordings                                OK
asterisk.ringgroups                                OK
asterisk.setcid                                    OK
asterisk.sip                                       OK
asterisk.sipsettings                               OK
asterisk.superfectacache                           OK
asterisk.superfectaconfig                          OK
asterisk.timeconditions                            OK
asterisk.timegroups_details                        OK
asterisk.timegroups_groups                         OK
asterisk.trunks                                    OK
asterisk.trunks_dialpatterns                       OK
asterisk.users                                     OK
asterisk.vmblast                                   OK
asterisk.vmblast_groups                            OK
asterisk.zap                                       OK
asterisk.zapchandids                               OK
root@piaf-home:~ $
 

rossiv

Guru
Joined
Oct 26, 2008
Messages
2,624
Reaction score
139
Uggh...It's Back...
I am running on a brand new Purple build that was restored from a different box - Scaling down. 2.8.0.4 and 1.8.0...
--
Edit:
I spoke too soon. I ran /var/lib/asterisk/bin/retrieve_conf and out spat my problem.
Code:
 /var/lib/asterisk/bin/retrieve_conf
Checking for PEAR DB..OK
Checking for PEAR Console::Getopt..OK
Checking for /etc/amportal.conf ..OK
Bootstrapping /etc/amportal.conf ..OK
Parsing /etc/amportal.conf ..OK
Parsing /etc/asterisk/asterisk.conf ..OK
Connecting to database..OK
Connecting to Asterisk manager interface..OK

[COLOR=Red][U][B]PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/admin/mod                                                                                                                                                             ules/dahdiconfig/functions.inc.php on line 767[/B][/U][/COLOR]
Added to globals: ASTETCDIR = /etc/asterisk
Added to globals: ASTMODDIR = /usr/lib/asterisk/modules
Added to globals: ASTVARLIBDIR = /var/lib/asterisk
Added to globals: ASTAGIDIR = /var/lib/asterisk/agi-bin
Added to globals: ASTSPOOLDIR = /var/spool/asterisk
Added to globals: ASTRUNDIR = /var/run/asterisk
Added to globals: ASTLOGDIR = /var/log/asterisk
Added to globals: CWINUSEBUSY = true
Added to globals: AMPMGRUSER = admin
Added to globals: AMPMGRPASS = amp111
Added to globals: AMPDBENGINE = mysql
Added to globals: AMPDBHOST = localhost
Added to globals: AMPDBNAME = asterisk
Added to globals: AMPDBUSER = asteriskuser
Added to globals: AMPDBPASS = amp109
Notice: no Queues defined
Notice: no Conferences defined
Notice: no AMP Users defined
Please update your modules and reload Asterisk by browsing to your server.
root@piaf-home:~ $
Oddly enough, FreePBX gave me the option of force reinstalling DAHDI Config - So I did. And it fixed the problem.
Ward or someone else, please add SOLVED to the main thread title. For some reason when I do it, it does not change in the main post list.
 

kh40s

Guru
Joined
Nov 21, 2010
Messages
86
Reaction score
0
Quite a few things will cause this to occur. It's related to a syntax error in one of the config files. It's easily reproducible. For example, put a semicolon in front of the register string in a trunk definition and the same will occur. You need to manually edit sip_registrations.conf to remove the ; from the "register=;<name>:<password>" line before Asterisk will come up again.
 

Members online

Forum statistics

Threads
25,819
Messages
167,800
Members
19,247
Latest member
abuhyder
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