[SOLVED] Fresh install, "CRITICAL SYSTEM ERROR"

Downloaded 10.13.66-64bit. Did a clean install on brand new hardware. Install completed successfully. Rebooted, logged in as root, and got this:

** CRITICAL SYSTEM ERROR **

Unable to generate MOTD.
The /usr/sbin/fwconsole file is not accessible

You are likely to experience significant system issues.

Sure enough, /usr/sbin/fwconsole does not exist.

# locate fwconsole
locate: can not stat () `/var/lib/mlocate/mlocate.db': No such file or directory

Nothing in /etc/schmooze at all.

Any ideas?

see if amportal will show up. try amportal chown and see if amportal is installed and if it will set permissions.

or make sure it didn’t install in the wrong area like /usr/bin or /usr/local/sbin

The amportal binary is just as “not there” as the fwconsole binary. I see no way that a clean install would put things in the wrong place. Something is badly wrong with the install.

According to http://wiki.freepbx.org/display/PPS/Installing+FreePBX+Official+Distro , following the installation, the machine should reboot and then install a few additional packages (step 11). This never happens; it just restarts and goes straight to the login prompt. This is a completely clean install, the installer wipes the HD and uses all space.

I’m in the process of re-downloading & re-burning the installer image. Hopefully that will fix the problem…though it’s disturbing that the installer never threw an error of any sort, yet the installed system obviously doesn’t work.

You can’t use locate unless you’ve run updatedb at least once

Anyways your install is corrupt. You should start over.

It seems to me that we’ve seen this before - there was a similar incident where the installer quietly failed on a download (??? I’m trying to remember) and the system proceeded on as if it knew what it was doing.

When I use dd or rufus to burn the USB image to a USB thumb drive, the machine won’t boot to it–no OS found. When I use rufus to burn the ISO image to the same thumb drive, it boots fine, runs the install with no errors, but results in a corrupt install.

The file /usr/sbin/fwconsole is a symlink to /var/lib/asterisk/bin/fwconsole. You could try manually creating the symlink, but there may be other things missing that are not so obvious.

# ll /usr/sbin/fwconsole
lrwxrwxrwx. 1 root root 31 Nov 24 06:11 /usr/sbin/fwconsole -> /var/lib/asterisk/bin/fwconsole
# updatedb
# locate fwconsole
/usr/src/freepbx-13.0.151/amp_conf/bin/fwconsole
/usr/src/freepbx-13.0.151/amp_conf/htdocs/admin/modules/framework/amp_conf/bin/fwconsole
# /usr/src/freepbx-13.0.151/amp_conf/bin/fwconsole chown
PHP Warning:  include_once(/etc/asterisk/freepbx.conf): failed to open stream: No such file or directory in /usr/src/freepbx-13.0.151/amp_conf/bin/fwconsole on line 13
PHP Warning:  include_once(): Failed opening '/etc/asterisk/freepbx.conf' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /usr/src/freepbx-13.0.151/amp_conf/bin/fwconsole on line 13
PHP Warning:  include(/var/www/html/admin/libraries/FWApplication.class.php): failed to open stream: No such file or directory in /usr/src/freepbx-13.0.151/amp_conf/bin/fwconsole on line 68
PHP Warning:  include(): Failed opening '/var/www/html/admin/libraries/FWApplication.class.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /usr/src/freepbx-13.0.151/amp_conf/bin/fwconsole on line 68
PHP Warning:  include(/var/www/html/admin/libraries/FWHelper.class.php): failed to open stream: No such file or directory in /usr/src/freepbx-13.0.151/amp_conf/bin/fwconsole on line 69
PHP Warning:  include(): Failed opening '/var/www/html/admin/libraries/FWHelper.class.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /usr/src/freepbx-13.0.151/amp_conf/bin/fwconsole on line 69
PHP Warning:  include(/var/www/html/admin/libraries/FWList.class.php): failed to open stream: No such file or directory in /usr/src/freepbx-13.0.151/amp_conf/bin/fwconsole on line 70
PHP Warning:  include(): Failed opening '/var/www/html/admin/libraries/FWList.class.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /usr/src/freepbx-13.0.151/amp_conf/bin/fwconsole on line 70
PHP Fatal error:  Class 'FreePBX' not found in /usr/src/freepbx-13.0.151/amp_conf/bin/fwconsole on line 77

OK…“same thumb drive” triggered the thought, why don’t I try a different thumb drive. Working on that now, hopefully this will work.

Nope. Same issue. The USB image still results in a non-bootable thumb drive. Not sure what to make of it.

So, since I apparently have a relatively working install of the CentOS underpinnings, is there a magic command I can run to kick off a proper FreePBX install on top of it?

So…I’ve burned the USB .img to a couple different USB sticks, four different ways (Rufus and Win32DiskImager on Win 10, dd and Etcher on macOS), and I have yet to obtain a bootable USB stick.

Now, if I burn the .iso file instead, either stick is bootable, but I end up with a half-baked system.

I even tried the FreePBX beta .iso, since it says it’ll work on pretty much any installation media. That image will boot to the grub prompt, but then it can’t find the kernel.

I’m already running FreePBX on another machine, an old piece of crap, but I’m trying to install it on brand new hardware so we can have a nice snappy system. I’ve installed all kinds of OSen on all sorts of hardware using all types of install media, but apparently I’ve now met my match. :stuck_out_tongue:

Seems like you don’t have Internet during the install.

It’s not a network issue, that’s all there. What I’m running into is this:

  • Burning the .img image to USB results in a non-bootable USB drive. The BIOS doesn’t see any bootable partition at all.
  • Burning the .iso image to USB boots & installs with no errors, but results in a horked system.

Maybe it’s the brand-new Lenovo 90BG hardware that’s the real problem, I don’t know. But I’ve tried every combination of USB-burning tool and trick I can think of, and nothing works. The “horked” system is running just fine, as far as the base OS is concerned:

# uname -a
Linux cq-pbx 2.6.32-642.6.2.el6.x86_64 #1 SMP Wed Oct 26 06:52:09 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

I can ssh into it, network’s fine, everything’s hunky dory–but no FreePBX.

Here, I’ll post the install.log contents. There are some interesting errors.

Installing libgcc-4.4.7-11.el6.x86_64
warning: libgcc-4.4.7-11.el6.x86_64: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Installing setup-2.8.14-20.el6_4.1.noarch
Installing filesystem-2.4.30-3.el6.x86_64
Installing basesystem-10.0-4.el6.noarch
Installing libX11-common-1.6.0-2.2.el6.noarch
Installing mailcap-2.1.31-2.el6.noarch
Installing tzdata-2015e-1.el6.noarch
Installing ncurses-base-5.7-3.20090208.el6.x86_64
Installing glibc-common-2.12-1.166.el6_7.7.x86_64
Installing nss-softokn-freebl-3.14.3-22.el6_6.x86_64
Installing glibc-2.12-1.166.el6_7.7.x86_64
Installing ncurses-libs-5.7-3.20090208.el6.x86_64
Installing bash-4.1.2-29.el6.x86_64
Installing libattr-2.4.44-7.el6.x86_64
Installing libcap-2.16-5.5.el6.x86_64
Installing zlib-1.2.3-29.el6.x86_64
Installing info-4.13a-8.el6.x86_64
Installing libcom_err-1.41.12-21.el6.x86_64
Installing popt-1.13-7.el6.x86_64
Installing chkconfig-1.3.49.3-2.el6_4.1.x86_64
Installing db4-4.7.25-19.el6_6.x86_64
Installing audit-libs-2.3.7-5.el6.x86_64
Installing libacl-2.2.49-6.el6.x86_64
Installing dbus-libs-1.2.24-8.el6_6.x86_64
Installing expat-2.0.1-11.el6_2.x86_64
Installing libstdc++-4.4.7-11.el6.x86_64
Installing libsepol-2.0.41-4.el6.x86_64
Installing libselinux-2.0.94-5.8.el6.x86_64
Installing shadow-utils-4.1.4.2-19.el6_6.1.x86_64
Installing sed-4.2.1-10.el6.x86_64
Installing bzip2-libs-1.0.5-7.el6_0.x86_64
Installing nspr-4.10.8-1.el6_6.x86_64
Installing readline-6.0-4.el6.x86_64
Installing lua-5.1.4-4.1.el6.x86_64
Installing libxml2-2.7.6-17.el6_6.1.x86_64
Installing libuuid-2.17.2-12.18.el6.x86_64
Installing nss-util-3.19.1-1.el6_6.x86_64
Installing tcp_wrappers-libs-7.6-57.el6.x86_64
Installing libblkid-2.17.2-12.18.el6.x86_64
Installing gawk-3.1.7-10.el6.x86_64
Installing sqlite-3.6.20-1.el6.x86_64
Installing pcre-7.8-6.el6.x86_64
Installing grep-2.6.3-6.el6.x86_64
Installing libidn-1.18-2.el6.x86_64
Installing libtalloc-2.0.7-2.el6.x86_64
Installing libgpg-error-1.7-4.el6.x86_64
Installing xz-libs-4.999.9-0.5.beta.20091007git.el6.x86_64
Installing libgcrypt-1.4.5-11.el6_4.x86_64
Installing findutils-4.4.2-6.el6.x86_64
Installing cyrus-sasl-lib-2.1.23-15.el6_6.2.x86_64
Installing file-libs-5.04-21.el6.x86_64
Installing libedit-2.11-4.20080712cvs.1.el6.x86_64
Installing keyutils-libs-1.4-5.el6.x86_64
Installing krb5-libs-1.10.3-37.el6_6.x86_64
Installing libgssglue-0.1-11.el6.x86_64
Installing libudev-147-2.57.el6.x86_64
Installing libnl-1.1.4-2.el6.x86_64
Installing pkgconfig-0.23-9.1.el6.x86_64
Installing libtevent-0.9.18-3.el6.x86_64
Installing apr-1.3.9-5.el6_2.x86_64
Installing apr-util-1.3.9-3.el6_0.1.x86_64
Installing bzip2-1.0.5-7.el6_0.x86_64
Installing psmisc-22.6-19.el6_5.x86_64
Installing gmp-4.3.1-7.el6_2.2.x86_64
Installing libicu-4.2.1-9.1.el6_2.x86_64
Installing freetype-2.3.11-15.el6_6.1.x86_64
Installing libcap-ng-0.6.4-3.el6_0.1.x86_64
Installing dbus-1.2.24-8.el6_6.x86_64
Installing pciutils-libs-3.1.10-4.el6.x86_64
Installing elfutils-libelf-0.158-3.2.el6.x86_64
Installing libtdb-1.2.10-1.el6.x86_64
Installing libtirpc-0.2.1-10.el6.x86_64
Installing keyutils-1.4-5.el6.x86_64
Installing file-5.04-21.el6.x86_64
Installing libxslt-1.1.26-2.el6_3.1.x86_64
Installing nss-softokn-3.14.3-22.el6_6.x86_64
Installing checkpolicy-2.0.22-1.el6.x86_64
Installing libusb-0.1.12-23.el6.x86_64
Installing db4-utils-4.7.25-19.el6_6.x86_64
Installing e2fsprogs-libs-1.41.12-21.el6.x86_64
Installing which-2.19-6.el6.x86_64
Installing cpio-2.10-12.el6_5.x86_64
Installing m4-1.4.13-5.el6.x86_64
Installing libpng-1.2.49-1.el6_2.x86_64
Installing pth-2.0.7-9.3.el6.x86_64
Installing sysvinit-tools-2.87-5.dsf.el6.x86_64
Installing gdbm-1.8.0-36.el6.x86_64
Installing perl-Pod-Escapes-1.04-136.el6_6.1.x86_64
Installing perl-libs-5.10.1-136.el6_6.1.x86_64
Installing perl-Module-Pluggable-3.90-136.el6_6.1.x86_64
Installing perl-version-0.77-136.el6_6.1.x86_64
Installing perl-Pod-Simple-3.13-136.el6_6.1.x86_64
Installing perl-5.10.1-136.el6_6.1.x86_64
Installing perl-DBI-1.609-4.el6.x86_64
Installing autoconf-2.63-5.1.el6.noarch
Installing libjpeg-turbo-1.2.1-3.el6_5.x86_64
Installing libtasn1-2.3-6.el6_5.x86_64
Installing p11-kit-0.18.5-2.el6_5.2.x86_64
Installing p11-kit-trust-0.18.5-2.el6_5.2.x86_64
Installing automake-1.11.1-4.el6.noarch
Installing hal-libs-0.5.14-14.el6.x86_64
Installing libicu-devel-4.2.1-9.1.el6_2.x86_64
Installing icu-4.2.1-9.1.el6_2.x86_64
Installing gamin-0.1.10-9.el6.x86_64
Installing glib2-2.28.8-4.el6.x86_64
Installing shared-mime-info-0.70-6.el6.x86_64
Installing dbus-glib-0.86-6.el6.x86_64
Installing eggdbus-0.6-3.el6.x86_64
Installing grubby-7.0.15-7.el6.x86_64
Installing iw-3.10-1.1.el6.x86_64
Installing xz-4.999.9-0.5.beta.20091007git.el6.x86_64
Installing xz-lzma-compat-4.999.9-0.5.beta.20091007git.el6.x86_64
Installing tcp_wrappers-7.6-57.el6.x86_64
Installing lua-filesystem-1.4.2-1.el6.x86_64
warning: lua-filesystem-1.4.2-1.el6.x86_64: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Installing lua-expat-1.2.0-1.el6.x86_64
Installing lua-socket-2.0.2-4.el6.x86_64
Installing libutempter-1.1.5-4.1.el6.x86_64
Installing MAKEDEV-3.24-6.el6.x86_64
Installing lsof-4.82-4.el6.x86_64
Installing vim-minimal-7.2.411-1.8.el6.x86_64
Installing procps-3.2.8-30.el6.x86_64
Installing net-tools-1.60-110.el6_2.x86_64
Installing libselinux-utils-2.0.94-5.8.el6.x86_64
Installing tar-1.23-11.el6.x86_64
Installing device-mapper-persistent-data-0.3.2-1.el6.x86_64
Installing libnih-1.0.1-7.el6.x86_64
Installing upstart-0.6.5-13.el6_5.3.x86_64
Installing acl-2.2.49-6.el6.x86_64
Installing pinentry-0.7.6-6.el6.x86_64
Installing libss-1.41.12-21.el6.x86_64
Installing e2fsprogs-1.41.12-21.el6.x86_64
Installing make-3.81-20.el6.x86_64
Installing diffutils-2.8.1-28.el6.x86_64
Installing binutils-2.20.51.0.2-5.42.el6.x86_64
Installing vim-common-7.2.411-1.8.el6.x86_64
Installing dash-0.5.5.1-4.el6.x86_64
Installing ncurses-5.7-3.20090208.el6.x86_64
Installing groff-1.18.1.4-21.el6.x86_64
Installing less-436-13.el6.x86_64
Installing coreutils-libs-8.4-37.el6.x86_64
Installing gzip-1.3.12-22.el6.x86_64
Installing cracklib-2.8.16-4.el6.x86_64
Installing cracklib-dicts-2.8.16-4.el6.x86_64
Installing coreutils-8.4-37.el6.x86_64
Installing pam-1.1.1-20.el6.x86_64
Installing module-init-tools-3.9-24.el6.x86_64
Installing hwdata-0.233-11.1.el6.noarch
Installing redhat-logos-60.0.14-12.shmz66.4.3.noarch
Installing logrotate-3.7.8-17.el6.x86_64
Installing plymouth-scripts-0.8.3-27.el6.centos.1.x86_64
Installing pciutils-3.1.10-4.el6.x86_64
Installing libpciaccess-0.13.3-0.1.el6.x86_64
Installing ConsoleKit-libs-0.4.1-3.el6.x86_64
Installing ConsoleKit-0.4.1-3.el6.x86_64
Installing polkit-0.96-7.el6.x86_64
Installing rpcbind-0.2.0-11.el6.x86_64
Installing nss-3.19.1-3.el6_6.x86_64
Installing nss-sysinit-3.19.1-3.el6_6.x86_64
Installing nss-tools-3.19.1-3.el6_6.x86_64
Installing ca-certificates-2015.2.4-65.0.1.el6_6.noarch
Installing openssl-1.0.1e-30.el6.11.x86_64
Installing mysql-libs-5.1.73-5.el6_6.x86_64
Installing mysql-5.1.73-5.el6_6.x86_64
Installing libssh2-1.4.2-1.el6_6.1.x86_64
Installing libcurl-7.19.7-40.el6_6.4.x86_64
Installing curl-7.19.7-40.el6_6.4.x86_64
Installing rpm-libs-4.8.0-38.el6_6.x86_64
Installing rpm-4.8.0-38.el6_6.x86_64
Installing openldap-2.4.39-8.el6.x86_64
Installing php-common-5.3.28-3.shmz65.4.125.x86_64
Installing php-pdo-5.3.28-3.shmz65.4.125.x86_64
Installing php-cli-5.3.28-3.shmz65.4.125.x86_64
Installing libuser-0.56.13-5.el6.x86_64
Installing passwd-0.77-4.el6_2.2.x86_64
Installing php-pear-1.9.4-4.el6.noarch
Installing php-mysql-5.3.28-3.shmz65.4.125.x86_64
Installing php-mbstring-5.3.28-3.shmz65.4.125.x86_64
Installing php-xml-5.3.28-3.shmz65.4.125.x86_64
Installing php-process-5.3.28-3.shmz65.4.125.x86_64
Installing php-intl-5.3.28-3.shmz65.4.125.x86_64
Installing gnupg2-2.0.14-8.el6.x86_64
Installing gpgme-1.1.8-3.el6.x86_64
Installing sudo-1.8.6p3-15.el6.x86_64
Installing apr-util-ldap-1.3.9-3.el6_0.1.x86_64
Installing postgresql-libs-8.4.20-3.el6_6.x86_64
Installing lua-dbi-0.5-2.el6.x86_64
Installing perl-DBD-MySQL-4.013-3.el6.x86_64
Installing bind-libs-9.8.2-0.30.rc1.el6_6.3.x86_64
Installing fipscheck-lib-1.2.0-7.el6.x86_64
Installing fipscheck-1.2.0-7.el6.x86_64
Installing httpd-tools-2.2.15-31.shmz65.2.8.x86_64
Installing lua-sec-0.4.1-2.el6.x86_64
Installing prosody-0.9.1-102.shmz65.1.18.x86_64
Installing fontconfig-2.8.0-5.el6.x86_64
Installing ethtool-3.5-5.el6.x86_64
Installing mingetty-1.08-5.el6.x86_64
Installing libevent-1.4.13-4.el6.x86_64
Installing plymouth-core-libs-0.8.3-27.el6.centos.1.x86_64
Installing hdparm-9.43-4.el6.x86_64
Installing libpcap-1.4.0-1.20130826git2dbcaa1.el6.x86_64
Installing libusb1-1.0.9-0.6.rc1.el6.x86_64
Installing gpm-libs-1.20.6-12.el6.x86_64
Installing sgpio-1.2.0.10-5.el6.x86_64
Installing dmidecode-2.12-5.el6_6.1.x86_64
Installing ustr-1.0.4-9.1.el6.x86_64
Installing libsemanage-2.0.43-4.2.el6.x86_64
Installing libtool-ltdl-2.2.6-15.5.el6.x86_64
Installing libffi-3.0.5-3.2.el6.x86_64
Installing python-2.6.6-52.el6.x86_64
Installing python-libs-2.6.6-52.el6.x86_64
Installing rpm-python-4.8.0-38.el6_6.x86_64
Installing python-ethtool-0.6-5.el6.x86_64
Installing yum-metadata-parser-1.1.2-16.el6.x86_64
Installing pygpgme-0.1-18.20090824bzr68.el6.x86_64
Installing python-pycurl-7.19.0-8.el6.x86_64
Installing python-urlgrabber-3.9.1-9.el6.noarch
Installing nodejs-0.10.40-1.shmz65.1.6.x86_64
Installing dbus-python-0.83.0-6.1.el6.x86_64
Installing python-iniparse-0.3.1-2.1.el6.noarch
Installing yum-plugin-fastestmirror-1.1.30-30.el6.noarch
Installing yum-3.2.29-60.el6.centos.noarch
Installing slang-2.2.1-1.el6.x86_64
Installing newt-0.52.11-3.el6.x86_64
Installing newt-python-0.52.11-3.el6.x86_64
Installing libXau-1.0.6-4.el6.x86_64
Installing libxcb-1.9.1-2.el6.x86_64
Installing libX11-1.6.0-2.2.el6.x86_64
Installing t1lib-5.1.2-6.el6_2.1.x86_64
Installing libXpm-3.5.10-2.el6.x86_64
Installing php-gd-5.3.28-3.shmz65.4.125.x86_64
Installing gd-2.0.35-11.el6.x86_64
Installing apcupsd-3.14.10-1.el6.rf.x86_64
warning: apcupsd-3.14.10-1.el6.rf.x86_64: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY
Installing kbd-misc-1.15-11.el6.noarch
Installing schmooze-release-6-6.el6.shmz66.3.4.x86_64
Installing policycoreutils-2.0.83-19.47.el6_6.1.x86_64
Installing iptables-1.4.7-14.el6.x86_64
Installing iproute-2.6.32-33.el6_6.x86_64
Installing iputils-20071127-17.el6_4.2.x86_64
Installing util-linux-ng-2.17.2-12.18.el6.x86_64
Installing initscripts-9.03.46-1.el6.centos.1.x86_64
Installing udev-147-2.57.el6.x86_64
Installing device-mapper-libs-1.02.90-2.el6_6.3.x86_64
Installing device-mapper-1.02.90-2.el6_6.3.x86_64
Installing device-mapper-event-libs-1.02.90-2.el6_6.3.x86_64
Installing device-mapper-event-1.02.90-2.el6_6.3.x86_64
Installing kbd-1.15-11.el6.x86_64
Installing httpd-2.2.15-31.shmz65.2.8.x86_64
httpd: apr_sockaddr_info_get() failed for cq-pbx
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
Installing php-5.3.28-3.shmz65.4.125.x86_64
Installing openssh-5.3p1-104.el6_6.1.x86_64
Installing php-devel-5.3.28-3.shmz65.4.125.x86_64
Installing php-5.3-zend-guard-loader-5.5.0-5_el6.x86_64
Installing lvm2-libs-2.02.111-2.el6_6.3.x86_64
Installing cryptsetup-luks-libs-1.2.0-11.el6.x86_64
Installing cryptsetup-luks-1.2.0-11.el6.x86_64
Installing pm-utils-1.2.5-11.el6.x86_64
Installing hal-info-20090716-3.1.el6.noarch
Installing hal-0.5.14-14.el6.x86_64
Installing kpartx-0.4.9-80.el6_6.3.x86_64
Installing dmraid-events-1.0.0.rc16-11.el6.x86_64
Installing dmraid-1.0.0.rc16-11.el6.x86_64
Installing libdrm-2.4.52-4.el6.x86_64
Installing plymouth-0.8.3-27.el6.centos.1.x86_64
Installing dracut-004-409.el6_8.2.noarch
Installing dracut-kernel-004-409.el6_8.2.noarch
Installing crda-1.1.3_2014.06.13-1.el6.x86_64
Installing wireless-tools-29-5.1.1.el6.x86_64
Installing python-iwlib-0.1-1.2.el6.x86_64
Installing ntpdate-4.2.6p5-3.el6.centos.x86_64
Installing rsyslog-5.8.10-10.el6_6.x86_64
Installing mysql-server-5.1.73-5.el6_6.x86_64
Installing cyrus-sasl-2.1.23-15.el6_6.2.x86_64
Installing postfix-2.6.6-6.el6_5.x86_64
Installing crontabs-1.10-33.el6.noarch
Installing cronie-anacron-1.4.4-12.el6.x86_64
Installing cronie-1.4.4-12.el6.x86_64
Installing samba-winbind-clients-3.6.23-14.el6_6.x86_64
Installing samba-common-3.6.23-14.el6_6.x86_64
Installing samba-winbind-3.6.23-14.el6_6.x86_64
Installing incron-0.5.9-2.el6.rf.x86_64
Installing vsftpd-2.2.2-13.el6_6.1.x86_64
Installing sysadmin-2.8.0-2.shmz65.1.46.noarch
no table for root
/var/tmp/rpm-tmp.6fNL7Q: line 77: /var/lib/asterisk/bin/module_admin: No such file or directory
PHP Warning:  include_once(/etc/asterisk/freepbx.conf): failed to open stream: No such file or directory in Command line code on line 1
PHP Warning:  include_once(): Failed opening '/etc/asterisk/freepbx.conf' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in Command line code on line 1
Installing nfs-utils-lib-1.1.5-9.el6_6.x86_64
Installing nfs-utils-1.2.3-54.el6.x86_64
Installing usermode-1.102-3.el6.x86_64
Installing selinux-policy-3.7.19-260.el6_6.5.noarch
Installing dhcp-common-4.1.1-43.P1.el6.centos.1.x86_64
Installing kernel-firmware-2.6.32-642.6.2.el6.noarch
Installing kernel-2.6.32-642.6.2.el6.x86_64
Installing dhclient-4.1.1-43.P1.el6.centos.1.x86_64
Installing selinux-policy-targeted-3.7.19-260.el6_6.5.noarch
Installing system-config-network-tui-1.6.0.el6.2-1.el6.noarch
Installing freepbx-13.0.151-1.shmz65.1.48.noarch
adduser: user 'asterisk' already exists
/var/tmp/rpm-tmp.XJmi7F: line 10: /etc/init.d/asterisk: No such file or directory
mv: cannot stat `/usr/src/freepbx': No such file or directory
./start_asterisk: line 45: /usr/sbin/safe_asterisk: No such file or directory
touch: cannot touch `/var/log/asterisk/fail2ban': No such file or directory
touch: cannot touch `/var/log/asterisk/freepbx_security.log': No such file or directory
/var/tmp/rpm-tmp.8szqUY: line 20: /usr/sbin/fwconsole: No such file or directory
touch: cannot touch `/var/log/asterisk/cdr-csv/Master.csv': No such file or directory
chmod: cannot access `/var/log/asterisk/cdr-csv/Master.csv': No such file or directory
/var/tmp/rpm-tmp.8szqUY: line 25: /usr/sbin/fwconsole: No such file or directory
/var/tmp/rpm-tmp.8szqUY: line 26: /usr/sbin/fwconsole: No such file or directory
/var/tmp/rpm-tmp.8szqUY: line 27: /usr/sbin/fwconsole: No such file or directory
/var/tmp/rpm-tmp.8szqUY: line 28: /usr/sbin/fwconsole: No such file or directory
/var/tmp/rpm-tmp.8szqUY: line 30: /usr/sbin/fwconsole: No such file or directory
/var/tmp/rpm-tmp.8szqUY: line 31: /usr/sbin/fwconsole: No such file or directory
chmod: cannot access `/var/spool/asterisk/monitor': No such file or directory
Installing cifs-utils-4.8.1-19.el6.x86_64
Installing ntp-4.2.6p5-3.el6.centos.x86_64
Installing lvm2-2.02.111-2.el6_6.3.x86_64
Installing openssh-clients-5.3p1-104.el6_6.1.x86_64
Installing openssh-server-5.3p1-104.el6_6.1.x86_64
Installing parted-2.1-25.el6.x86_64
Installing mdadm-3.3-6.el6_6.1.x86_64
Installing bfa-firmware-3.2.23.0-2.el6.noarch
Installing aic94xx-firmware-30-2.el6.noarch
Installing quota-3.17-21.el6_5.x86_64
Installing acpid-1.0.10-2.1.el6.x86_64
Installing libcgroup-0.40.rc1-15.el6_6.x86_64
Installing iptables-ipv6-1.4.7-14.el6.x86_64
Installing authconfig-6.1.12-19.el6.x86_64
Installing yum-utils-1.1.30-30.el6.noarch
Installing vim-enhanced-7.2.411-1.8.el6.x86_64
Installing gdb-7.2-75.el6.x86_64
Installing grub-0.97-93.el6.x86_64
Installing usbutils-003-4.el6.x86_64
Installing tcpdump-4.0.0-3.20090921gitdf3cb4.2.el6.x86_64
Installing bind-utils-9.8.2-0.30.rc1.el6_6.3.x86_64
Installing man-1.6f-32.el6.x86_64
Installing wget-1.12-5.el6_6.1.x86_64
Installing audit-2.3.7-5.el6.x86_64
Installing efibootmgr-0.5.4-12.el6.x86_64
Installing tmpwatch-2.9.16-4.el6.x86_64
Installing cyrus-sasl-plain-2.1.23-15.el6_6.2.x86_64
Installing mlocate-0.22.2-4.el6.x86_64
Installing unzip-6.0-2.el6_6.x86_64
Installing rsync-3.0.6-12.el6.x86_64
Installing nano-2.0.9-7.el6.x86_64
Installing time-1.7-37.1.el6.x86_64
Installing attr-2.4.44-7.el6.x86_64
Installing traceroute-2.0.14-2.el6.x86_64
Installing zip-3.0-1.el6.x86_64
Installing libaio-0.3.107-10.el6.x86_64
Installing bridge-utils-1.2-10.el6.x86_64
Installing numactl-2.0.9-2.el6.x86_64
Installing ql2400-firmware-7.03.00-1.el6_5.noarch
Installing ql2100-firmware-1.19.38-3.1.el6.noarch
Installing ql2500-firmware-7.03.00-1.el6_5.noarch
Installing ql2200-firmware-2.02.08-3.1.el6.noarch
Installing ql23xx-firmware-3.03.27-3.1.el6.noarch
Installing rootfiles-8.1-6.1.el6.noarch
*** FINISHED INSTALLING PACKAGES ***

Seems like I’m running into this issue:

This is looks exactly the same as the upgrade bug that caused some systems to update partway from FreePBX 12 to FreePBX 13 if you had automatic updates set to yes.

It’s not.

Pretty sure this is an issue with UEFI vs. legacy BIOS, maybe on this particular Lenovo hardware. If I disable UEFI, I can boot off of the .iso image (burned to USB using Rufus), but it gets to a blue screen and hangs. If I enable UEFI (which is how it’s been configured so far), I get the results described above. The base OS appears to be fully functional, and apparently FreePBX is on the drive but not configured, because Asterisk seems to be completely missing.

Super frustrating. Can’t even use the instructions at http://wiki.freepbx.org/display/FOP/Installing+FreePBX+13+on+CentOS+6 to install the missing bits, because those instructions assume a stock CentOS install, which this isn’t.

UEFI doesn’t work all that well on our CentOS 6 distro. It sounds like you’ll have to use our SNG7 distro, or, boot from a physical DVD and not let it use UEFI.

Finally got it running on the Lenovo hardware. Lessons learned:

  1. Don’t even try using UEFI. Turn it off, force the BIOS into legacy mode. Linuxen still prefer yesterday’s hardware.
  2. Don’t even try installing off of a USB stick. Burn a DVD. Even the SNG7 distro doesn’t really like USB.

Yeah, I know, there are ways around both issues, and that’s a great pursuit for folks who aren’t time constrained to get FreePBX running and operational. If you’re like me, though, learn from my mistakes and save yourself the grief!

1 Like