The SQL Server feature 'SQL_Engine_Core_Inst' error - sql

For few days I am getting an issue with SQL Server 2019 Express Installation. When installing SQL Server I get an error and the server won't work. I've tried repairing it but I've got also an error here.
The following error is :
Feature: Database Engine Services
Status: Failed
Reason for failure: An error occurred during the setup process of the feature.
Next Step: Use the following information to resolve the error, and then try the setup process again.
Component name: SQL Server Database Engine Services Instance Features
Component error code: 0x84B40002
Error description: The SQL Server feature 'SQL_Engine_Core_Inst' is not in a supported state for repair, as it was never successfully configured. Only features from successful installations can be repaired. To continue, remove the specified SQL Server feature.
Error help link: (Link that doesn't work)
My SQL Server Management Studio 2018 also don't work. I've tried uninstalling and installing SQL Server but it doesn't help. I've even tried uninstalling and installing Windows but nothing to do.

I fixed the issue:
If you run into that error, try creating a Virtual Hard Drive with Disk Manager. Then install SQL Server 2019 on it and it should maybe resolve the problem. If not, read all the comments and check if something helps.
Edit: When you shut down your computer, if you restart it, the virtual disk disappears. You have to mount it again and start the database engine manually. I recommend creating a script that does this for you.

Related

Downloading PostgreSQL on Mac

I've been having problems downloading PostgreSQL on my Mac. I attempted to download multiple versions but keep on getting the same error message shown in the attached picture."Problem running post install - step. Installation may not complete correctly.the database cluster installation failed."
Error Message
Answer available on another post
PostgresSQL Installation fails: "database cluster initialisation failed" MAC os
or
Try via Docker, its easy and works all the time. :)

Installation problem with SQL Server 2017 (Error 1639)

I've been struggling to install sql server 2017 for a few days now. I keep getting message:
Oops... Unable to install SQL Server(setup.exe). Exit
code(Decimal)-2068052377 Error description:Invalid command line
argument.Consult the Windows Installer SDK for detailed command line
help.
I've tried to delete all sql folders , registry keys, uninstall everything related to SQL Server, installing as admin, cleaning and fixing the registry, rebooting,... Still cant install. Please help. Thanks in advance! I attached image and logs
You could try use revoUnistaller to uninstall all SQL system, reboot your system and use some clean up app like ccleaner and try reinstall.
Have you already see https://social.msdn.microsoft.com/Forums/sqlserver/en-US/2c04b654-107a-46ce-98a9-aa64068c6e28/sql-express-2017-installation-failed?forum=sqlsetupandupgrade
?

Error while running hive on windows server 2012

While running hive on windows server 2012 I am getting an error of class cast type. Searched about it but can not find the concrete solution if anyone can help. Sharing the screen shot might help analyzing the situation.
Hadoop & beeline is install and running well but connection to hive can not be done.

SQL Server Configuration Manager - Can't view Start-Mode drop-down

I have a new Windows 10 installation with SQL Server Express 2014 installed. The drop-down menu for changing the start mode doesn't show correctly:
How do I circumvent / fix this? How do I change the start mode?
(I've already restarted the computer.)
I have run into this issue a few times. It's some sort of oddity with the 64-bit version of SQL Server Configuration Manager.
The solution here is to explicitly use the 32-bit version of SSCM by navigating to "C:\Windows\SysWOW64\SQLServerManager12.msc". Use that version and you should be able to see the drop down options.

How to install pgAgent service on windows

I am new in postgreSQL database , I recently found that postgreSQL support SQL Job by pgAgent. I am using windows XP operating system.
I searched lots about pgAgent on Google and trying to configure pgAgent on machine.
Download pgAgent package in which I found pgagent.sql file after executing this file JOB(0) icon is appear on my pgAdmin III object panel. like following image.
But I am facing problem to register pgAgent service. As per postgres sql documentation following is next steps to register services but I am fail to do this. or don't know how to configure pgAgent service.
Following step from postgre sql documentaion :
The service may be quite simply installed from the command line as follows:
"C:\Program Files\pgAdmin III\pgAgent" INSTALL pgAgent -u postgres -p secret hostaddr=127.0.0.1 dbname=pgadmin user=postgres
but I tried lot to do this, please help in how to register pgAgent service with Windows XP.
reference link of postgre sql : http://www.pgadmin.org/docs/1.6/pgagent-install.html
Please help in this , Thanks in Advance !
PgAgent is probably not installed
The pgAgent download page says:
pgAgent is a job scheduler for PostgreSQL which may be managed using
pgAdmin. Prior to pgAdmin v1.9, pgAgent shipped as part of pgAdmin.
From pgAdmin v1.9 onwards, pgAgent is shipped as a separate
application.
And then it provides a download link to http://www.postgresql.org/ftp/pgadmin3/release/pgagent/
But the problem is there's only source code there. There are also SQL files in the tarball but they're useless without pgagent.exe.
How to install it
Apparently the correct way to install a pre-compiled pgAgent is with the Stack Builder installer that also happens to be the primary installation method on Windows for the PostgreSQL server itself. That's what is suggested on the official download page:
http://www.postgresql.org/download/windows/
If you have already installed PostgreSQL for Windows with this method, the installer is available under the name Application Stack Builder in the PostgreSQL 9.2 folder in Windows Start Menu.
StackBuilder will normally recognize your installed PostgreSQL version(s), and suggest to install among various programs pgAgent in the Add-ons, tools and utilities category.
Once you check pgAgent and continue with the installation, it will download it and launch its setup. The setup phase includes runnning the necessary SQL statements and installing the PostgreSQL scheduling Agent - pgAgent windows service. If this step is successful, there is nothing else to do, the functionality will be available in pgAdmin for creating jobs.
What's misleading in the docs
The latest pgAdmin docs at http://www.pgadmin.org/docs/1.16/pgagent-install.html has a Service installation on Windows chapter that says:
The service may be quite simply installed from the command line as
follows (adjusting the path as required):
"C:\Program Files\pgAdmin III\pgAgent" INSTALL pgAgent -u postgres -p
secret hostaddr=127.0.0.1 dbname=postgres user=postgres
However in the majority of cases this is not going to be of help because either:
pgAgent install is done by pgAgent setup as launched by StackBuilder and this step is not necessary.
or you have got pgAdmin alone and pgagent.exe will not be installed so this step is not possible.
pgAdmin will be successfully installed after downloading the compressed file from
https://www.pgadmin.org/download/pgagent-source-code/
there inside, you will find the file "sql\pgagent.sql"
Toss the content of this file into the Query Tool and run it. That will install pgAgent. Refresh your database connection to see the result. The tab pgAgent Jobs should have been created at the root level for your connection.
There is no need of using the INSTALL command from your command line.
I faced the same problem. I was able to get pgagent working by downloading and executing the stand-alone installation file pgagent-3.4.0-4-windows.exe from here: http://sbp.enterprisedb.com/getfile.jsp?fileid=11842