Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not initialize writer error - TabMon.exe not starting #272

Open
rickymedrano opened this issue May 31, 2023 · 0 comments
Open

Could not initialize writer error - TabMon.exe not starting #272

rickymedrano opened this issue May 31, 2023 · 0 comments

Comments

@rickymedrano
Copy link

I installed TabMon without the postgres option as I had already installed TabJolt and postgresql 14 separately.
I then followed https://tableau.github.io/TabMon/docs/tabmon_appendix_a#manually-installing-and-configuring-postgres to setup the tabmon user and database manually.
When I went to start TabMon.exe as Administrator, I was getting a 'Could not initialize writer' error.
After verifying the password and user were correct in the config files, I discovered it was because of authentication was setup by default on postgres 14.
By default postgres 14 uses scram-sha-256 for password encryption. To fix the issue, I did the following:
Update C:\Program Files\PostgreSQL\14\data\pg_hba.conf to use md5 instead of scram-sha-256 under the Method column.
Update C:\Program Files\PostgreSQL\14\data\postgresql.conf and uncomment out the "password_encryption" line and update it to use md5 instead of scram-sha-256.
Next login to pgAdmin, go to postgres14>Login/Groups Roles/right click on tabmon>properties and enter a new password and save.
Go to Task Manager>Services>right click ostgresql-x64-14 and restart.
Update TabMon.config with the new postgres password. Then run TabMon.exe as an Administrator and the error should be resolved.
Wanted to share this in case anybody else comes across this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant