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

can't read file ora2pg_stdout_locker #1708

Closed
fljdin opened this issue Nov 17, 2023 · 1 comment
Closed

can't read file ora2pg_stdout_locker #1708

fljdin opened this issue Nov 17, 2023 · 1 comment

Comments

@fljdin
Copy link

fljdin commented Nov 17, 2023

Hello,

When using TEST_COUNT with ora2pg v24.1, we observed a fatal error in the debug output:

$ ora2pg -t TEST_COUNT -c config/ora2pg.conf -d --jobs 1 --parallel 4 -l log/testcount.log

[2023-11-17 14:32:58] FATAL: can't read file ora2pg_stdout_locker, No such file or directory
HINT: you should activate USER_GRANTS for a connection without DBA privilege. Continuing with USER privilege.
FATAL: can't read file ora2pg_stdout_locker, No such file or directory

Our workaround was to create the ora2pg_stdout_locker file before running the command:

$ touch log/ora2pg_stdout_locker
$ ora2pg -t TEST_COUNT -c config/ora2pg.conf -d --jobs 1 --parallel 4 -l log/testcount.log -b log

[TEST ROWS COUNT]
[ERRORS ROWS COUNT]
OK, Oracle and PostgreSQL have the same number of rows.

Regards, Florent

@darold
Copy link
Owner

darold commented Feb 12, 2024

Commit 5d6ed42 fixes this issue.

@darold darold closed this as completed Feb 12, 2024
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

2 participants