Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Oct 2008 16:35:26 +0100
From:      Robin Becker <robin@reportlab.com>
To:        freebsd-questions@freebsd.org
Subject:   change of behaviour after reboot
Message-ID:  <4901EB3E.3050506@chamonix.reportlab.co.uk>

next in thread | raw e-mail | index | archive | help

I had to perform a stupidity related reboot after allowing my /var fs to get to 
109%.

All seems well except for the behaviour of some of my rather ancient cgi scripts 
which are for serving up moinmoin wikis.

Prior to the reboot these all seemed to work fine they hd the #! line

#!/usr/bin/env python

after the reboot these scripts refused to work. The log messages say

> env: python: No such file or directory
> Premature end of script headers: zzz-wiki.cgi

I tried to check that env was there and that it gave me a reasonable python (at 
least at the terminal). However, something had obviously changed as the scripts 
now only work if I use

#!/usr/local/bin/python

I'm worried now in case my reboot or the over usage has caused some hidden damage.

Anybody have any idea what could cause this misbehaviour?
-- 
Robin Becker



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4901EB3E.3050506>