bash: cd: /etc/init.d: Input/output error

Net Llama! netllama
Mon May 17 12:01:20 PDT 2004


On Tue, 13 Apr 2004, Shannon Scott wrote:
> I tried to restart my apache web server this morning, but the system
> reported:
> httpd: unrecognized service
> It restarted well yesterday.
>
> Everything on the server is running well.  The only directory I can find
> with any problems is /etc/init.d.
> The directory won't list and I can't move into it.  When I try, I get:
> bash: cd: /etc/init.d: Input/output error
> but the rest of the disc seems fine, and it is not very old.
>
> Can the system be recovered?

Any errors in dmesg or messages?

> Could it be anything other than a bad drive?

I dunno, what filesystem are you using?  When's the last time you fscked
the filesystem (assuming that its ext2/3)?

> Any advice or suggestions are welcomed.  Please keep any unkind comments
> to yourself.

Errr, please keep unkind accusations to yourself.

>
> Fedora Core 1

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman				netllama at linux-sxs.org
Linux Step-by-step & TyGeMo		     http://netllama.ipfox.com



More information about the Linux-users mailing list