Ubuntu10.04上新立得安装5.06,无法连接服务器
-
自动安装的,找不到程序链接,只能命令行
1、openerp-client : 提示无法连接服务器
2、ps aux | grep openerp
openerp 5171 0.0 0.7 54212 18632 ? Sl 11:17 0:00 /usr/bin/python ./openerp-server.py --config=/etc/openerp-server.conf
3、openerp-server.log:
[2011-06-23 12:12:28,633] ERROR:dbpool:[01]:
[2011-06-23 12:12:28,634] ERROR:dbpool:[02]: Environment Information :
[2011-06-23 12:12:28,634] ERROR:dbpool:[03]: System : Linux-2.6.32-32-generic-i686-with-Ubuntu-10.04-lucid
[2011-06-23 12:12:28,634] ERROR:dbpool:[04]: OS Name : posix
[2011-06-23 12:12:28,634] ERROR:dbpool:[05]: LSB Version: 。。。。。。
[2011-06-23 12:12:28,634] ERROR:dbpool:[06]: Distributor ID: Ubuntu
[2011-06-23 12:12:28,634] ERROR:dbpool:[07]: Description: Ubuntu 10.04.2 LTS
[2011-06-23 12:12:28,635] ERROR:dbpool:[08]: Release: 10.04
[2011-06-23 12:12:28,635] ERROR:dbpool:[09]: Codename: lucid
[2011-06-23 12:12:28,635] ERROR:dbpool:[10]: Operating System Release : 2.6.32-32-generic
[2011-06-23 12:12:28,635] ERROR:dbpool:[11]: Operating System Version : #62-Ubuntu SMP Wed Apr 20 21:54:21 UTC 2011
[2011-06-23 12:12:28,635] ERROR:dbpool:[12]: Operating System Architecture : 32bit
[2011-06-23 12:12:28,635] ERROR:dbpool:[13]: Operating System Locale : en_US.UTF8
[2011-06-23 12:12:28,636] ERROR:dbpool:[14]: Python Version : 2.6.5
[2011-06-23 12:12:28,636] ERROR:dbpool:[15]: OpenERP-Server Version : 5.0.6
[2011-06-23 12:12:28,636] ERROR:dbpool:[16]: Last revision No. & ID :
[2011-06-23 12:12:28,636] ERROR:dbpool:[17]: Unable to connect to template1: FATAL: Ident authentication failed for user "openerp" -
网上搜了下,需要改POSTGRESQL的认证方式配置,改了以后,最后一行变成
Unable to connect to template1: fe_sendauth: no password supplied
我用户openerp是默认空密码。是不是一定要个密码?现在怎么才能在psql里设置该用户的密码呢?
我的/etc/openerp-server.conf:
[options]
verbose = True
debug_mode = False
logfile = /var/log/openerp-server.log
process_user = openerp
interface = localhost
debug_mode = False
secure = False
smtp_server = localhost
smtp_user = False
smtp_password = False
db_user = openerp
db_password =
db_host =
db_port = 5432