-
Notifications
You must be signed in to change notification settings - Fork 36
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
Tests fail to start new DB: pg_ctl: unrecognized operation mode #106
Comments
I haven't used a Windows computer in over 25 years, so take what I write with a grain of salt, but, based on my googling, I think the |
I guess I should have mentioned that I was running the command in an elevated PowerShell command prompt (powershell.exe). I tried executing Thank you for sharing your hunch, though!! Much appreciated. |
Something else I should have shared: The "socket" folder mentioned in the error message " Other folders that do exist at "C:/Users/[username]/.cpanm/work/1669705333.8180/DBD-Pg-3.16.0/dbdpg_test_database/data/":
Files that exist in the data folder:
A total of 22 folders & files. |
This means that pg_ctl is not getting the final argument, 'start', as probably the other arguments are somehow intercepting it. Does the actual username contain spaces or anything odd? You could try from the command line and putting the "start" as the very first argument, and seeing if the output can give us a clue where the problem is. |
I'm trying to install DBD::Pg on a Windows 11 machine (64-bit). The installation fails every time because the tests fail.
Installation command:
cpanm DBD::[email protected] --quiet
Console error message:
! Installing DBD::Pg failed. See C:\Users\[username]\.cpanm\work\1669705333.8180\build.log for details. Retry with --force to force install it.
Last several lines from the build.log file:
Additional info about my machine:
perl -e 'use DBI; DBI->installed_versions();'
says that I have DBD::Pg version 3.8.0 installed. I don't know where that version of DBD::Pg came from.I've never used PostgreSQL before, so feel free to share as much "obvious" beginner information with me as you want. I won't think that you are being condescending. 😄
The text was updated successfully, but these errors were encountered: