[Zope] No access file found...
Chris Larson
clarson@changeling.com
Fri, 2 Apr 1999 17:42:25 -0600
OK. After finally getting my ISP to migrate me to a server with a current
Python, I once again leap into the fray. I've placed my 'var/' into
'/tmp/', to get around NFS, and updated my instance home to /tmp. Now I
have a shiny new problem to play with. Zope can't see 'access'. Is the
path to access assumed from INSTANCE HOME, or is there some place I can
specify it? (I'd kinda rather avoid putting it in /tmp, ya know?). And
before ya ask, yes there _is_ an access file in
/---my-path---/cgi-bin/Zope-1.10.2-src/, and it does contain a
"superuser:" style entry. I've included the traceback, and my Zope.cgi
below.
Any help would be much appreciated.
Chris
PS Any comments on using '/tmp' to contain 'var/' as an NFS bypass?
'/tmp' is not mounted via NFS.
The traceback
-----------
Sorry, a SERIOUS APPLICATION ERROR occurred.<p>
<!--
Traceback (innermost last):
File
/---my-path---/cgi-bin/Zope-1.10.2-src/lib/python/ZPublisher/Publish.py,
line 877, in publish_module
File
/---my-path---/cgi-bin/Zope-1.10.2-src/lib/python/ZPublisher/Publish.py,
line 325, in publish
File
/---my-path---/cgi-bin/Zope-1.10.2-src/lib/python/ZPublisher/Publish.py,
line 616, in get_module_info
File /---my-path---/cgi-bin/Zope-1.10.2-src/lib/python/Main.py, line
93, in ?
File
/---my-path---/cgi-bin/Zope-1.10.2-src/lib/python/OFS/Application.py,
line 96, in ?
File
/---my-path---/cgi-bin/Zope-1.10.2-src/lib/python/AccessControl/User.py,
line 273, in ?
ImportError: ('InstallError', 'No access file found - see INSTALL.txt')
-->
My 'Zope.cgi'
-----------
#!/---my-path---/cgi-bin/Zope-1.10.2-src/pcgi/pcgi-wrapper
PCGI_NAME=Main
PCGI_MODULE_PATH=/---my-path---/cgi-bin/Zope-1.10.2-src/lib/python/Main.py
PCGI_PUBLISHER=/---my-path---/cgi-bin/Zope-1.10.2-src/pcgi/pcgi_publisher.p
y
PCGI_EXE=/usr/bin/python
PCGI_SOCKET_FILE=/tmp/var/pcgi.soc
PCGI_PID_FILE=/tmp/var/pcgi.pid
PCGI_ERROR_LOG=/tmp/var/pcgi.log
PCGI_DISPLAY_ERRORS=1
BOBO_REALM=Zope
BOBO_DEBUG_MODE=1
INSTANCE_HOME=/tmp