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

From: Uriel <uriel_AT_berlinblue.org>
Date: Fri, 11 Jun 2010 01:57:31 +0200

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 Thu Jun 10 2010 - 23:57:31 UTC

This archive was generated by hypermail 2.2.0 : Fri Jun 11 2010 - 00:00:04 UTC