Menu

#54 Can't install cache dir in /var

v1.1
open
nobody
installer (18)
5
2014-08-13
2003-08-12
No

Attempted a split installation:
acweb: /var/www/html/mindmeld
mindmeld: /usr/local/lib/mindmeld

cp -R /usr/local/lib/mindmeld/cache /var/cache/mindmeld
chown -R apache:apache /var/cache/mindmeld
ll /var/cache/mindmeld
total 16
drwxr-xr-x 2 apache apache 4096 Aug 12 09:36
html_cache/
-rwxr-xr-x 1 apache apache 303 Aug 12 09:36
README*
drwxr-xr-x 2 apache apache 4096 Aug 12 09:36
sql_cache/
drwxr-xr-x 2 apache apache 4096 Aug 12 09:36
templates_c/

cp /usr/local/lib/mindmeld/acweb /var/www/html/mindmeld
chown -R apache:apache /var/www/html/mindmeld

Run installer from
http://localhost/mindmeld/install.install.php

After second "Continiue" a new page pops up saying
cache is not writable. As it has in the textarea:
/usr/local/lib/mindmeld/cache, it is correct. I never
opened that directory.

Enter /var/cache/mindmeld in the textarea and hit
continue. The same page appears, without the Can't
Write message. Cannot continue. from there.

Tried opening /usr/local/lib/mindmeld/cache, running
install, then changing cache string in mindmeld.config
to /var/cache/mindmeld and closing
/usr/local/lib/mindmeld/cache back up.

Browsing to mindmeld gives these errors:
Warning: Smarty error: problem creating directory
"/usr/local/lib/mindmeld/cache/templates_c//%%125/%%1251986237"
in
/usr/local/lib/mindmeld/opensource/smarty/Smarty.class.php
on line 589

Warning: Smarty error: problem writing
'/usr/local/lib/mindmeld/cache/templates_c//%%125/%%1251986237/ask_showQuery.tpl.php.'
in
/usr/local/lib/mindmeld/opensource/smarty/Smarty.class.php
on line 589

Warning: unable to create file
/usr/local/lib/mindmeld/cache/templates_c//%%125/%%1251986237/ask_showQuery.tpl.php
because No such file or directory in
/usr/local/lib/mindmeld/opensource/smarty/Smarty.class.php
on line 968

Warning: Failed opening
'/usr/local/lib/mindmeld/cache/templates_c//%%125/%%1251986237/ask_showQuery.tpl.php'
for inclusion
(include_path='.:/usr/lib/php/:/usr/lib/php/pear/:/usr/local/lib/mindmeld/include/')
in
/usr/local/lib/mindmeld/opensource/smarty/Smarty.class.php
on line 686

Looks like the cache directive in mindmeld.config isn't
quite being used correctly.

Discussion

  • Rick Hickerson

    Rick Hickerson - 2003-08-12

    Logged In: YES
    user_id=226589

    Workaround:

    mv /usr/local/lib/mindmeld/cache
    /usr/local/lib/mindmeld/cachehid
    ln -s /var/cache/mindmeld /usr/local/lib/mindmeld/cache

     
  • Richard Tango-Lowy

    Logged In: YES
    user_id=302293

    Please verify this is still a problem.

     

Log in to post a comment.