What's new

Unbound Unbound not running- sed: can't create temp file '/opt/var/lib/unbound/unbound.confJ4Howj': Read-only file system

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Khadanja

Senior Member
DNS queries not working this morning, was all ok until last night, no changes made. Checked unbound.log, all queries show NOERROR. Tried restarting unbound and getting this - sed: can't create temp file '/opt/var/lib/unbound/unbound.confJ4Howj': Read-only file system
Code:
Warning unbound not running!! - Config last loaded info: # Version=v1.13 Martineau update (Date Loaded by unbound_manager Sat Feb 12 23:52:04 DST 2022)
1  = Update unbound files and configuration                                             5  = Uninstall Ad and Tracker blocker (Ad Block)
2  = Remove unbound/unbound_manager                                                  6  = n/a Install Graphical Statistics GUI Add-on TAB
3  = Start unbound                                                                                       7  = n/a Enable DNS Firewall
4  = n/a Show unbound statistics                                                                8  = n/a Install YouTube Ad block 8  = n/a Install Safe Search
?  = About Configuration
v  = View ('/opt/var/lib/unbound/'unbound.conf)
e  = Exit Script [?]
E:Option ==> sed: can't create temp file '/opt/var/lib/unbound/unbound.confJ4Howj': Read-only file system
        Invalid Option "sed: can't create temp file '/opt/var/lib/unbound/unbound.confJ4Howj': Read-only file system" Please enter a valid option
 
Sounds to me as if the Entware partition didn't get mounted to the /opt directory for some reason. Either because the script to mount it failed, or the perhaps the USB drive wasn't even mounted.

Check the syslog and/or dmesg.
 
Sounds to me as if the Entware partition didn't get mounted to the /opt directory for some reason. Either because the script to mount it failed, or the perhaps the USB drive wasn't even mounted.

Check the syslog and/or dmesg.
looks like the USB failed as router plays up now after reboot with same USB reader connected and won't even mount now. USB was mounted ok earlier as I could see the files using WinSCP, couldn't even connect to router after reboot with same USB connected, all ok after removing USB. Have been using a micro SD card for almost a year as many USBs failed. Going to set up again this time with SSD.
 
So looks like the permission changed somehow on the mount. SD card seems ok after formatting. Anyone else experience this? Does that message tell anything? What could have caused it. Bit of a risk as internet breaks if this happens again.
 
Don't use the SD card if it is temperamental in the router/adaptor.
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top