TRY THIS Apply fails (retrieve_conf error 255)

Joined
Apr 10, 2015
Messages
52
Reaction score
13
My install isn't going to well :( I have CentOS7 running and iPBX installed, and the GUI now accessible. But the APPLY button is showing...but when I click it I get retrieve_conf error 255. When I do it from the command line I get:

root@ipbx3:/var/lib/asterisk/bin $ ./retrieve_conf
found language dir fr for directory, not installed on system, skipping
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
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
PHP Fatal error: Uncaught exception 'Exception' with message 'Tried to remove key noload from section modules, but that section doesn't exist' in /var/www/html/admin/libraries/BMO/ConfigFile.class.php:79
Stack trace:
#0 /var/www/html/admin/libraries/BMO/ModulesConf.class.php(63): ConfigFile->removeEntry('modules', 'noload', 'chan_sip.so')
#1 /var/www/html/admin/modules/core/functions.inc/PJSip.class.php(233): ModulesConf->removenoload('chan_sip.so')
#2 /var/www/html/admin/libraries/BMO/FileHooks.class.php(100): FreePBX\modules\Core\PJSip->writeConfig(Array)
#3 /var/www/html/admin/libraries/BMO/FileHooks.class.php(25): FileHooks->processNewHooks()
#4 /var/lib/asterisk/bin/retrieve_conf(740): FileHooks->processFileHooks(Array)
#5 {main}
thrown in /var/www/html/admin/libraries/BMO/ConfigFile.class.php on line 79
Is there a fix/workaround so I can continue ? I wont start entering my FreePBX config unless I know I can apply the changes...
 
After more digging I'm getting this working too. The /etc/asterisk/modules.conf was empty, so I copied it from the FreePBX source tree downloaded by the iPBX installer. I'm a little nervous what else might be missing but I'll keep plugging along.

I'm trying to build a CentOS7 image that we can use with clients as we have other apps that we're providing which are now CentOS 7 certified. Assuming I get this running, will it be possible to simply upgrade/update iPBX to grow out of the beta stage? Or would I have to reinstall from bare OS for later non-beta iPBX to work?
 
Last edited:

Members online

Forum statistics

Threads
26,688
Messages
174,412
Members
20,259
Latest member
Fadeek86
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.
Back
Top