"Missing file to open at main::../web-lib-funcs.pl"

Okay, had a few problems building a new system but I'll admit this one has me completely stumped.

When I try to create a new virtual server (2.610 on FreeBSD 6.0-RELEASE

0) I get some errors: start quote

Setting up scheduled Webalizer reporting .. .. Webalizer reporting failed! : Missing file to open at main::../web-lib-funcs.pl line 1645 at ../web-lib-funcs.pl line 825.

Setting up log file rotation .. .. Log file rotation failed! : Missing file to open at main::../web-lib-funcs.pl line 1645 at ../web-lib-funcs.pl line 825.

end quote

It carries on past these but then it recurs later on, the second line in big bold letters:

start quote

Adding email address for Unix user ..

Failed to create virtual server : Missing file to open at sendmail::../web-lib-funcs.pl line 1645

end quote

I don't know enough about virtualmin to make sense of the .pl file and Google is not my friend and I can only find bug #6 where someone else had the problem but looks like they went away.

Please help because I need to get the websites back up and running (complete server failure - data is backed up but not the software etc).

Regards, Colin