I have done the following steps but unable to start odoo8/openerp server:
1. Installed postgresql via yum and installed odoo 8 via rpm downloaded from https://www.odoo.com/page/download.
Everything installed fine with no error.
2. sudo service openerp start did not do anything. Having a look inside /etc/init.d/openerp and saw that the DAEMON path is incorrect, so I replaced DAEMON=/usr/bin/openerp-server with DAEMON=/usr/local/bin/openerp-server
3. Tried to start openerp service again, received error on start-stop-daemon. Googled this, start-stop-daemon not installed on CentOS; so I installed start-stop-daemon. Now sudo service openerp start says Starting openerp: ok, but openerp is not running! No service is running on port 8069. No log file available in /var/log/odoo so not sure as to what is wrong.
4. Running /usr/local/bin/openerp-server directly from bash gave the following error:
ImportError: No module named openerp
Googled this and saw that a few people had the same problem but didnt find a solution.
5. Then found that odoo8 needs python2.7 and CentOS only has python2.6. So I installed python2.7 following this article (https://www.digitalocean.com/community/tutorials/how-to-set-up-python-2-7-6-and-3-3-3-on-centos-6-4).
6. Modified the /usr/local/bin/openerp-server to use #!/usr/local/bin/python2.7 instead of #!/usr/bin/python
7 Running /usr/local/bin/openerp-server returned the same error No module named openerp but also getting this message:
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
8. So I added PYTHONHOME=/usr/local/lib/python2.7 to environment variable
Now the message on exec_prefix and $PYTHONHOME are gone but getting different module error
ImportError: No module named site
Anyone actually successfully installed odoo8 RPM from odoo download page on CentOS 6.x? Seems like the RPM is not ready for use since I had to modify a few things here and there to point to the correct file location; and still couldn't get odoo server to run.
Appreciate any help.