I am new at OpenERP and I just installed OpenERP 7.0 on Ubuntu 12.04 using the All-In-One ".deb" file. But when I tried to open it it gave me this error message:
Internal Server Error: The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
What is going wrong and how can I fix it?
I did the "tail -f /var/log/openerp-server.log" command line and it gave me this:
self.gen.next() File "/usr/share/pyshared/openerp/addons/web/http.py", line 422, in session_context session_store.save(request.session) File "/usr/share/pyshared/werkzeug/contrib/sessions.py", line 237, in save dir=self.path) File "/usr/lib/python2.7/tempfile.py", line 300, in mkstemp return _mkstemp_inner(dir, prefix, suffix, flags) File "/usr/lib/python2.7/tempfile.py", line 235, in _mkstemp_inner fd = _os.open(file, flags, 0600) OSError: [Errno 13] Permission non accordÃ©e: '/tmp/oe-sessions-openerp/tmpNUQsbf.__wz_sess'
There is a file
openerp-server.log, probably in a path such as
tail -f /var/log/openerp/openerp-server.log
You may see there, further clues as to what occurred.
Update This ...
tail -fn 50 /var/log/openerp/openerp-server.log
... will show more lines.
But you certainly have a permissions problem:
OSError: [Errno 13] Permission non accordÃ©e: '/tmp/oe-sessions-openerp/tmpNUQsbf.__wz_sess'
Please try :
sudo ls -l /tmp/oe-sessions-openerp/
In my case I see many lines like this :
-rw-r--r-- 1 openerp openerp 211 May 5 22:28 werkzeug_ffae16202d6af971f83831481c7bf60ae9165a0b.sess
sudo ls -l /tmp/
gives me :
drwx------ 2 openerp openerp 147456 May 6 12:20 oe-sessions-openerp
Hope that helps.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 5/6/13, 12:31 PM|
|Seen: 9331 times|
|Last updated: 3/16/15, 8:10 AM|