• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Forgery protection token check failed

dinoid

New Pleskian
Hi

I am using plesk 11.0.9 on Debian 6.0 2.6.32-5-amd64 #1 SMP Sun Sep 23 10:07:46 UTC 2012 x86_64 GNU/Linux.

When I try to create a new domain/customer/subscription or whatever I keep getting below error message in plesk panel.
Internal error.

/var/log/sw-cp-server/error_log reads as follows:

2013-05-21T23:53:00+02:00 ERR (3): Forgery protection token check failed.
2013-05-21T23:53:00+02:00 ERR (3): Forgery protection token check failed.
2013-05-21 23:53:00: (mod_fastcgi.c.2746) FastCGI-stderr: PHP Warning: Unknown: POST Content-Length of 1486 bytes exceeds the limit of 100 bytes in Unknown on line 0

2013-05-21 23:53:00: (mod_fastcgi.c.2746) FastCGI-stderr: Zend_Controller_Exception: Permission denied.#0 /opt/psa/admin/plib/Zend/Controller/Action.php(502): CommonPanel_Controller_Action_Abstract->preDispatch()
#1 /opt/psa/admin/plib/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('errorAction')
#2 /opt/psa/admin/plib/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#3 /opt/psa/admin/panel/application/library/AdminPanel/Application/Web.php(20): Zend_Controller_Front->dispatch()
#4 /opt/psa/admin/panel/application/public/index.php(15): AdminPanel_Application_Web->run()
#5 {main}
file: /opt/psa/admin/plib/Zend/Controller/Plugin/Broker.php
line: 336
code: 0
trace: #0 /opt/psa/admin/plib/Zend/Controller/Front.php(965): Zend_Controller_Plugin_Broker->postDispatch(Object(Zend_Controller_Request_Http))
#1 /opt/psa/admin/panel/application/library/AdminPanel/Application/Web.php(20): Zend_Controller_Front->dispatch()
#2 /opt/psa/admin/panel/application/public/index.php(15): AdminPanel_Application_Web->run()
#3 {main}

I also tried to fix using below command:

/usr/local/psa/bootstrapper/pp11.0.9-bootstrapper/bootstrapper.sh repair

Nothing worked so far.
Lastly I was trying to fix a post_max_size error from an application, and changed post_max_size and upload_max_size params.

I appreciate your ideas and help very much.
Thanks
 
Hi Igor

Thank you for your promptly reply. I don't know much about SELinux but seems like it is not installed on my system.

I have issued below command to check:

# id -Z
id: --context (-Z) works only on an SELinux-enabled kernel

Can you think of any other thing to check?

Thanks for your time in advance.

Have you checked SELinux settings?
 
Back
Top