Odoo8出现Internal Server Error的解决办法之一

简介: 转载地址:http://blog.sina.com.cn/s/blog_7cb52fa80102vaf3.html     问题: 不知怎么回事,我的Odoo8出错了,重装也一样出错信息如下Internal Server ErrorThe server encountered an inte...
转载地址:http://blog.sina.com.cn/s/blog_7cb52fa80102vaf3.html
 
 
问题:

不知怎么回事,我的Odoo8出错了,重装也一样
出错信息如下

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.

 
解决办法:
我看了一下log openerp-server.log 或 (看 postgresql 的日志 postgresql-2015-10-21_000000.log)
最后一行是
File "C:\Program Files (x86)\Odoo 8.0-20141231\server\openerp\sql_db.py", line 234, in execute
    res = self._obj.execute(query, params)
InternalError: 错误:  当前事务被终止, 事务块结束之前的查询被忽略

这很明显是数据库的问题,
 
仍不放心,用 netstat -an 看了一下  8069 5432这两个端口处在监听状态
 
这说明系统正常,所以我的结论是这个错误是访问数据库时出现的错误,
于是我打开postGreSQL修改了一个,果然可以了,
  步骤如下,右键单击数据库---维护 ---选中vacuum(这个意思是真空,不知何解) ,其下选择FULL
Odoo8出现Internal <wbr>Server <wbr>Error的解决办法之一
 
 
完事后,重新启动odoo 服务
 
目录
打赏
0
0
0
0
107
分享
相关文章
【报错】ubutun下启动nginx失败:500 internal server error
【报错】ubutun下启动nginx失败:500 internal server error
713 0
apache 提示You don't have permission to access /test.php on this server.怎样解决
原文:apache 提示You don't have permission to access /test.php on this server.怎样解决 关键字: Apache   403  Forbidden系统配置:操作系统:Red Hat Linux 6.2Web服务器:Apache 3.1.1+jakarta-tomcat 3.1.1数据库服务器:oracle 8i    Apache服务器是目前应用最多的web服务器,据统计在世界上的服务器中有超过一半采用Apache服务器.关于它的好处,您可以自己到http://www.apache.org/上去看。
1929 0
IIS10 部署网站报【HTTP 错误 500.19 - Internal Server Error】的解决办法
原有的 web 发布文件是可以正常部署 IIS10 上面运行的,由于本地电脑环境迁移,重新换了一个宿主机部署 IIS10,网站运行提示如下信息:HTTP 错误 `500.19 - Internal Server Error` 无法访问请求的页面,因为该页的相关配置数据无效。详细错误信息:模块 `IIS Web Core` 通知 `未知 处理程序 尚未确定 错误...
2024 0
IIS10 部署网站报【HTTP 错误 500.19 - Internal Server Error】的解决办法
CI当开启URL重写的时候,报错500 Internal Server Error
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.
1611 0
【Azure App Service for Windows】 PHP应用出现500 : The page cannot be displayed because an internal server error has occurred. 错误
【Azure App Service for Windows】 PHP应用出现500 : The page cannot be displayed because an internal server error has occurred. 错误