MongoDB - mongodb setup wizard ended prematurely - mongodb

I'm not able to install MongoDB(4.2.6). I've downloaded the "MSI" version but even though I'm getting this error message displayed. I have tried unchecking the MongoDB compass option, rebooting the system and installing it again, but then too it is not being installed using all the possible means.
Error message that is being displayed is
MongoDB Setup Wizard ended prematurely because of an error. Your system has not been modified.

The file concrt140.dll is part of the Microsoft Visual C++ Redistributable. Installing that first should allow you to complete this installation..

first open command prompt using administrator
after open you go to folder where setup is store using cmd(
and enter your setup name(use cd command for go one folder to another)

Related

I can't open my MySQL Workbench (workbench execution error)

I'm scared to ask this because people can be a little mean on here but I've watched 1000 of YouTube videos and went through just as many google searches. I was trying to create a data dictionary for mysql diagram. I used this website https://dataedo.com/kb/tools/mysql-workbench/how-to-export-data-dictionary#toc_0 to help me. I downloaded the .py link listed in the install plugin step. The followed the instructions in mysql. It said the plugin install was successful and to restart my workbench. After that I started getting the error shown in the picture. I have tried everything:
Restart workbench
Repair workbench through msi download
Followed the steps in this link: https://www.tutorialspoint.com/how-do-i-kill-all-the-processes-in-mysql-show-processlist
Updated all my sql products in mysql installer
Made sure mysql services were turned on and running
I don't know what else to do. I can't even open workbench to see if the plugin is the issue because again I can't get in. I just need some help
That is a strannge error, where mysql workbench has some corrupt files.
Deinstall MySQL Workbench with the MySQL Installer
Install Workbench again
So everything will start normal again, the configuration and connections will stay and can be used again as normal
This is not an installation issue, so don't waste your time by trying to fix this issue by repeating the installation.
The error comes from the approach where MySQL Workbench tries to ensure there's only one instance of it running. For that it searches the process list for another instance and, if one was found, sends the command line parameters it got to that instance, letting the already running instance handle them (and shuts itself down after that).
But again: this happens only if another instance is found, so check your process list carefully. Filter by the term "MySQL" to see any MySQL related processes (including that of a MySQL server). Shutdown/kill any of these processes and try launching WB again.
Same issue happened to me and it was like what the heck. Don't waste your time to uninstall and reinstall because it won't solve your problem.
Solution: open your file explorer and delete the entire folder "Workbench"
Path: %appdata%\MySQL\Workbench
I have the same issue with this file.
Just as Jr Relampagos says, delete the .py file here : AppData\Roaming\MySQL\Workbench\modules
Restart Workbench, it works for me.
With me I'm just go to C:\Users<USER>\AppData\Roaming\MySQL\Workbench\modules and then delete the .py file you install, then open the Workbench again

Resolve "Binaries not found" error in Postgres.app

I'm following these instructions to set up PostgreSQL on my Mac. Step 3 says I need to click Initialize, however there's no such button. Instead, the error message "Binaries not found" is displayed and, if I click the similar Start button, the error message "The binaries for this PostgreSQL server were not found" is displayed. I just downloaded a clean version of Postres.app, so not sure why this wouldn't be working right out of the box.
How to resolve?
I found this answer by stromal on Postgres.app's GitHub:
I solved it by opening up the application's sliding windows, than clicked a new server with the plus icon, than that had initialization button, than clicked initialise than it worked.
The hidden sidebar slideout was tricky. This solution worked for me!
Postgres.app's troubleshooting and support page says the following:
To fix this issue, make sure that the correct binaries for your server are in
/Applications/Postgres.app/Contents/Versions/
without telling you how to actually do that.
One way to do it is to download "Postgres.app with all currently supported PostgreSQL versions" from Postgres.app's download page and replace any other versions you have. The app will then open without the "Binaries not found" error, assuming that you are only using supported PostgreSQL versions.
Follow the official uninstall instructions:
Quit Postgres.app & drag it to the Trash
Delete the data directory (default location: ~/Library/Application Support/Postgres)
Delete preferences for Postgres.app by executing the following command: defaults delete com.postgresapp.Postgres2
Remove the $PATH config for the command line tools (optional): sudo rm /etc/paths.d/postgresapp
Follow the official installation instructions.

Service 'MongoDB Server' (MongoDB) failed to start

I'm trying to install mongo DB on my local machine with the installer from the official website. But I'm continuously getting this message, can someone help?
I've tried the solution provided here but didn't help.
I suggest doing the following:
Hit Win+R to open up you run.exe then inside of it enter services.msc to open up services. Try locating the service under the name of MongoDB Server and set the Startup Type manually to Automatic - [In addition to that, you could set the username and password manually. If you get a message saying the user was granted login as a service right, try hitting retry on the MSI dialog and see if it starts].
Important:
Don't forget to save and close everything (services.msc) before continuing.
Also very important, you should (must) check your .NET framework version and update it to version 4.5 and above. You could download a software like eg Driver Booster to update all of your drivers and additional components that are outdated.
I ran into the same issue. My problem was the installation location. I was trying to install under C:\MongoDB. I resolved it by installing in the default MongoDb location which is C:\Program Files\MongoDB.
For me this is usually an issue with the configuration file %ProgramFiles%\MongoDB\Server\x.x\bin\mongod.cfg
At some time there was an invalid option "snmp" enabled (only valid in enterprise version).
Nowadays, although the installer asks for directories for data and logs it doesn't ALWAYS seem to use these, but defaults to %MONGO_DATA_PATH% or %MONGO_LOG_PATH%, respectively. I don't know where these should be defined, but the server fails at accessing c:\data\db (which doesn't exist). So you have to correct the paths.
I also faced this kind of error. But I just change the Network service to Local system in Log On As tab.
Follow my step-by-step below to resolve it:
Press Win+R, type: services.msc, then looking for MongoDB Server (MongoDB)
Double click on MongoDB Server (MongoDB).
Then it will open properties tab. On that tab click on Log On
After that check two items i.e. Local System account and Allow service to interact with desktop
After that press Apply and OK button. That's it, cheers!!
Open command prompt and copy the following command:-
"C:\Program Files\MongoDB\Server\4.2\bin\mongo.exe"
NOTE: This Tricks is work on my Windows 8.1 PC.
Comment out string with mp: in configuration file: %ProgramFiles%\MongoDB\Server\x.x\bin\mongod.cfg
Like this:
...
#snmp:
#mp:
Click Windows+r, type lusemgr.msc , Go to Groups and double click Administrators, Click Add, Click Advanced and click Find Now. Double click in Network Service (in bottom list) and click OK.
It worked for me.
Installing in the other locations other than the windows directory caused me this error. Reinstalling the setup with the recommended method of "complete" fixed it.
The problem occurs if you have Windows version previous to Windows 10.
Install the following update before installing MongoDB. Click on the link below.
https://support.microsoft.com/en-us/help/2999226/update-for-universal-c-runtime-in-windows
It worked for me.
The problem occurs if you have Windows version previous to Windows 7. Install the following update by going to below link you have to download
Windows6.1-KB2999226-x64.msu
#You have to download and install then go to servies.msu and start MongoDB server by Start also go into log on and set to #local machine
https://support.microsoft.com/en-us/help/2999226/update-for-universal-c-runtime-in-windows

#[INS-20802] Oracle Database Configuration Assistant failed during installing oracle12c on windows7. Can any one suggest?

[INS-20802] Oracle Database Configuration Assistant failed.
Cause - The plug-in failed in its perform method Action - Refer to the logs or contact Oracle Support Services. Log File Location
C:\Program Files\Oracle\Inventory\logs\installActions2016-12-19_11-03-33AM.log
I faced the same issue recently and I tried several of the following methods for resolving the issue :-
Disabling Windows UAC
Disabling firewall
Disabling antivirus - mine was a fresh VM, so disabled Windows Defender
Adding localhost IP i.e., 127.0.0.1 to the hosts file etc.
but none of them helped.
At last I found this, which suggested installing Microsoft Visual C++ 2010 Redistributable Package (x86) and this solved the problem in a matter of seconds! I just had to click 'Retry' on the installation dialog.
For me everything was working fine...I checked for listener, services, path.
Then I tried below and it works...
During installation when Database configuration got failed.
Go to sqlnet.ora file and replace NTS with NONE.
Example :
SQLNET.AUTHENTICATION_SERVICES= (NONE)
After that try again installing the database configuration. Click on Retry.
Note: If you have installed oracle and skip database configuration failed step then you can go to search bar of window and open Database configuration and try downloading it & it will get installed and will ask for password.
After that you will be able to connect to database.
DONT USE # IN ORACLE PASSWORD Because when you try to login sql plus it will give error. In case you did that then write your password in inverted commas. ex: "password"
There is a bug in some installers, as described in this other answer, which prevents Oracle from installing the required Microsoft Visual C++ 2010 Redistributable.
The 32bit installer uses the file install\oraparam.ini, which contains these lines:
#Flags for installing MSVCR80
#MSVCREDIST_LOC flag will provide the name of the exe that is being shipped in stage/ext/bin
MSVCREDIST_LOC=vcredist_x64.exe
But the file available under stage/ext/bin/ is vcredist_x86.exe.
So before installing, edit the install\oraparam.ini file, and replace _x64 with _x86 in that line to get:
MSVCREDIST_LOC=vcredist_x86.exe

Eclipse save error when trying to open the design view of a synapse config file in WS02 Developer Studio

I'm following the tutorials and samples of the official WSO2 ESB documentation. When I create (or load) a synapse configuration in the WSO2 Developer Studio I'm getting the error as shown below:
Save problems
Save could not be completed.
Reason:
resources\sunErrorHandler.esb_diagram (The system cannot find the path specified)
This error shows up when I want to open anything in the Design view. Even when I'm not trying to save anything.
So far I have tried to add the path specified in the error, but without success. I already found a workaround to be able to save and deploy my ESB configurations. By using "Save as" I'm able to keep the changes I made in the XML files. However the error stills shows up when I open the new version of the file.
Does anyone know a better solution to permanently resolve this error message?
I had this problem as well, running eclipse.exe as administrator fixed it.
Issue remains unresolved for my Eclipse + DevStudio 3.8.0 install on a Windows 10 environment. However since I was experiencing some other issues with the WSO2 ESB I decided to migrate to a Linux (Ubuntu) environment. This seems to work much better, the eclipse does not seem to have this issue on Linux.
Eclipse want to write in C:\Program Files\eclipse\resources. I solve problem by adding full permissions to group users on folder C:\Program Files\eclipse
If this happens in Mac you can provide the required permission to the "/Applications/IntegrationStudio.app/Contents/MacOS/resources" folder.