Project

General

Profile

Actions

Bug #16779

open

PHP parse error on boot after upgrade to 26.03 with suricata

Added by Alexander Lindqvist 2 months ago. Updated 23 days ago.

Status:
New
Priority:
High
Assignee:
-
Category:
Suricata
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
26.03
Affected Architecture:
6100

Description

This is a HA pair with suricata installed. Below error is after boot on both firewalls.
PHP Parse error: syntax error, unexpected identifier "suricata", expecting ")" in /usr/local/www/xmlrpc.php(141) : eval()'d code on line 14
[03-Apr-2026 22:38:12 Europe/Stockholm] PHP Parse error: syntax error, unexpected identifier "suricata", expecting ")" in /usr/local/www/xmlrpc.php(141) : eval()'d code on line 14
[03-Apr-2026 22:38:13 Europe/Stockholm] PHP Parse error: syntax error, unexpected identifier "suricata", expecting ")" in /usr/local/www/xmlrpc.php(141) : eval()'d code on line 14
[03-Apr-2026 22:38:15 Europe/Stockholm] PHP Parse error: syntax error, unexpected identifier "suricata", expecting ")" in /usr/local/www/xmlrpc.php(141) : eval()'d code on line 14

We also get the below xmlrpc error when saving a suricata rule change on primary firewall.

XMLRPC Error

Exception calling XMLRPC method exec_php # Received non-200 HTTP Code: 500. Response body:<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple-touch-icon-precomposed" href="/apple-touch/apple-touch-icon-iphone-60x60-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="60x60" href="/apple-touch/apple-touch-icon-ipad-76x76-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/apple-touch/apple-touch-icon-iphone-retina-120x120-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch/apple-touch-icon-ipad-retina-152x152-precomposed.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/manifest.json">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
<link rel="stylesheet" href="/vendor/bootstrap/css/bootstrap.min.css" type="text/css">
<link rel="stylesheet" href="/css/login.css" type="text/css">
<title>50x Error</title>
<script type="text/javascript">
//<![CDATA{
var events = events || [];
//]]>
</script>
<script src="/vendor/jquery/jquery-3.7.1.min.js"></script>
<script src="/vendor/bootstrap/js/bootstrap.min.js"></script>
<script src="/vendor/bootstrap/js/bootstrap.min.js"></script>
<script>
$(function(){
$("#logodiv").load("logo.svg");
});
</script>
</head>
<body id="login">
<div id="total">
<header>
<div id="headerrow">
<div class="row">
<div class="col-sm-4">
<div id="logodiv" style="text-align:center" class="nowarning">
</div>
</div>
<div class="col-sm-4 nowarning msgbox text-center text-danger">
The web server encountered an error processing this request.<br/>
<br/>
Check the <a href="/crash_reporter.php">Crash Reporter</a> for details.
</div>
<div class="col-sm-4 nowarning msgbox text-center">
<h4>50x Error</h4>
</div>
</div>
</div>
</header>
<div style="background: #1e3f75;" class="pagebody">
<div class="col-sm-4"></div>
<div class="col-sm-4 logoCol">
<div class="loginCont center-block text-center">
<strong><a href="/">Return to Dashboard</a></strong>
</div>
</div>
<div class="col-sm-4"></div>
</div>
<footer id="3">
<div id="footertext">
<p class="text-muted">
<a target="_blank" href="https://pfsense.org">pfSense</a>
software is developed and maintained by
<a target="_blank" href="https://netgate.com">Netgate</a>.
© ESF 2004 - 2026
<a target="_blank" href="https://pfsense.org/license">View license</a>.
</p>
</div>
</footer>
</div>
</body>
</html>
@ 2026-04-03 22:25:33
Actions #1

Updated by Alexander Lindqvist 2 months ago

Rule changes syncs over to Secondary HA but it does not automatically reload the rules anymore.

Actions #2

Updated by Bob Loi 26 days ago

Having the same issue here.
500 error with the option "Sync the configured system backup server" enabled.

With the option "Sync to defined hosts" i get the same bug:

PHP Errors:
[09-May-2026 23:52:35 Europe/Rome] PHP Parse error: syntax error, unexpected identifier "suricata", expecting ")" in /usr/local/www/xmlrpc.php(141) : eval()'d code on line 14
[09-May-2026 23:52:36 Europe/Rome] PHP Parse error: syntax error, unexpected identifier "suricata", expecting ")" in /usr/local/www/xmlrpc.php(141) : eval()'d code on line 14
[09-May-2026 23:52:37 Europe/Rome] PHP Parse error: syntax error, unexpected identifier "suricata", expecting ")" in /usr/local/www/xmlrpc.php(141) : eval()'d code on line 14
[09-May-2026 23:52:39 Europe/Rome] PHP Parse error: syntax error, unexpected identifier "suricata", expecting ")" in /usr/local/www/xmlrpc.php(141) : eval()'d code on line 14

Thanks

Actions #3

Updated by Jim Pingle 23 days ago

  • Project changed from pfSense Plus to pfSense Packages
  • Category changed from PHP Interpreter to Suricata
  • Release Notes deleted (Default)
Actions

Also available in: Atom PDF