Ok,

This is a long shot (especially considering I haven't read the log dump
below) but I was getting this problem before. The issue that I was related
to DNS lookups. Say the executor is on a machine named "Bob" but the entry
in the DNS table for "Bob" was not the same IP address assigned to the
actual machine... this can cause issues with connections.

In my case it was that there where some mismatches between the names being
assigned to computers from the DHCP server and those that where recorded in
the DNS server... some machines had been forgotten about over time and the
admin team didn't have the auto-update between the DNS server and the DHCP
server setup correctly.

Anyway, the solution I used (while the admin team where sorting out the dns
server) was to manually put an entry in the hosts file on the server where
the manager was (hosts file is in: "c:\windows\system32\drivers\etc\") to
prevent the machine from going to the DNS server when the manager tried to
do a lookup on the name of the executor that had connected.

Weird situation, and chances are it is not what is happening to you, but I
said I'd reply... just in case.

Brian



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
metasharp
Sent: 14 February 2006 14:23
To: [email protected]
Subject: [Alchemi-developers] [alchemi 1.02] can't connect executor to
manager

Here's what I get:


2006-02-14 14:10:39,062 [1676] INFO  [(null)]
[{log4net:HostName=x157972}] - Attempting to start Manager...

2006-02-14 14:10:39,093 [1676] INFO  [(null)]
[{log4net:HostName=x157972}] - app name == Alchemi.ManagerExec.exe

2006-02-14 14:10:39,109 [1676] DEBUG [(null)]
[{log4net:HostName=x157972}] - ManagerContainer:Start():0 -
Configuring remoting

2006-02-14 14:10:39,109 [1676] INFO  [(null)]
[{log4net:HostName=x157972}] - Configuring remoting

2006-02-14 14:10:39,125 [1676] DEBUG [(null)]
[{log4net:HostName=x157972}] - ManagerContainer:Start():0 -
Registering tcp channel on port: 9000

2006-02-14 14:10:39,140 [1676] INFO  [(null)]
[{log4net:HostName=x157972}] - Registered tcp channel on port: 9000

2006-02-14 14:10:39,140 [1676] DEBUG [(null)]
[{log4net:HostName=x157972}] - ManagerContainer:Start():0 -
Registering well known service type

2006-02-14 14:10:39,140 [1676] DEBUG [(null)]
[{log4net:HostName=x157972}] - ManagerContainer:Start():0 -
datadir=D:\Program Files\Alchemi\Manager\dat

2006-02-14 14:10:39,140 [1676] INFO  [(null)]
[{log4net:HostName=x157972}] - Initialising a new scheduler

2006-02-14 14:10:39,140 [1676] DEBUG [(null)]
[{log4net:HostName=x157972}] - ManagerContainer:Start():0 -
Initialising a new scheduler

2006-02-14 14:10:39,140 [1676] DEBUG [(null)]
[{log4net:HostName=x157972}] - ManagerContainer:Start():0 -
Configuring internal shared class...

2006-02-14 14:10:39,234 [1676] DEBUG [(null)]
[{log4net:HostName=x157972}] - ManagerContainer:Start():0 -
Initialising scheduler - done

2006-02-14 14:10:39,234 [1676] DEBUG [(null)]
[{log4net:HostName=x157972}] - ManagerContainer:Start():0 - Starting
scheduler thread

2006-02-14 14:10:39,234 [1676] INFO  [(null)]
[{log4net:HostName=x157972}] - Starting scheduler thread

2006-02-14 14:10:39,234 [1676] INFO  [(null)]
[{log4net:HostName=x157972}] - Starting watchdog thread

2006-02-14 14:10:39,234 [1676] INFO  [(null)]
[{log4net:HostName=x157972}] - Starting watchdog thread

2006-02-14 14:10:39,234 [1676] INFO  [(null)]
[{log4net:HostName=x157972}] - Updating configuration

2006-02-14 14:10:39,234 [1676] INFO  [(null)]
[{log4net:HostName=x157972}] - Started Manager

2006-02-14 14:10:39,250 [1676] INFO  [(null)]
[{log4net:HostName=x157972}] - Manager started

2006-02-14 14:10:39,250 [384] INFO  [(null)]
[{log4net:HostName=x157972}] - Scheduler thread started.

2006-02-14 14:10:39,250 [648] INFO  [(null)]
[{log4net:HostName=x157972}] - WatchDog thread started.

2006-02-14 14:10:39,250 [476] INFO  [(null)]
[{log4net:HostName=x157972}] - Initialising known executors...

2006-02-14 14:10:39,250 [476] DEBUG [(null)]
[{log4net:HostName=x157972}] - MExecutorCollection:Init():0 - Init-ing
executor collection from db

2006-02-14 14:10:39,265 [476] DEBUG [(null)]
[{log4net:HostName=x157972}] - MExecutorCollection:Init():0 - # of
dedicated executors = 0

2006-02-14 14:10:39,265 [476] DEBUG [(null)]
[{log4net:HostName=x157972}] - MExecutorCollection:Init():0 - Executor
collection init done

2006-02-14 14:10:39,265 [476] INFO  [(null)]
[{log4net:HostName=x157972}] - Initialising known executors...done

2006-02-14 14:10:43,812 [1300] DEBUG [(null)]
[{log4net:HostName=x157972}] - GManager:PingManager():0 - Manager
pinged successfully.

2006-02-14 14:10:43,859 [1300] DEBUG [(null)]
[{log4net:HostName=x157972}] - GManager:PingManager():0 - Manager
pinged successfully.

2006-02-14 14:10:46,484 [1300] DEBUG [(null)]
[{log4net:HostName=x157972}] -
GManager:Admon_GetLiveApplicationList():0 - Getting list of live
applications.

2006-02-14 14:10:54,843 [1300] DEBUG [(null)]
[{log4net:HostName=x157972}] - GManager:PingManager():0 - Manager
pinged successfully.

2006-02-14 14:10:54,875 [1300] DEBUG [(null)]
[{log4net:HostName=x157972}] - MExecutor:VerifyExists():0 - Checking
if executor : exists in db

2006-02-14 14:10:54,875 [1300] ERROR [(null)]
[{log4net:HostName=x157972}] - Executor : invalid id?

System.Data.SqlClient.SqlException: Erreur de syntaxe lors de la
conversion d'une chaîne de caractères en uniqueidentifier.
   at System.Data.SqlClient.SqlDataReader.Read()
   at
Alchemi.Manager.Storage.GenericManagerDatabaseStorage.DecodeExecutorFromData
Reader(IDataReader
dataReader)
   at
Alchemi.Manager.Storage.GenericManagerDatabaseStorage.GetExecutor(String
executorId)
   at Alchemi.Manager.MExecutor.VerifyExists(RemoteEndPoint ep)
2006-02-14 14:11:18,156 [1592] DEBUG [(null)]
[{log4net:HostName=x157972}] - GManager:PingManager():0 - Manager
pinged successfully.

2006-02-14 14:11:18,171 [1592] DEBUG [(null)]
[{log4net:HostName=x157972}] - MExecutor:VerifyExists():0 - Checking
if executor : exists in db

2006-02-14 14:11:18,171 [1592] ERROR [(null)]
[{log4net:HostName=x157972}] - Executor : invalid id?

System.Data.SqlClient.SqlException: Erreur de syntaxe lors de la
conversion d'une chaîne de caractères en uniqueidentifier.
   at System.Data.SqlClient.SqlDataReader.Read()
   at
Alchemi.Manager.Storage.GenericManagerDatabaseStorage.DecodeExecutorFromData
Reader(IDataReader
dataReader)
   at
Alchemi.Manager.Storage.GenericManagerDatabaseStorage.GetExecutor(String
executorId)
   at Alchemi.Manager.MExecutor.VerifyExists(RemoteEndPoint ep)
2006-02-14 14:12:15,531 [1300] DEBUG [(null)]
[{log4net:HostName=x157972}] - GManager:PingManager():0 - Manager
pinged successfully.

2006-02-14 14:14:53,453 [1300] DEBUG [(null)]
[{log4net:HostName=x157972}] - GManager:PingManager():0 - Manager
pinged successfully.

2006-02-14 14:14:53,796 [1300] DEBUG [(null)]
[{log4net:HostName=x157972}] - MExecutor:VerifyExists():0 - Checking
if executor : exists in db

2006-02-14 14:14:53,812 [1300] ERROR [(null)]
[{log4net:HostName=x157972}] - Executor : invalid id?

System.Data.SqlClient.SqlException: Erreur de syntaxe lors de la
conversion d'une chaîne de caractères en uniqueidentifier.
   at System.Data.SqlClient.SqlDataReader.Read()
   at
Alchemi.Manager.Storage.GenericManagerDatabaseStorage.DecodeExecutorFromData
Reader(IDataReader
dataReader)
   at
Alchemi.Manager.Storage.GenericManagerDatabaseStorage.GetExecutor(String
executorId)
   at Alchemi.Manager.MExecutor.VerifyExists(RemoteEndPoint ep)
2006-02-14 14:18:38,937 [1300] DEBUG [(null)]
[{log4net:HostName=x157972}] - GManager:PingManager():0 - Manager
pinged successfully.

2006-02-14 14:18:43,968 [1300] DEBUG [(null)]
[{log4net:HostName=x157972}] - MExecutor:VerifyExists():0 - Checking
if executor : exists in db

2006-02-14 14:18:43,984 [1300] ERROR [(null)]
[{log4net:HostName=x157972}] - Executor : invalid id?

System.Data.SqlClient.SqlException: Erreur de syntaxe lors de la
conversion d'une chaîne de caractères en uniqueidentifier.
   at System.Data.SqlClient.SqlDataReader.Read()
   at
Alchemi.Manager.Storage.GenericManagerDatabaseStorage.DecodeExecutorFromData
Reader(IDataReader
dataReader)
   at
Alchemi.Manager.Storage.GenericManagerDatabaseStorage.GetExecutor(String
executorId)
   at Alchemi.Manager.MExecutor.VerifyExists(RemoteEndPoint ep)
2006-02-14 14:19:41,718 [1300] DEBUG [(null)]
[{log4net:HostName=x157972}] - GManager:PingManager():0 - Manager
pinged successfully.

2006-02-14 14:19:51,625 [1300] DEBUG [(null)]
[{log4net:HostName=x157972}] - GManager:PingManager():0 - Manager
pinged successfully.

2006-02-14 14:20:56,343 [1300] DEBUG [(null)]
[{log4net:HostName=x157972}] - GManager:PingManager():0 - Manager
pinged successfully.

2006-02-14 14:22:01,500 [1300] DEBUG [(null)]
[{log4net:HostName=x157972}] - GManager:PingManager():0 - Manager
pinged successfully.

2006-02-14 14:22:06,687 [1960] DEBUG [(null)]
[{log4net:HostName=x157972}] - GManager:PingManager():0 - Manager
pinged successfully.

2006-02-14 14:22:06,703 [1960] DEBUG [(null)]
[{log4net:HostName=x157972}] - GManager:PingManager():0 - Manager
pinged successfully.

2006-02-14 14:22:24,093 [1960] DEBUG [(null)]
[{log4net:HostName=x157972}] - GManager:PingManager():0 - Manager
pinged successfully.

2006-02-14 14:23:43,593 [1300] DEBUG [(null)]
[{log4net:HostName=x157972}] - GManager:PingManager():0 - Manager
pinged successfully.

2006-02-14 14:24:04,078 [1300] DEBUG [(null)]
[{log4net:HostName=x157972}] - GManager:PingManager():0 - Manager
pinged successfully.

2006-02-14 14:25:32,203 [1300] DEBUG [(null)]
[{log4net:HostName=x157972}] - GManager:PingManager():0 - Manager
pinged successfully.

2006-02-14 14:25:50,359 [1300] DEBUG [(null)]
[{log4net:HostName=x157972}] - GManager:PingManager():0 - Manager
pinged successfully.

2006-02-14 14:25:55,828 [1300] DEBUG [(null)]
[{log4net:HostName=x157972}] - GManager:PingManager():0 - Manager
pinged successfully.

2006-02-14 14:26:22,671 [908] DEBUG [(null)]
[{log4net:HostName=x157972}] - GManager:PingManager():0 - Manager
pinged successfully.

2006-02-14 14:27:40,781 [1300] DEBUG [(null)]
[{log4net:HostName=x157972}] - GManager:PingManager():0 - Manager
pinged successfully.

2006-02-14 14:28:01,312 [560] DEBUG [(null)]
[{log4net:HostName=x157972}] - GManager:PingManager():0 - Manager
pinged successfully.

2006-02-14 14:55:29,671 [1676] INFO  [(null)]
[{log4net:HostName=x157972}] - Stopping Manager...

2006-02-14 14:55:29,687 [1676] INFO  [(null)]
[{log4net:HostName=x157972}] - Stopping init-executors thread...

2006-02-14 14:55:29,687 [1676] INFO  [(null)]
[{log4net:HostName=x157972}] - Stopping the scheduler thread...

2006-02-14 14:55:29,687 [384] DEBUG [(null)]
[{log4net:HostName=x157972}] - ManagerContainer:ScheduleDedicated():0
- Scheduler Thread resetting abort (1)...

2006-02-14 14:55:29,703 [384] INFO  [(null)]
[{log4net:HostName=x157972}] - Scheduler thread exited.

2006-02-14 14:55:29,703 [1676] INFO  [(null)]
[{log4net:HostName=x157972}] - Stopping the watchdog thread...

2006-02-14 14:55:29,703 [648] DEBUG [(null)]
[{log4net:HostName=x157972}] - ManagerContainer:Watchdog():0 -
Watchdog thread aborting...

2006-02-14 14:55:29,703 [648] INFO  [(null)]
[{log4net:HostName=x157972}] - WatchDog thread exited.

2006-02-14 14:55:29,703 [1676] INFO  [(null)]
[{log4net:HostName=x157972}] - Cleaning up all apps...

2006-02-14 14:55:29,703 [1676] DEBUG [(null)]
[{log4net:HostName=x157972}] - ManagerContainer:CleanUpApps():0 -
Cleaning up all apps before disconnect...

2006-02-14 14:55:29,703 [1676] DEBUG [(null)]
[{log4net:HostName=x157972}] - ManagerContainer:CleanUpApps():0 -
Clean up all apps done.

2006-02-14 14:55:29,703 [1676] INFO  [(null)]
[{log4net:HostName=x157972}] - Unregistering the remoting channel...

2006-02-14 14:55:29,703 [1676] INFO  [(null)]
[{log4net:HostName=x157972}] - Manager stopped.



--
MetaSharp


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642
_______________________________________________
Alchemi-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alchemi-developers




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Alchemi-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alchemi-developers

Reply via email to