Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    PfSense 2.3 GUI not saving settings?

    Scheduled Pinned Locked Moved Firewalling
    4 Posts 2 Posters 1.6k 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.
    • E
      eiger3970
      last edited by

      I just saved a setting, but pfSense returned error: Unable to open /cf/conf/config.xml for writing in write_config()
      Any chance I can save this setting or is the hardware on the way out?

      1 Reply Last reply Reply Quote 0
      • V
        viragomann
        last edited by

        If this is a NanoBSD installation go to Diagnostic > NanoBSD and try to switch it to permanent read/write mode.

        1 Reply Last reply Reply Quote 0
        • E
          eiger3970
          last edited by

          Thank you, I tried this, however it would not save.
          Here is the error:

          Warning: copy(/cf/conf/backup/config-1465827631.xml): failed to open stream: Read-only file system in /etc/inc/config.lib.inc on line 920 Call Stack: 0.0003 233600 1\. {main}() /usr/local/www/diag_nanobsd.php:0 0.2313 1390304 2\. write_config() /usr/local/www/diag_nanobsd.php:134 0.2315 1390704 3\. backup_config() /etc/inc/config.lib.inc:553 0.2321 1390968 4\. copy() /etc/inc/config.lib.inc:920 Warning: filesize(): stat failed for /cf/conf/backup/config-1465827631.xml in /etc/inc/config.lib.inc on line 927 Call Stack: 0.0003 233600 1\. {main}() /usr/local/www/diag_nanobsd.php:0 0.2313 1390304 2\. write_config() /usr/local/www/diag_nanobsd.php:134 0.2315 1390704 3\. backup_config() /etc/inc/config.lib.inc:553 0.2339 1396720 4\. filesize() /etc/inc/config.lib.inc:927 Warning: fopen(/cf/conf/backup/backup.cache): failed to open stream: Read-only file system in /etc/inc/config.lib.inc on line 928 Call Stack: 0.0003 233600 1\. {main}() /usr/local/www/diag_nanobsd.php:0 0.2313 1390304 2\. write_config() /usr/local/www/diag_nanobsd.php:134 0.2315 1390704 3\. backup_config() /etc/inc/config.lib.inc:553 0.2347 1397112 4\. fopen() /etc/inc/config.lib.inc:928 Warning: fwrite() expects parameter 1 to be resource, boolean given in /etc/inc/config.lib.inc on line 929 Call Stack: 0.0003 233600 1\. {main}() /usr/local/www/diag_nanobsd.php:0 0.2313 1390304 2\. write_config() /usr/local/www/diag_nanobsd.php:134 0.2315 1390704 3\. backup_config() /etc/inc/config.lib.inc:553 0.2359 1398272 4\. fwrite() /etc/inc/config.lib.inc:929 Warning: fclose() expects parameter 1 to be resource, boolean given in /etc/inc/config.lib.inc on line 930 Call Stack: 0.0003 233600 1\. {main}() /usr/local/www/diag_nanobsd.php:0 0.2313 1390304 2\. write_config() /usr/local/www/diag_nanobsd.php:134 0.2315 1390704 3\. backup_config() /etc/inc/config.lib.inc:553 0.2367 1397160 4\. fclose() /etc/inc/config.lib.inc:930 Warning: fopen(/cf/conf/config.xml.99070): failed to open stream: Read-only file system in /etc/inc/config.lib.inc on line 495 Call Stack: 0.0003 233600 1\. {main}() /usr/local/www/diag_nanobsd.php:0 0.2313 1390304 2\. write_config() /usr/local/www/diag_nanobsd.php:134 0.3348 1441576 3\. safe_write_file() /etc/inc/config.lib.inc:565 0.3348 1441768 4\. fopen() /etc/inc/config.lib.inc:495
          
          
          1 Reply Last reply Reply Quote 0
          • E
            eiger3970
            last edited by

            Okay, after a few pfSense router reboots, the Diagnostics > NanoBSD > Permanent Read/Write > Keep media mounted read/write at all times, has saved successfully.

            However, I still cannot change the port forward for port 9 from 192.168.1.120 to 192.168.1.255? Error:```
            Unable to open /cf/conf/config.xml for writing in write_config() @ 2016-06-24 21:58:37

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.