简体   繁体   中英

installing odoo for the first time

I tried to install odoo for the first time using this commande on ubuntu 14.04:

$> wget -O - https://nightly.odoo.com/odoo.key | apt-key add -
$> echo "deb http://nightly.odoo.com/9.0/nightly/deb/ ./" >> /etc/apt/sources.list
$> apt-get update && apt-get install odoo

But when I try to run odoo, I get this error message:

***error: [Errno 98] Address already in use***

This means that the port that Odoo is trying to use (8069 by default) is already in use by another process. You can look for that process via

sudo netstat -tupln | grep 8069

You can then either kill whatever process is currently using that or simply select a different port for Odoo to run on (such as 8080).

odoo --xmlrpc-port=8080

More information is available on Odoo's discussion boards

First you fetch the process ID by firing the following command:

ps aux|grep openerp

Then you will see :

odoo 1314  or something else like odoo xxxx

Note down that ID and fire following command:

sudo kill -9 proceesID [ex: sudo kill -9 1314 where 1314 is process id]

Solution for Address already in use in Odoo 10 in Ubuntu 16.04:

ps -ef | grep odoo

Look for the one which looks like this

dhaval   3365  2540  1 15:42  00:00:00 /usr/bin/git/odoo10/odoo-bin

Just kill the instance by

sudo kill -9 3365

3365 is mine, you can use the one which you are able to see.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM