Christopher Arndt wrote:
> Richard Harding schrieb:
>
>> If I remove all of the log files that get created
>> /var/log/supervisord.log
>> /var/log/tg-avw-supervisor.log
>> and the tg specific /home/rharding/src/tg-avw/server.log
>>
>> the first two get created when I run supervisor in the background with
>> owner root:root and permissions 644. The tg-avw-supervisor.log is empty
>> and the supervisord.log has the same series of errors I originally posted.
>>
>
> Can you establish whether supervisor runs the 'start-avwsystems.py' script at
> all when it runs in the background? Check if the script itself fails (by
> replacing it with something simple, fail-safe that write something to a file)
> or if excuting the script already fails.
>
I replaced start-avwsytems.py with:
#!/usr/bin/python2.4
fout = open('test.txt', 'w')
fout.write('I have been run')
fout.close()
When I run it in the background the test.txt file does not get created.
When I run it in the foreground the test.txt file is created.
>
>> Other than the log files I don't know where else to look for permission
>> issues. the entire /home/src/tg-admin directory tree is owned by
>> rharding:www-data and 775.
>>
>
> Does /home/src have the x-bit set for others?
>
ls of /src:
drwxrwxr-x 5 rharding www-data 4096 2007-02-16 12:36 tg-avw
Thanks for trying to help me figure out what's going on.
Rick
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---