Author Topic: Deployment Error. Unknown Error  (Read 19562 times)

Offline Tim B.

  • CESMUser
  • Newbie
  • *
  • Posts: 17
Re: Deployment Error. Unknown Error
« Reply #15 on: January 16, 2012, 09:26:08 AM »
w-e-v, currently ESM Server uses the same deployment mechanism for both local and remote deployment types. So it's an expected behaviour.

Offline w-e-v

  • Star Group
  • Comodo's Hero
  • *****
  • Posts: 1353
  • BETA FORCE MEMBER
Re: Deployment Error. Unknown Error
« Reply #16 on: January 16, 2012, 09:38:47 AM »
Thank you Tim.

So what do I do now?
Should I type something else, instead of "admin$" (maybe the real Administrator username of each PC) in order to receive a prompt to enter the password?

If you read again the answers I get in the console, these are:
The network path was not found

Offline shan77

  • Newbie
  • *
  • Posts: 18
Re: Deployment Error. Unknown Error
« Reply #17 on: January 16, 2012, 09:48:20 AM »
So what do I do now?
Should I type something else, instead of "admin$" (maybe the real Administrator username of each PC) in order to receive a prompt to enter the password?

If you read again the answers I get in the console, these are:
The network path was not found

My 2nd problem is exactly the same...but the ping cmd is working...

Offline shan77

  • Newbie
  • *
  • Posts: 18
Re: Deployment Error. Unknown Error
« Reply #18 on: January 17, 2012, 04:22:08 AM »
w-e-v:
the query: \\IPadress\admin$ isn't working, when you run it from command prompt.
it works only from windows explorer (windows key+E)
on the remote pc, it must have an administrator user (f.e: WEV)
So, I already can reach the pcs.

I think under deployment menu--->credentials, you must provide that administrator user and its password.

greetings

Offline w-e-v

  • Star Group
  • Comodo's Hero
  • *****
  • Posts: 1353
  • BETA FORCE MEMBER
Re: Deployment Error. Unknown Error
« Reply #19 on: January 18, 2012, 12:21:47 PM »
Shan77:

Thank you for your message.
I run the query in Windows Explorer.
And the PCs are reached. We input the Admin User and Admin Password and everything works fine.

However, the Deployment Error (1222) its always there with ESM 2.0


How did you fix it?
Maybe Tim from COMODO can recommend something else?

Offline shan77

  • Newbie
  • *
  • Posts: 18
Re: Deployment Error. Unknown Error
« Reply #20 on: January 18, 2012, 01:47:17 PM »
Not at all!
Unfortunately I couldn't fix it. Yet...;)
I think the problem of ours is, that on our PCs the users log in as Guest. I found clues, that ESM is trying to install as guest user, because there are a deployment folder in document and settings -> Guest -> Temp directory.
But i will not give up, the problem must be solved.  ;)




Shan77:

Thank you for your message.
I run the query in Windows Explorer.
And the PCs are reached. We input the Admin User and Admin Password and everything works fine.

However, the Deployment Error (1222) its always there with ESM 2.0


How did you fix it?
Maybe Tim from COMODO can recommend something else?

Offline w-e-v

  • Star Group
  • Comodo's Hero
  • *****
  • Posts: 1353
  • BETA FORCE MEMBER
Re: Deployment Error. Unknown Error
« Reply #21 on: January 19, 2012, 07:59:17 AM »
But i will not give up, the problem must be solved.  ;)

Hope you can solve the problem. To be honest, I dont know where to go with this issue or what other things I can keep trying.

But I think COMODO should be able to help us solving this problem.
A couple of days are gone since their last reply, and we are still experiencing the same problem.

Offline Tim B.

  • CESMUser
  • Newbie
  • *
  • Posts: 17
Re: Deployment Error. Unknown Error
« Reply #22 on: January 19, 2012, 10:05:13 AM »
Guys, thank you for your personal interest in this ESM functionality and sorry for so long silence from my side.

Unfortunately ESM Agent deployment may be quite unstable because it depends on Windows sharing feature which works very differently on different machines, a lot of things are hidden in registry and security configurations.

As I understood you both have passed \\target\\admin$ share access test from ESM server machine (remote target \WINDOWS folder content opened), but ESM anyway fails to deploy with 1222 error? Correct?
« Last Edit: January 19, 2012, 12:28:36 PM by Tim B. »

Offline shan77

  • Newbie
  • *
  • Posts: 18
Re: Deployment Error. Unknown Error
« Reply #23 on: January 19, 2012, 02:53:51 PM »
Hi Tim!
Exactly what we are talking about.
Let us also add, not only agent deploying, but CIS updating via ESM is quite unstable too...:(
« Last Edit: January 19, 2012, 02:57:23 PM by shan77 »

Offline w-e-v

  • Star Group
  • Comodo's Hero
  • *****
  • Posts: 1353
  • BETA FORCE MEMBER
Re: Deployment Error. Unknown Error
« Reply #24 on: January 19, 2012, 06:14:21 PM »
Thank you Tim for your interest and time.
Yes, we are confirming that what you explained is exactly what is happening to us both.

Regards,

Offline Tim B.

  • CESMUser
  • Newbie
  • *
  • Posts: 17
Re: Deployment Error. Unknown Error
« Reply #25 on: January 23, 2012, 02:07:04 PM »
Hi guys,

Thank you for your patience. I have prepared a small tool - a recipe program that tests different types of connections to remote endpoints.
It is attached to this post as ZIP archive. Download it and extract archive's content to any place on ESM server machine. The recipe is a console program that should be run under admin privileges. So run Command Prompt (cmd.exe) as administrator and navigate to the recipe folder (using cd command). Then run the following command:

Code: [Select]
EsmRemoteRecipe remote_host [-l login -p password]
Where:
remote_host - Remote target name or IP address.
login - Remote admin user's login.
password - Remote admin user's password.

For example:
Code: [Select]
EsmRemoteRecipe 192.168.1.10 -l tim -p password
Login with password may be skipped, in this case they will be prompted later.

The recipe starts to test connections. It writes tests results data to console and to recipe.log file located where EsmRemoteRecipe.exe is placed. Note that tests execution may take some time.

Please test issued endpoints and those endpoints which are accessible by ESM normally. Post here your log files that I could investigate them.

Looking forward to hearing any feedback from you!

Offline shan77

  • Newbie
  • *
  • Posts: 18
Re: Deployment Error. Unknown Error
« Reply #26 on: January 24, 2012, 03:30:06 AM »
Thanks Tim!
We will try it soon..

Offline Radu Georghiu

  • MSP Group
  • Newbie
  • *
  • Posts: 16
Re: Deployment Error. Unknown Error
« Reply #27 on: January 24, 2012, 05:09:23 PM »
Hi, Same error 1222
First endpoint is actually the server
Second is a Virtual machine

recipe log
DSC: Host: 192.168.0.146
DSC: Login: Ranny
DSC: Using LOGON32_LOGON_NETWORK
DSC: Connection FAILED using LOGON32_LOGON_NETWORK. Error:
System.DllNotFoundException: Unable to load DLL 'mpr.dll': Exception from HRESULT: 0x8007007E
   at NetworkHelper.WNetAddConnection2(NETRESOURCE& netResource, String password, String username, Int32 flags)
   at NetworkHelper.GrantNetworkAccessToRemoteComputer(String userName, String password, String remotePath, Boolean impersonateAsNetworkService)
   at EsmRemoteRecipe.DescentHelperRecipe.TryLogin(Boolean impersonateAsNetworkService, String login)
   at EsmRemoteRecipe.DescentHelperRecipe.TryAlternativeLogin1(Boolean impersonateAsNetworkService)
   at EsmRemoteRecipe.DescentHelperRecipe.InitializeInternal(Boolean impersonateAsNetworkService)
   at EsmRemoteRecipe.DescentHelperRecipe.InitWithHostName(Boolean impersonateAsNetworkService)
   at EsmRemoteRecipe.DescentHelperRecipe.Init(Boolean impersonateAsNetworkService)
   at EsmRemoteRecipe.DescentHelperRecipe.Init()
   at EsmRemoteRecipe.Program.Test(Args args)
DSC: Using LOGON32_LOGON_SERVICE
  DSC: Conct SUCC (NSV \\192.168.0.146\ADMIN$   192.168.0.146\Ranny err: 0)
DSC: Connection SUCCEEDED using LOGON32_LOGON_SERVICE

DSC: Host: 10.0.2.15
DSC: Login: Ranny
DSC: Using LOGON32_LOGON_NETWORK
DSC: Connection FAILED using LOGON32_LOGON_NETWORK. Error:
System.DllNotFoundException: Unable to load DLL 'mpr.dll': Exception from HRESULT: 0x8007007E
   at NetworkHelper.WNetAddConnection2(NETRESOURCE& netResource, String password, String username, Int32 flags)
   at NetworkHelper.GrantNetworkAccessToRemoteComputer(String userName, String password, String remotePath, Boolean impersonateAsNetworkService)
   at EsmRemoteRecipe.DescentHelperRecipe.TryLogin(Boolean impersonateAsNetworkService, String login)
   at EsmRemoteRecipe.DescentHelperRecipe.TryAlternativeLogin1(Boolean impersonateAsNetworkService)
   at EsmRemoteRecipe.DescentHelperRecipe.InitializeInternal(Boolean impersonateAsNetworkService)
   at EsmRemoteRecipe.DescentHelperRecipe.InitWithHostName(Boolean impersonateAsNetworkService)
   at EsmRemoteRecipe.DescentHelperRecipe.Init(Boolean impersonateAsNetworkService)
   at EsmRemoteRecipe.DescentHelperRecipe.Init()
   at EsmRemoteRecipe.Program.Test(Args args)
DSC: Using LOGON32_LOGON_SERVICE

Offline Tim B.

  • CESMUser
  • Newbie
  • *
  • Posts: 17
Re: Deployment Error. Unknown Error
« Reply #28 on: January 25, 2012, 07:00:34 AM »
Hi runnyme!

Thanks for diagnostics! It surely will help us to resolve the issue. It looks like the last machine's (10.0.2.15) log is truncated. Because nothing goes after
Quote
DSC: Using LOGON32_LOGON_SERVICE

I may guess it finishes the same way as 192.168.0.146 log, right?

Offline shan77

  • Newbie
  • *
  • Posts: 18
Re: Deployment Error. Unknown Error
« Reply #29 on: January 25, 2012, 10:48:33 AM »
Hi Tim!

Our recipes: ... attached

 

Seo4Smf 2.0 © SmfMod.Com Smf Destek