[Zope] - Newbie question

Jeff Rush Jeff Rush" <jrush@summit-research.com
Fri, 11 Dec 98 08:34:59 -0500


On Thu, 10 Dec 1998 17:16:49 -0800, Vincent Yau wrote:

>With the Zope web server, I get this error:
>
>Traceback (innermost last):
 <snip>

>  File "/usr/local/Zope-1.9b1-src/lib/python/BoboPOS/SimpleDB.py", line
>1436, in lock_file
>    fcntl.flock(un,lock_file_FLAG)
>IOError: (11, 'Resource temporarily unavailable')

I had this error when I was creating the RPMs.  It means the UID/GID
your Apache is running under does not have correct
ownership/permissions access re the Zope database or directory.

Here are the permissions on my working setup.

[root@vault local]# ls -lR /var/local/zope                             
total 5                                                                
-rw-r--r--   1 root     wheel          15 Dec 10 12:34 access          
-rw-rw-r--   1 root     wheel         324 Dec 10 12:35 access.log      
-rw-r--r--   1 root     wheel         971 Dec 10 12:32 serve.py        
-rwxr-xr-x   1 root     wheel         188 Dec 10 12:32 serve.sh        
drwxr-xr-x   2 root     root         1024 Dec 10 12:35 var             
                                                                       
/var/local/zope/var:                                                   
total 9                                                                
-rw-rw-r--   1 root     wheel        7789 Dec  4 15:26 Data.bbb        
-rw-rw-r--   1 root     root            9 Dec 10 12:35 Data.bbb.trans  
[root@vault local]#