You can see similar error at https://openacs.org/forums/message-view?message%5fid=390323
I think you haven't set the environmental variable properly