I was running under distr 10.13.66.12 and had asterisk 13 running when framework became disabled at 13.0.124. I tried to manually CLI framework for an upgrade an system froze. I rebooted and I get the PHP Fatal Error and the astrdundir problem.
Is there a way to reinitialize GUI and system. Nothing is working.
astrundir is /var/run/asterisk. You might have a full disk or corruption in /var. Check the disk conditions with df -h and see whether the directory is there with ls -l /var/run. If the ownership/permissions on the directory are wrong, you can use fwconsole chown to fix it.
fwconsole does not work
I tried amportal chown and it returns cannot make directory -1
Space is less than 19% used of total disk
etc/asterisk is there but the mkdir -p failure occurs when I use amportal chown
WARNING ERROR IN CONFIGURATION
astrundir in’/etc/asterisk is set to but the directory does not exist, 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
use must create this directory and try again
I am working but maybe you can help me find a way to cut and paste. I don’t have that option when I log in to the actual pbx server to port to the postings. Is there a way to access from my windows machine so I can copy the output and paste?
PHP Fatal error: Class ‘Symfony\Component\Console\Application’ not found in /var/www/html/admin/libraries/FWApplication.class.php on line 11
PHP Fatal error: Class ‘Symfony\Component\Console\Application’ not found in /var/www/html/admin/libraries/FWApplication.class.php on line 11
I don’t know I tried to update from GUI but froze to 143, then I tried from CLI and it worked and then stopped the update at a point. Is there a way to reload or reinstall this?
[root@localhost ~]# fwconsole ma --edge upgrade framework
PHP Fatal error: Class ‘Symfony\Component\Console\Application’ not found in /var/www/html/admin/libraries/FWApplication.class.php on line 11
[root@localhost ~]# amportal ma --edge upgrade framework
Please wait…
**** WARNING: ERROR IN CONFIGURATION ****
astrundir in ‘/etc/asterisk’ is set to but the directory
does not exist. 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.
localhost*CLI> manager reload
[Jun 28 08:59:38] NOTICE[9555]: manager.c:8726 __init_manager: Unable to open AMI configuration manager.conf, or configuration is invalid.
You will need to review the files in /etc/asterisk and find out what is wrong. Is there an /etc/asterisk/manager.conf and what is in it? Is there an /etc/asterisk/asterisk.conf and does it point to sensible locations for the directories?