OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • [SOLVED] unbound-control system library:fopen:No such file or directory
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] unbound-control system library:fopen:No such file or directory  (Read 5815 times)

bobbis

  • Full Member
  • ***
  • Posts: 102
  • Karma: 5
    • View Profile
[SOLVED] unbound-control system library:fopen:No such file or directory
« on: October 17, 2017, 12:02:01 am »
whats wrong with unbound-control if i try:

root@foozbarz:~ # /usr/local/sbin/unbound-control lookup google.com

[1508191067] unbound-control[36764:0] warning: control-enable is 'no' in the config file.
error: Error setting up SSL_CTX client key and cert
6266609370600:error:02001002:system library:fopen:No such file or directory:bss_file.c:406:fopen('/usr/local/etc/unbound/unbound_control.pem','r')
6266609370600:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:408:
6266609370600:error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib:ssl_rsa.c:701:


update:
unbound-control -c /var/unbound/unbound.conf lookup google.com
..works :)
« Last Edit: October 17, 2017, 07:22:30 am by franco »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13624
  • Karma: 1171
    • View Profile
Re: unbound-control system library:fopen:No such file or directory:bss_file.c:406:fo
« Reply #1 on: October 17, 2017, 07:22:15 am »
Hi,

Yes, you need to select the correct config file.


Cheers,
Franco
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • [SOLVED] unbound-control system library:fopen:No such file or directory
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2