Shutting down Asterisk Gracefully. Will forcefully kill after 30 seconds.
Press C to Cancel
Press N to shut down NOW
[============================] < 1 sec
Running FreePBX startup…
Starting Asterisk…
[============================] 1 sec
Asterisk Started
root@hostname:~# service freepbx status
● freepbx.service - Freepbx
Loaded: loaded (/etc/systemd/system/freepbx.service; enabled; vendor preset: enabled)
Active: active (exited) since Fri 2019-01-25 16:35:40 CET; 34s ago
Process: 1235 ExecStart=/usr/sbin/fwconsole start (code=exited, status=0/SUCCESS)
Main PID: 1235 (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 4915)
CGroup: /system.slice/freepbx.service
Jan 25 16:35:40 hostname fwconsole[1235]: 58800 [>---------------------------]
Jan 25 16:35:40 hostname fwconsole[1235]: 58900 [---------------->-----------]
Jan 25 16:35:40 hostname fwconsole[1235]: 59000 [---->-----------------------]
Jan 25 16:35:40 hostname fwconsole[1235]: 59100 [-------------------->-------]
Jan 25 16:35:40 hostname fwconsole[1235]: 59200 [-------->-------------------]
Jan 25 16:35:40 hostname fwconsole[1235]: 59300 [------------------------>—]
Jan 25 16:35:40 hostname fwconsole[1235]: 59400 [------------>---------------]
Jan 25 16:35:40 hostname fwconsole[1235]: Finished setting permissions
Jan 25 16:35:40 hostname fwconsole[1235]: Unable to run Pre-Asterisk hooks, because Asterisk is already running on PID 1250 and has been
Jan 25 16:35:40 hostname systemd[1]: Started Freepbx.
root@hostname:~#
This is what I see when I try to access the GUI.
<?php
// License for all code of this FreePBX module can be found in the license file inside the module directory
// Copyright 2013 Schmooze Com Inc.
//
if (file_exists(dirname(__FILE__) . '/index_custom.php')) {
include_once(dirname(__FILE__) . '/index_custom.php');
} else {
$basename = pathinfo($_SERVER['PHP_SELF'],PATHINFO_DIRNAME);
$uri = (!empty($basename) && $basename != '/') ? $basename . '/admin' : '/admin';
header('Location: '.$uri);
}
I had some errors like these below, but I had them before. I was trying to run '_pear install Console_Getopt_', but it failed.
Cannot adopt OID in UCD-SNMP-MIB: laLoad ::= { laEntry 3 }
Cannot adopt OID in UCD-SNMP-MIB: laNames ::= { laEntry 2 }
Cannot adopt OID in UCD-SNMP-MIB: laIndex ::= { laEntry 1 }
Any ideas please?
Thank you,
Kind regards,
Hm, well, it doesn’t seem to have it. Though I did install these
apt -y install wget php php-pear php-cgi php-common php-curl php-mbstring php-gd php-mysql php-gettext php-bcmath php-zip php-xml php-imap php-json php-snmp php-fpm libapache2-mod-php
Ok, got it. Apologies for the bug tracker. I’m not aware of skipping any part of the guide
/usr/src/freepbx# apt-get install php5.6-mysql
Reading package lists… Done
Building dependency tree
Reading state information… Done
php5.6-mysql is already the newest version (5.6.40-1+0~20190111135530.9+stretch~1.gbp5f42c9).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
sed -i ‘s/(^upload_max_filesize = )./\120M/’ /etc/php/7.2/apache2/php.ini
sed -i 's/(^upload_max_filesize = )./\120M/’ /etc/php/7.2/cli/php.ini
reboot
This is the latest info from fwconsole debug
[2019-Jan-25 20:24:52] [INFO] (framework/install.php:321) - Refreshing GPG Keys…Done
[2019-Jan-25 20:24:52] [UPDATE] (libraries/modulefunctions.class.php:2025) - Module: framework Updated to version 14.0.5.25
[2019-Jan-25 20:24:53] [INFO] (libraries/modulefunctions.class.php:2083) - Generating CSS…Done
[2019-Jan-25 20:26:39] [CRITICAL] (admin/bootstrap.php:260) - Connection attmempt to AMI failed
[2019-Jan-25 20:43:02] [CRITICAL] (admin/bootstrap.php:260) - Connection attmempt to AMI failed
[2019-Jan-25 20:43:18] [CRITICAL] (admin/bootstrap.php:260) - Connection attmempt to AMI failed
[2019-Jan-25 21:42:26] [CRITICAL] (admin/bootstrap.php:260) - Connection attmempt to AMI failed
[2019-Jan-25 21:42:42] [CRITICAL] (admin/bootstrap.php:260) - Connection attmempt to AMI failed
[2019-Jan-25 21:43:15] [NOTICE] (BMO/Notifications.class.php:507) - [NOTIFICATION]-[core]-[MEMLIMIT] - Memory Limit Changed (Your memory_limit, 128M, is set too low and has been increased to 256M. You may want to change this in you php.ini config file)