I am trying to setup Apache on my debian (woody) system and I ran into,
what looks like, a problem with how I have bash setup.  After poking
around, I find it evewn shows up if I run which.  

Here's an example:

   merlin:/etc/apache# which vi
   shell-init: could not get current directory: No such file or directory
   /bin/vi

Any idea what might be causing the shell-init error?  I checked out my
.bashrc file but everything seems fine.

Thanks,

Dave