Sonar as a service on Windows 8 32bit - windows-services

I have been running Sonar successfully on Windows 8 32bit. I tried to get it working as a Windows service but I got a 503. From something I found on Google I am running it as 'Network Service' but still no luck. Also, I don't know how I can see any logging of what is going on, C:\Program Files\sonar-3.4.1\logs doesn't show anything once the service has started. Any help would be appreciated, I'm so close!

Create a dedicated windows (administraton) user ( i.e. sonar / sonar ) for the Sonar service and start the service with that user.

Related

ASP.NET Core, Devart, Windows Service

Hy everbody,
I created a ASP.NET Core Web App which i run as a Windows Service.
That is working fine until i started to use Devart as DB-Provider for my Oracle-Database.
As soon as is include the Nuget-Package Devart.Data.Oracle.EFCore in my Project i get the following Error when i try to start my Windows Service:
[SC] StartService FAILED 1053:
The service did not respond to the start or control request in a timely fashion.
I can start the Service again when i remove the Package Devart.Data.Oracle.EFCore.
The Nuget-Package Devart.Data is also included but there is no Problem.
I can start the Service with the Package Devart.Data inculded without any Issue.
Unfortunately i need both Packages.
Maybe someone can give me a hint where i can find what the Problem with the Package Devart.Data.Oracle.EFCore is?
Thank you very much.
I tried a view suggestions from there: https://appuals.com/how-to-fix-error-1053-the-service-did-not-respond-to-the-start-or-control-request-in-a-timely-fashion/#:~:text=Users%20experience%20the%20error%20message,respond%20in%20the%20time%20window.

Not able to connect to jenkins from browser

I have my jenkins running on a Virtual machine which hosted on a server.I am running it using java -jar jenkins.war. It is fully up and running but when I try to open it browser by public_ip_of_server:8080 it doesn't open up. Am I doing something wrong? Any help would be appreciated.

MSDeploy WMSVC is not working in .net environment

I have a build/test server which is currently running Jenkins for my continuous integration and it also is acting as my test server where code will be deployed to once built (i hope to rectify this and seperate these at a later date when budget allows)
I have a .NET web solution (nothing complex just Umbraco essentially) that i have in SVN and Jenkins is now building correctly. I now want to deploy it onto the same server using MSDeploy. After the build completes the package is generated but the deploy fails with the error
ERROR_DESTINATION_NOT_REACHABLE: Web deployment task failed. (Could not connect to the remote computer ("xxxxx.xxxxxxx.xxx.xxxx"). On the remote computer, make sure that Web Deploy is installed and that the required process ("Web Management Service") is started
Here is my msbuild parameters that Jenkins uses
/P:Configuration=Release
/P:DeployOnBuild=True
/P:MSDeployPublishMethod=WMSVC
/P:DeployTarget=MSDeployPublish
/P:PublishProfile=GetSomePixels
/P:MsDeployServiceUrl=https://build.########
/P:AllowUntrustedCertificate=True
/P:CreatePackageOnPublish=True
/P:UserName=#######
/P:Password=########
I've checked the server and the Web Management Service is running and is starting up manually
I've also gone into IIS 8 manager (server 2012) and checked the "Allow Remote Connections" box under "Management Service". Restarted IIS and the WMSVC and still not working.
If i go to https://myserver.co.uk:8172/MsDeploy.axd in a browser it resolves (gives you the warning about an untrusted cert) and then displays a blank page.
Anyone got any ideas as to what i can do? I thought that it may be firewall related and even though it had added an exception to windows firewall for 8172 i have turned the entire firewall off to completely rulle that out and still no luck.
Have run this on the server to check its listening on the correct port
C:\Users\Administrator>netstat -a | findstr 8172
TCP 0.0.0.0:8172 GSP-BUILD:0 LISTENING
TCP [::]:8172 GSP-BUILD:0 LISTENING
Ok i've resolved this. It appears you have to activate the web management service first and then install web deploy and i'd done it the other way round. I uninstalled WebDeploy and re-installed it, restarted the server and its working
Agree with comment.
We had a similar issue. Initial installation even post Web Management Service activation appeared to be incomplete. In our case, even though the service said it was started we couldn't achieve the "green tick" when testing the connection from the Publish dialog when defining a profile.
Reinstalling WebDeploy 3.6 made it function properly.

hudson severe collision detected

Iam working on server where hudson sits and i run it thru command prompt, when am working with old credentials(for logging into server not for hudson) i didn't exit hudson,and admin shutdown the server, when my admin changed the credentials to log into with server with my new account credentials (previously am logging with some other account credentials), i logged with new credentials and restarted the hudson server using command prompt but in the command console the hudson is giving the error as
"SEVERE: COLLISION DETECTED timestamp='122324..', expected='111...'"
But its running the projects, building it but its status is not shown in the command console,
is this as hudson is treating as two users?
whats the error, and how it can be solved?
please help me out, and please excuse me for my bad explanation.
thanku.
Sounds like you are running two instances of Hudson on the same box (maybe as different users).
It is more a Server Administration issue (Windows or Unix) than a Hudson problem.

Unable to run Selenium RC server as windows service

I have followed this link to run Selenium Server as a windows service: http://www.claytonstechnobabble.com/2011/08/run-any-application-as-windows-service.html
The service gets installed successfully but when I try to run it it gives error:
"The SeleniumRC service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs."
can you guys help me on that asap? what am I missing?
This is the selenium server file that I am trying to run: "selenium-server-standalone-2.5.0.jar"
Ali, you might try capturing the output from the service. Since the Java app is designed to be run in console mode, there is likely to be some useful explanation if you can capture std out and std err. Running the service with a wrapper like Java Service Launcher will provide that functionality to log the error information: http://jslwin.sourceforge.net/
Create a bat file containing
//cd Location of file
java -jar selenium-server-standalone-2.5.0.jar
then use this bat file to execute in service.

Resources