Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- top-Service : Service 'nginx (NGINX)' cannot be stopped due to the following error: Cannot open
- NGINX service on computer '.'.
- At Z:\Software\Emby\scripts\nGinxUpdateIPs.ps1:5 char:1
- + Stop-Service nginx # shutting down the nginx service
- + ~~~~~~~~~~~~~~~~~~
- + CategoryInfo : CloseError: (System.ServiceProcess.ServiceController:ServiceControl
- ler) [Stop-Service], ServiceCommandException
- + FullyQualifiedErrorId : CouldNotStopService,Microsoft.PowerShell.Commands.StopServiceComman
- d
- Get-Content : Access is denied
- At Z:\Software\Emby\scripts\nGinxUpdateIPs.ps1:9 char:18
- + ForEach($Line in Get-Content $Errorlog)
- + ~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : PermissionDenied: (C:\nginx\logs\error.log:String) [Get-Content], U
- nauthorizedAccessException
- + FullyQualifiedErrorId : ItemExistsUnauthorizedAccessError,Microsoft.PowerShell.Commands.Get
- ContentCommand
- Get-Content : Cannot find path 'C:\nginx\logs\error.log' because it does not exist.
- At Z:\Software\Emby\scripts\nGinxUpdateIPs.ps1:9 char:18
- + ForEach($Line in Get-Content $Errorlog)
- + ~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : ObjectNotFound: (C:\nginx\logs\error.log:String) [Get-Content], Ite
- mNotFoundException
- + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand
- Remove-Item : Access is denied
- At Z:\Software\Emby\scripts\nGinxUpdateIPs.ps1:23 char:1
- + Remove-Item $ErrorLog
- + ~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : PermissionDenied: (C:\nginx\logs\error.log:String) [Remove-Item], U
- nauthorizedAccessException
- + FullyQualifiedErrorId : ItemExistsUnauthorizedAccessError,Microsoft.PowerShell.Commands.Rem
- oveItemCommand
- Remove-Item : Cannot find path 'C:\nginx\logs\error.log' because it does not exist.
- At Z:\Software\Emby\scripts\nGinxUpdateIPs.ps1:23 char:1
- + Remove-Item $ErrorLog
- + ~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : ObjectNotFound: (C:\nginx\logs\error.log:String) [Remove-Item], Ite
- mNotFoundException
- + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
- Start-Service : Service 'nginx (NGINX)' cannot be started due to the following error: Cannot open
- NGINX service on computer '.'.
- At Z:\Software\Emby\scripts\nGinxUpdateIPs.ps1:26 char:1
- + Start-Service nginx
- + ~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : OpenError: (System.ServiceProcess.ServiceController:ServiceControll
- er) [Start-Service], ServiceCommandException
- + FullyQualifiedErrorId : CouldNotStartService,Microsoft.PowerShell.Commands.StartServiceComm
- and
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement