System error

error:  Cannot write to '/home/mortar/logs/mortar.log': Permission denied at /usr/lib/perl5/site_perl/5.8.8/Log/Dispatch/File.pm line 96.

Stack:
[/usr/lib/perl5/site_perl/5.8.8/Log/Dispatch/File.pm:96]
[/usr/lib/perl5/site_perl/5.8.8/Log/Dispatch/File.pm:89]
[/usr/lib/perl5/site_perl/5.8.8/Log/Dispatch/File.pm:30]
[/usr/lib/perl5/site_perl/5.8.8/Log/Dispatch/FileRotate.pm:33]
[/usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Appender.pm:80]
[/usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/JavaMap/RollingFileAppender.pm:64]
[/usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/JavaMap.pm:48]
[/usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Config.pm:355]
[/usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Config.pm:286]
[/usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Config.pm:92]
[/usr/lib/perl5/site_perl/5.8.8/Log/Log4perl.pm:261]
[/export/home/mortar/lib/Mortar/Loglib.pm:24]
[/home/userdocs/htdocs/autohandler:27]
context: 
... 
91: 
92:  eval { _init($class, $config); };
93: 
94:  if($@) {
95:  die "$@" unless defined $OLD_CONFIG;
96:  # Call _init with a pre-parsed config to go back to old setting
97:  _init($class, undef, $OLD_CONFIG);
98:  warn "Loading new config failed, reverted to old one\n";
99:  }
... 
code stack:  /usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Config.pm:95
/usr/lib/perl5/site_perl/5.8.8/Log/Log4perl.pm:261
/export/home/mortar/lib/Mortar/Loglib.pm:24
/home/userdocs/htdocs/autohandler:27
raw error






























Cannot write to '/home/mortar/logs/mortar.log': Permission denied at /usr/lib/perl5/site_perl/5.8.8/Log/Dispatch/File.pm line 96.

Stack:
  [/usr/lib/perl5/site_perl/5.8.8/Log/Dispatch/File.pm:96]
  [/usr/lib/perl5/site_perl/5.8.8/Log/Dispatch/File.pm:89]
  [/usr/lib/perl5/site_perl/5.8.8/Log/Dispatch/File.pm:30]
  [/usr/lib/perl5/site_perl/5.8.8/Log/Dispatch/FileRotate.pm:33]
  [/usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Appender.pm:80]
  [/usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/JavaMap/RollingFileAppender.pm:64]
  [/usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/JavaMap.pm:48]
  [/usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Config.pm:355]
  [/usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Config.pm:286]
  [/usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Config.pm:92]
  [/usr/lib/perl5/site_perl/5.8.8/Log/Log4perl.pm:261]
  [/export/home/mortar/lib/Mortar/Loglib.pm:24]
  [/home/userdocs/htdocs/autohandler:27]


Trace begun at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('Cannot write to \'/home/mortar/logs/mortar.log\': Permission denied at /usr/lib/perl5/site_perl/5.8.8/Log/Dispatch/File.pm line 96.^J^JStack:^J  [/usr/lib/perl5/site_perl/5.8.8/Log/Dispatch/File.pm:96]^J  [/usr/lib/perl5/site_perl/5.8.8/Log/Dispatch/File.pm:89]^J  [/usr/lib/perl5/site_perl/5.8.8/Log/Dispatch/File.pm:30]^J  [/usr/lib/perl5/site_perl/5.8.8/Log/Dispatch/FileRotate.pm:33]^J  [/usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Appender.pm:80]^J  [/usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/JavaMap/RollingFileAppender.pm:64]^J  [/usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/JavaMap.pm:48]^J  [/usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Config.pm:355]^J  [/usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Config.pm:286]^J  [/usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Config.pm:92]^J  [/usr/lib/perl5/site_perl/5.8.8/Log/Log4perl.pm:261]^J  [/export/home/mortar/lib/Mortar/Loglib.pm:24]^J  [/home/userdocs/htdocs/autohandler:27]^J') called at /usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Config.pm line 95
Log::Log4perl::Config::init_and_watch('Log::Log4perl::Config', '/export/home/userdocs/site/userdocslog.properties', 60) called at /usr/lib/perl5/site_perl/5.8.8/Log/Log4perl.pm line 261
Log::Log4perl::init_and_watch('/export/home/userdocs/site/userdocslog.properties', 60) called at /export/home/mortar/lib/Mortar/Loglib.pm line 24
Mortar::Loglib::init_logging('/export/home/userdocs/site/userdocslog.properties') called at /home/userdocs/htdocs/autohandler line 27
HTML::Mason::Commands::__ANON__ at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x2b9d047154f0)') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1297
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 481
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 481
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 433
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x2b9d04737ba0)') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x2b9d04737ba0)') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x2b9d043ed890)', 'Apache2::RequestRec=SCALAR(0x2b9cff7c54e0)') called at (eval 32) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x2b9cff7c54e0)') called at -e line 0
eval {...} at -e line 0