SQL Server Launchpad fail to start - sql-server

I want to use machine learning services in SQL Server database, and now I install machine learning services(In-database) and python successfully, but I cannot run python in SSMS, when I run:
>```SQL
EXEC sp_execute_external_script #language =N'Python',
#script=N'
OutputDataSet = InputDataSet;
',
#input_data_1 =N'SELECT 1 AS hello'
WITH RESULT SETS (([hello] int not null));
GO```
it displays the error as below:
>SQL Server was unable to communicate with the LaunchPad service. Please verify the configuration of
the service.
So I need to start the SQL Server Launchpad in SQL Server Configuration Manager, but fail with the error messages:
>The request failed or the services did not respond in a timely fashion.Consult the event log or
other applicable error logs for details.
I don't know where the error log is, but I have check the Event Viewer it just shown a similar info:
>The service did not respond in a timely fashion.
>A timeout was reached (30000 milliseconds) while waiting for the SQL Server Launchpad service to connect.
What I have try:
1. Restart the SQL Server multiple times.
2. Make sure the account "NT SERVICE\MSSQLLaunchpad$SQLEXPRESS" that log on Launchpad has the necessary permission:
- Adjust memory quotas for a process (SeIncreaseQuotaPrivilege)
- Bypass traverse checking (SeChangeNotifyPrivilege)
- Log on as a service (SeServiceLogonRight)
- Replace a process-level token (SeAssignPrimaryTokenPrivilege)
- Allow log on locally
My SQL Server Version is :
SQL Server 2017 (RTM-CU17) (KB4515579) - 14.0.3238.1 (X64)

Related

SSIS package with ODBC SSL target connection fails, while no SSL execution is successful

I have an issue with an SSL ODBC connection from SSIS Package, while the package is executed by SQL Agent.
I am using a technical user (ActiveDirectory account) used to execute (run as) a step in a SQL Agent job that calls the package.
The user has a proxy credential and all required privileges on SQL server to execute the job and all dependent resources from SQL server, as while the DSN, used by SSIS ODBC connection is configured without SSL it works as flawless.
When the "Connect using SSL" property is set, I am getting a generic error message:
:Error: Failed to acquire connection "". Connection may not be configured correctly or you may not have the right permissions on this connection.
I have noticed, by accident while debugging, that if I have any application running or a session established for the technical user to the server, the load with SSL configuration ends successfully. When the session is terminated/closed the error comes back.
Please advise, what has to be reconfigured to make it work with SSL!
Environment:
SQL Server 2016 (v: 13.0.4001.0)
SQL Agent runs as: NT Service\SQLSERVERAGENT
SAP Hana is a target DB
SQL Server runs on Windows Server 2016

SSIS - the RPC server is unavailable

I've installed a instance of SQL Server and i select Integration Services in the setup wizard.
However, when I run SQL Server Management Studio as 'Administrator', I can see my instance under.
Database Engine
Analysis Services
Reporting Services
However, I can't see my instance under 'Integration Services'.
The service is running in Configuration Manager.
UPDATE 1
When trying to enter the server name manually it gives the following error:
the RPC server is unavailable
If you means this form:
For the first time you login you have to enter the integration services server name manually, Note that you don't have to enter the full instance name Server\Instance, you just need to enter the Server name.
Example:
If the machine name is MyPC and the SQL server instance is SQLDATA, then you should enter MyPC not MyPC\SQLDATA
UPDATE
the RPC server is unavailable
if you are sure that your account has sufficient privileges you can follow the links provided in the following MSDN answer.
The RPC Server is unavailable - Tried almost everything!
You may need to open port 135 (or whatever port SSIS is running under) in Windows Firewall on the server.
It would be good to specify the executable path (such as E:\Microsoft SQL Server\130\DTS\Binn\MsDtsSrvr.exe) as well as the specific network type that these connections should come from.

can't install ms sql server 2014 express. Wait on the Database Engine recovery handle failed

I can't install ms sql server 2014 express. At the and get this. Please help me to fix a problem.
Error details: ยง Error installing SQL Server Database Engine Services Instance Features Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes. Error code: 0x851A001A
Try this:
In the Services.msc console, change the account of the "SQL Server" service to Local System account (in the service properties). Take note of the account name before changing it, you need it at step #3.
Start the service. It should be able to start at this point.
Using the SQL Configuration Manager (you won't be able to do it using Services.msc), change the account back to NT Service\MSSQL$

SQL Server Service wont start up

I just rebooted my development server but when the server came back up, I can no longer connect to the DB.
I can't even connect from the Management Studio on the server.
So I check the services and the SQL Server (MSSQLSERVER) and SQL Server Agent (MSSQLSERVER) are not started. Starting them gives me an error
Windows could not start the XXX
service.
Any ideas?
EDIT: In addition, I ran the service from the command line and noticed this error:
2010-11-24 15:38:32.02 Server Error: 26055, Severity: 16, State: 1.
2010-11-24 15:38:32.02 Server The SQL Server failed to initialize VIA suppo
rt library [QLVipl.dll]. This normally indicates the VIA support library does no
t exist or is corrupted. Please repair or disable the VIA network protocol. Erro
r: 0x7e.
So I went into The Configuration Manager -> Network Configuration -> Protocols and disabed VIA. That allowed me to start it back up again... but I'm worried that is should be enabled...
-Evan
Check the event viewer and see if there's a reason logged for it not starting. I've seen something similar when the server runs out of available ram.
Since this is your dev server you probably don't need VIA service running, as long as SQL is started you should be ok.
Firstly check the event log
If these errors is shown
The SQL Server failed to initialize VIA support library [QLVipl.dll].
TDSSNIClient initialization failed with error 0x7e.
Then only disable your VIA protocol services from both.
SQL Native Client
SQL Server Network Configuration
After that restart you SQL browser service and SQL server agent service from SQL server configuration manager

cant start SSIS service on sql server 2008

In Sql Server Configuration Manager I Sql Server Integration Services has status stopped, when I try to start it aftger few seconds there is an error message: The request failed or the server did not respond in a timely fashion.
Where the problme can be ?
Have a look at the event log on the server. It should give you a reason. I've had this before when I've applied a service pack to the database engine but not selected to upgrade SSIS and then it complains about mismatched version. Also might be an issue with the account the service is running under.

Resources