Sql Server 2019 (Fedora 32) - Msg 22022, Level 16, State 1, Line 0 SQLServerAgent is not currently running so it cannot be notified of this action - linux

I am getting this error. Though Agent seems to be running I have checked running state by calling
EXEC xp_servicecontrol 'querystate', 'SQLSERVERAGENT'
And it shows "Stopped." Then I call
EXEC xp_servicecontrol N'START',N'SQLServerAGENT';
And it shows "Running." After that I try executing the job by calling
EXEC dbo.sp_start_job N'SendCollectionSummaryReport' ;
And I get the Error: SQLServerAgent is not currently running so it cannot be notified of this action.
Then I called again EXEC xp_servicecontrol 'querystate', 'SQLSERVERAGENT'
And it shows "Stopped."
I realized that something is causing failure to start SQLServerAgent. Environment details below:
Microsoft SQL Server 2019 (RTM-CU4) (KB4548597) - 15.0.4033.1 (X64)- Developer Edition (64-bit) ort n Linux (Fedora 32 (Workstation Edition))
Access same server using SSME on Windows Client Machine and All Options coming Disabled

Related

Listener oracle in pacemaker cluster

I need some help. I have created a cluster with 2 nodes. I created all resources, but listener has errors and the pacemaker cluster status shows Oracle Listener has stopped.
In the web interface I have the following error messages:
Failed to start listener_or on Mon Oct 25 16:30:52 2021 on node lha1: Listener pdb1 appears to have started, but is not running properly:
and
Unable to get metadata for resource agent 'ocf:heartbeat:oralsnr' (timeout)
In pacemaker cluster status I have the following error message:
listener_or_start_0 on lha1 'error' (1): call=35, status='complete', exitreason='Listener pdb1 appears to have started, but is not running properly: ', last-rc-change='2021-10-25 16:30:52 +03:00', queued=0ms, exec=393ms
However, I can connect to the base.
Do you have any ideas how I could solve this issue?
The issue was that the agent couldn't see the Oracle listener.
The solution was to:
Create tnsnames.ora
Write configurtion
Reload services
After this the pcs didn't have any errors.

How can I prevent vncserver from crashing when I start it?

I have an Ubuntu 16.04 droplet on DigitalOcean and I'm trying to set up remote desktop capabilities for it. I followed these instructions through Step 2. However, when I start the VNC server using the vncserver command, it goes haywire and bogs down the server until it crashes. Here are excerpts from the log file:
19/12/17 23:47:52 Xvnc version TightVNC-1.3.10
19/12/17 23:47:52 Copyright (C) 2000-2009 TightVNC Group
19/12/17 23:47:52 Copyright (C) 1999 AT&T Laboratories Cambridge
19/12/17 23:47:52 All Rights Reserved.
19/12/17 23:47:52 See http://www.tightvnc.com/ for information on TightVNC
19/12/17 23:47:52 Desktop name 'X' (thoughtful:1)
19/12/17 23:47:52 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
19/12/17 23:47:52 Listening for VNC connections on TCP port 5901
Font directory '/usr/share/fonts/X11/75dpi/' not found - ignoring
Font directory '/usr/share/fonts/X11/100dpi/' not found - ignoring
/home/epoirier/.vnc/xstartup: 1: /home/epoirier/.vnc/xstartup: Cannot fork
xrdb: Resource temporarily unavailable
xrdb: cannot run '/usr/bin/cpp -P -DHOST=thoughtful -DSERVERHOST=thoughtful -DSRVR_thoughtful -DDISPLAY_NUM=1 -DCLIENTHOST=thoughtful -DCLNT_thoughtful -DVERSION=11 -DREVISION=0 -DVENDOR="AT&T Laboratories Cambridge" -DVNDR_AT_T_Laboratories_Cambridge -DRELEASE=3332 -DNUM_SCREENS=1 -DEXT_XC_MISC -DEXT_SYNC -DEXT_MIT_SUNDRY_NONSTANDARD -DEXT_BIG_REQUESTS -DEXT_XTEST -DEXT_MIT_SHM -DEXT_SHAPE -DSCREEN_NUM=0 -DWIDTH=1024 -DHEIGHT=768 -DX_RESOLUTION=2951 -DY_RESOLUTION=2954 -DPLANES=24 -DBITS_PER_RGB=8 -DCLASS="TrueColor" -DCLASS_TrueColor=34 -DCOLOR -DCLASS_TrueColor_24=34 /home/epoirier/.Xresources'
/usr/bin/startxfce4: X server already running on display :1
xrdb: Resource temporarily unavailable
xrdb: cannot run '/usr/bin/cpp -P -DHOST=thoughtful -DSERVERHOST=thoughtful -DSRVR_thoughtful -DDISPLAY_NUM=1 -DCLIENTHOST=thoughtful -DCLNT_thoughtful -DVERSION=11 -DREVISION=0 -DVENDOR="AT&T Laboratories Cambridge" -DVNDR_AT_T_Laboratories_Cambridge -DRELEASE=3332 -DNUM_SCREENS=1 -DEXT_XC_MISC -DEXT_SYNC -DEXT_MIT_SUNDRY_NONSTANDARD -DEXT_BIG_REQUESTS -DEXT_XTEST -DEXT_MIT_SHM -DEXT_SHAPE -DSCREEN_NUM=0 -DWIDTH=1024 -DHEIGHT=768 -DX_RESOLUTION=2951 -DY_RESOLUTION=2954 -DPLANES=24 -DBITS_PER_RGB=8 -DCLASS="TrueColor" -DCLASS_TrueColor=34 -DCOLOR -DCLASS_TrueColor_24=34 /home/epoirier/.Xresources'
/usr/bin/startxfce4: X server already running on display :1
/etc/xdg/xfce4/xinitrc: 8: /etc/xdg/xfce4/xinitrc: Cannot fork
/etc/xdg/xfce4/xinitrc: 8: /etc/xdg/xfce4/xinitrc: Cannot fork
cpp: error: vfork: Resource temporarily unavailable
/usr/bin/startxfce4: X server already running on display :1
sh: 1: Cannot fork
This is the beginning of the log and it descends into more chaos from here with many different "Cannot fork" warnings. Nothing from the command line indicates that something is going wrong when starting the VNC server. Anyone have any ideas on what's going wrong here?
You are probably running out of file descriptors for the user running that process.
Check what is the current limit with ulimit -n and change accordingly.

ASP.Net Core 2.0 IIS error on Windows 2012 R2

I installed :
dotnet-runtime-2.0.0-win-x64.exe
dotnet-sdk-2.0.0-win-x64.exe
DotNetCore.2.0.0-WindowsHosting.exe
On command prompt if I type dotnet, this appears:
api-ms-win-crt-runtime-l1-1-0.dll missing
On IIS on Windows Server 2012 R2 ASP.Net core 2.0 is returning this:
HTTP Error 502.5 - Process Failure
Common causes of this issue:
The application process failed to start The application process
started but then stopped The application process started but failed to
listen on the configured port
Troubleshooting steps:
Check the system event log for error messages Enable logging the
application process' stdout messages Attach a debugger to the
application process and inspect
For more information visit:
https://go.microsoft.com/fwlink/?LinkID=808681
On Windows Logs, this appears:
Application 'MACHINE/WEBROOT/APPHOST/CRUD' with physical root
'C:\inetpub\wwwroot\WebAPI\CRUD\' failed to start process with
commandline 'dotnet .\CRUD.dll', ErrorCode = '0x80004005 : c0000135.
How to solve this problem?

Failure running Overtone and SuperCollider

I can't get overtone to work with supercollider server, I'm following the getting started guide at https://github.com/overtone/overtone/wiki/Getting-Started, I've got Jack audio server running through qjackctl, then I ran SuperCollider with scsynth -u 8888 which produced the following output:
Found 12 LADSPA plugins
JackDriver: client name is 'SuperCollider'
SC_AudioDriver: sample rate = 48000.000000, driver's block size = 1024
SuperCollider 3 server ready.
Zeroconf: registered service 'SuperCollider'
then in the clojure repl I connect to SC server:
(connect-external-server 8888)
then when I run (definst foo [] (saw 220))
I get the following error:
CompilerException java.util.concurrent.TimeoutException: deref! timeout
error. Dereference took longer than 5000 ms whilst blocking until the
following node has completed loading: #<synth-group[loading]: Inst foo
Container 41>, compiling:(form-init1483192646581877285.clj:131:7)
and scsynth outputs FAILURE IN SERVER /g_new Group 31 not found
also if I try (demo (sin-osc)) I get the error FAILURE IN SERVER /s_new Group 7 not found
although if I run using sclang:
s.boot;
{ SinOsc.ar(440, 0, 0.2) }.play;
it does produce a sound.
I'm running Manjaro Linux using the Linux 4.9.27 real time Manjaro kernel
and an HDA Intel PCH sound card.

Chrome or Firefox fails to start on selenium node machine if the node is started from a shell script at the startup

I have a shell script to register the node machine to hub at startup.
The script contains:
java -jar ~/selenium/selenium-server.jar -role node -hub http://HUB_IP:4444/grid/register -browser browserName="firefox",maxInstances=5,Platform="LINUX",applicationName="VM_NAME" -browser browserName="chrome",maxInstances=5,Platform="LINUX",applicationName="VM_NAME" -Dwebdriver.chrome.driver=~/selenium/chromedriver
The script starts fine in the startup and even the node gets registered to hub, but, when I start a job from Jenkins its gives below error in case of Firefox:
FAILED CONFIGURATION: #BeforeClass setup
org.openqa.selenium.WebDriverException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
Error: no display specified
When I start a job from Jenkins its gives below error in case of Chrome:
FAILED CONFIGURATION: #BeforeClass setup
org.openqa.selenium.WebDriverException: unknown error: Chrome failed to start: exited abnormally
(Driver info: chromedriver=2.20.353124 (035346203162d32c80f1dce587c8154a1efa0c3b),platform=Linux 3.13.0-68-generic x86_64) (WARNING: The server did not provide any stacktrace information)
Note:
1. Using later version of chrome, firefox & Selenium jar files
2. When the script is run manually, everything works fine.
3. Start up batch file in windows works fine without any problem.

Resources