I am having similar problems but in windows.

Any clue?
On Wednesday, September 5, 2012 4:33:37 PM UTC-5, webtest wrote:
>
> Yes you are right! disabling it fixed the problem. 
> Can you also please point me to a direction where I can learn how to set 
> up multiple applications running at the same time with no selinux 
> permission issues?
> Thanks a lot again for the quick response.
>
> On Wednesday, September 5, 2012 8:40:02 AM UTC-5, Jonathan Lundell wrote:
>>
>> On 4 Sep 2012, at 9:22 PM, webtest <ert...@gmail.com> wrote:
>>
>> I am running web2py on Centos and used the fedora shell script to do the 
>> installation. It did set all my folder/files as apache:apache, did the 
>> selinux configuration and such. I have the welcome and examples 
>> applications loaded.
>> When I run the examples application locally I get no errors (here this 
>> makes me think the DAL is set up fine and working) But when I access it 
>> online I get the internal error : unknown ticket created message.
>> Here is the error log it generates. It looks like a permissions issue but 
>> I already verified that all files as set as apache:apache , as it is in my 
>> httpd config and the folder/files have write and read permissions.
>> What could be the reason for this?
>>
>>
>> If you're very sure about permissions, try disabling selinux, at least as 
>> an experiment. 
>>
>>
>> [Tue Sep 04 23:12:49 2012] [error] ERROR:web2py.cache:corrupted file 
>> /opt/web-apps/web2py/applications/examples/cache/cache.shelve, will try 
>> delete it!
>> [Tue Sep 04 23:12:49 2012] [error] WARNING:web2py.cache:unable to delete 
>> file /opt/web-apps/web2py/applications/examples/cache/cache.shelve
>> [Tue Sep 04 23:12:49 2012] [error] ERROR:web2py:Traceback (most recent 
>> call last):
>> [Tue Sep 04 23:12:49 2012] [error]   File 
>> "/opt/web-apps/web2py/gluon/restricted.py", line 205, in restricted
>> [Tue Sep 04 23:12:49 2012] [error]     exec ccode in environment
>> [Tue Sep 04 23:12:49 2012] [error]   File 
>> "/opt/web-apps/web2py/applications/examples/compiled/models/menu.py", line 
>> 63, in <module>
>> [Tue Sep 04 23:12:49 2012] [error]   File 
>> "/opt/web-apps/web2py/gluon/dal.py", line 6320, in define_table
>> [Tue Sep 04 23:12:49 2012] [error]     polymodel=polymodel)
>> [Tue Sep 04 23:12:49 2012] [error]   File 
>> "/opt/web-apps/web2py/gluon/dal.py", line 710, in create_table
>> [Tue Sep 04 23:12:49 2012] [error]     logfile = 
>> self.file_open(table._loggername, 'a')
>> [Tue Sep 04 23:12:49 2012] [error]   File 
>> "/opt/web-apps/web2py/gluon/dal.py", line 545, in file_open
>> [Tue Sep 04 23:12:49 2012] [error]     fileobj = 
>> portalocker.LockedFile(filename,mode)
>> [Tue Sep 04 23:12:49 2012] [error]   File 
>> "/opt/web-apps/web2py/gluon/portalocker.py", line 120, in __init__
>> [Tue Sep 04 23:12:49 2012] [error]     self.file = 
>> open(filename,mode.replace('w','a'))
>> [Tue Sep 04 23:12:49 2012] [error] IOError: [Errno 13] Permission denied: 
>> '/opt/web-apps/web2py/applications/examples/databases/sql.log'
>>
>>
>>
>>
>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to