I have a Windows service installer. It can install and is working correctly on my machine.
But it gives an error when installing on a client machine. The error as follows:
Verify that you have sufficient privileges to start system services.
How do I solve this problem?
Debug your service installer using the information in the answer to Stack Overflow question Failed to install and start Windows services in WiX installer to find the root cause of the issue.
Related
On my windows server 2022, I recently installed Teamcity Professional 2022.10 (build 116751) using the windows installer, and once I got it up and running I an agent through 'Install Agent' in the GUI, again using the windows installer.
I then created my first project, which I managed to do a successful build for, also running my tests. The next step was creating a docker image from this build, and pushing it to my repository. Here however, I am facing issues: my installed agent is not compatible for that build, giving me the following incompatibility error:
Incompatible runner: Docker
Unmet requirements:
docker.version exists
docker.server.version exists
While it's clear to me that something is going wrong with the docker version, I'm not sure what exactly, or how/where to fix it. Since both the agent and the teamcity installation are running as windows services (Windows server 2022), I'm not sure if the docker version has to be installed in something running in the agent service, or simply on my windows server installation. The latter is the case: running docker info shows that it is installed.
I have tried to somehow connect to my agent, to try and install docker there, using its hostname through RDP, which does promt me for a username and password, but I have no idea which combination to use there. I have tried using the credentials of my account running the process, but none of the credentials seem to work. Nowhere in the installer did I have to pick any credentials, so I am not sure how to connect to the agent at all, or if I even can/must connect to it to install docker on it.
I found also some logging on the agent:
[2022-11-05 17:07:49,729] INFO - rains.buildServer.AGENT.DOCKER - Failed to parse version: Docker version master-dockerproject-2022-03-26, build dd7397342a
[2022-11-05 17:07:49,729] INFO - rains.buildServer.AGENT.DOCKER - Docker client is not available. Check whether it has been installed and PATH environment variable contains path to it.
[2022-11-05 17:07:49,777] INFO - Server.powershell.agent.DETECT - Found through registry: PowerShell Desktop Edition v5.1.20348.1 64-bit(C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe)
[2022-11-05 17:07:49,778] INFO - Server.powershell.agent.DETECT - Detecting PowerShell using CommandLinePowerShellDetector
[2022-11-05 17:07:50,125] INFO - rains.buildServer.AGENT.DOCKER - Docker-compose is not available. Check whether it has been installed and PATH environment variable contains path to it.
In the parameters of my agent I can find the path parameter, which includes 'C:\Program Files\Docker;' which makes me think it is indeed the docker installation of my windows server that matters, but I then fail to see what is going wrong exactly.
Since the agent was installed as a service, it uses the docker version of my windows server installation. I wanted to do a reinstall of docker to see what was going wrong, and I noticed that I couldn't uninstall it through for example control panel, windows seemed to have no idea that it was installed, even though docker info would specify both a client and a server that were running.
After hunting down all the 'hidden' docker files of the installation and reinstalling it on the host machine, these warnings went away.
I'm still not sure if it's possible to connect to the build agent though, but since it seems to use the resources on the host machine, that seems to not be necessary anyhow.
When I download the Trader Workstation (TWS Latest) of InteractiveBrokers for Windows 64 bit in this page and execute it, it pops up the following error:
Error downloading the Java(TM) Runtime Environment. Please check your internet connection and start the installation again.
Log: C:\Users\username\AppData\Local\Temp\i4j_nlog_19.log
I tried installing Java Runtime Environment from the official site, but it doesn't work. Also tried installing any of the other available versions of the Trader Workstation. There is not any solution on the internet, so if someone has an idea of why this happens and a possible solution it would be awesome. Thanks in advance.
I have been trying to install Docker for windows in Windows 10 pro edition but I am getting always error in cmd or powershell when I type docker info I am getting result like this
error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.26/info: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.
I have installed using InstallDocker.msi file but not able to fix this issue. I dont have any VM or Virtual Box running and I have make sure that Hyper-V and Virtualisation has been enabled in my PC. Please help me in this issue.
Thanks In Advance.
Did the installation end successfully with the Docker welcome window?
If not, probably something went wrong during the installation.
You can either reinstall it or try to follow answers in this issue:
https://github.com/docker/docker/issues/22338
I have successfully installed weblogic server 12.2.1 and created a domain using docker tool box, but when I tried to create a generic datasource for MS SQL server, I am getting the following error:
Cannot load driver: weblogic.jdbc.sqlserver.SQLServerDriver
Please give solution how to add this driver to weblogic server.
Thanks in advance.
I encountered the same problem when I installed Weblogic Quick Installer for Developers which was about 209MB.
After some research, I found out why from here: https://docs.oracle.com/cd/E15523_01/web.1111/e13753/usedriver.htm#JDBCD111
The WebLogic Type 4 JDBC drivers are installed by default when you perform a complete installation of WebLogic Server. If you choose a custom installation, ensure that the WebLogic JDBC Drivers option is selected (checked). If this option is unchecked, the drivers are not installed.
Granted, the above documentation is for Weblogic 11, but it seems to still apply to 12. I resolved the issue by downloading a separate wlsqlserver jar file (wlsqlserver-12.2.1-0-0.jar) and renaming it to wlsqlserver.jar (according to Manifest.MF spec) and putting it on to oracle_common/modules/datadirect folder.
I also believe if you choose Generic Installer which is about 791MB, it would also install the drivers so you wouldn't have to go through the process I did.
My question, is there a way to configure the InstallShield setup and deployment project so that when I attempt to install the service it will uninstall the previously installed version of the service.
I've created a Windows Service and an InstallShield setup and deployment project to be able to install it onto my machine. The process of installing and uninstalling the service all works fine. When I go to update the service, at the moment, I need to stop the service, uninstall the service manually, and then run the installer. What I am trying to get to is a point where I can run the installer and it will uninstall the previous version of the service before installing the current version.
I have seen this process of running the install and having the previous versions uninstalled work. Through creating a test project using a windows form application. I was able to install the application. Then I: incremented the product version, created a new product code, added a new upgrade entry in the upgrade path area, and configured that upgrade entry setting the min and max version. After doing this, I rebuilt the setup project and ran the installer and the upgrade from version A to version B was complete.
The only difference I believe from the original test project (where I saw the process work) and my Windows Service project is that my test project was a Windows Forms application versus a Windows Service. In all the research I have been doing I have seen people ask similar questions, but I have not seen any real suggestions on what actions to take. So if anyone knows if this is possible or has any suggestions that I could try to accomplish this task they would be greatly appreciated.
I was able to resolve this issue, so it is possible. The setting I mentioned above are the correct settings needed to allow the service to update. This was just a case of human error that was causing my problems.