Can not install Xtuple
I am having trouble installing Xtuple postbooks on a windows 7 pro - 64 bit machine previously had 3.5 or 3.6 installed and uninstalled and then have tried to install 3.7 so far I have not had any version work on this machine and have uninstalled 4 times
The error says "problem running post-installation step. Installation may not complete correctly. PostgreSQL database start up timed out."
How can I fix this problem? originally I installed on c:\program file\xtuple then deleted all references and then installed on c:\xtuple
I have spend a lot of time and no result there must be some simple issue
Just follow this:
Since Windows Vista, and up to Windows 7, the regular administrator account won't be able to install the postgres and the installation will not terminate normally.
To solve that you must run as the Administrator user. To show the administrator user, in the command prompt type: Net User Administrator /active:yes
Best practice, while in your account (should be administrator as well) change the Administrator password, since you don't know what is set.
Log off and log on in the Administrator account. BE CAREFULL. You still need to run the installer as administrator, despite you are logged as it. Right clicking the icon, and selecting the option "run as administrator".
That's all!
Hi and thanks for the suggestion I have logged on as the administrator and also run the install as the administrator and still I have the same error
Are you running the installer right clicking tjhe installer and using "run as administrator"?
Normal run, even there won't work...
Yes I am running the installer by right click and run as administrator and also as being logged in by the administrator, the database is quickstart but I can not see any quickstart database in the directory I installed to c:\xtuple only there is a "postbooks_quickstart-3.7.0.backup" file under the c:\xtuple\client folder
If I try and login to the data base I get this error
sorry cant connect to the specified xtuple server this may be due to the user name password or server connection information below is more detail on the problem could not translate hostname localhost to address no host data of that name was found.
So the actual install completed but not database set up maybe its not all an administrator issue?
More information may help?
Ok... Are you downloading the postbooks where from? Sourceforge or here from xTuple site?
Can you tell me eatly the name of the file you're installing?
Yes its xtuple-3.7.0-windows-installer
Update- I have just used another computer windows xp pro and uninstalled 3.6 then installed using the same install file without a problem seems its a windows 7 problem.
I am having the exact same issue, and have tried all that was suggested to no avail. Has this gone anywhere?
No I have not solved it yet either this is definitely a postgre issue in my opinion
Hi Guys,
do you use, the PostgreSQL server for any other app?
How you installed the PGserver motor? Together with xTuple, or earlier, manually?
I suggest, try to reach the PG server with pgAdmin III and try to create a new database (Encoding: UTF8; Tablespace: pg_default; Owner: admin). When done, try to restore for this the selected .backup manually. Use the "Clean before restore" option, nothing else. Than try to login to this new database with xTuple.
ploveday! You are searching for a directory near by c:\xtuple\client folder? Do not do it! :) xTuple uses PostgreSQL. PostgreSQL working with databases on a (virtual) server. You need to forget the file-level-access of the tables or the database (as by .dbf or .mdb based solutions).
Szuni
I am using Ubuntu Linux version 11.10. I've downloaded a couple of copies of the binary (just in case of a bad download). Each time I use the command
jason@jason-xampp:~$ sh xTuple-3.7.0-linux-installer.bin
, I get
"xTuple-3.7.0-linux-installer.bin: 1: Syntax error: "(" unexpected
I have also tried this command with, "sudo" to elevate my privileges. Any ideas? I am a first time user to Xtuple, and I am also using my computer to host my LAMP for our website production. I am currently running MySQL in the LAMP. I may have an installation of Postgres, but I get the error immediately after entering the command.
I have never had any success running MYSql and Postgres on the same box. Probably not a good idea to try this.
Get a different box. Do not install Mysql on it. From the EnterpriseDB.com site, sownload the V8.4 installer for Postgres and run it. Then get the database backup from souceforge and restore the backup of the database using PGAdmin.
Okay, I am now getting a different error that is still preventing me from properly installing xTuple. It turns out I was using the wrong shell command to install the xTuple binary. I now use:
sudo chmod +x xTuple-3.7.0-linux-installer.bin
sudo ./xTuple-3.7.0-linux-installer.bin
I've never had to install a binary in Ubuntu before (or at least not one that didn't come with some sort of instructions).
The new problem is that 98% through the installation, I get an the following error:
There has been an error.
/opt/xTuple/postgresql/bin/initdb: error while loading shared libraries: libaudit.so.0: cannot open shared object file: no such file or directory the application will exit now.
I did a clean install on a fresh ubuntu 10.10 (newest ISO i had on hand) install in virtualbox. I also tried this in my 11.10 box with an operational LAMP and got the same error. Looks like there is a problem with the xTuple binary. Anybody know a workaround?
Update
Also tried
sudo chmod u+x xTuple-3.7.0-linux-installer.bin
sudo ./xTuple-3.7.0-linux-installer.bin
I get the same error.
Installed Ubuntu 11.10 in Virtualbox and tried again... I get the same error.
I think the Linux installer is borked.
Turns out that before installation if you run the following in the terminal in Ubuntu, everything works out fine!
"
sudo apt-get install libaudit0
"
It seems to me that this could be incorporated into the binary, or at the very least the installation instructions.
You maybe correct and something is wrong with the file. Try:
http://sourceforge.net/projects/postbooks/files/02%20PostBooks-GUIclient...
That's latest stable client. Get the client installed and then follow other suggestions on getting the database installed. BTW on openSUSE I have had no trouble running both MySQL and Postgres at the same time.
Johnf
Thanks for the tip. I was able to install the client only (I unchecked the PostgreSQL box during installation). I too have run MySQL and Postgres databases at the same time without any problems (in Ubuntu). Could be that it is a problem in Windows, but then so can running a simple WAMP.

