Errors when running db-tools
on 13 August 2020 09:08 PM
|
|
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
Your file will then resemble: export CLASSPATH ${JAVA_CMD} \ "-Djava.io.tmpdir=${TMP_DIR}" \ "-Dserver.home=${SERVER_HOME}" \ "-Djava.awt.headless=true" \ -Xmx256M \ biz.papercut.pcng.persistence.tools.DBTools \ "$@" I am seeing the error shown below when trying to delete old logs. What can I do about it? Error occurred running db-tools, command: delete-old-logs. GC overhead limit exceeded We have seen this error at a few busy sites. (Sites printing couple of thousands of pages every day) By default, db-tools application uses 256M of memory which can be increased by making the following changes.
| |
|