Article ID: 1045, created on Oct 6, 2008, last review on May 11, 2014

  • Applies to:
  • Plesk 8.x for Linux/Unix


The full error in the Apache log looks like:

[Mon Jan 23 12:34:43 2006] [error] [client] Can't locate object method "log_error" via package "Apache::RequestRec" at /usr/lib/perl5/site_perl/5.8.5/Apache/ line 1709. at /usr/lib/perl5/site_perl/5.8.5/Apache/ line 1708\tApache::ASP::Log('Apache::ASP=HASH(0xc59f17c)', '[error] can't create group dir /tmp/.state/server: Permissio...') called at /usr/lib/perl5/site_perl/5.8.5/Apache/ line 1747\tApache::ASP::Error('Apache::ASP=HASH(0xc59f17c)', 'can't create group dir /tmp/.state/server: Permission denied') called at /usr/lib/perl5/site_perl/5.8.5/Apache/ASP/ line 160\tApache::ASP::State::new('Apache::ASP=HASH(0xc59f17c)', 'internal', 'server') called at /usr/lib/perl5/site_perl/5.8.5/Apache/ASP/ line


The error means that Apache failed to write into the /tmp/.state/... folder. In another words, the user Apache server is running under does not have permissions to write into the /tmp/.state/* folders.


Make sure that /tmp/.state and all it's subdirectories/files have the same owner/group that the Apache service is running under (for example by default on RedHat systems it is apache:apache, on SUSE wwwrun:wwwrun). Also, user or group must have 'write permission for /tmp/.state/*. If not, you should change owner/group and permissions. For example for RedHat based OSes:

# chown -R apache:apache /tmp/.state

chmod -R 770 /tmp/.state

b8ef5052d936e902043e41759118114e a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF