chmod 0777 templates_c ???
Hi all,
I installed on CentOS 5 x64 GreenSQL, everything went fine. But when I tried to connect to /greensql/login.php for the first time I get:
"
GreenSQL configuration error
1. Cache Directory
Cache Directory specifies location of the directory used to create temproary files.
This directory templates_c is not writable. Run the following shell command to fix this:
chmod 0777 templates_c
2. Database Connectivity
Connection to greendb established.
3. Database Schema
Table structure is ok.
"
Of course I already made a chmod 0777 templates_c located in /usr/share/greensql-fw but I still get the same error. Is there a bug anywhere or do I make something wrong?
I also tried to change ownership of /usr/share/greensql-fw to apache:apache, to root:apache and root:root but nothing: always the same error message!
Can someone help me?
Thanks a lot in advance.
Regards.
GreenSQL
Hello Majo
We have similar problem in one of our test servers. Here is a solution. Create a templates_c directory in /tmp directory and place a link to this directory instead of the regular templates_c directory. Here are the required shell commands:
shell> mkdir /tmp/templates_c
shell> chmod 777 /tmp/templates_c
shell> cd /usr/share/greensql-fw
shell> rm -rf templates_c
shell> ln -s /tmp/templates_c .
If you are going to use GreenSQL in production I suggest you to check our support package.
We provide installation and first time assistance, GreenSQL optimization for high load databases and websites. In addition we provide security review of your GreenSQL configuration.
Here is a link: http://support.greensql.com
Best regards,
GreenSQL Support