Odoo 中文社区

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Popular
    • Users
    • Groups

    Odoo中文社区可以通过以下两个域名访问:shine-it.net , odoo.net.cn

    由于系统升迁的原因,本论坛部分较早期的内容存在格式和链接损坏失效的问题,并非本论坛系统本身的缺陷,望谅解

    本社区没有维护任何QQ群讨论组,任何与本社区同名的QQ群讨论组的言论与本社区无关!

    开发人员可以登录gitter讨论组: http://gitter.im/odoo-china/Talk, 需要github账号

    如果您登录系统碰到问题,请在微信公众号留言:

    阿里云主机 源码运行 6.1 出怪事了(jeff 已经帮助搞定)

    Odoo 安装指南
    1
    3
    4026
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      ccdos last edited by

      sudo su - openerp -s /bin/bash
      /opt/openerp/server/openerp-server

      这样直接启动,能正常访问

      ==========================


      sudo /etc/init.d/openerp-server start

      用后台 方式启动,
      主页也能出来,但是 OE server 不能访问数据库了

      dbname))  File "/opt/openerp/server/openerp/sql_db.py", line 366, in _locked    return fun(self, *args, **kwargs)  File "/opt/openerp/server/openerp/sql_db.py", line 421, in borrow 
      result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection)Operational

      Error: could not connect to server: Connection refusedIs the server running on
      host "localhost" and acceptingTCP/IP connections on port 5342?


      ~~~~~~~~~~~~~~~~
      弄不懂了

      1 Reply Last reply Reply Quote 0
      • C
        ccdos last edited by

        低级错误,自己写的配置文件里,端口号 弄粗了。
        多些 jeff 一眼看出。
        =================================

        jeff wang 13:47:16
        奇怪啊
        jeff wang 13:47:36
        配置文件里数据库端口怎么是5342呢?
        jeff wang 13:47:43
        不是5432么?
        ccdos 13:47:48
        晕
        那我弄错了
        ccdos 13:47:52

        jeff wang 13:48:04
        Is the server running on host "localhost" and accepting
        TCP/IP connections on port 5342?
        jeff wang 13:48:07
        哈哈
        ccdos 13:48:11
        估计这就是原因了

        前台 用了 默认config




        1 Reply Last reply Reply Quote 0
        • First post
          Last post