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账号

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

    CentOS6.4下源代码安装以及nginx配置

    Odoo 安装指南
    17
    30
    50128
    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.
    • 殊
      殊途 last edited by

      我在安装依赖库时提示:“No package pybabel available”,网上也搜不到 pybabel 错误的资料,请教楼主和大家我该如何安装这个库?其它依赖库安装都没问题,我的平台是 Centos 6.4,32 位!谢谢!!

      1 Reply Last reply Reply Quote 0
      • 殊
        殊途 last edited by

        启动时报错:
        # service oe7server start
        Starting OpenERP Server Daemon (openerp-server): execvp: No such file or directory
                                                                  [  OK  ]
        关闭或者重启时报错:
        # service oe7server restart
        Stopping OpenERP Server Daemon (openerp-server): cat: /var/run/openerp/openerp-server.pid: No such file or directory
                                                                  [FAILED]
        Starting OpenERP Server Daemon (openerp-server): execvp: No such file or directory
                                                                  [  OK  ]
        在线求助。

        1 Reply Last reply Reply Quote 0
        • S
          stone2009 last edited by

          [quote author=殊途 link=topic=7293.msg18922#msg18922 date=1375611373]
          启动时报错:
          # service oe7server start
          Starting OpenERP Server Daemon (openerp-server): execvp: No such file or directory
                                                                    [  OK  ]
          关闭或者重启时报错:
          # service oe7server restart
          Stopping OpenERP Server Daemon (openerp-server): cat: /var/run/openerp/openerp-server.pid: No such file or directory
                                                                    [FAILED]
          Starting OpenERP Server Daemon (openerp-server): execvp: No such file or directory
                                                                    [  OK  ]
          在线求助。
          [/quote]

          你这个貌似也是权限问题造成的,execvp这个函数报错一般都是调用的文件可能因为目录权限问题造成无法访问
          PID文件如果不能创建则肯定是/var/run/openerp目录权限不够,这个文件是为系统服务关闭的时候提供进程号作用的

          你仔细检查一下各个关键目录的权限以及目录的属主

          1 Reply Last reply Reply Quote 0
          • H
            huawenmumu last edited by

            [quote author=stone2009 link=topic=7293.msg18926#msg18926 date=1375638339]
            [quote author=殊途 link=topic=7293.msg18922#msg18922 date=1375611373]
            启动时报错:
            # service oe7server start
            Starting OpenERP Server Daemon (openerp-server): execvp: No such file or directory
                                                                      [  OK  ]
            关闭或者重启时报错:
            # service oe7server restart
            Stopping OpenERP Server Daemon (openerp-server): cat: /var/run/openerp/openerp-server.pid: No such file or directory
                                                                      [FAILED]
            Starting OpenERP Server Daemon (openerp-server): execvp: No such file or directory
                                                                      [  OK  ]
            在线求助。
            [/quote]

            你这个貌似也是权限问题造成的,execvp这个函数报错一般都是调用的文件可能因为目录权限问题造成无法访问
            PID文件如果不能创建则肯定是/var/run/openerp目录权限不够,这个文件是为系统服务关闭的时候提供进程号作用的

            你仔细检查一下各个关键目录的权限以及目录的属主
            [/quote]


            回复楼上。我也遇到同样的问题,现已解决。
            我的做法是,修改/etc/init.d/oe7server文件中的内容第63行 "/usr/bin/setsid /opt/oe7/openerp-server \。然后,我这边因为系统(centos 5.9)原因报了很多python依赖项的错误,重新安装依赖就可以启动了。
            我这边的这个可以确定不是权限问题。提醒注意,/etc/openerp-server.conf 中的数据库连接要改,要不然启动了也连不上  😉

            1 Reply Last reply Reply Quote 0
            • digitalsatori
              digitalsatori 管理员 last edited by

              [quote]我的做法是,修改/etc/init.d/oe7server文件中的内容第63行 "/usr/bin/setsid /opt/oe7/openerp-server \。然后,我这边因为系统(centos 5.9)原因报了很多python依赖项的错误,重新安装依赖就可以启动了。
              我这边的这个可以确定不是权限问题。提醒注意,/etc/openerp-server.conf 中的数据库连接要改,要不然启动了也连不上  [img alt=;) [检测到链接无效,已移除] /img][/quote]

              可以确定的是,你修改的setsid与你之前碰到的和楼主提到的“No such file or directory“错误无关。 setsid目的是脱离当前控制终端运行,实现守护进程。
              以上的错误可以确定的是,找不到路径或因为权限问题找不到路径

              【上海先安科技】(tony AT openerp.cn)

              1 Reply Last reply Reply Quote 0
              • K
                kimlijingyang last edited by

                关于centos安装oe7,建议参考http://gurn3ys.tuxfamily.org/
                关于centos/ubuntu私匙SSL安装nginx,建议参考http://www.schenkels.nl/2013/01/reverse-ssl-proxy-using-nginx-with-openerp-v7/
                以上根据自己的系统作相应的修改,保证按照说明安装不会出现任何错误。

                1 Reply Last reply Reply Quote 0
                • X
                  xiaoxu125634 last edited by

                  写的很详细,收藏

                  1 Reply Last reply Reply Quote 0
                  • Z
                    zihowe last edited by

                    <br /># service oe7server start Starting OpenERP Server Daemon (openerp-server):&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  [&nbsp; OK&nbsp; ]<br /># python: Python/compile.c:3437: stackdepth_walk: Assertion `depth &gt;= 0&#039; failed.<br />
                    




                    不知道什么原因!!!求解。

                    1 Reply Last reply Reply Quote 0
                    • E
                      end-e last edited by

                      [quote author=殊途 link=topic=7293.msg18917#msg18917 date=1375585860]
                      我在安装依赖库时提示:“No package pybabel available”,网上也搜不到 pybabel 错误的资料,请教楼主和大家我该如何安装这个库?其它依赖库安装都没问题,我的平台是 Centos 6.4,32 位!谢谢!!
                      [/quote]

                      我也遇到了这个问题,找了好久也没解决问题。

                      1 Reply Last reply Reply Quote 0
                      • X
                        xiaoniqiu2015 last edited by

                        学习一下。。。。。。。。。。。。。。。。。。。。。。。

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