Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

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

@rickymedrano

Description

@rickymedrano

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions