果然是权限的问题 谢谢了
mkdir //var/run/openerp
chown openerp:openerp /var/run/openerp -R
jinyong
-
CentOS6.4下源代码安装以及nginx配置 -
有没有前辈在2008下的Hyber-V虚拟机里安装成功OpenERP7.0的吗?ubuntu 一路 sudo apt-get install 就行了,centos 稳定性比较好。
-
有没有前辈在2008下的Hyber-V虚拟机里安装成功OpenERP7.0的吗?这个应该和 Hyber-V 没有什么关系吧,ubuntu 上很好装啊。最近折腾 centos 老是装不上。
-
CentOS6.4下源代码安装以及nginx配置权限应该没有问题啊,都是 chmod 我执行了 至少2 次。。
-
CentOS6.4下源代码安装以及nginx配置这次换了centons6.4 64位 完全按照楼主的方法操作启动的时候提示如下:
[root@mazenserver oe7]# service oe7server start
启动 OpenERP Server Daemon (openerp-server): [确定]
[root@mazenserver oe7]# ERROR: couldn't create the logfile directory. Logging to the standard output.
2013-06-29 19:53:34,416 1935 INFO ? openerp: OpenERP version 7.0-20130703-231023
2013-06-29 19:53:34,416 1935 INFO ? openerp: addons paths: /usr/lib/python2.6/site-packages/openerp-7.0_20130703_231023-py2.6.egg/openerp/addons
2013-06-29 19:53:34,416 1935 INFO ? openerp: database hostname: localhost
2013-06-29 19:53:34,416 1935 INFO ? openerp: database port: 5432
2013-06-29 19:53:34,416 1935 INFO ? openerp: database user: openerp
Traceback (most recent call last):
File "/usr/bin/openerp-server", line 5, in <module>
pkg_resources.run_script('openerp==7.0-20130703-231023', 'openerp-server')
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 461, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1194, in run_script
execfile(script_filename, namespace, namespace)
File "/usr/lib/python2.6/site-packages/openerp-7.0_20130703_231023-py2.6.egg/EGG-INFO/scripts/openerp-server", line 5, in <module>
openerp.cli.main()
File "/usr/lib/python2.6/site-packages/openerp-7.0_20130703_231023-py2.6.egg/openerp/cli/init.py", line 61, in main
o.run(args)
File "/usr/lib/python2.6/site-packages/openerp-7.0_20130703_231023-py2.6.egg/openerp/cli/server.py", line 265, in run
main(args)
File "/usr/lib/python2.6/site-packages/openerp-7.0_20130703_231023-py2.6.egg/openerp/cli/server.py", line 245, in main
setup_pid_file()
File "/usr/lib/python2.6/site-packages/openerp-7.0_20130703_231023-py2.6.egg/openerp/cli/server.py", line 88, in setup_pid_file
fd = open(config['pidfile'], 'w')
IOError: [Errno 2] 没有那个文件或目录: '/var/run/openerp/openerp-server.pid' -
CentOS6.4下源代码安装以及nginx配置楼主我按照你的方法装了一遍启动服务的时候报错如下:
[root@fedorasystem oe7]# service oe7server start
Starting oe7server (via systemctl): Job for oe7server.service failed. See 'systemctl status oe7server.service' and 'journalctl -xn' for details.
[失败]
系统是 fedora 18