OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of Christian »
  • Show Posts »
  • Topics
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

  • Messages
  • Topics
  • Attachments

Topics - Christian

Pages: [1]
1
22.7 Legacy Series / Update to 22.7 failed: missing /usr/local/bin/php - but it ends well
« on: September 24, 2022, 06:38:49 pm »
After updating from 22.1 to 22.7 using the web browser, OPNsense failed to boot. On the serial console, I got the error message:

>>> Invoking early script 'carp'
CARP event system: Error (127)
Launching the init system.../usr/local/etc/rc: /usr/local/etc/rc.bootup: not found
Enter full pathname of shell or RETURN for /bin/sh:


After some head scratching, it turns out that rc.bootup is a PHP file and /usr/local/bin/php was AWOL as in simply not there (or anywhere else in the file system, for that matter.)  :(

Since I have daily config backups, I felt confident in trying a re-install. So I created a boot image on a USB stick and booted that.

It turns out there is an option to Import Configuration in the installer, which (spoiler alert) managed to import my entire configuration perfectly.  :)

So the installer ran through and re-booted. I then ran the updater again from the serial console since there was an update from 22.7 to 22.7.4 available. That installed just fine and my firewall is running as before now.

Unfortunately, I have no idea what went wrong, since I got no indication of a problem in the web installer. If there is a log file hidden somewhere, I'd be happy to provide it if someone can point me to it.

I guess I will go back to using the serial console for updates, if only to have a log in the rare case that something goes wrong.

I want to thank the OPNsense team for doing such a fine job with the installer (and OPNsense in general)! Things shouldn't - but they can - go wrong and the installer had my back.  8) :)

2
17.7 Legacy Series / Freeradius Fails to Start
« on: November 08, 2017, 09:58:53 pm »
Hi,

I have tried replacing my previous manually-installed freeradius with the os-freeradius package. Installing the package trashed the existing configuration by overwriting some files but not removing all old files, so I uninstalled, removed all configuration files manually, and re-installed os-freeradius.

For installation and configuration, I followed https://wiki.opnsense.org/manual/how-tos/freeradius.html.

Freeradius does not start. In /var/log/radius.log I see the following:

 
Quote
    Warning: Support for old-style clients will be removed in a future release
    Warning: No 'ipaddr' or 'ipv4addr' or 'ipv6addr' field found in client 192.168.178.53. Please fix your configuration
    Warning: Support for old-style clients will be removed in a future release
    Info: Debugger not attached
    Warning: [/usr/local/etc/raddb/mods-config/attr_filter/access_reject]:11 Check item "FreeRADIUS-Response-Delay"    found in filter list for realm "DEFAULT".
    Warning: [/usr/local/etc/raddb/mods-config/attr_filter/access_reject]:11 Check item "FreeRADIUS-Response-Delay-USec"    found in filter list for realm "DEFAULT".
    Error: Unable to check file "/usr/local/etc/raddb/certs/server.pem": No such file or directory
    Error: rlm_eap_tls: Failed initializing SSL context
    Error: rlm_eap (EAP): Failed to initialise rlm_eap_tls
    Error: /usr/local/etc/raddb/mods-enabled/eap[15]: Instantiation failed for module "eap"
I don't know what the warnings are about, I guess those are internal problems with the plugin?

It seems to me that the fatal error is the fact that /usr/local/etc/raddb/certs/server.pem is missing. I did not find any mention of creating this file in the howto and I am at a loss what to do.

Any help would be much appreciated. ;)

Thanks,
Christian

Pages: [1]
OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2