normal invocation of nox_core script from build/src directory works.
-----------------------------------------------------------------------------
00001|nox|INFO:Starting nox_core
(/home/jason1/xiaoyan_full/nox/build/src/.libs/lt-nox_core)
00002|kernel|DBG:Assigned a new UUID for the container: 5331249559326836404
00003|pyrt|DBG:Loading a component description file
'nox/coreapps/pyrt/meta.json'.
00004|pyrt|DBG:Loading a component description file
'nox/coreapps/simple_c_py_app/meta.json'.
00005|pyrt|DBG:Loading a component description file
'nox/coreapps/coretests/meta.json'.
00006|pyrt|DBG:Loading a component description file
'nox/coreapps/testharness/meta.json'.
00007|pyrt|DBG:Loading a component description file
'nox/coreapps/switch/meta.json'.
00008|pyrt|DBG:Loading a component description file
'nox/coreapps/examples/meta.json'.
00009|pyrt|DBG:Loading a component description file
'nox/coreapps/examples/t/meta.json'.
00010|pyrt|DBG:Loading a component description file
'nox/coreapps/simple_c_app/meta.json'.
00011|pyrt|DBG:Loading a component description file
'nox/coreapps/messenger/meta.json'.
00012|pyrt|DBG:Loading a component description file
'nox/coreapps/snmp/meta.json'.
00013|pyrt|DBG:Loading a component description file
'nox/coreapps/hub/meta.json'.
00014|pyrt|DBG:Loading a component description file
'nox/netapps/flow_fetcher/meta.json'.
00015|pyrt|DBG:Loading a component description file
'nox/netapps/hoststate/meta.json'.
00016|pyrt|DBG:Loading a component description file
'nox/netapps/user_event_log/meta.json'.
00017|pyrt|DBG:Loading a component description file
'nox/netapps/routing/meta.json'.
00018|pyrt|DBG:Loading a component description file
'nox/netapps/discovery/meta.json'.
00019|pyrt|DBG:Loading a component description file
'nox/netapps/topology/meta.json'.
00020|pyrt|DBG:Loading a component description file
'nox/netapps/tests/meta.json'.
00021|pyrt|DBG:Loading a component description file
'nox/netapps/route/meta.json'.
00022|pyrt|DBG:Loading a component description file
'nox/netapps/networkstate/meta.json'.
00023|pyrt|DBG:Loading a component description file
'nox/netapps/tablog/meta.json'.
00024|pyrt|DBG:Loading a component description file
'nox/netapps/data/meta.json'.
00025|pyrt|DBG:Loading a component description file
'nox/netapps/bindings_storage/meta.json'.
00026|pyrt|DBG:Loading a component description file
'nox/netapps/bindings_storage/t/meta.json'.
00027|pyrt|DBG:Loading a component description file
'nox/netapps/switch_management/meta.json'.
00028|pyrt|DBG:Loading a component description file
'nox/netapps/lavi/meta.json'.
00029|pyrt|DBG:Loading a component description file
'nox/netapps/switchstats/meta.json'.
00030|pyrt|DBG:Loading a component description file
'nox/netapps/authenticator/meta.json'.
00031|pyrt|DBG:Loading a component description file
'nox/netapps/vcluster/meta.json'.
00032|pyrt|DBG:Loading a component description file
'nox/netapps/storage/meta.json'.
00033|pyrt|DBG:Loading a component description file
'nox/netapps/storage/t/meta.json'.
00034|pyrt|DBG:Loading a component description file
'nox/webapps/miscws/meta.json'.
00035|pyrt|DBG:Loading a component description file
'nox/webapps/webservice/meta.json'.
00036|pyrt|DBG:Loading a component description file
'nox/webapps/webserver/meta.json'.
00037|vcluster|DBG: Configure called
00038|vcluster|DBG: Install called
pthread started...
00039|pycomponent|DBG:Importing Python module nox.coreapps.examples.packetdump
00040|pycomponent|DBG:Importing Python module
nox.coreapps.examples.virtualcluster
Installing Virtual Cluster module
00041|nox|DBG:Application installation report:
00043|nox|DBG:python:
Current state: INSTALLED
Required state: INSTALLED
Dependencies:
00044|nox|DBG:built-in DSO deployer:
Current state: INSTALLED
Required state: INSTALLED
Dependencies:
00045|nox|DBG:packetdump:
Current state: INSTALLED
Required state: INSTALLED
Dependencies: 'python' OK, 'python' OK
00046|nox|DBG:virtual_cluster:
Current state: INSTALLED
Required state: INSTALLED
Dependencies: 'python' OK, 'python' OK
00047|nox|DBG:built-in event dispatcher:
Current state: INSTALLED
Required state: INSTALLED
Dependencies:
00048|openflow|DBG:Passive tcp interface bound to port 6633
00049|nox|INFO:nox bootstrap complete
Listening...
00050|openflow|DBG:Passive tcp interface received connection
00051|openflow|DBG:stream: negotiated OpenFlow version 0x01 (we
support versions 0x01 to 0x01 inclusive, peer no later than version
0x01)
00052|nox|DBG:Success sending in 'sending switch config'
00053|nox|DBG:Success sending in 'receiving features reply'
00054|nox|DBG:Success receiving in 'receiving features reply'
00055|nox|DBG:Success sending in 'receiving ofmp capability reply'
00056|nox|DBG:Success receiving in 'receiving ofmp capability reply'
00057|nox|DBG:Datapath 1c7508680b5b sent error in response to
capability reply, assuming no management support
00058|nox|DBG:No switch auth module registered, auto-approving switch
00059|nox|DBG:Registering switch with DPID = 1c7508680b5b
00062|openflow-event|DBG:received echo-request event from 1c7508680b5b (len:0)
--------------------------------------------------------------------------
direct invocation of nox_core binary from build/src/.libs/nox_core
does not work:
-----------------------------------------------------------------------------
./nox_core: error while loading shared libraries: libbuiltin.so.0:
cannot open shared object file: No such file or directory
-----------------------------------------------------------------------------
Thanks!
Yimin
On Wed, May 9, 2012 at 3:35 AM, Amin Tootoonchian <[email protected]> wrote:
> Does normal invocation of nox_core work? If so, can you report the
> output of "file nox_core"?
>
> Amin
>
> On Mon, May 7, 2012 at 11:44 PM, YIMIN CHEN <[email protected]> wrote:
>> Hi Amin,
>>
>> Is there some special steps needed to build lt-nox_core? I did a clean
>> build, now can not find lt-nox_core in .libs anymore.
>>
>>
>> Thanks!
>> Yimin
>>
>>>> -----Original Message-----
>>>> From: [email protected]
>>>> [mailto:[email protected]] On Behalf Of Amin Tootoonchian
>>>> Sent: Monday, May 07, 2012 2:49 PM
>>>> To: YIMIN CHEN
>>>> Cc: [email protected]
>>>> Subject: Re: [nox-dev] gdb nox controller?
>>>>
>>>> Does this work for you? gdb .libs/lt-nox_core
>>>>
>>>> Amin
>>>>
>>>> On Mon, May 7, 2012 at 2:01 AM, YIMIN CHEN <[email protected]> wrote:
>>>>> Hi,
>>>>>
>>>>> I am new to NOX dev, and currently doing some debug on the nox code.
>>>>> Is there a way to nox controller in gdb instead of using nox_core
>>>>> script? nox_core sets up the environments before invoking nox, do I
>>>>> have to manually setup all these before I can gdb nox?
>>>>>
>>>>>
>>>>> Thanks!
>>>>> Yimin