Advertisement
Guest User

Untitled

a guest
May 23rd, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.63 KB | None | 0 0
  1. top-Service : Service 'nginx (NGINX)' cannot be stopped due to the following error: Cannot open
  2. NGINX service on computer '.'.
  3. At Z:\Software\Emby\scripts\nGinxUpdateIPs.ps1:5 char:1
  4. + Stop-Service nginx # shutting down the nginx service
  5. + ~~~~~~~~~~~~~~~~~~
  6. + CategoryInfo : CloseError: (System.ServiceProcess.ServiceController:ServiceControl
  7. ler) [Stop-Service], ServiceCommandException
  8. + FullyQualifiedErrorId : CouldNotStopService,Microsoft.PowerShell.Commands.StopServiceComman
  9. d
  10.  
  11. Get-Content : Access is denied
  12. At Z:\Software\Emby\scripts\nGinxUpdateIPs.ps1:9 char:18
  13. + ForEach($Line in Get-Content $Errorlog)
  14. + ~~~~~~~~~~~~~~~~~~~~~
  15. + CategoryInfo : PermissionDenied: (C:\nginx\logs\error.log:String) [Get-Content], U
  16. nauthorizedAccessException
  17. + FullyQualifiedErrorId : ItemExistsUnauthorizedAccessError,Microsoft.PowerShell.Commands.Get
  18. ContentCommand
  19.  
  20. Get-Content : Cannot find path 'C:\nginx\logs\error.log' because it does not exist.
  21. At Z:\Software\Emby\scripts\nGinxUpdateIPs.ps1:9 char:18
  22. + ForEach($Line in Get-Content $Errorlog)
  23. + ~~~~~~~~~~~~~~~~~~~~~
  24. + CategoryInfo : ObjectNotFound: (C:\nginx\logs\error.log:String) [Get-Content], Ite
  25. mNotFoundException
  26. + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand
  27.  
  28. Remove-Item : Access is denied
  29. At Z:\Software\Emby\scripts\nGinxUpdateIPs.ps1:23 char:1
  30. + Remove-Item $ErrorLog
  31. + ~~~~~~~~~~~~~~~~~~~~~
  32. + CategoryInfo : PermissionDenied: (C:\nginx\logs\error.log:String) [Remove-Item], U
  33. nauthorizedAccessException
  34. + FullyQualifiedErrorId : ItemExistsUnauthorizedAccessError,Microsoft.PowerShell.Commands.Rem
  35. oveItemCommand
  36.  
  37. Remove-Item : Cannot find path 'C:\nginx\logs\error.log' because it does not exist.
  38. At Z:\Software\Emby\scripts\nGinxUpdateIPs.ps1:23 char:1
  39. + Remove-Item $ErrorLog
  40. + ~~~~~~~~~~~~~~~~~~~~~
  41. + CategoryInfo : ObjectNotFound: (C:\nginx\logs\error.log:String) [Remove-Item], Ite
  42. mNotFoundException
  43. + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
  44.  
  45. Start-Service : Service 'nginx (NGINX)' cannot be started due to the following error: Cannot open
  46. NGINX service on computer '.'.
  47. At Z:\Software\Emby\scripts\nGinxUpdateIPs.ps1:26 char:1
  48. + Start-Service nginx
  49. + ~~~~~~~~~~~~~~~~~~~
  50. + CategoryInfo : OpenError: (System.ServiceProcess.ServiceController:ServiceControll
  51. er) [Start-Service], ServiceCommandException
  52. + FullyQualifiedErrorId : CouldNotStartService,Microsoft.PowerShell.Commands.StartServiceComm
  53. and
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement