Всем привет.
Есть ОС FreeBSD, сервер apache с mod_perl и HTML::Mason.
При попытке к нему обратиться с машины-клиента выдает ошибку:Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, you@example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
В логах апача появляется следующая инфа:
[Sat Apr 07 19:17:34 2007] [error] [client 192.168.42.1] Cannot create directory '/usr/local/mason/obj' (mkdir /usr/local/mason/obj: Permission denied at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm line 301\n) for user 'www', group 'www'. Perhaps you need to create or set permissions on your data_dir ('/usr/local/mason'). \nStack:\n [/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:318]\n [/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:222]\n [/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:169]\n [/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:155]\n [/usr/local/lib/perl5/site_perl/5.8.8/Class/Container.pm:329]\n [/usr/local/lib/perl5/site_perl/5.8.8/Class/Container.pm:53]\n [/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm:633]\n [/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm:412]\n [(eval 32):6]\n [-e:0]\n
[Sat Apr 07 19:17:36 2007] [error] [client 192.168.42.1] Cannot create directory '/usr/local/mason/obj' (mkdir /usr/local/mason/obj: Permission denied at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm line 301\n) for user 'www', group 'www'. Perhaps you need to create or set permissions on your data_dir ('/usr/local/mason'). \nStack:\n [/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:318]\n [/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:222]\n [/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:169]\n [/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:155]\n [/usr/local/lib/perl5/site_perl/5.8.8/Class/Container.pm:329]\n [/usr/local/lib/perl5/site_perl/5.8.8/Class/Container.pm:53]\n [/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm:633]\n [/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm:412]\n [(eval 32):6]\n [-e:0]\n
До установки HTML::Mason сервер работал нормально.
Вопрос: в чем причина ошибки и как ее исправить?