Odoo 中文社区

    • 注册
    • 登录
    • 搜索
    • 版块
    • 标签
    • 热门
    • 用户
    • 群组

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

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

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

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

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

    一台ubuntu上面安装跑两个oe的故事

    Odoo 新手求助
    2
    4
    3243
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • L
      LondonBao 最后由 编辑

      这其实是一个很简单的问题。简单陈述一下前面的安装步骤:
      bzr branch lp:openerp-web/7.0 web
      bzr branch lp:openobject-server/7.0 server
      bzr branch lp:openobject-addons/7.0 addons
      exit
      sudo cp /opt/openerp/v7/server/install/openerp-server.conf /etc/openerp-server.conf

      接下来是我的这个openerp-server.conf

      <br />; This is the password that allows database operations:<br />admin_passwd = PASSWORD<br />db_host = False<br />db_port = False<br />db_user = oe4test<br />db_password = oe4test<br />addons_path = /opt/openerp/v7/addons,/opt/openerp/v7/web/addons<br />xmlrpc_port = 8099<br />;Log settings<br />logfile = /var/log/openerp/openerp-server.log<br />log_level = error<br />
      



      where to change the xmlrpc_port ~!

      [glow=red,2,300]
      重庆-mrshelly(49812643)  13:41:38
      add

      xmlrpc_port = xxxooo

      and restart oe server service.
      [/glow]

      db_user = oe4test
      db_password = oe4test是我新建的数据库用户和密码,而不是原先大部分教程里面的openerp用户。

      我以为到这里就完成了。
      结果oe是能跑起来,但是不能创建帐套。显示的错误server access deny。

      jeff在群上告诉我应该改/etc/postgresql/8.4/main/pg_hba.conf于是我
      vi /etc/postgresql/8.4/main/pg_hba.conf
      改成

      <br /># &quot;local&quot; is for Unix domain socket connections only<br />local&nbsp;  all&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  all&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  trust<br />
      



      我以为到这里可以了:
      结果还是不行。原因是我原先搭起来的那个oe的主控密码被我改了。我用改过的主控密码就登进去了。这里我还是不知道为什么两个程序会互相影响。
      先记录到此。
      谢谢jeff,mrshelly,ccdos在开发群上面提供的帮助!


      1 条回复 最后回复 回复 引用 0
      • mrshelly
        mrshelly 最后由 编辑

        同一套源码也可以跑多个的...

        1 条回复 最后回复 回复 引用 0
        • L
          LondonBao 最后由 编辑

          [quote author=mrshelly link=topic=5775.msg14312#msg14312 date=1362031519]
          同一套源码也可以跑多个的...
          [/quote]
          我想一个维护最新版本而且可以拿来测试。一个自己做一些patch让他没有什么明显bug。出于这个原因。

          1 条回复 最后回复 回复 引用 0
          • First post
            Last post