Added by Albert Bruc almost 10 years ago
Hi,
I’ve followed your installing process for ubuntu
install it with no problems but when I try to create an account or access admin I’ve this error :
422 Invalid form authenticity token.
any idea ?
Thanks by advance !
Replies (7)
Same error on Mac. Waiting for official explanation.
I’ve finally found out the reason. Memcached should be installed and kept running.
memcached -m 64 -p 11211 -u memcache -l 127.0.0.1
Wow. I had this and another thread open and went to sign in here to reply to this thread and got the same error. Y’all really need to get this one figured out.
Same happened here with 4.0.6 on debian/wheezy. This seems to be a recurring theme.
Running our instance on CentOS 6.
In order to get a service/process to start at boot you can use the chkconfig command.
In order to see what is set to start at different runlevels:
Your result will look similar to this:
You can then set memcached to run at boot with the following command:
Once that runs, check your result:
You will see that the results for memcached now show as “on” for the appropriate runlevels!
This will work for RHEL/CentOS… not 100% sure about Ubuntu or other distros.
According to askubuntu.com, there’s a similar service you can use:
http://askubuntu.com/questions/2263/chkconfig-alternative-for-ubuntu-server
Hope this helps!
I had the same problem, in my case, it was the memcached auto config that was wrong.
in the /etc/memcached.conf, the
-l xxx.xxx.xxx.xxx
Was wrong, I had to set it as
-l 127.0.0.1
I am now completely locked out of all my browser access to our open project. Epic recurring fail. Now I will SSH into our VM and check all these dependancies. Ruby is the death of me.