Fix a PostgreSQL and Apple Remote Desktop conflict

Jan 25, '06 05:34:00AM

Contributed by: cbpowell

You may not realize it, but Apple Remote Desktop (ARD) uses a built-in PostgreSQL instance of its own. When ARD is installed, this PostgreSQL daemon listens on the default port of 5432.

This can cause a conflict if you have your own version of PostgreSQL installed. If, for whatever reason, you cannot or do not want to alter the port your installation uses, you can change the port that ARD's PG uses. As root, simply edit this file:

/var/db/RemoteManagement/RMDB/rmdb.data/postgresql.conf 
Uncomment the port = line, and change it to something else, e.g. 5431. Restart ARD via the Sharing System Preferences pane, and the ARD PostgreSQL will restart with the new port number, freeing up 5432 for your own copy of PostgreSQL.

Comments (5)


Mac OS X Hints
http://hints.macworld.com/article.php?story=2006011817344234