[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: init: can't exec /bin/sh for /etc/rc: Cannot allocate memory
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: init: can't exec /bin/sh for /etc/rc: Cannot allocate memory
- From: Sebastian Stark <seb_(_at_)_todesplanet_(_dot_)_de>
- Date: Sun, 30 Mar 2003 15:18:30 +0200
- Mail-followup-to: misc_(_at_)_openbsd_(_dot_)_org
On Tue, Mar 25, 2003 at 06:29:07PM +0100, Sebastian Stark wrote:
> [...] (kernel messages)
> root on wd0a
> rootdev=0x0 rrootdev=0x300 rawdev=0x302
> Mar 25 16:59:27 init: can't exec /bin/sh for /etc/rc: Cannot allocate memory
>
> Then I press ctrl-c:
>
> ^CMar 25 16:59:36 init: /bin/sh on /etc/rc terminated abnormally, going to
> single user mode
> Enter pathname of shell or RETURN for sh:
> [return]
> Terminal type? wsvt25
> # mount /
> # sh /etc/rc
> [...]
>
> Now I have a single user shell. I can mount / rw and exec "sh /etc/rc" by hand
> and the system works without problems! (works = runs a whole day and does
> packetfiltering, database serving und web serving)
grumble... typo in /etc/login.conf...
--
Free your mind and your ass will follow -- http://www.funkaffair.de
Visit your host, monkey.org