Zend Data Cache problems

General discussion forum for the Zend Server
roisencannon
Posts: 5
Joined: Thu Jun 04, 2009 9:39 pm

Re: Zend Data Cache problems

Post by roisencannon » Thu Jun 04, 2009 9:46 pm

else-k wrote:Error message: Could not initialize Zend Data Cache: cannot create new directory in the save path /usr/local/zend/tmp/datacache
folder exists after start, but something is really wrong
I'm having the same issue. I loaded ZS-CE on Mandriva 2009.1 from a tar.gz file. Zend Data Cache is showing "ERR" on the dashboard and in PHP info the zend data cache is showing enabled "no".

Any thoughts on what the issue might be.

Rois Cannon

jess04
Posts: 628
Joined: Thu Jan 15, 2009 3:37 pm

Re: Zend Data Cache problems

Post by jess04 » Tue Jun 09, 2009 7:53 am

Hello,

Please stop your Apache and run:

Code: Select all

# . /etc/zce.rc*
# for i in `ipcs -m |grep $WEB_USER|grep -v Shared | grep -v shmid | awk -F " " '{print $2}'` ; do ipcrm -m $i ; done #&>/dev/null
Also:

Code: Select all

# find /tmp -user $WEB_USER 
And remove all files that you recognize as unneeded, I am referring to files with patterns similar to this:
./ConfigurationChangedEvent020209211624
./monitor_node_rotationSem021509170721
./zend_cache_read_sem.key010709141231
./zend_cache_write_sem.key010609123756
./page_cache_rotationSem051309195520
./RestartAgentSem051309210709
./ConfigurationChangedEvent012009153813
./zend_cache_write_sem.key020109102725
./RestartAgentSem121008192247
./zend_cache_shmstorage.key020809140511
./zend_cache_shmstorage.key020409131319

And restart Apache.

Let me know if you require further assistance,
May the source be with you,

Jess Portnoy

brat-petr
Posts: 1
Joined: Tue Jul 28, 2009 5:19 am

Re: Zend Data Cache problems

Post by brat-petr » Tue Jul 28, 2009 5:30 am

roisencannon wrote:
else-k wrote:Error message: Could not initialize Zend Data Cache: cannot create new directory in the save path /usr/local/zend/tmp/datacache
folder exists after start, but something is really wrong
I'm having the same issue. I loaded ZS-CE on Mandriva 2009.1 from a tar.gz file. Zend Data Cache is showing "ERR" on the dashboard and in PHP info the zend data cache is showing enabled "no".
Any thoughts on what the issue might be.
Rois Cannon
Same problem
Zend-Server-CE-4.0.4RC8-Windows_x86
Microsoft-IIS/5.1
Windows XP
Error: Could not initialize Zend Data Cache: cannot create new directory in the save path
full acess ASP.NET, ZendUser, IUSR

massimilianoc
Posts: 699
Joined: Thu Mar 12, 2009 11:58 am

Re: Zend Data Cache problems

Post by massimilianoc » Tue Jul 28, 2009 9:12 am

Did you install Zend Server from scratch?

Are you running PHP both through Web server and CLI?

Thanks for the cooperation,
Massi.
Best regards,
Massi.

Post Reply