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
- Move the cursor down, past the last line.
- Note: Use the Tab key to separate the entries in the two lines below.
- On a new line, type in 127.0.0.1 macosx_server.local and hit return
- On the next line, type in localhost macosx_server.local and hit return
- 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 still won’t let you log in, uninstall then reinstall Portfolio Server. This will delete your users and catalogs if you have any.
- 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