From dannyman@sasquatch.dannyland.org  Sat Feb 14 16:05:17 1998
Received: from sasquatch.dannyland.org (sasquatch.dannyland.org [207.229.158.70])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA15537
          for <FreeBSD-gnats-submit@freebsd.org>; Sat, 14 Feb 1998 16:05:16 -0800 (PST)
          (envelope-from dannyman@sasquatch.dannyland.org)
Received: (from dannyman@localhost)
	by sasquatch.dannyland.org (8.8.8/8.8.5) id NAA09135;
	Sat, 14 Feb 1998 13:31:59 -0600 (CST)
Message-Id: <199802141931.NAA09135@sasquatch.dannyland.org>
Date: Sat, 14 Feb 1998 13:31:59 -0600 (CST)
From: Dannyman <dannyman@sasquatch.dannyland.org>
Reply-To: dannyman@sasquatch.dannyland.org
To: FreeBSD-gnats-submit@freebsd.org
Cc: dannyman@sasquatch.dannyland.org
Subject: ld.so error message
X-Send-Pr-Version: 3.2

>Number:         5747
>Category:       bin
>Synopsis:       ld.so error message
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 14 16:10:01 PST 1998
>Closed-Date:    Wed Mar 28 10:50:11 PST 2001
>Last-Modified:  Wed Mar 28 10:50:20 PST 2001
>Originator:     Dannyman
>Release:        FreeBSD 2.2.5-STABLE i386
>Organization:
>Environment:
>Description:

While a user was running a script for sending a large number of email
messages to his customers, the system ran across limits on the number of
files it could hold open;

Feb 13 18:23:11 sasquatch syslogd: /dev/console: Too many open files in
system: 
Too many open files in system
Feb 13 18:23:11 sasquatch syslogd: /var/run/utmp: Too many open files in
system
Feb 13 18:23:11 sasquatch syslogd: /var/run/utmp: Too many open files in
system
Feb 13 18:23:11 sasquatch /kernel: file: table is full
Feb 13 18:23:11 sasquatch syslogd: /var/run/utmp: Too many open files in
system
Feb 13 18:23:11 sasquatch last message repeated 3 times
Feb 13 18:23:11 sasquatch /kernel: file: table is full
Feb 13 18:23:11 sasquatch last message repeated 8 times

As a result, the user's script returned an error when opening a pipe to
sendmail;
ld.so failed: Can't find shared library "libutil.so.2.2"

After receiving a message from this user, I investigated the trouble and
figured out that it wasn't that libutil wasn't found, but more likely that it
could not be opened.

>How-To-Repeat:
>Fix:
	
I'm not sure how ld's algorithm pans out, but it may be more helpful if it
could return a more accurate error message under any condition where the
shared library is present, but can not be opened. Any competent sysadmin
should be able to second-guess such an error though by consulting
/var/log/messages, so I wouldn't worry too much. :)

You guys are great!

dannyman
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: phk 
State-Changed-When: Wed Mar 28 10:50:11 PST 2001 
State-Changed-Why:  
Antique PR 

http://www.freebsd.org/cgi/query-pr.cgi?pr=5747 
>Unformatted:
