Error while Installing Software

 

rcatalano001's picture

I am receiving this error while trying to install the software:

Error running C:\program files (x86)\xtuple/postgresql/bin/psql.exe-U postgres -p5432 -hlocalhost-c ”ALTER USER postgres PASSWORD ‘postgres’”:psql:could not connect to server: Connection refused (0x0000274D/10061)

Is the server running on host “localhost” and acccpting TCP/IP connection on port 5432?

The application will exit now.

I am running Vista 64-bit- and using 5432

 
beatrice's picture
Offline
Joined: 08/20/2009
hi, I have exactly the same

hi, I have exactly the same problem (sory for my bad english, I'm french)

 
BHastings175's picture
Offline
Joined: 09/17/2009
Same Here

I am encountering the same error and would really appreciate someone posting a response of any sort or a solution.

I am on Windows Server 2003 using 5432

 
BHastings175's picture
Offline
Joined: 09/17/2009
Same Here

I am encountering the same error and would really appreciate someone posting a response of any sort or a solution.

I am on Windows Server 2003 using 5432

(Oops, sorry about double post)

 
pclark's picture
Offline
Joined: 12/09/2008
Server Not connecting.

At initial glance, it appears that PostgreSQL is not initializing and starting correctly to smoothly continue with the installation steps of loading the databases.

Before attempting to reinstall the software over itself, please delete the directory C:\program files (x86)\xtuple . Next, right click on My Computer, and select Manage. You need to disable any xTuple PostgreSQL service references in the service manager. If you have attempted to install the package multiple times, there are probably multiple service references. These can be deleted directly out of the registry if you wish.

Next, restart the installer and specify the install path to install the application in C:\xtuple , not C:\program files (x86)\xtuple.

If you happen to have some other installation of PostgreSQL - EnterpriseDB's version for example - make sure you are not conflicting with port 5432 from that installation. If you do have EDB's version of PostgreSQL installed and wish to use that Postgres, you can download the individual database files (demo, quickstart, and empty) from sourceforge.net/projects/postbooks and install them into EDB manually (see www.xtuple.org/InstallingTheDatabase). In this case, only select to install the xTuple Postbooks client from the xTuple installer package.

Hope this helps. If not, post back.

Best regards,

Perry Clark
xTuple

 
neilmac's picture
Offline
Joined: 07/29/2009
Re-installs

Installed OK the 1st time, but got a similar error when trying to re-install - even after uninstalling X-tuple via the Control Panel.

The problem turned out to be Registry entries left behind by PostGreSQL. I ran a Registry cleanup program (Wise Registry Cleaner from Cnet) which deleted remaining entries. Then the re-install worked fine.

If you are nervous about Registry cleanup programs, I would suggest initially installing X-tuple via an specialised install/uninstall program e.g. TotalUninstall. Uninstalling via the same program (not via Control Panel) ensures there are no left-over Registry entries to screw up your re-installation...

 
fahd's picture
Offline
Joined: 11/04/2010
Same Error

HI xTuple Support Team,

I also encountered same error while installing demo server. I am using Windows XP SP3 and i also tried to install on SP2 and I have tried installation 4 or 5 times and each time encountered same error. Even i followed all precautions as mentioned by pclark & neilmac like uninstalling, & registry cleaner, Total install etc. but all are useless.

Can anyone guide me, how can i successfully install demo server ?

Regards,

 
n6rej's picture
Offline
Joined: 12/15/2010
I'm having exactly the same

I'm having exactly the same problem on windows7 Ulitmate x64.. Its driving me mad. I've tried all these recommendations

 
ned
ned's picture
Offline
Joined: 10/20/2008
n6rej and fahd, Do you have

n6rej and fahd,

Do you have previous installations of PostgreSQL on your machines?

 
n6rej's picture
Offline
Joined: 12/15/2010
no. I have lamp. The first

no. I have lamp. The first time i tried to install i got the error, i uninstalled tried again, read a post that said, remove all dirs for xtuple and install in c:\xtuple, I did so. I made sure postgres service was stopped ( I could not figure out how to remove it. )
this time I logged into the pgadmin and it said there was not "server" so I created "localhost" ( or maybe I connected, not sure ) and a db called "postgres" and "quickstart" were both there.. Quickstart had file.
I tried every admin pw/combo at login I could think of.
I have VERY simple uses so need nothing complicated.
single user is just fine.
All I'm trying to do is KINDA replicate this spreadsheet I've attached, but get better reports from it.
the things I sell/make are on the right, my "inventory log" on the left. I hope it makes sense.
basically I have coins, that I use to buy "tokens" at flucuating prices. I use tokens to make items. Each item requires a diff amount of tokens and creates a differnet amount of items.
like 3 tokens creates 50 mp candy.
Then I sell that stuff and I get coin. I repeat the process all day.

AttachmentSize
catshop.ods 138.83 KB
 
fahd's picture
Offline
Joined: 11/04/2010
ned, I don't have previous

ned,
I don't have previous installations of PostgreSQL.

 
bigdaddycsi's picture
Offline
Joined: 11/27/2011
Fixed it with vcredist

I found the problem for me on XP was that the visual C++ libraries were not installed. I downloaded this copy from Microsoft: http://www.microsoft.com/download/en/details.aspx?id=14431. I picked that because of it's age (vs 2005), and the fact that I'm using XP. There are also versions for later distributions.

I suspect the testers may have visual studio installed, and hence do not incur the error.

After installing the vc libraries, the install worked.

 

mead