Reload failed because retrieve_conf encountered an error: 1

I can’y apply configuration when i do i get the following errors.

Reload failed because retrieve_conf encountered an error: 1

exit: 1
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 = ******
Added to globals: AMPDBENGINE = mysql
Added to globals: AMPDBHOST = localhost
Added to globals: AMPDBNAME = asterisk
Added to globals: AMPDBUSER = asteriskuser
Added to globals: AMPDBPASS = *****************
Added to globals: VMX_CONTEXT = from-internal
Added to globals: VMX_PRI = 1
Added to globals: VMX_TIMEDEST_CONTEXT =
Added to globals: VMX_TIMEDEST_EXT = dovm
Added to globals: VMX_TIMEDEST_PRI = 1
Added to globals: VMX_LOOPDEST_CONTEXT =
Added to globals: VMX_LOOPDEST_EXT = dovm
Added to globals: VMX_LOOPDEST_PRI = 1
Added to globals: MIXMON_DIR =
Added to globals: MIXMON_POST =
Added to globals: DIAL_OPTIONS = Ttr
Added to globals: TRUNK_OPTIONS = Tt
Added to globals: TRUNK_RING_TIMER = 300
Added to globals: MIXMON_FORMAT = wav
Added to globals: REC_POLICY = caller
Added to globals: RINGTIMER_DEFAULT = 15
Added to globals: TRANSFER_CONTEXT = from-internal-xfer
[FATAL] SELECT value FROM voicemail_admin WHERE variable = ‘VMX_REPEAT’ [nativecode=1146 ** Table ‘asterisk.voicemail_admin’ doesn’t exist]SQL -
SELECT value FROM voicemail_admin WHERE variable = ‘VMX_REPEAT’

Trace Back:

/usr/src/freepbx/amp_conf/htdocs/admin/libraries/sql.functions.php:25 die_freepbx()
[0]: SELECT value FROM voicemail_admin WHERE variable = ‘VMX_REPEAT’ [nativecode=1146 ** Table ‘asterisk.voicemail_admin’ doesn’t exist]SQL -
SELECT value FROM voicemail_admin WHERE variable = ‘VMX_REPEAT’

/var/www/html/admin/modules/core/functions.inc.php:3598 sql()
[0]: SELECT value FROM voicemail_admin WHERE variable = ‘VMX_REPEAT’
[1]: getOne

/usr/src/freepbx/amp_conf/htdocs/admin/libraries/BMO/DialplanHooks.class.php:79 core_do_get_config()
[0]: asterisk

/usr/src/freepbx/amp_conf/bin/retrieve_conf:719 DialplanHooks->processHooks()
[0]: asterisk
[1]:


1 error(s) occurred, you should view the notification log on the dashboard or main screen to check for more details.


Server Version Ubuntu 14.04 x64
And i followed the tutorial found at wiki.freepbx.org/display/HTGS/Installing+FreePBX+12+on+Ubuntu+Server+14.04+LTS

are there any pointers? i really don’t know what to do about this MySQL thing.

Well, that’s the main problem. Does that table exist? Do -any- tables exist? (Did the new database creation not run?)

everything else is working including login, if i did not setup the mysql than would that not work?
is it possible that tutorial is broken, i followed it ecetera

Well that table is created by the voicemail module – you can recreate it with:

‘amportal a ma install voicemail’

Hi!

I have exactly the same problem. New manuall install on CentOS.
‘amportal a ma install voicemail’ gives ‘Unable to install module voicemail:’

 All my best

Try to download it again?

amportal a ma download -f voicemail
amportl a ma install voicemail

That gave me this error:

amportal a ma download -f voicemail

Please wait…

The following error(s) occured:

  • Retrieved Module XML Was Empty

remove “-f” option then run.

amportal a ma download voicemail
amportl a ma install voicemail

Thank you xrobau! Resolved same problem.

1 Like

Thank you!
That resolved my problem

1 Like