[Zope] Linux Installation blues Newbie Problems I/O Errors
CURTIS David
David.Curtis@state.or.us
29 Dec 1999 12:42:31 -0800
Hi,
I'm getting to the end of my rope trying to get Zope 2.1 (latest version) installed
and running on a RedHat installation. Here are the steps and error messages.
Configuration:
Linux RedHat 6.1; Python1.5.2-7, Zope2.1.1, Pentium PC
Setup:
I setup Redhat 6.1 with a Basic installation skipping Apache Web Server.
I installed 3 python packages, Base, tools, and Development.
Unzip Files:
I unzipped the source file in the /var directory using gunzip and tar thusly
gunzip /var/Zope-2.1-src.tgz; tar -xvf /var/Zope-2.1-src.tar
Change to the Zope directory
cd /var/Zope-2.1.1-src
Create Zope:
I run as root # python wo_pcgi.py
everyting seem to compile ok, except a small warning.
Setup Zope Passwd
# python zpasswd.py -u superuser -p secret access
# vi access
Run Zope:
cd /var/Zope-2.1-src
./start
I try to run the installation ./start
I get this output:::
*--------------------
1999-12-30-30T04:2711 PROBLEM (100) ZSERVER COMPUTING DEF HOSTNAME
ZSERVER MEDUDSA ( V1.13) STARTED
HOST NAME: LOCALHOST LOCALDOMAIN
PORT : 8080
*-----------------
1999-12-30-30T04:2711 INFO(0) ZSERVER FTP STARTED
AUTHORIZER : NONE
HOSTNAME: SNAIL
PORT: 8021
*------------------
1999-12-30-30T04:2711 INFO(0) ZSERVER MONITOR SERVER (V1.5) 8099
TRACEBACK(INNERMOST LAST):
FILE "/var/Zope-2.1.1-src/Z2.py, line 574, in ?
pf=open(PID_FILE, 'w')
IOERROR:[errni 13] permission denied:
'var/Zope-2.1.1-src/var/Z2.pid'
Now there is not a Z2.pid file in this /var/Zope-2.1.1/var irectory. Do I create one? It seems that the system is trying to create a file here.
Do I chmod 0711 .var.Zoipe-2.1.1-src/var or chmod 0600 /var/Zope-2.1.1-src/var?
The line in question appears to be writting out the file , but perhaps it can't for some reason!
Also, is there an effecient method to trap error messages? I tried to use the re-directory sysmbol "python wo_pcgi.py > error.msg" but to no avail.