Vinod,
that didn't work. as i said it works fine from the command prompt. i had previously followed the
openacs instructions and after your recommendation i downloaded the 4.0.1 and "upgraded" to it. the same problem persists. Is there any more info i should provide in order to get to the bottom of this?