misc/75048: nsswitch problem : nss_dns.so.1 called in default nsswitch.conf but not present on system

Rachel Willmer rachel at hobthross.com
Tue Dec 14 02:10:15 PST 2004


>Number:         75048
>Category:       misc
>Synopsis:       nsswitch problem : nss_dns.so.1 called in default nsswitch.conf but not present on system
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 14 10:10:14 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Rachel Willmer
>Release:        FreeBSD 5.3-RELEASE-p2
>Organization:
Hobthross
>Environment:
FreeBSD sartre.inv.thebunker.net 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #2: Fri Dec 10 11:17:47 GMT 2004     root at sartre.inv.thebunker.net:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
I am attempting to set up mod_backhand to work with Apache 1. Using the byHostname.c provided with the port, it compiles fine. When I run httpd with the byHostname command in httpd.conf, it crashes with the message :

Syntax error on line 116 of /home/apache/conf/httpd.conf:
Shared object "nss_dns.so.1" not found, required by "httpd"

nss_dns.so.1 does not exist anywhere on the system. 

The nsswitch.conf is the default that is created at boot-time if one did not already exist.

Where do I get a copy of this file? What's the implication of just commenting all the lines in nsswitch.conf out?

>How-To-Repeat:
portinstall www/apache13
portinstall www/mod_backhand
Extract the distfile for mod_backhand, and follow the instructions for including byHostname as a shared module.
Include a line such as 
    BackhandFromSO libexec/byHostname.so byHostname (fraternity)
in httpd.conf
Attempt to start httpd 
>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list