PostgreSQL cannot connect: service definition not found - windows

In Windows 10 Pro 64-bit & new installation of PostgreSQL 9.4, attempting to connect to the server in pgAdmin III results in
The service is running and the service name is correct, as seen here
I am brand new to PostgreSQL, but fwiw, I've configured a working Symfony 2.7 application to use PostgreSQL and have successfully (according to the Symfony console) created a database and its schema.
What is required to get pgAdmin to connect properly?

It turns out that the error message is grossly misleading. There is no issue with the service definition. Instead, I learned that when logged in as a user other than the user that created the PostgreSQL installation (e.g., postgres) one needs to do this at the command prompt:
runas /user:postgres "C:\Program Files\PostgreSQL\9.4\bin\pgAdmin3.exe"
There may be a more elegant solution than making the above a cmd file. I'd like to know what that is!

Related

Psql gives "SSLv3 alert handshake error" when trying to connect to Postgresql database

Using Windows 10 cmd.exe
I was using psql 7.4.6 which looks like the most recent version, but it no longer works. https://sourceforge.net/projects/psql/
I'm still waiting on IT to tell me which version of Posgresql we have. I cannot do it myself. I normally use psql to do that but psql no longer works.
I'm trying to use psql to get the current date from a Postgresql server but I get this error: "SSL Error: SSLv3 alert handshake error"
We have upgraded Postgresql at least once since psql has worked with it. Could it be psql (which hasn't been updated since 2013) no longer works without our newer Postgresql?
Is there a free Windows front end I could use to browse raw data in our Postgresql DB?
I only need read access to the DB, I do not need write access. I will not have admin access to it. The DB sites on a black box from a vendor so we cannot configure Postgresql.
The software should not require me to install any other packages like Apache, PHP, Java, etc.
Thank you!

Can't connect to freshly installed MongoDB

I'm rather new to MongoDB and installed it recently using the MongoDB community server (On my Windows clinet). I set the environment variable and started the database using mongod. Everything seemed fine and I can connect to the database using the GUI of Robo3T.
But if I try to connect to the DB using the mongo command in the Terminal I get the following Error:
Failed global initialization: InvalidSSLConfiguration CertCreateCertificateChainEngine failed: Falscher Parameter.
Seems like some SSL configuration failed, but I never touched anything in the configuration file of Mongo. What can I do to connect to my database in the terminal?
It turnes out, that I get that error no matter if I try to connect to the local DB or some other IP on another Server. So I'm pretty sure the error is not caused by my local mongodb server.
Thank you for your help
I completely stopped the mongo service, removed every single file I was able to find containing mongo information. Reboot my system and install mongo anew. That was the only way I was able to fix it, since just uninstalling and reinstalling didn't do the trick.

Informatica Admin console home page can't be reached

Iam able to open the admin web page just after installing informatica 9.6.1 on windows 10, but when i restart my machine (or when laptop went to sleep mode) again when checked the admin page says
"This site can’t be reached <hostname> refused to connect."
URL is <my machine hostname>:6008/administrator/
Is there something going wrong with the 6008 port after installation?
I used this URL for installation
https://www.edureka.co/blog/informatica-installation/)
I searched a lot on the internet but could not fix this issue.
Tried start/stop Informatica services, dint work.
please help
I had same problem while working on windows system with Informatica 9.6.1.
I believe any of the 3 processes: pmrepagent, pmserver and tomcat/JAVA services
is/are not running. In simple words Informatica is not up and running.
This helped me out.
open Command prompt in Admin mode
cd C:\Informatica\9.6.1\tomcat\bin
infaservice.bat startup
for more details refer this KB article
https://network.informatica.com/thread/43165
If you have also faced such problem while connecting to Informatica post installation then i recommend to check if you are well connected to the database which you opted while installing informatica (For eg. Oracle,sql server etc) with the same user and password which was seperately created to link the database with informatica.
If still you cannot open the Administrator homepage then you can cross check if the Informatica services are already started.You can restart the service if it is stopped and then the homepage will get open.
Seems like the service is not started. Please check the services and make sure Informatica is set to start automatically and that it's able to connect to DBMS where repository DB has been created.
When i installed Informatica that time i was able to login to admin console. But after restart i got - "site refused to connect " error. My informatica service & oracle db serv are running. But still i could not able to login to admin console. What is did was - i login to the schema what i used while installing informatica server through dbeaver tool. On my astonishment, after that im now able to connect admin console.
I found another error that caused this kind of issue.
Check in your system where information is installed and search for "Catalina.out"
See the error:
org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads SEVERE: [localhost-startStop-2] The web application [/csm] appears to have started a thread named [phoneHomeScheduler] but has failed to stop it.
This is very likely to create a memory leak.
You need to restart the system and re-process the services.

Configure DB2 on windows. JDBC error

My organisation wants to setup DB2 for our .Net application that links/uses the database setup on a remote desktop with a fixed IP address. Now, I'm trying to setup this DB2 databse using DB2 Express-C and IBM Data Studio and it is unable to connect to the database through the Java connection.
How do I know this? I tried performing a normal SQL operation using a DB2 command window and it worked.
If I try to do the same thing with Data Studio or command line processor, it doesn't work: always throws a 'user ID revoked' error.
I tried reconfiguring environment variables to JDBC4 driver, using it from an administrator account, but nothing works.
Question - How do I make this work properly? is there any guide or tutorial anyone can share to setup db2 express c properly.

VB6 "Provider cannot be found."

I have a few applications written in VB6 that are all using the same connection string on the same machine. They are using the ODBC provider with the SQL Server Native Client 10.0 driver and connecting with explicit username and password.
At run-time, one of the applications throws an exception when I try to connect to the database:
3706: Provider cannot be found. It may not be properly installed.
I don't understand why this one application is having an issue when the others are working fine. The references are the same, down to the version number.
Try installing MDAC on your machine.
If you are using the program on another system and using Access you will need to download and install http://www.microsoft.com/download/en/details.aspx?id=23734 if access is not installed on the system

Resources