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.
Someone know what can be the issue ??
It’s slow because the settings in manager.conf do not match the settings in advanced settings.
thank you for your answer.
can you tell me what are the setting that can cause this issue ?
it is strange
i did not change anything and today it is not slow at all and the “apply config” works… these did not happen since several weeks…
i really don’t understand
if the issue was a setting, it would not change itselfe ???
Are you hosted CyberLynk?
Are you running iSymphony?
i have installed the freepbx distro on a computer that is in our office.
There is isymphony on it but i never used it
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.
now i have this error when i want to set outbound routes
someone know how to fix it ?
DB Error: unknown error
Error selecting from fax
: DB Error: unknown error
Error selecting from fax
: Normal Congestion
and now i have this error when i do a
[[email protected] 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.
[[email protected] dev]#
Your database is corrupt or not running.
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 :
[[email protected] ~]# service mysqld start
Timeout error occurred trying to start MySQL Daemon.
Starting mysqld: [FAILED]
and the gui says :
DB Error: connect failed
: DB Error: connect failed
i have checked the issue and it seem that there is a full disk problem. the mysql log returns an error 28
And i see that the root filesystem is full
[email protected] ~]# df -m
Filesystem 1M-blocks Used Available Use% Mounted on
50397 47966 0 100% /
tmpfs 1860 0 1860 0% /dev/shm
/dev/sda1 485 34 426 8% /boot
1823105 196 1730301 1% /home
[[email protected] ~]#
Is it possible to do something that the recorded calls will be saved in another file system ?
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
astspooldir (by default “=> /var/spool/asterisk”)
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 ?
SELECT value FROM admin WHERE variable = 'version'<br> DB Error: unknown error
: SELECT value FROM admin WHERE variable = 'version'<br> DB Error: unknown error
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.
thank you for you answer but THIS IS a freepbx distrib iso.
I downloaded two months ago the dvd on freepbx site, i booted on the dvd and it installed automaticly !!!
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.
hello and thank you
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.