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
Your file will then resemble:
Q 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.
- Open db-tools file using a text editor.
- Find the line
- Try adding more amount by doubling it. E.g.
- Save the file.
- Test it if that works and change the memory parameter accordingly to your needs.
Hopefully, this should resolve the issue. If you still see issue, please contact support. If you can include the Application server logs, that would be super helpful.
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