Ir al contenido
Menú
Se marcó esta pregunta
9 Respuestas
29937 Vistas

Issue Fixed

The issue has been fixed, by uninstalling database and openerp and installing them back again. Thanks to OpenERP team.

Hello everyone,

I am not able to access openerp server after completing the installation. Find the details below.

Installed

  1. PostgreSQL 9.2.4
  2. phpPgAdmin (can connect to database just fine)
  3. Python 2.7.3 (added path)
  4. Installed OpenERP Server 7.0 (can locate under ProgramFiles)

Additionally, installed (for other purpose)

  1. PHP
  2. Apache

How to debug? I'm on Win7 x86.. As you can guess, I'm new to this part of the world. Please help!

Update:

  1. I turned the Firewall off.
  2. set the pg_path in conf file to C:\Program Files\PostgreSQL\9.2\bin
  3. Tried in Firefox

Still, not resolved.

Update 1:

I manually started the openerp server from services.msc and saw that it was stopped automatically with the message "Some services stop automatically if they are not in use by any other services or programs". What could be the possible root cause?

Avatar
Descartar
Mejor respuesta

First make sure a firewall on the machine is not blocking the port 8069. Google windows firewall for detailed instructions on how to open a port.

It is probably a windows firewall problem and opening the port will fix it. If not continue on.

Open a command prompt on the windows server with openERP. Type netstat -tulpn

You should see the open port for openERP in the list of ports. If you see another program at port 8069 that program is blocking openERP and must be disabled. If you don't see a program at port 8069 the something is preventing openerp from starting check the server log

If you see openerp running at port 8069 then type telnet 127.0.0.1 8069

And you should get a response of some sort. If you don't get a response, there is something on your windows machine blocking programs from connecting to that port. See step one

IMHO you would be better off buying a cheap refurbished pc install Ubuntu and testing openERP on that rather than trying to test openERP on a windows machine that is clearly serving other purposes.

Avatar
Descartar
Autor

I opened the port. I turned the firewall and anti-virus off without any success. Is there anyway to check if openerp server is running? p.s: this a temporary set up for training. I'll soon migrate to ubuntu on my desktop PC.

Autor

I manually started the openerp server from services.msc and saw that it was stopped automatically with the message "Some services stop automatically if they are not in use by any other services or programs". What could be the possible root cause?

Mejor respuesta

I think postgresql service wasnt initiating due to credential issues, so when I was at windows, I used to go to service properties and instead of openpgp user and its password, I changed it to my username and password windows login, glad you fixed it anyway

Avatar
Descartar
Mejor respuesta

There are many things you can check, some things that come to my mind are:

a) connecting with Firefox instead of Chrome b) checking whether the server is running c) checking whether the 8069 port is open d) check whether a firewall is blocking port 8069

Avatar
Descartar
Autor

I guess I should go with the option (b). How do I ensure the server is running? Or How do I start the server. I have no firefox or browser problems since my phppgadmin and apache are loading just fine on chrome..

Update: I ran openerp-server.exe. But, I still have the same problem..

Mejor respuesta

Read the server log. It will tell you why the server didn't start.

Avatar
Descartar
Autor

Where is it located? Program Files\OpennERP\Server? The log file \server\openerp-server.log doesn't have any useful info. It has only database user info

Autor Mejor respuesta

Nevermind. I fixed the problem by reinstalling OpenERP and PGSQL..

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
mar 15
4281
1
jul 23
1731
2
mar 15
15774
1
feb 24
4189
9
ene 18
16993