Project

General

Profile

Actions

Bug #6920

closed

Upgrading to 2.4 with a stale package .inc file can prevent the system from fully booting after upgrade

Added by Jim Pingle almost 5 years ago. Updated almost 5 years ago.

Status:
Resolved
Priority:
Normal
Category:
Upgrade
Target version:
Start date:
11/11/2016
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4
Affected Architecture:
All

Description

I upgraded a 2.3 VM that had recently had FreeRADIUS installed, but removed. The old freeradius.inc was somehow left behind.

When the system attempted to boot after the 2.4 upgrade it stopped partway through booting and presented a login prompt. Just above was this:

[11-Nov-2016 22:12:16 America/New_York] PHP Warning:  require_once(xmlrpc.inc): failed to open stream: No such file or directory in /usr/local/pkg/freeradius.inc on line 40
[11-Nov-2016 22:12:16 America/New_York] PHP Stack trace:
[11-Nov-2016 22:12:16 America/New_York] PHP   1. {main}() /etc/rc.bootup:0
[11-Nov-2016 22:12:16 America/New_York] PHP   2. filter_configure_sync() /etc/rc.bootup:217
[11-Nov-2016 22:12:16 America/New_York] PHP   3. filter_nat_rules_generate() /etc/inc/filter.inc:265
[11-Nov-2016 22:12:16 America/New_York] PHP   4. discover_pkg_rules() /etc/inc/filter.inc:2344
[11-Nov-2016 22:12:16 America/New_York] PHP   5. require_once() /etc/inc/filter.inc:4211
[11-Nov-2016 22:12:16 America/New_York] PHP Fatal error:  require_once(): Failed opening required 'xmlrpc.inc' (include_path='.:/etc/inc:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg:/usr/local/www/classes:/usr/local/www/classes/Form:/usr/local/share/pear') in /usr/local/pkg/freeradius.inc on line 40

That file has been replaced/moved on 2.4 so the old reference is invalid. The package wasn't installed, so it wasn't reinstalled to get an updated copy.

We may want to sanity check that there aren't any files present in /usr/local/pkg/ which might reference xmlrpc.inc or other removed files.

Actions

Also available in: Atom PDF