Description
After installing Portfolio on Mac OS X, I am unable to log into Portfolio Administration with the administrator account, regardless of what password is used.
Solution
There is an issue with the Portfolio installer that sometimes prevents the PostgreSQL server from starting up.
To see if you’re affected by this issue, take a look at the install.log to see what happened:
- In Finder, select Go > Go to Folder…
- Type in
/var/log
and hit return - Open install.log with TextEdit
- Search the log for:
java.net.UnknownHostException
If you see a line that reads something like this:
Feb 10 13:05:23 macosx_server installd[402]: ./postflight: java.net.UnknownHostException: macosx_server.local: macosx_server.local
Then you’ve run into the installation issue mentioned above.
Here’s how resolve the issue.
We will use the hostname (macosx_server.local)
mentioned in the error message above. You will need to substitute your own server’s hostname, which should be explicitly mentioned in the java.net.UnknownHostException
message in your install.log.
- Open Terminal
- Type in:
sudo pico /etc/hosts
- Locate the line:
127.0.0.1 localhost
- Move the cursor to the right of
localhost
on that line - Hit the Tab key after
localhost
so that there’s a bit of space, then type in the hostname, which is,macosx_server.local
in our example - The full line should look like this:
127.0.0.1 localhost macosx_server.local
- Hit Control+O to save the changes
- Hit Control+X to quit pico
- In Terminal, type in
dscacheutil -flushcache
- Restart your Mac server, then try logging into Portfolio Administration again.
If Portfolio Server still won’t let you log in, uninstall then reinstall Portfolio Server. The steps below won’t delete any of your catalogs.
- Run the Portfolio Uninstaller.app found in: /Applications/Extensis/Portfolio Server/applications/Uninstaller
- Go to: /Library/Extensis/Portfolio and delete the pgsql folder
- Restart the Mac server
- Run the Portfolio installer