2001-03-03 22:02:48

by Fr?d?ric L. W. Meunier

[permalink] [raw]
Subject: 2.4.2: What happened ? (No such file or directory)

Hi. I was using 2.4.2 without any problems until a
flood of warnings
from multilog (daemontools) appeared at my console.
What I first thought
to be a log problem seems to be serious. For some
reason applications
and daemons (not all) can't find files.

Mutt doesn't recognize ~/Mail/postponed if I try to
postpone a message:
/home/pervalidus/Mail/postponed: No such file or
directory (errno = 2)

CVS reports cvs [checkout aborted]: cannot rename file
.new.foo to foo:
No such file or directory

Trying to build an application (for example devfsd) I
get:

cc -O2 -I. -Wall -c -o devfsd.o devfsd.c
In file included from /usr/include/signal.h:307,
from /usr/include/sys/wait.h:30,
from devfsd.c:188:
/usr/include/bits/sigcontext.h:28: asm/sigcontext.h:
No such file or directory
make: *** [devfsd.o] Error 1

All files and directories are there. I can add, move,
remove, and
edit/save everything. But if I try to move a directory
with mc I get:
Cannot move directory "/foo" to "/bar" No such file or
directory (2)
with mc. It works with mv(1). Also I can't umount the
partitions. I'm
using ext2. Any hints ? My .config is at
http://members.nbci.com/pervalidus/.config-2.4.2.txt

Sorry, I couldn't use Mutt and Exim to send this
message:

==> /var/exim/log/exim_mainlog <==
2001-03-03 16:00:17 14ZHGL-0000Yj-00 Message
abandoned: Spool write error (No such file or
directory) while receiving message from pervalidus
2001-03-03 16:00:17 14ZHGL-0000Yk-00 Message
abandoned: Spool write error (No such file or
directory) while receiving message from exim
2001-03-03 16:00:17 14ZHGL-0000Yj-00 Child mail
process returned status 1

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/


2001-03-04 04:36:00

by Fr?d?ric L. W. Meunier

[permalink] [raw]
Subject: Re: 2.4.2: What happened ? (No such file or directory)

Correction. I can umount the partitions, but I get the
following message:

"can't link lock file /etc/mtab~: No such file or
directory (use -n flag to override)"

And /etc/mtab isn't updated.

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/

2001-03-04 16:04:32

by Jeremy Jackson

[permalink] [raw]
Subject: Re: 2.4.2: What happened ? (No such file or directory)

" Fr?d?ric L. W. Meunier" wrote:

> Correction. I can umount the partitions, but I get the
> following message:
>
> "can't link lock file /etc/mtab~: No such file or
> directory (use -n flag to override)"
>
> And /etc/mtab isn't updated.

Is your root filesystem mounted read-only at any point?
(check with 'mount' look for ro in line for / filesystem)
Check permissions on /etc, /etc/mtab, /etc/mtab~


2001-03-05 01:49:48

by Fr?d?ric L. W. Meunier

[permalink] [raw]
Subject: Re: 2.4.2: What happened ? (No such file or directory)

--- Jeremy Jackson <[email protected]> wrote:
> " Fr?d?ric L. W. Meunier" wrote:
>
> > Correction. I can umount the partitions, but I get
> the
> > following message:
> >
> > "can't link lock file /etc/mtab~: No such file or
> > directory (use -n flag to override)"
> >
> > And /etc/mtab isn't updated.
>
> Is your root filesystem mounted read-only at any
> point?
> (check with 'mount' look for ro in line for /
> filesystem)
> Check permissions on /etc, /etc/mtab, /etc/mtab~

/dev/ide/host0/bus0/target0/lun0/part1 on / type ext2
(rw)
/dev/ide/host0/bus0/target0/lun0/part3 on
/usr/local/src type ext2 (rw)
proc on /proc type proc (rw)

But it's not only umount. Most applications can't find
files, I can't move directories with mc (but mv(1)
works), all symlinks I create point to the symlink,
not the existing file or directory...

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/