Problem starting the server

Hello all

I have compiled unbound 1.0.0 on my computer but I am having problems figuring out

  1. why i am unable to start the server.
    when I execute the ‘unbound’ binary located at /usr/local/sbin I get the error
    [1211546833] unbound[2695:0] error: can’t create socket: Address family not supported by protocol
    [1211546833] unbound[2695:0] fatal error: could not open ports

I have root access to the machine, and the command has been executed as root user.

  1. what configuration files need to be in place before starting the server?

Please point me in the right direction

Thanks :slight_smile:

Hi,

try disabling ipv6 in configuration file.

Ondrej.

Harshath JR píše v Pá 23. 05. 2008 v 18:17 +0530:

Hi,

actually I have not set up any configuration files.
And I dont know where to find them, if they exist automatically.
I have looked in /etc but found no config file there.
there are no log files in /var or /var/log.

I think I need to set them up manually, but

  1. I dont know where to place them after I create them
  2. I dont know the format that UNBOUND uses. Any links to the format will sure be a help…

thanks :slight_smile:

Harshath JR píše v Ne 25. 05. 2008 v 10:02 +0530:

Hi,

actually I have not set up any configuration files.
And I dont know where to find them, if they exist automatically.
I have looked in /etc but found no config file there.
there are no log files in /var or /var/log.

I think I need to set them up manually, but
1) I dont know where to place them after I create them
2) I dont know the format that UNBOUND uses. Any links to the format
will sure be a help...

Hmm, read docs? And look into sources? Use syslog? If you are unable
to do these things I suggest you to wait until your favorite
Linux/BSD/whatever distribution prepares prepackaged version for your
computer.

Ondrej

Harshath JR wrote:

Hi,

actually I have not set up any configuration files.
And I dont know where to find them, if they exist automatically.
I have looked in /etc but found no config file there.
there are no log files in /var or /var/log.

I think I need to set them up manually, but
1) I dont know where to place them after I create them
2) I dont know the format that UNBOUND uses. Any links to the format will
sure be a help...

If you have performed a make install, a default configuration file
should have been copied to the default directory for config files.

the exact location of the configuration file depends on compile time
configuration options, so it might differ, but the tarball defaults to

/usr/local/etc/unbound/unbound.conf

The format of the configuration file is described in the unbound.conf(5)
man page. An online version is available here:

http://unbound.net/documentation/unbound.conf.html

Regards,

Jelte Jansen
NLnet Labs