GreenOpenERP -- 绿色版 OpenERP for windows/linux , 源码运行 解压即用
-
GreenOpenERP 绿色版2014-01-26更新:
1、自动与官方源码同步(即每日下载均为官方最新代码)
2、彻底解决XP下绿化问题
3、更新Python 2.7.6
4、更新 postgresql 9.3.2
下载地址:http://sourceforge.net/projects/greenopenerp/files/GreenOpenERP-7.0-latest.zip -
unbuntu 13.10 64位 不知道为什么启动失败 应该是pgsql服务打不开 不知道何故。。。
-
参考这里:http://www.theopensourcerer.com/2012/12/how-to-install-openerp-7-0-on-ubuntu-12-04-lts/
Step 7. Installing the boot script
貌似可用自动运行,楼主再测试一下。
唯一改动是这里
update-rc.d openerp-server defaults 30
让数据库先运行。 -
求助,我在linux下运行遇到问题了,在centos 64服务器上下载解压了GreenOpenERP 7.0,然后通过IP:8069访问就数据库连接不上的错误
[quote] File "/home/openerp/GreenOpenERP-7.0-latest-linux-x64/python/lib/python2.7/site-packages/psycopg2/init.py", line 164, in connect
conn = _connect(dsn, connection_factory=connection_factory, async=async)
OperationalError: could not connect to server: Connection refused
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?[/quote]
我把iptables服务关了也没用。
没有用root用户运行,因为提示不要用的,所以建了一个openerp用户,来运行的。
帮忙看看,谢谢! -
[quote author=xiaoxu125634 link=topic=5811.msg27707#msg27707 date=1395230332]
求助,我在linux下运行遇到问题了,在centos 64服务器上下载解压了GreenOpenERP 7.0,然后通过IP:8069访问就数据库连接不上的错误
[quote] File "/home/openerp/GreenOpenERP-7.0-latest-linux-x64/python/lib/python2.7/site-packages/psycopg2/init.py", line 164, in connect
conn = _connect(dsn, connection_factory=connection_factory, async=async)
OperationalError: could not connect to server: Connection refused
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?[/quote]
我把iptables服务关了也没用。
没有用root用户运行,因为提示不要用的,所以建了一个openerp用户,来运行的。
帮忙看看,谢谢!
[/quote]
[b]好吧,没人回复,自己找解决办法了,把解决的过程说下:[/b]
遇到上面的问题后,查看postgresql.log,里面提到的错误是“FATAL: could not create semaphores: No space left on device DETAIL: Failed system call was semget(5432001, 17, 03600). ....”,还有一大段没贴出来,意思就是要么减少链接数要么调整内核的设置,想着内核的东西还是不要动的好,所以在conf里面修改了连接数,从100降到20,用openerp用户运行了,sh start.sh后,访问 域名:8069 后,还是一样的错误。
实在没办法,只能参考了安装分区的另一篇文章,准备老老实实一个个安装配置,可是又出现问题了,在service postgresql-9.3 initdb 这一步的时候,提示failed,查看/var/lib/pgsql/9.3/pgstartup.log文件,又见到了和上面一样的错误,这时候才意识到,原来不是因为软件是绿色的问题,搜“DETAIL: Failed system call was semget(1, 17, 03600)” 文章,找到一篇中文文章,http://my.oschina.net/Kenyon/blog/120355,讲解很详细,英语的文章也不一定有这么详细。关键还是里面的内容帮助我解决了问题,简单说下解决办法:
[root@goodyard tmp]# cat /proc/sys/kernel/sem
250 32000 32 128
[root@goodyard tmp]# sysctl -w kernel.sem="500 64000 50 150"
kernel.sem = 500 64000 50 150
[root@goodyard tmp]# cat /proc/sys/kernel/sem
500 64000 50 150
再去“service postgresql-9.3 initdb”的时候已经可以成功了,然后又返回到绿色版去,su - openerp -c"sh /home/openerp/GreenOpenERP-7.0-latest-linux-x64/start.sh",也成功了。
希望对大家有帮助! -
[quote author=matrowang link=topic=5811.msg27712#msg27712 date=1395279786]
8可以做成服务自动启动,不错的。
7我貌似有问题。
Ubuntu 12.04
[/quote]
同求,怎么把7.0做成服务。
8.0怎么做的呀? -
感谢楼主,已经下载GreenOpenERP-Win-X86-trunk,解压启动能用,不过发现有以下问题:
一:建好销售订单后,点打印就出错:
OpenERP 客户端错误
Uncaught SyntaxError: Unexpected end of input
http://localhost:8069/web#id=1&view_type=form&model=sale.order&menu_id=256&action=306:0 br />
二:在IE8里面登陆后就进不去系统了.
不知道是否是openerp8本身的问题,因我是繁体的win7系统,有空在简体里再试试了....
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
:'(系统是win7 64 旗舰版
