Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    BUG in Freeradius2 XMLRPC Sync

    Scheduled Pinned Locked Moved pfSense Packages
    1 Posts 1 Posters 657 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I
      ilbicio
      last edited by

      Hello and sorry if I post here, but I have lost my redmine username and cannot find a way to recover it.

      I discovered a strange issue in XMLRPC sync on freeradius2 package. I'm running pfsense 2.2.6 an freeradius2 1.6.19

      Hitting Save button in web GUI I have this response:

      ---SENT---
      POST /xmlrpc.php HTTP/1.0
      User-Agent: PEAR XML_RPC
      Host: 192.168.232.2
      Authorization: Basic YWRtaW46Q2lhb0dyYXppZUMxNDBDMTQw
      Content-Type: text/xml
      Content-Length: 342
      
      pfsense.exec_php
      
      XXXXXXXXXXX
      
      require_once('/usr/local/pkg/freeradius.inc');
      freeradius_all_after_XMLRPC_resync();
      
      ---END---
      ---GOT---
      HTTP/1.0 200 OK
      Expires: Sun, 17 Apr 2016 15:02:26 GMT
      Cache-Control: max-age=180000
      Content-type: text/html
      Connection: close
      Date: Fri, 15 Apr 2016 13:02:45 GMT
      Server: lighttpd/1.4.38
      
      Warning: unlink(/var/log/radacct/datacounter/daily/used-octets-riccardo*): No such file or directory in /usr/local/pkg/freeradius.inc on line 628
      
      Warning: Cannot modify header information - headers already sent by (output started at /usr/local/pkg/freeradius.inc:628) in /etc/inc/xmlrpc_server.inc on line 431
      
      Warning: Cannot modify header information - headers already sent by (output started at /usr/local/pkg/freeradius.inc:628) in /etc/inc/xmlrpc_server.inc on line 431
      
       <methodresponse><params><param>
      <value><boolean>1</boolean></value></params></methodresponse> 
      ---END---
      

      I solved it by putting an @ before the unlink instruction on freeradius.inc of the slave machine.

      Hope this helps.

      1 Reply Last reply
      Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post
      Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
      Privacy Policy · Cookie Policy