There is definitely some problem with the creation of the "phonesystem..." user, but apparently only on some systems. I get similar problems when attempting install on a desktop running w2000, while installation on an xp laptop system went flawlessly.
Have tried various tricks described in earlier posts but am not able to get the system up and running. Symptoms in more detail:
When the installer tries to start the database server, I get this error message:
The application failed to initialize properly (0xc0000142). Click on OK to termninate the application.
The installation continues however, and all other services are running, so I can log in to the management console, but then immediately get this error:
3CX Phone System internal error.
Can't connect to the database server - server unreachable (may be stopped)
SQLSTATE[08006] [7] could not connect to server: Connection refused (0x0000274D/10061)<br />
Is the server running on host "???" and accepting<br />
TCP/IP connections on port 5480?<br>#0 C:\Program Files\3CX PhoneSystem\Data\Http\functions\CallContext.php(37): PDO->__construct('pgsql:dbname=ph...', 'admin', 'bongbong')<br />
#1 C:\Program Files\3CX PhoneSystem\Data\Http\functions\CallContext.php(86): CallContext->getConnection()<br />
#2 C:\Program Files\3CX PhoneSystem\Data\Http\functions\fExtension.php(78): CallContext->safeExec('select DN.IDDN ...', Array, 'Cannot get Exte...')<br />
#3 C:\Program Files\3CX PhoneSystem\Data\Http\functions\fObject.php(90): fExtension->getData()<br />
#4 C:\Program Files\3CX PhoneSystem\Data\Http\index.php(7): fObject->getManager()<br />
#5 {main}
This is because the database service is not running, and it cannot be started manually either. However, as described in earlier posts, if the "phonesystem..." user is manually added to the local "Users" group, this enables the service to be started. Seems a little odd, because if I look at the successful xp installation, it did NOT add "phonesystem..." to Users. (Other suggested tricks such as manually increasing permissions were not needed for me.)
However, this does not really help either, because once the database works, it refuses to accept my login credentials:
3CX Phone System internal error.
Can't connect to the database server - invalid password or login name
SQLSTATE[08006] [7] FATAL: password authentication failed for user "admin"<br>#0 C:\Program Files\3CX PhoneSystem\Data\Http\functions\CallContext.php(37): PDO->__construct('pgsql:dbname=ph...', 'admin', 'bongbong')<br />
#1 C:\Program Files\3CX PhoneSystem\Data\Http\functions\CallContext.php(86): CallContext->getConnection()<br />
#2 C:\Program Files\3CX PhoneSystem\Data\Http\functions\fExtension.php(78): CallContext->safeExec('select DN.IDDN ...', Array, 'Cannot get Exte...')<br />
#3 C:\Program Files\3CX PhoneSystem\Data\Http\functions\fObject.php(90): fExtension->getData()<br />
#4 C:\Program Files\3CX PhoneSystem\Data\Http\index.php(7): fObject->getManager()<br />
#5 {main}
Uninstalled and reinstalled a few times with same result. Installing on C: rather than some other partition (as described in an earlier post) did not make any difference. Don't know if this could be related to some difference between how w2000 and xp handles user accounts. The w2000 is an older machine, but completely updated so old system files should not be the culprit.