The message says that agent is not registered... did you try to register
the agent?

Use the icm-bot to do that, or use the login window of the agent (access
from tray icon) and register the agent!

2012/4/26 刘天伟 <[email protected]>

> Hi,
>    This problem is still plaguing me. I have repeatedly checked the
> dependence environment of the icm-agent and icm-aggregator, but cannot
> get it to work. Details will be listed below.
>    when I log in the icm-agent, the icm-agent sent login message to the
> aggregator, the agent shows,
>    "[INFO] - 2012-04-26 21:17:06,152 - Sending message to aggregator at
> http://127.0.0.1:8000/api/loginagent/
>     [ERROR] - 2012-04-26 21:17:07,052 - [AggregatorAPI] - [Failure
> instance: Traceback (failure with no frames): <class
> 'twisted.web.error.Error'>: 500 Internal Server Error]
>     [ERROR] - 2012-04-26 21:17:07,052 - >>> The Aggregator had an Internal
> Error:
>     [ERROR] - 2012-04-26 21:17:07,052 - Piston/0.2.2 (Django 1.3) crash
> report:
>     Traceback (most recent call last):
>     File "/home/tianwei/dev/aggregator/api/handlers.py", line 100, in
> create
>       agent = Agent.get_agent(loginAgent.agentID)
>     File "/home/tianwei/dev/aggregator/agents/models.py", line 453, in
> get_agent
>        return Agent.objects.get(id=agent_id)
>     File "/home/tianwei/dev/aggregator/django/db/models/manager.py", line
> 132, in get
>        return self.get_query_set().get(*args, **kwargs)
>     File "/home/tianwei/dev/aggregator/django/db/models/query.py", line
> 351, in get
>        % self.model._meta.object_name)
>     DoesNotExist: Agent matching query does not exist.
>  "
> And the aggregator shows,
> "WARNING  2012-04-26 13:07:48,631 py_zipimport.py:139] Can't open zipfile
> /usr/local/lib/python2.7/dist-packages/setuptools-0.6c11-py2.7.egg:
> IOError: [Errno 13] file not accessible:
> '/usr/local/lib/python2.7/dist-packages/setuptools-0.6c11-py2.7.egg'
> WARNING  2012-04-26 13:07:48,657 dev_appserver_import_hook.py:546]
> Blocking access to skipped file
> "/home/tianwei/dev/aggregator/django/.svn/entries"
> INFO     2012-04-26 13:07:48,877 __init__.py:41] Validating models...
> DEBUG    2012-04-26 13:07:48,905 dev_appserver_import_hook.py:1497] Access
> to module file denied: /usr/local/lib/python2.7/dist-packages/Crypto
> DEBUG    2012-04-26 13:07:48,905 dev_appserver_import_hook.py:1497] Access
> to module file denied: /usr/local/lib/python2.7/dist-packages/Crypto
> INFO     2012-04-26 13:07:49,096 datastore_stub_util.py:2851] Created 46
> and deleted 0 index(es); total 46
> INFO     2012-04-26 13:07:49,149 datastore_stub_index.py:263] Updating
> /home/tianwei/dev/aggregator/index.yaml
> INFO     2012-04-26 13:07:49,171 __init__.py:51] All models validated.
> DEBUG    2012-04-26 13:07:49,313 dev_appserver_import_hook.py:1504] Could
> not import "_ctypes": Disallowed C-extension or built-in module
> INFO     2012-04-26 13:07:49,425 datastore_stub_index.py:263] Updating
> /home/tianwei/dev/aggregator/index.yaml
> INFO     2012-04-26 08:07:49,494 dev_appserver.py:2891] "POST
> /api/loginagent/ HTTP/1.0" 500 -
> "
>   Environment information:
>          ubuntu 12.04
>          GAE 1.6.5
>          Python 2.7.3
>          Twisted 12.0.0
>  I need your help, can you give me some advice to solve this problem?
> thanks a lot!
>
> tianwei
>
>
>
> 在 2012年4月26日 下午10:29,Adriano Marques <[email protected]>写道:
>
> Let us know if you managed to get it to work.
>>
>>
>> 2012/4/26 刘天伟 <[email protected]>
>>
>>> Hi Alan,
>>>     Thank you very much for your help, I'll test it again.
>>> tianwei
>>>
>>>
>>> 在 2012年4月25日 下午10:25,Zhongjie Wang <[email protected]>写道:
>>>
>>>  Hi Tianwei,
>>>>      I guess the aggregator running on your local machine won't send a
>>>> confirmation email. But it indeed has been registered successfully. You
>>>> could log in with that account. Because last time I found there's some bug
>>>> in the communication between aggregator and desktop agent due to the
>>>> frequent changes in the communication protocol. The bug has been fixed. But
>>>> if you encounter any other problems, you may contact me directly. :)
>>>>
>>>> Thanks.
>>>> Alan
>>>>
>>>> On Wed, Apr 25, 2012 at 10:02 PM, 刘天伟 <[email protected]> wrote:
>>>>
>>>>> Hi ,
>>>>>     I have a question about the aggregator register.
>>>>>     I installed icm-agent and icm-aggregator in my computer, when I
>>>>> login the icm-agent, it needs username/password, so I register in the '
>>>>> http://127.0.0.1:8000/accounts/login/', but it cannot send active
>>>>> email.  It shows 'This account is inactive.'
>>>>>     How can I active it manually? Can anybody help me?
>>>>>
>>>>> Cheers,
>>>>>
>>>>> tianwei
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Live Security Virtual Conference
>>>>> Exclusive live event will cover all the ways today's security and
>>>>> threat landscape has changed and how IT managers can respond.
>>>>> Discussions
>>>>> will include endpoint security, mobile security and the latest in
>>>>> malware
>>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>>>> _______________________________________________
>>>>> Umit-devel mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/umit-devel
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Zhongjie Wang
>>>> Master Candidate
>>>> Computer System Architecture
>>>> Peking University, China
>>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Live Security Virtual Conference
>>> Exclusive live event will cover all the ways today's security and
>>> threat landscape has changed and how IT managers can respond. Discussions
>>> will include endpoint security, mobile security and the latest in malware
>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>> _______________________________________________
>>> Umit-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/umit-devel
>>>
>>>
>>
>>
>> --
>> Adriano Monteiro Marques
>>
>> http://www.openmonitor.org
>> http://www.umitproject.org
>> http://www.thoughtspad.com
>>
>> "Don't stay in bed, unless you can make money in bed." - George Burns
>>
>>
>


-- 
Adriano Monteiro Marques

http://www.openmonitor.org
http://www.umitproject.org
http://www.thoughtspad.com

"Don't stay in bed, unless you can make money in bed." - George Burns
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Umit-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/umit-devel

Reply via email to