MutonUfoAI / pgina

pGina fork: Open Source Windows Authentication
http://mutonufoai.github.io/pgina
BSD 3-Clause "New" or "Revised" License
156 stars 39 forks source link

pGina service is not shutting down #156

Closed maheshmadhyastha7 closed 4 years ago

maheshmadhyastha7 commented 4 years ago

Hi, I am facing this when I restart the machine , the windows shows the pgina service is shutting down which will never happen. I have to revert the force stop it. Can anyone help pls?I am using pgina fork 3.9.9.12 pgina issue

MutonUfoAI commented 4 years ago

There is a log file located %ProgramFiles%\pGina.fork\log\pGina.Service.ServiceHost_log.txt

Pgina wan't shut down until all users are logged off. Pgina is doing the logoff process in the background, even if it seems so that you are already logged off, you are most likely not.

maheshmadhyastha7 commented 4 years ago

I cannot locate the log files because I am VM of Windows Server 2016. I have to revert back snapshot in order to start all over again. And the message 'Shutting down service: pGina service' never completes. Also, I dont have any logged in users in the VM except admin who can only restart the machine.

MutonUfoAI commented 4 years ago

Just mount the VM diskimage in Windows and get the log .....

maheshmadhyastha7 commented 4 years ago

M not able to mount that since its not .iso file , its ovf.

maheshmadhyastha7 commented 4 years ago

It was problem with Session change handler. I was getting Object reference error during remote session disconnect. Figured out.