[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mc not working (?) now smb.conf failure



Hi,

i just entered the debian-user mailing list, and wanted to ask for that. Thanks!
But now i get the funny message:

reimann@convert:/home/reimann > mc
params.c:OpenConfFile() - Unable to open configuration file "/etc/smb.conf":
        No such file or directory
Can't load /etc/smb.conf - run testparm to debug it
load_client_codepage: filename /usr/lib/codepages/codepage.850 does not exist.

and mc works.

How to tell him/her/it, that the smb.conf is under /etc/samba/ ?

has anybody some idea?

Ingo

Mirek Kwasniak wrote:

> On Mon, Sep 13, 1999 at 10:13:08AM +0200, Jens Carsten Hansen wrote:
> > Hi, I use mc frequently ( also to edit textfiles, I'm not a vi guy ), but
> > recently it stopped working.
> > when I try to start it, the machine hangs for a few seconds, there is a lot of
> > harddisk activity, then it exits with;
> > /usr/bin/mc: fork: resource temporarily not available.
> > I found out that the harddisk activity was due to a lot of files being created
> > in /tmp, 50-100 or so.
> > They all looked like this;
> > mcXXXXX-YYYYYYYYYY
> > with the X's being numbers starting at 20443, looking very much like a PID, and
> > the Y's just looking like random numbers.
> > I also noticed a process called queued running, which I do not think I have seen
> > running before.
> >
> > I suspect this having to do with the fact that I'm running potato, and therefore
> > having mc in version 4.5.38-1
> >
> > Can anyone tell me what the problem could be ?
>
> Change line 4 in /usr/bin/mc
>
> $ diff -u /usr/bin/mc{~,''}
> --- /usr/bin/mc~        Fri Sep 10 15:02:15 1999
> +++ /usr/bin/mc Mon Sep 13 12:57:30 1999
> @@ -1,7 +1,7 @@
>  #!/bin/bash
>
>  MC=/tmp/mc$$-"$RANDOM"
> -/usr/bin/mc -P "$@" > "$MC"
> +/usr/bin/mc.real -P "$@" > "$MC"
>  cd "`cat $MC`"
>  rm "$MC"
>  unset MC;
>
> Mirek
>
> --
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null

--
----------------------------------------------------------------
        I. Reimann                       reimann@uni-muenster.de
        Inst. fuer Angew. Physik         +49 251 83-33541 (fon)
        Correnstr. 2-4                   +49 251 83-33513 (fax)
        D-48149 Muenster
        Germany
----------------------------------------------------------------




Reply to: