At this momment:<br><br>for ubuntu you can install from source or to use the package available in 904.<br>if you the 804 repositories (as default) or default repository list in 804 no unbound..<br><br><br>on a new fresh vm i changed the repository list (if you need it tell me) and installed the unbound.<br>
<br>install, 2 config files, the default cnfig file is:  /etc/unbound/unbound.conf<br>edit this file, enabled:<br><br>server:<br>    interface: 0.0.0.0<br>    interface: ::0<br>        access-control: <a href="http://0.0.0.0/0">0.0.0.0/0</a> allow<br>
    access-control: ::1 allow<br>        verbosity: 1<br><br><br>statistics-interval: 0<br>        extended-statistics: yes<br><br>        # set to yes if graphing tool needs it<br>        statistics-cumulative: no <br><br>
remote-control:<br>        control-enable: yes <br><br><br>than run:<br>apt-get install openssl<br><br>root@unbound5:~# unbound-control-setup<br>setup in directory /etc/unbound<br>generating unbound_server.key<br>Generating RSA private key, 1024 bit long modulus<br>
...........++++++<br>...........++++++<br>e is 65537 (0x10001)<br>generating unbound_control.key<br>Generating RSA private key, 1024 bit long modulus<br>.........................++++++<br>....................++++++<br>e is 65537 (0x10001)<br>
create unbound_server.pem (self signed certificate)<br>create unbound_control.pem (signed client certificate)<br>Signature ok<br>subject=/CN=unbound-control<br>Getting CA Private Key<br>Setup success. Certificates created. Enable in unbound.conf file to use<br>
root@unbound5:~# unbound-control stats<br>error: Error setting up SSL_CTX client key and cert<br>28440:error:02001002:system library:fopen:No such file or directory:bss_file.c:3                                                                              52:fopen('/var/lib/unbound/etc/unbound/unbound_control.pem','r')<br>
28440:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:354:<br>28440:error:140AD002:SSL routines:SSL_CTX_use_certificate_file:system lib:ssl_rs                                                                              a.c:470:<br>
<br> so here I am... the same situation as in installation from sources..:(<br><br>locate unbound_control.pem<br>/etc/unbound/unbound_control.pem<br><br><br>than i created a sym link:<br><br> ln -s /var/lib/unbound/etc/unbound/unbound_control.pem /etc/unbound/unbound_control.pem<br>
ln: creating symbolic link `/etc/unbound/unbound_control.pem': File exists<br>root@unbound5:~# unbound-control stats<br>error: Error setting up SSL_CTX client key and cert<br>28444:error:02001002:system library:fopen:No such file or directory:bss_file.c:352:fopen('/var/lib/unbound/etc/unbound/unbound_control.pem','r')<br>
28444:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:354:<br>28444:error:140AD002:SSL routines:SSL_CTX_use_certificate_file:system lib:ssl_rsa.c:470:<br><br><br>at this momment i have no ideea what to do...<br>
<br>Gabi<br><br><div class="gmail_quote">On Mon, May 18, 2009 at 10:52 AM, Jelte Jansen <span dir="ltr"><<a href="mailto:jelte@nlnetlabs.nl">jelte@nlnetlabs.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
It appears the ubuntu package does indeed install two configuration files. We might need to ask the package maintainer why this is done (we only provide the source code)<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
i will try to make it work and generate statistics.. I hope it will work<br>
<br>
unbound it's a bit confusing... i am trying to make also a tutorial / rule how to install it on ubuntu for production servers, but at this momment:<br>
- from sources it generates errors;<br>
</blockquote>
<br></div>
this should not happen, on my ubuntu system it compiles cleanly, but maybe we can help you with this; could you please provide some details?<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
- from packages, we should use not standard repositories; i hope this will work..<br>
<br>
</blockquote>
<br></div>
I don't understand this sentence; do you mean because unbound hasn't been packaged for older versions of Ubuntu than Intrepid?<br>
<br>
Regards,<br><font color="#888888">
<br>
Jelte<br>
<br>
</font></blockquote></div><br>