scsh-users
[Top] [All Lists]

Bug in su-httpd -- resolved

To: shivers@lcs.mit.edu
Subject: Bug in su-httpd -- resolved
From: Shriram Krishnamurthi <shriram@cs.rice.edu>
Date: Fri, 19 Apr 1996 01:05:58 -0500
Cc: scsh-bugs@martigny.ai.mit.edu
Reply-to: shriram@cs.rice.edu
You may recall I posted a few weeks ago about a bug in su-httpd, where
it was printing the following:

Error: 5
       "Input/output error"
       #{Procedure 8590 flush-fdport*}
       #{fdport-data}

I believe I've located the source of the error.  I was invoking the
server in /etc/rc.local through

( cd /usr/local/etc/httpd/src/ ;
  ./server.scm 2>> /usr/local/etc/httpd/logs/httpd.log & )

What was happening was that the server was unable to write to its
standard output.  It needs to do this to tell us that we be jammin',
now.  After changing this to

( cd /usr/local/etc/httpd/src/ ;
  ./server.scm 1>> /usr/local/etc/httpd/logs/output.log \
               2>> /usr/local/etc/httpd/logs/httpd.log & )

I haven't noticed any problem at all since.  (I suppose output.log
could just as well be /dev/null, since it only just gets one message
printed to it, but it's sometimes useful to keep track of all output.)

'shriram

<Prev in Thread] Current Thread [Next in Thread>
  • Bug in su-httpd -- resolved, Shriram Krishnamurthi <=