Re: [dev] [9base] rc can't find .

From: Jan Winkelmann <keks_AT_unstable.nl>
Date: Fri, 11 Jun 2010 10:31:12 +0000

9base is a hg build, built 3 days ago, it's the newest version. I know
werc has it's own list, but I feel the problem isn't werc.

Also, Kris suggested running ./werc.rc, this resulted in this:

$ rc
; ./werc.rc
rc: ../sysdeps/unix/sysv/linux/getpagesize.c:32: __getpagesize:
Assertion `_rtld_global_ro._dl_pagesize != 0' failed.
18192: signal: sys: abort

SIGABRT is Signal 6, so I assume this might be the problem. However
google pointed me to this thread
http://sourceware.org/ml/libc-help/2010-05/msg00029.html

On Fri, 2010-06-11 at 01:57 +0200, Uriel wrote:
> werc is not meant to be called from the command line (unless you setup
> some kind of fake cgi environment for it).
>
> I have no clue what the problem might be, but if it worked and now it
> doesn't, you must have changed something.
>
> What version of 9base are you using?
>
> Also, werc has its own mailing list: http://groups.google.com/group/werc9
>
> uriel
>
> On Fri, Jun 11, 2010 at 12:52 AM, Jan Winkelmann <keks_AT_unstable.nl> wrote:
> > Hi,
> >
> > I was running a werc+lighty+9base setup happily for a couple of days.
> > Suddenly it started throwing 500-errors and lighty log said that rc died
> > with signal 6. I tried running the werc.rc manually, but he throws a
> > rather strange error:
> >
> > $ pwd
> > /srv/http/wiki/bin
> > $ rc -x werc.rc
> > . /opt/plan9/etc/rcmain werc.rc
> > flag p
> > finit
> > flag i
> > flag l
> > . werc.rc
> > werc.rc: rc: .: can't open: No such file or directory
> >
> > To me it looks like he can't find the . command as soon as he is inside
> > the werc.rc, however he still knows it in interactive shell:
> >
> > ; .
> > .
> > rc: Usage: . [-i] file [arg ...]
> >
> > I already tried removing the custom werc.rc and replacing it by the
> > original, but that didn't help either.
> >
> > I don't really know what to look for at this point, especially because I
> > don't really know a lot about plan9. So, any help would be appreciated.
> >
> > Thanks in advance,
> > Jan
> >
> >
> >
>
Received on Fri Jun 11 2010 - 10:31:12 UTC

This archive was generated by hypermail 2.2.0 : Fri Jun 11 2010 - 10:48:02 UTC