Azure VM no response after installing update and auto-restart - azure

When there was an update being installed and it required a restart, Azure VM restarted during off-hours, then it went into no response state. I had to stop and start it via portal.
It occurred a couple of times already. One example is KB4592440.
=====
Windows Setup log:
9/12/2020 11:29:15 AM
A reboot is necessary before package KB4592440 can be changed to the Installed state.
System logs:
10/12/2020 1:18:00 AM
The process C:\windows\system32\svchost.exe (MyVM) has initiated the restart of computer MyVM on behalf of user NT AUTHORITY\SYSTEM for the following reason: Operating System: Service pack (Planned)
Reason Code: 0x80020010
Shutdown Type: restart
Comment:
Other system logs:
The Windows Modules Installer service entered the running state.
The Update Orchestrator Service service entered the stopped state.
The Update Orchestrator Service service terminated with the following error:
This operation returned because the timeout period expired.
...(many other service went into stopped state)...
The Windows Event Log service entered the stopped state.
The Remote Desktop Services service entered the stopped state.
===========
No more logs. MyVM is stuck in nowhere, until I stopped & started it. Then there was a Setup log:
Package KB4592440 was successfully changed to the Installed state.
Appreciate any help.

Related

While doing a restore backup with appcmd, iis crashed and cannot be fixed

My IIS was crashed - Services are not starting due to the following changes done by me in the IIS due to unaware of version migration.
I have taken the back of IIS 7.5 from Windows Server 2008 R2 using the below command
%windir%\system32\inetsrv\appcmd.exe add backup "mySite20210818"
and restored the backup in IIS 8.5 in Windows server 2019 using the below command
%windir%\system32\inetsrv\appcmd.exe restore backup "mySite20210818"
Due to the above changes the IIS is not working and also i could able to start the IIS service itself...i tried to remove the role and then added the role still its not working..
When restoring, why doesn't it say not to install version incompatible, I have to install windows server 2019 again?
Please suggest solution. I will not use appcmd backup again.
what i tried
I copied the files from "C:\inetpub\history\CFGHISTORY_0000000001" into "%windir%\system32\inetsrv\Config".
iisreset /stop
iisreset /start
iisreset /start
The IIS Management Service or the World Wide Web Publishing Service or a dependent service failed to start. The service or dependent services may have encountered an error or been disabled during startup.
iisreset /status
Status: IIS Management Service ( IISADMIN ): Stopped
Status: Windows Process Activation Service (WAS): Stopped
Status: Net.Pipe Listener Adapter ( NetPipeActivator ): Stopped
Status: Net.Tcp Listener Adapter ( NetTcpActivator ): Stopped
Status: World Wide Web Publishing Service ( W3SVC ): Stopped
Removed iis from roles and reinstalled. But it doesn't come off completely.
Regards

Transient time service already exists when restarting Gitlab on podman instance

On RHEL 8, I have a problem when restarting Gitlab instance on Podman.
Everything works fine but running command: sudo podman restart gitlab-server makes an error:
ERRO[0011] Failed to start transient timer unit: Unit 28e595d7d0812cd0e5e772db55d02d137c4179fcd4aa0527162d28b22d169ee3.service already exists.
When I list all services, I can see above service with "load failed" status.
Error is not making any problems with functionality but it is quite strange what is happening.
Thank You for any advice.

Linux Failed to start couchbase-server : timed out

Linux is installed on my server. Couchbase is not functioning well on the server, so i just try to stop and start it
service couchbase-server stop
It will take to much time and in between my server connection getting lost, after again connected to server i checked the status of couchbase
service couchbase-server status
It will telling that the couchbase-server is not running. Now i am trying to start the couchbase-server as
service couchbase-server start
But it always displaying message
Failed to start couchbase-server:timed out
There are also two crash_log.bin and crash_log_v2.bin file in my logs directory.

Deluge Windows Service

I am trying to run the DelugeD.exe as a windows service. After installing Deluge and creating the services using NSSM, I try to start the service and get the following error:
Windows could not start the Deluged service on Local Computer. The service did not return an error. This could be and internal Windows error or and internal service error. If the problem persists, contact your system administrator.
I have created the Deluge-web-debug.exe as a Windows Service and it successfully starts. When I browse to http://localhost:8112 the web client appears, however the Connection Manager shows the Deluged daemon has not started.
No error, no logs, what could be the cause?
Thanks!
I thought I would start from scratch, reinstall deluge for windows, and try again. After this it still failed.
Using nssm, the error was:
deluged: Unexpected status SERVICE_PAUSED in response to START control.
This placed the service in a perpetual Paused state.
Finally, I decided to tear down the services using nssm remove, kill any running deluge processes, then delete the Config folder where deluged was pointing.
I am certain deleting the Config folder and all files was what solved the problem, and now it starts successfully.
I think I just solved this one by checking the "Allow service to interact with desktop" box under the LogOn tab for both the Deluge daemon and the WebUI services I created with nssm:
"Allow service to interact with desktop" in services.msc

OBEngine Service missing from a fresh install of Azure Backup

I downloaded the MS Azure Recovery Agent from the portal and registered and set up the server fineI set up a quick backup job to test and when I came to run it I get the following error:
I have rebooted the server and still the same error
The service is missing so i guess that's why it won't run but I cant see or find how to get that service installed.
I would not have expected this issue from a clean install?Anyone help please?

Resources