My freepbx asterisk server is working perfectly but i have big problemes with the http gui which is very very slow and don’t work correctly.
All modules are up to date but when i go on the http gui, it take minutes to update each page (when i click on a link it can take one to several minutes to opdate each time) and i can not apply updates because of the retrieve_conf problem.
Also, all the options of the menu are now availaible as you can see on this screen shot.
I was running very slow just like you on a CyberLynk hosted system and they took a look and suggested I disable iSymphony if I wasn’t using it since it was memory intensive… “freed up about 25% of your memory, which will allow Linux to cache more things in memory, and should improve performance”. We did and it made a nice difference. I am VERY new to this but its worth a try.
and now i have this error when i do a
amportal stop
[root@pc47 dev]# amportal stop
Fetching FreePBX settings with gen_amp_conf.php…
/usr/local/sbin/amportal: line 50: [FATAL]: command not found
/var/lib/asterisk/bin/freepbx_engine: line 98: [FATAL]: command not found
**** WARNING: ERROR IN CONFIGURATION ****
astrundir in ‘/etc/asterisk’ is set to but the directory
does not exists. Attempting to create it with: 'mkdir -p ’
mkdir: missing operand
Try `mkdir --help’ for more information.
**** ERROR: COULD NOT CREATE ****
Attempt to execute 'mkdir -p ’ failed with an exit code of 1
You must create this directory and the try again.
[root@pc47 dev]#
Thank you for your answer, i really appreciate your help.
and is there something i can do to fix that ?
when i do a service mysqld start
it says :
[root@pc47 ~]# service mysqld start
Timeout error occurred trying to start MySQL Daemon.
Starting mysqld: [FAILED]
and the gui says :
FATAL ERROR
DB Error: connect failed
Trace Back
/var/www/html/admin/libraries/db_connect.php:71 die_freepbx()
[0]: DB Error: connect failed
You have lots of room in /home which indicates a “roll your own” setup, but asterisk’s home directory is (unconventionally) /var/lib/asterisk , either set up a “bind mount” for /var/spool/asterisk/monitor into that file system if you are linux savvy, or using the gooey (with careful prepreparation ) change the “directory layout” settings in advanced settings after you have consumed the wiki and understand how Asterisk/FreePBX works in depth, you could even set asterisk’s home directory to be in into /home/asterisk.
(In asterisk the recordings go to whatever is eventually defined as
I would also note that if this box is “just” an Asterisk/FreePBX server then at this point in time you might want to boot the machine with a “recovery” linux iso/usb and use parted or gparted to resize all your mountpoints moving home back to your root partition, as by default there is really only disadvantages in a separately mounted /home file system, all the big stuff like asterisk,mysql, the web server and the log files are all in /var, these will all eventually get “big”, your /home directory . . . “Not so much”
i have moved the recordings in another filesystem and now mysqld is working.
But when i go in the gui i still got this error.
Do you know what it is ?
Thank you
FATAL ERROR
SELECT value FROM admin WHERE variable = 'version'<br> DB Error: unknown error
Trace Back
/var/www/html/admin/libraries/utility.functions.php:240 die_freepbx()
[0]: SELECT value FROM admin WHERE variable = 'version'<br> DB Error: unknown error
/var/www/html/admin/modules/userman/functions.inc/guihooks.php:14 getversion()
/var/www/html/admin/libraries/BMO/GuiHooks.class.php:237 userman_configpageinit()
[0]: index
/var/www/html/admin/config.php:312 GuiHooks->doConfigPageInits()
[0]: index
[1]:
Given your guessed deployment method, If I where you, I would start over with a “distribution” iso that is known to work, it should take care of partitioning and setup for you without you needing to reconfigure anything yourself.
Forgive me for disagreeing, but I don’t think that any distro would set up your partitioning as you have described it it you followed the defaults offered.
i have to say that i have installed it myself and i don’t have the skill nor the knowledge to install it myself on linux !!! even if i wanted to do it myself, i couldn’t do it !!!
so i can really assure you that this is a freepbx destrib with default install.
About my last issue, do you know what is it from and if i can fix it ?
I have an idea of what it is, but it’s a deep rabbit hole you would need to go down to fix it :-), I suggest you fix it by just re-installing everything from scratch, then restore from your last good backup, it will be easier for everyone concerned.