Errors when running db-tools

KB Home   |   Errors when running db-tools

On some Mac systems, PaperCut 13.3 and older may generate an error and fail when attempting to use db-tools as part of restoring a database, a required activity when migrating a Primary Server installation of PaperCut.

The applicable error message is:

  Error running db-tools, command: init-db.

  Can't connect to window server  not enough permissions.

This can be addressed by opening the db-tools file with a text editor such as vi, and adding the following parameter line after ${JAVA_CMD} \:

"-Djava.awt.headless=true" \

Your file will then resemble:

  export CLASSPATH
  ${JAVA_CMD} \
  "${TMP_DIR}" \
  "-Dserver.home=${SERVER_HOME}" \
  "-Djava.awt.headless=true" \
  -Xmx256M \ \

Categories: Errors, Troubleshooting

Keywords: mac os x, x windows, x11, error restoring database, not enough permissions os x 10.8, error window manager, error window manager


Share your findings and experience with other PaperCut users. Feel free to add comments and suggestions about this Knowledge Base article. Please don't use this for support requests.

Article last modified on August 08, 2013, at 10:00 PM
Printable View   |   Article History   |   Edit Article