Resetting password



  • Hi

    I have been trying to reset the password through DB9-cable (single-user mode), but have been unsuccessful. when I try to reset the password, I get the following error:

    The webConfigurator admin password and privileges will be reset to the default (which is "pfsense").
    Do you want to proceed [y|n]? y

    Fatal error: Uncaught Error: Call to undefined function pfSense_fsync() in /etc/inc/config.lib.inc:875
    Stack trace:
    #0 /etc/inc/config.lib.inc(490): backup_config()
    #1 /etc/rc.initial.password(75): write_config('password change...')
    #2 {main}
    thrown in /etc/inc/config.lib.inc on line 875
    PHP ERROR: Type: 1, File: /etc/inc/config.lib.inc, Line: 875, Message: Uncaught Error: Call to undefined function pfSense_fsync() in /etc/inc/config.lib.inc:875
    Stack trace:
    #0 /etc/inc/config.lib.inc(490): backup_config()
    #1 /etc/rc.initial.password(75): write_config('password change...')
    #2 {main}
    thrown#

    I am running Ubuntu 18.04, FreeBSD 11.2 and PFsense 2.4



  • @nameofauser said in Resetting password:

    Call to undefined function pfSense_fsync() in /etc/inc/config.lib.inc:875

    System (OS) core files are missing.
    You have console access : save the config file manually
    It's here : /conf/config.xml

    and re install.

    edit : and check your drive for failures before the install.


Log in to reply