I just installed Servoy 5.2 on a Windows 7 64-bit machine, and the repository doesn’t start. I searched through the forum and found people with similar issues, but none of the proposed solutions worked for me. (Servoy always installed completely–It just couldn’t connect to any Postgres databases.)
The application server log shows the following error:
org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
The real problem is that Postgres is starting, but the initialization fails, so a database server connection can’t be made. When monitoring the processes, a couple instances of postgres.exe show up for a few seconds, then they disappear from the process list. The postgres_log.txt file shows:
LOG: database system was shut down at 2010-12-05 17:37:48 PST
FATAL: the database system is starting up
LOG: database system is ready to accept connections
LOG: autovacuum launcher started
FATAL: role "David" does not exist
... (the above line is listed about 60 times) ...
LOG: received smart shutdown request
LOG: autovacuum launcher shutting down
LOG: shutting down
LOG: database system is shut down
LOG: database system was shut down at 2010-12-05 17:39:57 PST
FATAL: the database system is starting up
FATAL: the database system is starting up
FATAL: the database system is starting up
FATAL: the database system is starting up
FATAL: the database system is starting up
LOG: could not rename file "pg_xlog/xlogtemp.2128" to "pg_xlog/000000010000000000000001" (initialization of log file 0, segment 1): Permission denied
I’ve tried giving “Everyone” full permissions to the C:\Servoy folder and reinstalling, but nothing changes. I have administrative rights, and the database folder contains all the files it’s supposed to. I was able to install and run Servoy 5.2 on another Windows 7 machine without any problems, although it’s running the 32-bit version of Windows 7.
I don’t know if this makes a difference, but I have both the 32-bit and 64-bit versions of Java 6u22 installed. However, these should be completely independent of each other, so I wouldn’t think it would have any effect on Servoy (or Postgres).
Any suggestions?
Thanks in advance,
David