>Date: Fri, 02 Feb 2001 08:08:35 -0800
>To: "Fredrik Lundh" <[EMAIL PROTECTED]>
>From: Ben Ocean <[EMAIL PROTECTED]>
>Subject: Re: Chokes on GETPPID
>
>Strange. I moved my server and all sorts of crazy things started 
>happening. You're right: for some reason a user called skharley owns all 
>this stuff. I've tried chown root * but it doesn't go through all the 
>directories, etc. I have no idea why skharley would own anything! Any ideas?
>TIA,
>BenO
>
>At 02:49 PM 2/2/2001 +0000, you wrote:
>>Ben Ocean wrote:
>> > > >  >>>
>> > > > if not READ_ONLY:
>> > > >      pf = open(PID_FILE, 'w')
>> > > >      pid=str(os.getpid())
>> > > >      try: pid=str(os.getppid())+' '+pid
>> > > >      except: pass
>> > > >      pf.write(pid)
>> > > >      pf.close()
>> > > > <<<
>> > > > It specifically identified the *try* statement as the choke-point.
>> > > > How do I trouble-shoot this?
>> > >
>> > >I assume "choke" means that it stopped and printed a
>> > >traceback message?  how about posting that traceback?
>> >
>> > ...with traceback...
>> >  >>>
>> > Traceback (innermost last):
>> >    File "/apache/Zope-2.2.4-linux2-x86/z2.py", line 710, in ?
>> >      pf = open(PID_FILE, 'w')
>> > IOError: [Errno 13] Permission denied:
>> > '/apache/Zope-2.2.4-linux2-x86/var/Z2.pid
>> > '<<<
>>
>>I'd say it specifically identified the *open* statement as
>>the choke-point...
>>
>>Do you have write privileges in that directory?  If the file
>>already exists, is it writable?
>>
>>Cheers /F
>>
>>
>>--
>>http://mail.python.org/mailman/listinfo/python-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to