Re: [Zope] Unable to pack - permission denied error
Steve Froggatt wrote:
Thanks for your help.... here goes
Zope Directory
total 462 drwxr-xr-x 13 506 users 1024 Jan 7 22:53 . drwxrwsr-x 5 httpd site2 1024 Jan 3 09:47 .. -rw-r--r-- 1 506 users 28 Nov 9 16:47 .cvsignore drwxr-xr-x 2 223 site2 1024 Oct 19 01:58 Extensions -rw-rw-r-- 1 223 site2 13731 Dec 20 10:03 KnowledgeKit-1.6.7.tar -rw-r--r-- 1 506 users 3479 Mar 10 1999 LICENSE.txt drwxrwxr-x 2 223 site2 1024 Dec 28 12:48 MySQLdb-0.1.0 -rw-rw-r-- 1 223 site2 35534 Dec 20 10:03 MySQLdb-0.1.0.tar.tar -rw-r--r-- 1 506 users 2074 Jul 23 20:51 README.txt -rw-rw-r-- 1 223 site2 5337 Dec 20 10:04 SessionManager-0.1.tar.tar -rw-rw-r-- 1 223 site2 246231 Dec 20 10:46 Squishdot-0-3-2.tar drwxr-xr-x 4 506 users 1024 Dec 14 15:38 ZServer -rwxr-xr-x 1 223 site2 656 Dec 31 15:38 Zope.cgi -rw-rw-r-- 1 223 site2 12288 Dec 20 10:04 ZpdfDocument.tar -rw------- 1 223 site2 38 Dec 20 09:45 access drwxr-xr-x 3 506 users 1024 Dec 14 15:38 doc drwxr-xr-x 3 223 site2 1024 Dec 28 12:48 import drwxr-xr-x 2 506 users 1024 Dec 14 15:38 inst -rw-rw-r-- 1 223 site2 19802 Dec 21 07:36 kmnn-1-0-0.tgz drwxr-xr-x 4 506 users 1024 Dec 14 15:38 lib drwxr-xr-x 7 506 users 1024 Dec 31 15:38 pcgi -rw-rw-r-- 1 223 site2 18075 Dec 20 10:04 psqlinputwiz1-0-3.tar -rwx--x--x 1 223 site2 141 Dec 31 10:55 start -rwx--x--x 1 root users 145 Dec 20 09:44 start~ -rwx--x--x 1 223 site2 77 Dec 20 09:44 stop drwxrwxr-x 2 223 site2 1024 Dec 20 10:13 stuff -rw-rw-r-- 1 223 site2 6154 Dec 20 10:22 tar.help drwxr-xr-x 2 506 users 1024 Dec 14 15:38 utilities drwxrwx--x 3 506 users 1024 Jan 9 18:22 var -rw-r--r-- 1 506 users 4492 Jul 22 23:00 w_pcgi.py -rw-rw-r-- 1 223 site2 1359 Dec 20 09:40 w_pcgi.pyc -rw-r--r-- 1 506 users 4578 Oct 14 15:54 wo_pcgi.py -rw-rw-r-- 1 223 site2 1506 Dec 20 09:39 wo_pcgi.pyc -rw-r--r-- 1 506 users 17936 Jan 7 22:53 z2.py -rw-rw-r-- 1 223 site2 10763 Dec 20 09:40 z2.pyc -rw-r--r-- 1 root users 17927 Jan 1 18:44 z2.py~ -rw-r--r-- 1 506 users 8806 Oct 28 18:54 zpasswd.py -rw-rw-r-- 1 223 site2 5425 Dec 20 09:40 zpasswd.pyc
var directory -rw-rw-r-- 1 root users 24737 Jan 9 18:12 #Z2.log# drwxrwx--x 3 506 users 1024 Jan 9 18:22 . drwxr-xr-x 13 506 users 1024 Jan 7 22:53 .. -rw-r--r-- 1 506 users 105 Nov 9 16:46 .cvsignore -rw-rw---- 1 223 site2 4306930 Jan 9 17:46 Data.fs -rw-r--r-- 1 506 users 76750 Jun 24 1999 Data.fs.in -rw-rw-r-- 1 nobody site2 65007 Dec 27 13:30 Data.fs.index -rw-rw-r-- 1 223 site2 5 Jan 9 18:22 Data.fs.lock -rw-rw-r-- 1 223 site2 0 Jan 9 18:22 Data.fs.tmp -rw-rw-r-- 1 root site2 7779 Dec 28 11:00 Data.fs.tr0 -rw-rw-r-- 1 root users 34073 Jan 9 19:12 Z2.log -rw-rw-r-- 1 nobody users 9 Jan 9 18:22 Z2.pid drwxrwxr-x 4 223 site2 1024 Dec 22 12:28 gadfly -rw-rw-r-- 1 223 site2 4 Jan 9 18:22 pcgi.pid srwxrwxrwx 1 root users 0 Jan 9 18:22 pcgi.soc -rw-rw-r-- 1 223 site2 4 Jan 9 18:22 zProcessManager.pid
Zope is set for user nobody
This is the start file
#! /bin/sh reldir=`dirname $0` PYTHONHOME=`cd $reldir; pwd` export PYTHONHOME exec /usr/local/bin/python \ $PYTHONHOME/z2.py \ "$@"
Steve
Quite a mess! If you have a Linux box handy, try and do a fresh install on that and see what permissions the files are installed with. Follow the instructions in the install file in the package!!! I'm busy right now, thus the short answer. I might get back. Please cc mails to list also; that's how everyone learns. -- Best regards / Mvh., Steen Suder, sysadm kollegie6400.dk -|- OpenSource --- Sign of the time Scan-Aqua ADVARSEL WARNING http://www.uk.k64.dk/sfs/Scan-Aqua/
Subject: Re: [Zope] Unable to pack - permission denied error
var directory -rw-rw---- 1 223 site2 4306930 Jan 9 17:46 Data.fs
change the owner of var/Data.fs to nobody this worked for me when I initially had the problem. John
I have taken the advise and loaded zope on a clean machine, but when I try and start it I get yet another permission denied message this time it is relating to line 574 and Z2.pid. There is not a Z2.pid file anywhere on the system, has anybody come accross this. Steve ----- Original Message ----- From: "Steen Suder" <CAB@Earthling.net> To: "Steve Froggatt" <steve@cbsolutions.co.uk> Cc: "Zope mailinglist" <zope@zope.org> Sent: Sunday, January 09, 2000 8:05 PM Subject: Re: [Zope] Unable to pack - permission denied error
Steve Froggatt wrote:
Thanks for your help.... here goes
Zope Directory
total 462 drwxr-xr-x 13 506 users 1024 Jan 7 22:53 . drwxrwsr-x 5 httpd site2 1024 Jan 3 09:47 .. -rw-r--r-- 1 506 users 28 Nov 9 16:47 .cvsignore drwxr-xr-x 2 223 site2 1024 Oct 19 01:58 Extensions -rw-rw-r-- 1 223 site2 13731 Dec 20 10:03 KnowledgeKit-1.6.7.tar -rw-r--r-- 1 506 users 3479 Mar 10 1999 LICENSE.txt drwxrwxr-x 2 223 site2 1024 Dec 28 12:48 MySQLdb-0.1.0 -rw-rw-r-- 1 223 site2 35534 Dec 20 10:03
MySQLdb-0.1.0.tar.tar
-rw-r--r-- 1 506 users 2074 Jul 23 20:51 README.txt -rw-rw-r-- 1 223 site2 5337 Dec 20 10:04 SessionManager-0.1.tar.tar -rw-rw-r-- 1 223 site2 246231 Dec 20 10:46 Squishdot-0-3-2.tar drwxr-xr-x 4 506 users 1024 Dec 14 15:38 ZServer -rwxr-xr-x 1 223 site2 656 Dec 31 15:38 Zope.cgi -rw-rw-r-- 1 223 site2 12288 Dec 20 10:04 ZpdfDocument.tar -rw------- 1 223 site2 38 Dec 20 09:45 access drwxr-xr-x 3 506 users 1024 Dec 14 15:38 doc drwxr-xr-x 3 223 site2 1024 Dec 28 12:48 import drwxr-xr-x 2 506 users 1024 Dec 14 15:38 inst -rw-rw-r-- 1 223 site2 19802 Dec 21 07:36 kmnn-1-0-0.tgz drwxr-xr-x 4 506 users 1024 Dec 14 15:38 lib drwxr-xr-x 7 506 users 1024 Dec 31 15:38 pcgi -rw-rw-r-- 1 223 site2 18075 Dec 20 10:04 psqlinputwiz1-0-3.tar -rwx--x--x 1 223 site2 141 Dec 31 10:55 start -rwx--x--x 1 root users 145 Dec 20 09:44 start~ -rwx--x--x 1 223 site2 77 Dec 20 09:44 stop drwxrwxr-x 2 223 site2 1024 Dec 20 10:13 stuff -rw-rw-r-- 1 223 site2 6154 Dec 20 10:22 tar.help drwxr-xr-x 2 506 users 1024 Dec 14 15:38 utilities drwxrwx--x 3 506 users 1024 Jan 9 18:22 var -rw-r--r-- 1 506 users 4492 Jul 22 23:00 w_pcgi.py -rw-rw-r-- 1 223 site2 1359 Dec 20 09:40 w_pcgi.pyc -rw-r--r-- 1 506 users 4578 Oct 14 15:54 wo_pcgi.py -rw-rw-r-- 1 223 site2 1506 Dec 20 09:39 wo_pcgi.pyc -rw-r--r-- 1 506 users 17936 Jan 7 22:53 z2.py -rw-rw-r-- 1 223 site2 10763 Dec 20 09:40 z2.pyc -rw-r--r-- 1 root users 17927 Jan 1 18:44 z2.py~ -rw-r--r-- 1 506 users 8806 Oct 28 18:54 zpasswd.py -rw-rw-r-- 1 223 site2 5425 Dec 20 09:40 zpasswd.pyc
var directory -rw-rw-r-- 1 root users 24737 Jan 9 18:12 #Z2.log# drwxrwx--x 3 506 users 1024 Jan 9 18:22 . drwxr-xr-x 13 506 users 1024 Jan 7 22:53 .. -rw-r--r-- 1 506 users 105 Nov 9 16:46 .cvsignore -rw-rw---- 1 223 site2 4306930 Jan 9 17:46 Data.fs -rw-r--r-- 1 506 users 76750 Jun 24 1999 Data.fs.in -rw-rw-r-- 1 nobody site2 65007 Dec 27 13:30 Data.fs.index -rw-rw-r-- 1 223 site2 5 Jan 9 18:22 Data.fs.lock -rw-rw-r-- 1 223 site2 0 Jan 9 18:22 Data.fs.tmp -rw-rw-r-- 1 root site2 7779 Dec 28 11:00 Data.fs.tr0 -rw-rw-r-- 1 root users 34073 Jan 9 19:12 Z2.log -rw-rw-r-- 1 nobody users 9 Jan 9 18:22 Z2.pid drwxrwxr-x 4 223 site2 1024 Dec 22 12:28 gadfly -rw-rw-r-- 1 223 site2 4 Jan 9 18:22 pcgi.pid srwxrwxrwx 1 root users 0 Jan 9 18:22 pcgi.soc -rw-rw-r-- 1 223 site2 4 Jan 9 18:22 zProcessManager.pid
Zope is set for user nobody
This is the start file
#! /bin/sh reldir=`dirname $0` PYTHONHOME=`cd $reldir; pwd` export PYTHONHOME exec /usr/local/bin/python \ $PYTHONHOME/z2.py \ "$@"
Steve
Quite a mess!
If you have a Linux box handy, try and do a fresh install on that and see what permissions the files are installed with.
Follow the instructions in the install file in the package!!!
I'm busy right now, thus the short answer. I might get back.
Please cc mails to list also; that's how everyone learns. -- Best regards / Mvh., Steen Suder, sysadm kollegie6400.dk -|- OpenSource --- Sign of the time
Scan-Aqua ADVARSEL WARNING http://www.uk.k64.dk/sfs/Scan-Aqua/
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Z2.pid is created as Zope starts, the error message is telling you that it can't create it. Check the permissions on the var directory again. Phil phil.harris@zope.co.uk ----- Original Message ----- From: "Steve Froggatt" <steve@cbsolutions.co.uk> To: "Steen Suder" <CAB@earthling.net> Cc: <zope@zope.org> Sent: Sunday, January 09, 2000 9:27 PM Subject: [Zope] Installing Zope
I have taken the advise and loaded zope on a clean machine, but when I try and start it I get yet another permission denied message this time it is relating to line 574 and Z2.pid. There is not a Z2.pid file anywhere on the system, has anybody come accross this.
Steve ----- Original Message ----- From: "Steen Suder" <CAB@Earthling.net> To: "Steve Froggatt" <steve@cbsolutions.co.uk> Cc: "Zope mailinglist" <zope@zope.org> Sent: Sunday, January 09, 2000 8:05 PM Subject: Re: [Zope] Unable to pack - permission denied error
Steve Froggatt wrote:
Thanks for your help.... here goes
Zope Directory
total 462 drwxr-xr-x 13 506 users 1024 Jan 7 22:53 . drwxrwsr-x 5 httpd site2 1024 Jan 3 09:47 .. -rw-r--r-- 1 506 users 28 Nov 9 16:47 .cvsignore drwxr-xr-x 2 223 site2 1024 Oct 19 01:58 Extensions -rw-rw-r-- 1 223 site2 13731 Dec 20 10:03 KnowledgeKit-1.6.7.tar -rw-r--r-- 1 506 users 3479 Mar 10 1999 LICENSE.txt drwxrwxr-x 2 223 site2 1024 Dec 28 12:48 MySQLdb-0.1.0 -rw-rw-r-- 1 223 site2 35534 Dec 20 10:03
MySQLdb-0.1.0.tar.tar
-rw-r--r-- 1 506 users 2074 Jul 23 20:51 README.txt -rw-rw-r-- 1 223 site2 5337 Dec 20 10:04 SessionManager-0.1.tar.tar -rw-rw-r-- 1 223 site2 246231 Dec 20 10:46 Squishdot-0-3-2.tar drwxr-xr-x 4 506 users 1024 Dec 14 15:38 ZServer -rwxr-xr-x 1 223 site2 656 Dec 31 15:38 Zope.cgi -rw-rw-r-- 1 223 site2 12288 Dec 20 10:04 ZpdfDocument.tar -rw------- 1 223 site2 38 Dec 20 09:45 access drwxr-xr-x 3 506 users 1024 Dec 14 15:38 doc drwxr-xr-x 3 223 site2 1024 Dec 28 12:48 import drwxr-xr-x 2 506 users 1024 Dec 14 15:38 inst -rw-rw-r-- 1 223 site2 19802 Dec 21 07:36 kmnn-1-0-0.tgz drwxr-xr-x 4 506 users 1024 Dec 14 15:38 lib drwxr-xr-x 7 506 users 1024 Dec 31 15:38 pcgi -rw-rw-r-- 1 223 site2 18075 Dec 20 10:04 psqlinputwiz1-0-3.tar -rwx--x--x 1 223 site2 141 Dec 31 10:55 start -rwx--x--x 1 root users 145 Dec 20 09:44 start~ -rwx--x--x 1 223 site2 77 Dec 20 09:44 stop drwxrwxr-x 2 223 site2 1024 Dec 20 10:13 stuff -rw-rw-r-- 1 223 site2 6154 Dec 20 10:22 tar.help drwxr-xr-x 2 506 users 1024 Dec 14 15:38 utilities drwxrwx--x 3 506 users 1024 Jan 9 18:22 var -rw-r--r-- 1 506 users 4492 Jul 22 23:00 w_pcgi.py -rw-rw-r-- 1 223 site2 1359 Dec 20 09:40 w_pcgi.pyc -rw-r--r-- 1 506 users 4578 Oct 14 15:54 wo_pcgi.py -rw-rw-r-- 1 223 site2 1506 Dec 20 09:39 wo_pcgi.pyc -rw-r--r-- 1 506 users 17936 Jan 7 22:53 z2.py -rw-rw-r-- 1 223 site2 10763 Dec 20 09:40 z2.pyc -rw-r--r-- 1 root users 17927 Jan 1 18:44 z2.py~ -rw-r--r-- 1 506 users 8806 Oct 28 18:54 zpasswd.py -rw-rw-r-- 1 223 site2 5425 Dec 20 09:40 zpasswd.pyc
var directory -rw-rw-r-- 1 root users 24737 Jan 9 18:12 #Z2.log# drwxrwx--x 3 506 users 1024 Jan 9 18:22 . drwxr-xr-x 13 506 users 1024 Jan 7 22:53 .. -rw-r--r-- 1 506 users 105 Nov 9 16:46 .cvsignore -rw-rw---- 1 223 site2 4306930 Jan 9 17:46 Data.fs -rw-r--r-- 1 506 users 76750 Jun 24 1999 Data.fs.in -rw-rw-r-- 1 nobody site2 65007 Dec 27 13:30 Data.fs.index -rw-rw-r-- 1 223 site2 5 Jan 9 18:22 Data.fs.lock -rw-rw-r-- 1 223 site2 0 Jan 9 18:22 Data.fs.tmp -rw-rw-r-- 1 root site2 7779 Dec 28 11:00 Data.fs.tr0 -rw-rw-r-- 1 root users 34073 Jan 9 19:12 Z2.log -rw-rw-r-- 1 nobody users 9 Jan 9 18:22 Z2.pid drwxrwxr-x 4 223 site2 1024 Dec 22 12:28 gadfly -rw-rw-r-- 1 223 site2 4 Jan 9 18:22 pcgi.pid srwxrwxrwx 1 root users 0 Jan 9 18:22 pcgi.soc -rw-rw-r-- 1 223 site2 4 Jan 9 18:22 zProcessManager.pid
Zope is set for user nobody
This is the start file
#! /bin/sh reldir=`dirname $0` PYTHONHOME=`cd $reldir; pwd` export PYTHONHOME exec /usr/local/bin/python \ $PYTHONHOME/z2.py \ "$@"
Steve
Quite a mess!
If you have a Linux box handy, try and do a fresh install on that and see what permissions the files are installed with.
Follow the instructions in the install file in the package!!!
I'm busy right now, thus the short answer. I might get back.
Please cc mails to list also; that's how everyone learns. -- Best regards / Mvh., Steen Suder, sysadm kollegie6400.dk -|- OpenSource --- Sign of the time
Scan-Aqua ADVARSEL WARNING http://www.uk.k64.dk/sfs/Scan-Aqua/
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Urm!! the instructions said set to 771, I set it to 777 and it worked ----- Original Message ----- From: "Phil Harris" <phil.harris@zope.co.uk> To: "Steve Froggatt" <steve@cbsolutions.co.uk>; "Steen Suder" <CAB@earthling.net> Cc: <zope@zope.org> Sent: Sunday, January 09, 2000 9:43 PM Subject: Re: [Zope] Installing Zope
Z2.pid is created as Zope starts, the error message is telling you that it can't create it.
Check the permissions on the var directory again.
Phil phil.harris@zope.co.uk
----- Original Message ----- From: "Steve Froggatt" <steve@cbsolutions.co.uk> To: "Steen Suder" <CAB@earthling.net> Cc: <zope@zope.org> Sent: Sunday, January 09, 2000 9:27 PM Subject: [Zope] Installing Zope
I have taken the advise and loaded zope on a clean machine, but when I try and start it I get yet another permission denied message this time it is relating to line 574 and Z2.pid. There is not a Z2.pid file anywhere on the system, has anybody come accross this.
Steve ----- Original Message ----- From: "Steen Suder" <CAB@Earthling.net> To: "Steve Froggatt" <steve@cbsolutions.co.uk> Cc: "Zope mailinglist" <zope@zope.org> Sent: Sunday, January 09, 2000 8:05 PM Subject: Re: [Zope] Unable to pack - permission denied error
Steve Froggatt wrote:
Thanks for your help.... here goes
Zope Directory
total 462 drwxr-xr-x 13 506 users 1024 Jan 7 22:53 . drwxrwsr-x 5 httpd site2 1024 Jan 3 09:47 .. -rw-r--r-- 1 506 users 28 Nov 9 16:47 .cvsignore drwxr-xr-x 2 223 site2 1024 Oct 19 01:58 Extensions -rw-rw-r-- 1 223 site2 13731 Dec 20 10:03 KnowledgeKit-1.6.7.tar -rw-r--r-- 1 506 users 3479 Mar 10 1999 LICENSE.txt drwxrwxr-x 2 223 site2 1024 Dec 28 12:48 MySQLdb-0.1.0 -rw-rw-r-- 1 223 site2 35534 Dec 20 10:03
MySQLdb-0.1.0.tar.tar
-rw-r--r-- 1 506 users 2074 Jul 23 20:51 README.txt -rw-rw-r-- 1 223 site2 5337 Dec 20 10:04 SessionManager-0.1.tar.tar -rw-rw-r-- 1 223 site2 246231 Dec 20 10:46 Squishdot-0-3-2.tar drwxr-xr-x 4 506 users 1024 Dec 14 15:38 ZServer -rwxr-xr-x 1 223 site2 656 Dec 31 15:38 Zope.cgi -rw-rw-r-- 1 223 site2 12288 Dec 20 10:04 ZpdfDocument.tar -rw------- 1 223 site2 38 Dec 20 09:45 access drwxr-xr-x 3 506 users 1024 Dec 14 15:38 doc drwxr-xr-x 3 223 site2 1024 Dec 28 12:48 import drwxr-xr-x 2 506 users 1024 Dec 14 15:38 inst -rw-rw-r-- 1 223 site2 19802 Dec 21 07:36 kmnn-1-0-0.tgz drwxr-xr-x 4 506 users 1024 Dec 14 15:38 lib drwxr-xr-x 7 506 users 1024 Dec 31 15:38 pcgi -rw-rw-r-- 1 223 site2 18075 Dec 20 10:04 psqlinputwiz1-0-3.tar -rwx--x--x 1 223 site2 141 Dec 31 10:55 start -rwx--x--x 1 root users 145 Dec 20 09:44 start~ -rwx--x--x 1 223 site2 77 Dec 20 09:44 stop drwxrwxr-x 2 223 site2 1024 Dec 20 10:13 stuff -rw-rw-r-- 1 223 site2 6154 Dec 20 10:22 tar.help drwxr-xr-x 2 506 users 1024 Dec 14 15:38 utilities drwxrwx--x 3 506 users 1024 Jan 9 18:22 var -rw-r--r-- 1 506 users 4492 Jul 22 23:00 w_pcgi.py -rw-rw-r-- 1 223 site2 1359 Dec 20 09:40 w_pcgi.pyc -rw-r--r-- 1 506 users 4578 Oct 14 15:54 wo_pcgi.py -rw-rw-r-- 1 223 site2 1506 Dec 20 09:39 wo_pcgi.pyc -rw-r--r-- 1 506 users 17936 Jan 7 22:53 z2.py -rw-rw-r-- 1 223 site2 10763 Dec 20 09:40 z2.pyc -rw-r--r-- 1 root users 17927 Jan 1 18:44 z2.py~ -rw-r--r-- 1 506 users 8806 Oct 28 18:54 zpasswd.py -rw-rw-r-- 1 223 site2 5425 Dec 20 09:40 zpasswd.pyc
var directory -rw-rw-r-- 1 root users 24737 Jan 9 18:12 #Z2.log# drwxrwx--x 3 506 users 1024 Jan 9 18:22 . drwxr-xr-x 13 506 users 1024 Jan 7 22:53 .. -rw-r--r-- 1 506 users 105 Nov 9 16:46 .cvsignore -rw-rw---- 1 223 site2 4306930 Jan 9 17:46 Data.fs -rw-r--r-- 1 506 users 76750 Jun 24 1999 Data.fs.in -rw-rw-r-- 1 nobody site2 65007 Dec 27 13:30 Data.fs.index -rw-rw-r-- 1 223 site2 5 Jan 9 18:22 Data.fs.lock -rw-rw-r-- 1 223 site2 0 Jan 9 18:22 Data.fs.tmp -rw-rw-r-- 1 root site2 7779 Dec 28 11:00 Data.fs.tr0 -rw-rw-r-- 1 root users 34073 Jan 9 19:12 Z2.log -rw-rw-r-- 1 nobody users 9 Jan 9 18:22 Z2.pid drwxrwxr-x 4 223 site2 1024 Dec 22 12:28 gadfly -rw-rw-r-- 1 223 site2 4 Jan 9 18:22 pcgi.pid srwxrwxrwx 1 root users 0 Jan 9 18:22 pcgi.soc -rw-rw-r-- 1 223 site2 4 Jan 9 18:22 zProcessManager.pid
Zope is set for user nobody
This is the start file
#! /bin/sh reldir=`dirname $0` PYTHONHOME=`cd $reldir; pwd` export PYTHONHOME exec /usr/local/bin/python \ $PYTHONHOME/z2.py \ "$@"
Steve
Quite a mess!
If you have a Linux box handy, try and do a fresh install on that and see what permissions the files are installed with.
Follow the instructions in the install file in the package!!!
I'm busy right now, thus the short answer. I might get back.
Please cc mails to list also; that's how everyone learns. -- Best regards / Mvh., Steen Suder, sysadm kollegie6400.dk -|- OpenSource --- Sign of the time
Scan-Aqua ADVARSEL WARNING http://www.uk.k64.dk/sfs/Scan-Aqua/
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Help. I am trying to install the Photo product and am having some problems. I need to install PIL to get it to work but just don't understand <something> Instructions followed: Installing and Packagizing PIL for Zope 1. Download PIL and compile <downloaded pil-win32-991101.zip for Pythonware> Consider leaving out the tk libraries, we won't be using this for Zope. 2. Copy the __init__.py file into your PIL directory <Copied.> 3. Move your PIL directory into your Zope's python's path. <Just PIL directory or whole py152 directory?> <I copied just PIL portion> 4. Move the PIL.pth into your site-packages directory. <don't know what is meant here> System info from Zope control panel: Zope version: Zope 2.0.0 (binary release, python 1.5.2, win32-x86) Python version: 1.5.2 (#0, Jul 30 1999, 09:52:18) [MSC 32 bit (Intel)] System Platform: win32 Traceback encountered in broken photo product: Traceback (innermost last): File "C:\Program Files\WebSite\lib\python\OFS\Application.py", line 393, in import_products product=__import__(pname, global_dict, global_dict, silly) File "C:\Program Files\WebSite\lib\python\Products\Photo\__init__.py", line 42, in ? import Photo File "C:\Program Files\WebSite\lib\python\Products\Photo\Photo.py", line 56, in ? import PIL File "C:\Program Files\WebSite\lib\python\PIL\__init__.py", line 4, in ? import Image, ImageFile, ImageDraw, _imaging, GifImagePlugin ImportError: DLL load failed: One of the library files needed to run this application cannot be found. Any help is appreciated. Dale Lance
While I've never used the Photo product, I imagine it treats PIL as a Python package. I hope it does, anyway. Try the following: copy the PIL directory that includes __init__.py (not the py152 directory, just the PIL directory) into $ZOPEHOME/lib/python/Products/OFS. Restart Zope. Forget about PIL.pth. If this works, know that this isn't the best way to do this, a preferred method would be adding a new path pointing to a directory that contains PIL (other than OFS) to your PYTHONPATH environment variable. I just can't remember how to set environment variables in Win32! Now *THAT's* sad. Dale Lance wrote:
Help.
I am trying to install the Photo product and am having some problems. I need to install PIL to get it to work but just don't understand <something>
Instructions followed:
Installing and Packagizing PIL for Zope
1. Download PIL and compile <downloaded pil-win32-991101.zip for Pythonware> Consider leaving out the tk libraries, we won't be using this for Zope. 2. Copy the __init__.py file into your PIL directory <Copied.> 3. Move your PIL directory into your Zope's python's path. <Just PIL directory or whole py152 directory?> <I copied just PIL portion> 4. Move the PIL.pth into your site-packages directory. <don't know what is meant here>
System info from Zope control panel: Zope version: Zope 2.0.0 (binary release, python 1.5.2, win32-x86) Python version: 1.5.2 (#0, Jul 30 1999, 09:52:18) [MSC 32 bit (Intel)] System Platform: win32
Traceback encountered in broken photo product: Traceback (innermost last): File "C:\Program Files\WebSite\lib\python\OFS\Application.py", line 393, in import_products product=__import__(pname, global_dict, global_dict, silly) File "C:\Program Files\WebSite\lib\python\Products\Photo\__init__.py", line 42, in ? import Photo File "C:\Program Files\WebSite\lib\python\Products\Photo\Photo.py", line 56, in ? import PIL File "C:\Program Files\WebSite\lib\python\PIL\__init__.py", line 4, in ? import Image, ImageFile, ImageDraw, _imaging, GifImagePlugin ImportError: DLL load failed: One of the library files needed to run this application cannot be found.
Any help is appreciated.
Dale Lance
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- Chris McDonough Digital Creations, Inc. Zope - http://www.zope.org
Oops... scratch that... copy PIL dir to $ZOPEHOME\lib\python\OFS, not /lib/python/Products/OFS Chris McDonough wrote:
While I've never used the Photo product, I imagine it treats PIL as a Python package. I hope it does, anyway.
Try the following: copy the PIL directory that includes __init__.py (not the py152 directory, just the PIL directory) into $ZOPEHOME/lib/python/Products/OFS. Restart Zope. Forget about PIL.pth.
If this works, know that this isn't the best way to do this, a preferred method would be adding a new path pointing to a directory that contains PIL (other than OFS) to your PYTHONPATH environment variable. I just can't remember how to set environment variables in Win32! Now *THAT's* sad.
Dale Lance wrote:
Help.
I am trying to install the Photo product and am having some problems. I need to install PIL to get it to work but just don't understand <something>
Instructions followed:
Installing and Packagizing PIL for Zope
1. Download PIL and compile <downloaded pil-win32-991101.zip for Pythonware> Consider leaving out the tk libraries, we won't be using this for Zope. 2. Copy the __init__.py file into your PIL directory <Copied.> 3. Move your PIL directory into your Zope's python's path. <Just PIL directory or whole py152 directory?> <I copied just PIL portion> 4. Move the PIL.pth into your site-packages directory. <don't know what is meant here>
System info from Zope control panel: Zope version: Zope 2.0.0 (binary release, python 1.5.2, win32-x86) Python version: 1.5.2 (#0, Jul 30 1999, 09:52:18) [MSC 32 bit (Intel)] System Platform: win32
Traceback encountered in broken photo product: Traceback (innermost last): File "C:\Program Files\WebSite\lib\python\OFS\Application.py", line 393, in import_products product=__import__(pname, global_dict, global_dict, silly) File "C:\Program Files\WebSite\lib\python\Products\Photo\__init__.py", line 42, in ? import Photo File "C:\Program Files\WebSite\lib\python\Products\Photo\Photo.py", line 56, in ? import PIL File "C:\Program Files\WebSite\lib\python\PIL\__init__.py", line 4, in ? import Image, ImageFile, ImageDraw, _imaging, GifImagePlugin ImportError: DLL load failed: One of the library files needed to run this application cannot be found.
Any help is appreciated.
Dale Lance
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- Chris McDonough Digital Creations, Inc. Zope - http://www.zope.org
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- Chris McDonough Digital Creations, Inc. Zope - http://www.zope.org
Nope, that didn't work :-( It must be something to do with path settings but I am just using an "out-of-the-box" installation which involved no setting of path variables Traceback (innermost last): File "C:\Program Files\WebSite\lib\python\OFS\Application.py", line 393, in import_products product=__import__(pname, global_dict, global_dict, silly) File "C:\Program Files\WebSite\lib\python\Products\Photo\__init__.py", line 42, in ? import Photo File "C:\Program Files\WebSite\lib\python\Products\Photo\Photo.py", line 56, in ? import PIL ImportError: No module named PIL ----- Original Message ----- From: Chris McDonough <chrism@digicool.com> To: Dale Lance <d_lance@email.msn.com>; <Zope@zope.org>; <andrew@eventera.com> Sent: Sunday, January 09, 2000 5:03 PM Subject: Re: [Zope] Help with PIL / Photo product
Oops... scratch that...
copy PIL dir to $ZOPEHOME\lib\python\OFS, not /lib/python/Products/OFS
Chris McDonough wrote:
While I've never used the Photo product, I imagine it treats PIL as a Python package. I hope it does, anyway.
Try the following: copy the PIL directory that includes __init__.py (not the py152 directory, just the PIL directory) into $ZOPEHOME/lib/python/Products/OFS. Restart Zope. Forget about PIL.pth.
If this works, know that this isn't the best way to do this, a preferred method would be adding a new path pointing to a directory that contains PIL (other than OFS) to your PYTHONPATH environment variable. I just can't remember how to set environment variables in Win32! Now *THAT's* sad.
Dale Lance wrote:
Help.
I am trying to install the Photo product and am having some problems. I need to install PIL to get it to work but just don't understand <something>
Instructions followed:
Installing and Packagizing PIL for Zope
1. Download PIL and compile <downloaded pil-win32-991101.zip for Pythonware> Consider leaving out the tk libraries, we won't be using this for
Zope.
2. Copy the __init__.py file into your PIL directory <Copied.> 3. Move your PIL directory into your Zope's python's path. <Just PIL directory or whole py152 directory?> <I copied just PIL portion> 4. Move the PIL.pth into your site-packages directory. <don't know what is meant here>
System info from Zope control panel: Zope version: Zope 2.0.0 (binary release, python 1.5.2, win32-x86) Python version: 1.5.2 (#0, Jul 30 1999, 09:52:18) [MSC 32 bit (Intel)] System Platform: win32
Traceback encountered in broken photo product: Traceback (innermost last): File "C:\Program Files\WebSite\lib\python\OFS\Application.py", line 393, in import_products product=__import__(pname, global_dict, global_dict, silly) File "C:\Program Files\WebSite\lib\python\Products\Photo\__init__.py", line 42, in ? import Photo File "C:\Program Files\WebSite\lib\python\Products\Photo\Photo.py", line 56, in ? import PIL File "C:\Program Files\WebSite\lib\python\PIL\__init__.py", line 4, in ? import Image, ImageFile, ImageDraw, _imaging, GifImagePlugin ImportError: DLL load failed: One of the library files needed to run this application cannot be found.
Any help is appreciated.
Dale Lance
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- Chris McDonough Digital Creations, Inc. Zope - http://www.zope.org
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- Chris McDonough Digital Creations, Inc. Zope - http://www.zope.org
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
----- Original Message ----- From: "Dale Lance" <d_lance@email.msn.com> To: <Zope@zope.org>
I am trying to install the Photo product and am having some problems. I need to install PIL to get it to work but just don't understand <something>
Which __init__.py file are you copying to PIL's directory? The one that comes in "Products/Photo", or the one that comes in "Products/Photo/Install_PIL"? I managed to screw that one up the first time I installed it ;-) Aside from that, make sure the PIL directory is in (Zope Dir)/lib/python is all I can suggest. (Please do be sure to remember to move PIL's directory to the new installation whenever you update Zope, as I just found.) Right now, my trouble with Photo is that it no longer recognizes any image uploads, and sometimes spits out "Invalid literal" or somesuch. - Gregor vorlon#iglou.com http://anime.at/gregordyne http://www.skysys.org/~gregor Anime, Amber, 3d, Mage, Eidolon, Miscellany
I used the __init__.py that comes with "Products/Photo". I put it in the directory you are suggesting. First error was "can't import _imaging" I assumed that was the dll. But still get the traceback. ----- Original Message ----- From: Gregor <vorlon@iglou.com> To: <zope@zope.org> Sent: Sunday, January 09, 2000 5:18 PM Subject: Re: [Zope] Help with PIL / Photo product
----- Original Message ----- From: "Dale Lance" <d_lance@email.msn.com> To: <Zope@zope.org>
I am trying to install the Photo product and am having some problems. I need to install PIL to get it to work but just don't understand <something>
Which __init__.py file are you copying to PIL's directory? The one that
comes
in "Products/Photo", or the one that comes in "Products/Photo/Install_PIL"?
I managed to screw that one up the first time I installed it ;-)
Aside from that, make sure the PIL directory is in (Zope Dir)/lib/python is all I can suggest.
(Please do be sure to remember to move PIL's directory to the new installation whenever you update Zope, as I just found.)
Right now, my trouble with Photo is that it no longer recognizes any image uploads, and sometimes spits out "Invalid literal" or somesuch.
- Gregor vorlon#iglou.com http://anime.at/gregordyne http://www.skysys.org/~gregor Anime, Amber, 3d, Mage, Eidolon, Miscellany
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (7)
-
Chris McDonough -
Dale Lance -
Gregor -
John Glossner -
Phil Harris -
Steen Suder -
Steve Froggatt