Last failed login: Thu Oct 25 04:01:37 UTC 2018 from 192.168.1.244 on ssh:notty
There were 2 failed login attempts since the last successful login.
Last login: Wed Oct 24 16:15:09 2018 from 192.168.1.244
Unable to create lock file: No space left on device
Failed to start up concurrent users module!
Whoops\Exception\ErrorException: file_put_contents(): Only 0 of 96 bytes written, possibly out of free disk space in file /var/www/html/admin/libraries/utility.functions.php on line 153
Stack trace:
include_once() /var/lib/asterisk/bin/fwconsole:12
zend_mm_heap corrupted
Unable to create lock file: No space left on device
Failed to start up concurrent users module!
Whoops\Exception\ErrorException: file_put_contents(): Only 0 of 96 bytes written, possibly out of free disk space in file /var/www/html/admin/libraries/utility.functions.php on line 153
Stack trace:
include_once() /var/lib/asterisk/bin/fwconsole:12
zend_mm_heap corrupted
±-----------------------------------------------------------+
| Your system is currently up to date! |
| Your PBX is up to date. |
| Also 2 Uninstalled modules. |
±-----------------------------------------------------------+
[root@freepbx ~]#
// PHP Throws an error on install running of install_amp because the tiemzone isn't set. This is something that
// should be done in the php.ini file but we will make an attempt to set it to something if we can't derive it
// from the date_default_timezone_get() command which goes through heuristics of guessing.
//
$tz = date_default_timezone_get();
if (!$tz) {
$tz = 'America/Los_Angeles';
}
date_default_timezone_set($tz);
$tstamp = date("Y-M-d H:i:s");
// Don't append if the file is greater than ~2G since some systems fail
//
$size = file_exists($log_file) ? sprintf("%u", filesize($log_file)) + strlen($txt) : 0;
if ($size < 2000000000) {
$dn = dirname($log_file);
if((file_exists($log_file) && is_writable($log_file)) || (!file_exists($log_file) && is_dir($dn) && is_writable($dn))) {
file_put_contents($log_file, "[$tstamp] $txt", FILE_APPEND);
} else {
return false;
}
}
break;
}
}
return true;
}
/**
version_compare that works with FreePBX version numbers
@param string $version1 First version number
@param string $version2 Second version number
@param string $op If you specify the third optional operator argument,
you can test for a particular relationship.
The possible operators are:
<, lt, <=, le, >, gt, >=, ge, ==, =, eq, !=, <>, ne respectively.
@return mixed returns -1 if the first version is lower than the second,
Arguments
“file_put_contents(): Only 0 of 96 bytes written, possibly out of free disk space”
Environment & details:
I did not set custom partitions. which I think I don’t know how to since I’m learning as I go. also I ran it |0|account|
|—|---|
|0|adm|
|521M|cache|
|0|crash|
|8.0K|db|
|0|empty|
|0|ftp|
|0|games|
|0|gopher|
|0|kerberos|
|973M|lib|
|0|local|
|0|lock|
|276M|log|
|0|mail|
|0|nis|
|0|opt|
|0|preserve|
|0|run|
|124K|spool|
|4.0K|tmp|
|968M|www|
|0|yp|
I should have said “df -k” so the report is in 1k blocks instead of 512byte blocks.
Your root drive is full (100m 512-byte blocks, or 50,000,000 1K blocks).
For some reason, you don’t have a ‘/var’ directory (which is where all of your dynamic files should go). Between the two, you don’t have enough space. Without deep-diving into your current drive space, there’s no way for us to know where all your space went, but it looks like you’ve got about 50G used.