Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Feb 2000 18:55:06 -0500
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        Geir Eivind Mork <gemork@online.no>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Out of file descriptors
Message-ID:  <20000227185505.J27458@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <11717686.951692933940.JavaMail.webmail1@pompel2.online.no>; from gemork@online.no on Mon, Feb 28, 2000 at 12:08:53AM %2B0100
References:  <11717686.951692933940.JavaMail.webmail1@pompel2.online.no>

next in thread | previous in thread | raw e-mail | index | archive | help
[Please wrap your lines at <80 columns. Your paragraphs are all on one
line.]

On Mon, Feb 28, 2000 at 12:08:53AM +0100, Geir Eivind Mork wrote:
> Please answer to Geir.Eivind@mork.com since I'm not writing from my own account.
> 
> When I boot my FreeBSD 3.4 which I completly reinstalled four days ago I suddenly got this message: (output from verbose boot)
> 
> wd0s2: type 0xa5, start 165312, end = 1598623, size 1425312 : OK
> start_init: trying /sbin/init
> .: Out of file descriptors
> 
> then a query about which shell I want to boot or return for sh (as in single-user boot). 
> 
> My first question is what this fault is all about? the second is how I can deal with it or am I doomed? and why if so just after a couple of days use. (all I have done were to start on a school exersice in html and that I setup apache plus php and configured the network addresses. I can't see that this could have any influence on those so called file descriptors. 
> 
> I would appriciate any help, please forward any answer to geir.eivind@mork.com since I don't subscribe to this forum yet.

The typical cause for this a loop occuring in /etc/rc.conf. It usually
is a result of somone copying /etc/default/rc.conf to /etc/rc.conf
instead of just adding what they need to /etc/rc.conf.

If this is what happened to you, it is not too tough to deal with. All
you need to do is drop into single user mode (just respond to the
prompt you are getting now to do that), and then fix your rc.conf. You
need to remove,

  ##############################################################
  ### Allow local configuration override at the very end here ##
  ##############################################################
  #
  #

  for i in ${rc_conf_files}; do
          if [ -f $i ]; then
                  . $i
          fi
  done

From the end. Then I would suggest editing rc.conf down to just
changes from /etc/defaults/rc.conf.
-- 
Crist J. Clark                           cjclark@home.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000227185505.J27458>