Open ERP Forum
   IndexIndex   SearchSearch     RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   RSSRSS   Mailing ListMailing List   Log inLog in 

FTP is determined to connect to IP address supplied by dhcp
 
Post new topic   Reply to topic    Open Object Forum Index -> Installation Questions
View previous topic :: View next topic  
Author Message
bigfishinnet



Joined: 13 Mar 2009
Posts: 28
Location: United kingdom

PostPosted: Sun Jan 24, 2010 12:26 am    Post subject: FTP is determined to connect to IP address supplied by dhcp Reply with quote

This is not good to me. I need localhost!!!!

I have tried using the wizard, i.e. telling the system that the dm step is not started type. At the prompt it comes up the address for the ftp server as my ip address assigned by dhcp. I changed it to localhost ( I have tried 127.0.0.1 also) restart pc and services but still it is working on ftp://192.168.0.20:8021.

I have also tried with a new demo db.

I have also looked at the document module and document.py

I have this line of code.
return "ftp://%s:%s@localhost:%s/%s/%s"%(user.login,user.password,c$
return False

I have also looked at the document module and /ftpserver/__init__.py

There are these lines of code...

from tools import config
HOST = 'localhost'
PORT = int(config.get('ftp_server_port', 8021))
PASSIVE_PORTS = None

HOST was blank ('') so i changed it to localhost. Still it successfully connects to the ftp server assigned by dhcp but not the localhost.

What is going on!!
Back to top
View user's profile Send private message Visit poster's website
bigfishinnet



Joined: 13 Mar 2009
Posts: 28
Location: United kingdom

PostPosted: Sun Jan 24, 2010 10:37 pm    Post subject: Reply with quote

Hi all, here is an update.

Used the all in one installer for windows for an xp pc running on virtual box. My laptop by the way is Ubuntu 9.04.

I have exactly the same problem - the ftp server wants to take what ever ip address it is assigned, certainly by dhcp and prob static.

Again on teh xp install the openerp wizard step for document management does not make a difference.

OK so I disabled that network for the xp pc in virtual box and try the install again this time it wants to use 127.0.0.1, so fine by me. Shutdown the xp and enable the network connections and reboot. It still wants to use 127.0.0.1 even better. I now have an ftp server for openerp on my laptop which I can access whichever network I am attached to!! However if I create a new db and install document it tries to use the assigned ip. I set 127.0.0.1 but this is ignored by the ftp service. OpenERP thinks it is ok as it fires up ftp://127.0.0.1 - but no one is there!! The ftp server is back on the ip address that has been assigned by dhcp.

Do the same thing on ubuntu 9.04 and exactly the same thing EXCEPT when the dhcp kicks in the ftp server wants to grab that ip address and not localhost or 127.0.0.1 straight away with NO new databases installed.

So way forward for me with this blessed openERP is single database install on windows xp with the network disabled prior to installation.

Dont want to do this however as I want it to run on ubuntu desktop as a minimum. I have given up on trying to get a server working properly!!

Can anyone advise is this a bug?
Back to top
View user's profile Send private message Visit poster's website
bigfishinnet



Joined: 13 Mar 2009
Posts: 28
Location: United kingdom

PostPosted: Thu Jan 28, 2010 12:10 am    Post subject: Reply with quote

Hmm not sure if this is something to do with the hosts file config in linux?

Dont really understand OpenERP. One minute it works and on another intall it doesn't. Going to have to consider something more reliable. In principal it is an ace idea and the software is also very good but it lacks support - support in the forums from the open erp team and support for the odoo service. I have never had a reply about my emails to odoo and several times my client has been unavailable without any indication as to why. There is no defined sla agreements for the odoo service so why would any one sign up, especially when being a small company I just want it to work!! Just completely fed up that i have invested such a large amount of my time on something that - it seems is in the end is not fit for purpose and this includes the odoo service as well. What i steh stable releases of openerp. Website says 5.0.6 and yet oddo web client uses 5.0.4?

Off to find something more reliable and unfortuntely that may mean using a ms produc or something else that requires ££££

Stephen
Back to top
View user's profile Send private message Visit poster's website
ehabh



Joined: 09 Jan 2010
Posts: 34

PostPosted: Tue Feb 09, 2010 1:18 pm    Post subject: Official VM Reply with quote

I feel your pain. I have been trying to get a medium sized food and beverage company to adopt opensource so far this is not helping.

Yet I do understand that installing such a system is hard and many dependancies could break silently.


What should be done is that there should be an official reference VMware or Xen or openvz image that people can test to see if openerp is right for them before investing a lot of time.
_________________
http://www.elmotaheda.com/
http://www6.mashy.com/
http://www.elmotaheda-web.com/
Back to top
View user's profile Send private message Visit poster's website
gegard



Joined: 21 Apr 2006
Posts: 1295
Location: Cambridge, UK

PostPosted: Tue Feb 09, 2010 5:18 pm    Post subject: Re: Official VM Reply with quote

ehabh wrote:
... What should be done is that there should be an official reference VMware or Xen or openvz image that people can test to see if openerp is right for them before investing a lot of time.

Tiny run a demo and also give free trials of their on-demand service (see odoo).
_________________
Regards,
Geoff
Seath Solutions Ltd
Back to top
View user's profile Send private message Visit poster's website
ehabh



Joined: 09 Jan 2010
Posts: 34

PostPosted: Tue Feb 09, 2010 7:39 pm    Post subject: yes but Reply with quote

Many people including myself prefer to test on our own hardware/network.
_________________
http://www.elmotaheda.com/
http://www6.mashy.com/
http://www.elmotaheda-web.com/
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Open Object Forum Index -> Installation Questions All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum