on some Windows PC, when I have both easyPHP and a standalone apache service configured on another network port and with a specific service name, I have a problem : when I stop easyphp, the other apache is stopped too.
The problem do not occur on all PC I have, but seems very strange to me.
Any idea?
more information after answer from Radar : my process have a special name (ecapache), but easyphp does not seems to use process but rather lauch directly the servers.
Thanks
Cédric
Maybe how it's killing it is that it's finding all processes called "apache" or similar and just killing them, regardless of if it 'owns' it or not.
i think Both are integrated together, i was not occur in all PC because of port number.
Related
I've installed virtio-win on the Windows guest.
Actually it works fine but one problem is that the service can not be automatically started, if do so, not memory stats can be found in the host.
When I manually started or restarted, the stats will works okay.
How could that happened? Is the problem of virtio-win or mine? I just installed it without any actions :(
Thank you for your help.
MacOS 10.15.5
Intellij 2020.2
I have a java application which starts HTTP server on port 4232. I stopped the application (sometimes it hangs and I need to use force (red skull icon) button). Then I launch the app one more time and I get that cannot start port is already used.
Fine, so I try to find that process and kill it.
I use lsof to find pid which uses that port - but nothing.
It is not intellij issue, because I can telnet to localhost 4232, so something uses that port.
Could you tell me how can I debug it? I know that reboot is a solution but it is not a preferred solution.
I found many posts with similar questions but nothing helps - I just cannot find what uses this port.
I have a VPS that i access by Remote Desktop Connection. In this VPS i run several Delphi applications that automate tasks. For these tasks i simulate keyboard presses by using the KeyboardEvent Windows API.
It works fine as long as i'm logged on the machine via RDC. When i logoff, the Delphi app keep running, but no KeyboardEvent works anymore.
Is there a way to fix that, or API alternatives that can send keys even if not logged on the VPS ? I can't be connected on the VPS all the time...
Thanks in advance !
I could not find a solution for this issue, but could find a workaround : if you install a new virtual machine INSIDE the VPS, the KeyboardEvent will work even if you disconnect from the VPS itself, because the virtual machine will keep running. Not an ideal solution but so far the best i could find.
I have script which uses mircrosoft's UIAutomation to automate an application. The script is inside a VPS running Windows Server 2012. The script works perfectly while I am connected to the VPS via Remote Desktop (RDP).
When I am not connected, the script seems to be stuck on SetFocus for a object... which leads me to believe that the script needs a Display/Screen/Session in order to work... but I am not sure if it is possible to do it while I am not connected to the VPS.
I can see 2 possible solutions here, either modify the script in someway to work in this environment or make the VPS have a virtual desktop while I am not connected (this solution might be more related to Server Fault rather than StackOverflow).
I am very confused, thanks for the help in advance :)
I managed to workaround the issue by actually connecting to the server to itself (to 127.0.0.1) via RDP so that it will always have an active RDP session for the automation script to run.
I am not happy with the results but it works... I cannot give clear instructions on how you would need to modify the settings in Windows to allow RDP connections from self, it was a one big trial and error process, I have to modify some policies in the Group Policy Editor and then some stuff that I don't remember.
There is another downside to this, a Windows server will allow 2 simultaneous connections to it but by using this method we are reserving a slot so only 1 connection at a given time is possible, something to be aware of.
I'm looking for something that can be run on 1 machine to monitor the processes of another machine in Windows, and notify (email?)
Basically, Server A is running "Application.exe" and Server A reboots - I need Server B to be able to spot that the application "Application.exe" is no longer running on Server A and alert me, possibly by email.
I tried to do something in ruby, but the only ruby I can use on these servers is JRuby and I didn't get very far.
Any suggestions?
By the sounds of it, everything you need you will find on this page:
http://technet.microsoft.com/en-us/library/ee692846.aspx
Hope this helps.