Community


All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: nrservice hangs on startup
PostPosted: Thu Jan 06, 2011 4:24 pm 
Offline

Joined: Thu Jan 06, 2011 3:36 pm
Posts: 1
Hello,

I installed NeoRouter on my ubuntu 10.10 Laptop.
But except a few times, I couldn't coax it into setting up a connection. I suspect the problem is nrservice, which hangs on startup:

Quote:
root:~# nrservice
NeoRouter Free [Version 1.1.4.2330]
Copyright (C) 2010 NeoRouter Inc.



---
this is on a fresh-started system running with linux 2.6.37-020637rc2-generic an without nrservice nor nrserver running previously (I disabled the service's auto-start)

I created a Log.ini in /usr/local/ZebraNetworkSystems/NeoRouter/:
Quote:
[Default]
Mask=4294967295
Type=1
Path=/var/log/neorouter/


One time it worked, and nrservice printed out some output from ipconfig, an error message and usage information. Unfortunately I didn't save this output (because it worked). That time, a "nrtap" network adapter was added, which doesn't happen now.


Quote:
:~$ ifconfig
eth0 Link encap:Ethernet Hardware Adresse 88:ae:1d:35:c2:c1
UP BROADCAST MULTICAST MTU:1500 Metrik:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:40 Basisadresse:0xe000

eth1 Link encap:Ethernet Hardware Adresse 00:26:82:b0:3a:0a
inet Adresse:192.168.178.20 Bcast:192.168.178.255 Maske:255.255.255.0
inet6-Adresse: fe80::226:82ff:feb0:3a0a/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1
RX packets:961 errors:0 dropped:0 overruns:0 frame:852
TX packets:825 errors:16 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX bytes:495286 (495.2 KB) TX bytes:193401 (193.4 KB)
Interrupt:17

lo Link encap:Lokale Schleife
inet Adresse:127.0.0.1 Maske:255.0.0.0
inet6-Adresse: ::1/128 Gültigkeitsbereich:Maschine
UP LOOPBACK RUNNING MTU:16436 Metrik:1
RX packets:34 errors:0 dropped:0 overruns:0 frame:0
TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:0
RX bytes:2617 (2.6 KB) TX bytes:2617 (2.6 KB)


Is there any Idea?

thanks,
affenkaraffe

---
at the hanging point of nrservice, the log contains the following lines:

Quote:
Thu Jan 6 21:57:39 2011|02602|140680091326304|******************************************
Thu Jan 6 21:57:39 2011|02602|140680091326304| TraceLog Starts
Thu Jan 6 21:57:39 2011|02602|140680091326304|othorpe
Thu Jan 6 21:57:39 2011|02602|140680091326304|
Thu Jan 6 21:57:39 2011|02602|140680091326304|1.1.4.2330
Thu Jan 6 21:57:39 2011|02602|140680091326304|******************************************
Thu Jan 6 21:57:39 2011|02602|140680091326304| |+[HRESULT CServiceInstance::Initialize()]
Thu Jan 6 21:57:39 2011|02602|140680091326304| | [static HRESULT COpenSSLLockManager::ThreadingSetup()]
Thu Jan 6 21:57:39 2011|02602|140680091326304| | +[static HRESULT CPFManager::GlobalInitialize()]
Thu Jan 6 21:57:39 2011|02602|140680091326304| | -[static HRESULT CPFManager::GlobalInitialize()](hr=0x0)
Thu Jan 6 21:57:39 2011|02602|140680091326304| |-[HRESULT CServiceInstance::Initialize()](hr=0x0)
Thu Jan 6 21:57:39 2011|02602|140680091326304| |+[HRESULT CServiceInstance::Start()]
Thu Jan 6 21:57:39 2011|02602|140680091326304|T| HDInfoModule::GetHardwareId 88:AE:1D:35:C2:C1
Thu Jan 6 21:57:39 2011|02602|140680091326304| | +[CMsgQueue::CMsgQueue(DWORD)]
Thu Jan 6 21:57:39 2011|02602|140680091326304| | -[CMsgQueue::CMsgQueue(DWORD)]
Thu Jan 6 21:57:39 2011|02602|140680091326304| | +[CUIRPCSocket::CUIRPCSocket()]
Thu Jan 6 21:57:39 2011|02602|140680091326304| | -[CUIRPCSocket::CUIRPCSocket()]
Thu Jan 6 21:57:39 2011|02602|140680091326304| | +[HRESULT CUIRPCServer::Initialize(HRESULT (*)(CNetData*))]
Thu Jan 6 21:57:39 2011|02602|140680091326304|T| CUIRPCServer::Initialize
Thu Jan 6 21:57:39 2011|02602|140680091326304| | +[HRESULT CRequestQueue::RQInitialize()]
Thu Jan 6 21:57:39 2011|02602|140680091326304|I| CreateTimerQueue
Thu Jan 6 21:57:39 2011|02602|140680091326304| | -[HRESULT CRequestQueue::RQInitialize()]
Thu Jan 6 21:57:39 2011|02602|140680091326304| | +[HRESULT CUIRPCSocket::Initialize(BOOL, IUIRPCSocketCallback*)]
Thu Jan 6 21:57:39 2011|02602|140680091326304| | -[HRESULT CUIRPCSocket::Initialize(BOOL, IUIRPCSocketCallback*)](hr=0x0)
Thu Jan 6 21:57:39 2011|02602|140680091326304| | -[HRESULT CUIRPCServer::Initialize(HRESULT (*)(CNetData*))](hr=0x0)
Thu Jan 6 21:57:39 2011|02602|140680091326304|I| Initialize UIServer: hr=0x0
Thu Jan 6 21:57:39 2011|02602|140680071149312| | +[static void* CUIRPCSocket::_ThreadProc(void*)]
Thu Jan 6 21:57:39 2011|02602|140680071149312| | +[HRESULT CUIRPCSocket::_ConnectOrListen()]
Thu Jan 6 21:57:39 2011|02602|140680071149312| | +[HRESULT CUIRPCSocket::_Listen(UINT, SOCKET*)]
Thu Jan 6 21:57:39 2011|02602|140680091326304| | +[static HRESULT ProtModule::Initialize(PROTMODULE_SETTING*, IProtModuleConnectionStatusCallback*, void (*)(BOOL, HRESULT))]
Thu Jan 6 21:57:39 2011|02602|140680091326304| | +[HRESULT CClientProt::Initialize(std::string&, IProtModuleConnectionStatusCallback*, void (*)(BOOL, HRESULT))]
Thu Jan 6 21:57:39 2011|02602|140680091326304| | +[static HRESULT CClientSocket::GlobalInitialize()]
Thu Jan 6 21:57:39 2011|02602|140680091326304| | -[static HRESULT CClientSocket::GlobalInitialize()](hr=0x0)
Thu Jan 6 21:57:39 2011|02602|140680091326304|I| CreateTimerQueue
Thu Jan 6 21:57:39 2011|02602|140680091326304| | -[HRESULT CClientProt::Initialize(std::string&, IProtModuleConnectionStatusCallback*, void (*)(BOOL, HRESULT))](hr=0x0)
Thu Jan 6 21:57:39 2011|02602|140680091326304| | +[HRESULT CLocalComputer::Initialize(std::string&, std::string&, ILocalComputerCallback*)]
Thu Jan 6 21:57:39 2011|02602|140680091326304| | +[HRESULT CRequestQueue::RQInitialize()]
Thu Jan 6 21:57:39 2011|02602|140680091326304|I| CreateTimerQueue
Thu Jan 6 21:57:39 2011|02602|140680091326304| | -[HRESULT CRequestQueue::RQInitialize()]
Thu Jan 6 21:57:39 2011|02602|140680091326304| | +[static HRESULT ProtModule::SetNetDataHandler(EProtocolType, void (*)(CNetData*))]
Thu Jan 6 21:57:39 2011|02602|140680091326304| | +[HRESULT CClientProt::SetNetDataHandler(EProtocolType, void (*)(CNetData*))]
Thu Jan 6 21:57:39 2011|02602|140680091326304| | -[HRESULT CClientProt::SetNetDataHandler(EProtocolType, void (*)(CNetData*))]
Thu Jan 6 21:57:39 2011|02602|140680091326304| | -[static HRESULT ProtModule::SetNetDataHandler(EProtocolType, void (*)(CNetData*))](hr=0x0)
Thu Jan 6 21:57:39 2011|02602|140680091326304| | -[HRESULT CLocalComputer::Initialize(std::string&, std::string&, ILocalComputerCallback*)](hr=0x0)
Thu Jan 6 21:57:39 2011|02602|140680091326304| | -[static HRESULT ProtModule::Initialize(PROTMODULE_SETTING*, IProtModuleConnectionStatusCallback*, void (*)(BOOL, HRESULT))](hr=0x0)
Thu Jan 6 21:57:39 2011|02602|140680091326304|I| Initialize ProtModule: hr=0x0
Thu Jan 6 21:57:39 2011|02602|140680091326304| | +[static HRESULT ProtModule::SetNetDataHandler(EProtocolType, void (*)(CNetData*))]
Thu Jan 6 21:57:39 2011|02602|140680091326304| | +[HRESULT CClientProt::SetNetDataHandler(EProtocolType, void (*)(CNetData*))]
Thu Jan 6 21:57:39 2011|02602|140680091326304| | -[HRESULT CClientProt::SetNetDataHandler(EProtocolType, void (*)(CNetData*))]
Thu Jan 6 21:57:39 2011|02602|140680091326304| | -[static HRESULT ProtModule::SetNetDataHandler(EProtocolType, void (*)(CNetData*))](hr=0x0)
Thu Jan 6 21:57:39 2011|02602|140680091326304| | +[static HRESULT ProtModule::SetNetDataHandler(EProtocolType, void (*)(CNetData*))]
Thu Jan 6 21:57:39 2011|02602|140680091326304| | +[HRESULT CClientProt::SetNetDataHandler(EProtocolType, void (*)(CNetData*))]
Thu Jan 6 21:57:39 2011|02602|140680091326304| | -[HRESULT CClientProt::SetNetDataHandler(EProtocolType, void (*)(CNetData*))]
Thu Jan 6 21:57:39 2011|02602|140680091326304| | -[static HRESULT ProtModule::SetNetDataHandler(EProtocolType, void (*)(CNetData*))](hr=0x0)
Thu Jan 6 21:57:39 2011|02602|140680091326304| | +[static HRESULT ProtModule::Connect()]
Thu Jan 6 21:57:39 2011|02602|140680091326304| | +[HRESULT CClientProt::Connect()]
Thu Jan 6 21:57:39 2011|02602|140680091326304|T| CClientProt::Connect
Thu Jan 6 21:57:39 2011|02602|140680091326304| | -[HRESULT CClientProt::Connect()]
Thu Jan 6 21:57:39 2011|02602|140680091326304| | -[static HRESULT ProtModule::Connect()](hr=0x0)
Thu Jan 6 21:57:39 2011|02602|140680091326304|I| ProtModule::Connect: hr=0x0
Thu Jan 6 21:57:39 2011|02602|140680091326304| | -[HRESULT CServiceInstance::Start()](hr=0x0)
Thu Jan 6 21:57:39 2011|02602|140680091326304| | +[HRESULT CClientProt::_ResolveDomain()]
Thu Jan 6 21:57:39 2011|02602|140680091326304|T| CClientProt::_ResolveDomain_GetLastResult()
Thu Jan 6 21:57:39 2011|02602|140680091326304| | +[static HRESULT DomainWSClientModule::ResolveDomain(const std::string&, std::string&, int&, BOOL&, void (*)(void*, const std::string&, const std::string&, int, BOOL), void*, IDomainResolver**)]
Thu Jan 6 21:57:39 2011|02602|140680091326304| | +[static HRESULT CDomainResolver::ResolveDomain(const std::string&, std::string&, int&, BOOL&, void (*)(void*, const std::string&, const std::string&, int, BOOL), void*, IDomainResolver**)]
Thu Jan 6 21:57:39 2011|02602|140680091326304| | +[HRESULT CDomainResolver::_GetDomainInfo(const std::string&)]
Thu Jan 6 21:57:39 2011|02602|140680091326304| | -[HRESULT CDomainResolver::_GetDomainInfo(const std::string&)](hr=0x0)
Thu Jan 6 21:57:39 2011|02602|140680091326304| | -[static HRESULT CDomainResolver::ResolveDomain(const std::string&, std::string&, int&, BOOL&, void (*)(void*, const std::string&, const std::string&, int, BOOL), void*, IDomainResolver**)](hr=0x8000000a)
Thu Jan 6 21:57:39 2011|02602|140680062756608| | +[HRESULT CDomainResolver::_GetDomainInfoThread()]
Thu Jan 6 21:57:39 2011|02602|140680091326304| | -[static HRESULT DomainWSClientModule::ResolveDomain(const std::string&, std::string&, int&, BOOL&, void (*)(void*, const std::string&, const std::string&, int, BOOL), void*, IDomainResolver**)](hr=0x8000000a)
Thu Jan 6 21:57:39 2011|02602|140680091326304| | -[HRESULT CClientProt::_ResolveDomain()](hr=0x8000000a)
Thu Jan 6 21:57:41 2011|02602|140680062756608| | +[HRESULT CAltServer::Get(std::string&, std::string&, std::string&, int&)]
Thu Jan 6 21:57:41 2011|02602|140680062756608| | -[HRESULT CAltServer::Get(std::string&, std::string&, std::string&, int&)](hr=0x80000008)
Thu Jan 6 21:57:41 2011|02602|140680062756608| | +[void CClientProt::_DomainResolverCallback(const std::string&, const std::string&, int, BOOL)]
Thu Jan 6 21:57:41 2011|02602|140680062756608|T| CClientProt::_ResolveDomain_SaveLastResult()
Thu Jan 6 21:57:41 2011|02602|140680062756608|T| CClientProt::_DomainResolverCallback Domain:Kamaeliot; IP:217.237.43.36; Port:32976; AgentMode=0
Thu Jan 6 21:57:41 2011|02602|140680062756608| | -[void CClientProt::_DomainResolverCallback(const std::string&, const std::string&, int, BOOL)]
Thu Jan 6 21:57:41 2011|02602|140680062756608| | -[HRESULT CDomainResolver::_GetDomainInfoThread()](hr=0x0)
Thu Jan 6 21:57:41 2011|02602|140680091326304| | +[void CClientProt::_Connect()]
Thu Jan 6 21:57:41 2011|02602|140680091326304|T| CClientProt::_Connect
Thu Jan 6 21:57:41 2011|02602|140680091326304| | +[static HRESULT CClientSocket::Create(BOOL, const std::string&, IClientSocketCallback*, CClientSocket**)]
Thu Jan 6 21:57:41 2011|02602|140680091326304| | +[CStdTcpDevice::CStdTcpDevice()]
Thu Jan 6 21:57:41 2011|02602|140680091326304| | -[CStdTcpDevice::CStdTcpDevice()]
Thu Jan 6 21:57:41 2011|02602|140680091326304| | +[CMsgQueue::CMsgQueue(DWORD)]
Thu Jan 6 21:57:41 2011|02602|140680091326304| | -[CMsgQueue::CMsgQueue(DWORD)]
Thu Jan 6 21:57:41 2011|02602|140680091326304| | +[CTcpBase<TCPDEVICE>::CTcpBase() [with TCPDEVICE = CStdTcpDevice]]
Thu Jan 6 21:57:41 2011|02602|140680091326304| | -[CTcpBase<TCPDEVICE>::CTcpBase() [with TCPDEVICE = CStdTcpDevice]]
Thu Jan 6 21:57:41 2011|02602|140680091326304| | +[HRESULT CClientSocket::_Init(BOOL, const std::string&, IClientSocketCallback*)]
Thu Jan 6 21:57:41 2011|02602|140680091326304| | +[HRESULT CTcpBase<TCPDEVICE>::SocketBase_Initialize(TCPBASE_SSL_TYPE, SSL_CTX*, BOOL) [with TCPDEVICE = CStdTcpDevice]]
Thu Jan 6 21:57:41 2011|02602|140680091326304| | +[COSSLConnector::COSSLConnector()]
Thu Jan 6 21:57:41 2011|02602|140680091326304| | -[COSSLConnector::COSSLConnector()]
Thu Jan 6 21:57:41 2011|02602|140680091326304| | +[HRESULT COSSLConnector::Initialize(SSL_CTX*, IOSSLConnectorCallback*, int)]
Thu Jan 6 21:57:41 2011|02602|140680091326304| | -[HRESULT COSSLConnector::Initialize(SSL_CTX*, IOSSLConnectorCallback*, int)](hr=0x0)
Thu Jan 6 21:57:41 2011|02602|140680091326304| | +[CTcpBaseGlobalTimerQueue::CTcpBaseGlobalTimerQueue()]
Thu Jan 6 21:57:41 2011|02602|140680091326304| | -[CTcpBaseGlobalTimerQueue::CTcpBaseGlobalTimerQueue()]
Thu Jan 6 21:57:41 2011|02602|140680091326304| | +[HRESULT CTcpBaseGlobalTimerQueue::GetTimerQueue(HANDLE*)]
Thu Jan 6 21:57:41 2011|02602|140680091326304|I| CreateTimerQueue
Thu Jan 6 21:57:41 2011|02602|140680091326304| | -[HRESULT CTcpBaseGlobalTimerQueue::GetTimerQueue(HANDLE*)](hr=0x0)
Thu Jan 6 21:57:41 2011|02602|140680091326304|I| CreateTimer: TimerQueue: 4, DueTime: 15000
Thu Jan 6 21:57:41 2011|02602|140680091326304|I| CreateTimer: Succeeded. hTimer: 5, lstTimers size: 1
Thu Jan 6 21:57:41 2011|02602|140680091326304| | -[HRESULT CTcpBase<TCPDEVICE>::SocketBase_Initialize(TCPBASE_SSL_TYPE, SSL_CTX*, BOOL) [with TCPDEVICE = CStdTcpDevice]](hr=0x0)
Thu Jan 6 21:57:41 2011|02602|140680091326304| | -[HRESULT CClientSocket::_Init(BOOL, const std::string&, IClientSocketCallback*)](hr=0x0)
Thu Jan 6 21:57:41 2011|02602|140680091326304| | -[static HRESULT CClientSocket::Create(BOOL, const std::string&, IClientSocketCallback*, CClientSocket**)](hr=0x0)
Thu Jan 6 21:57:41 2011|02602|140680091326304| | +[HRESULT CClientSocket::Connect(CIOCP*, const char*, UINT)]
Thu Jan 6 21:57:41 2011|02602|140680091326304| | +[HRESULT CTcpBase<TCPDEVICE>::SocketBase_Connect(CIOCP*, const char*, UINT) [with TCPDEVICE = CStdTcpDevice]]
Thu Jan 6 21:57:41 2011|02602|140680091326304| | +[HRESULT CStdTcpDevice::SocketDevice_Connect(CIOCP*, const char*, in_port_t)]
Thu Jan 6 21:57:41 2011|02602|140680091326304| | +[HRESULT CStdTcpDevice::_Connect(CIOCP*, const char*, in_port_t)]
Thu Jan 6 21:57:41 2011|02602|140680091326304|I| Connect to 217.237.43.36:32976
Thu Jan 6 21:57:41 2011|02602|140680091326304| | -[HRESULT CStdTcpDevice::_Connect(CIOCP*, const char*, in_port_t)](hr=0x0)
Thu Jan 6 21:57:41 2011|02602|140680091326304| | -[HRESULT CStdTcpDevice::SocketDevice_Connect(CIOCP*, const char*, in_port_t)](hr=0x0)
Thu Jan 6 21:57:41 2011|02602|140680091326304| | -[HRESULT CTcpBase<TCPDEVICE>::SocketBase_Connect(CIOCP*, const char*, UINT) [with TCPDEVICE = CStdTcpDevice]](hr=0x0)
Thu Jan 6 21:57:41 2011|02602|140680091326304| | -[HRESULT CClientSocket::Connect(CIOCP*, const char*, UINT)](hr=0x0)
Thu Jan 6 21:57:41 2011|02602|140680091326304| | -[void CClientProt::_Connect()](hr=0x0)
Thu Jan 6 21:57:41 2011|02602|140680037390080| | +[static void* CStdTcpDevice::_ThreadProc(void*)]
Thu Jan 6 21:57:41 2011|02602|140680037390080| | +[HRESULT CStdTcpDevice::_WaitForConnectComplete()]

the following lines follow after a delay:
Quote:
Thu Jan 6 21:57:56 2011|02602|140680045782784|I| _TimerQueue_Callback: hTimer: 5
Thu Jan 6 21:57:56 2011|02602|140680045782784|I| _TimerQueue_Callback: before. pfnCallback = 4352304
Thu Jan 6 21:57:56 2011|02602|140680045782784| | +[static VOID CTcpBase<TCPDEVICE>::PingTimerCallback(void*, BOOLEAN) [with TCPDEVICE = CStdTcpDevice]]
Thu Jan 6 21:57:56 2011|02602|140680045782784| | -[static VOID CTcpBase<TCPDEVICE>::PingTimerCallback(void*, BOOLEAN) [with TCPDEVICE = CStdTcpDevice]](hr=0x0)
Thu Jan 6 21:57:56 2011|02602|140680045782784|I| _TimerQueue_Callback: after

delay...
Quote:
Thu Jan 6 21:58:11 2011|02602|140680045782784|I| _TimerQueue_Callback: hTimer: 5
Thu Jan 6 21:58:11 2011|02602|140680045782784|I| _TimerQueue_Callback: before. pfnCallback = 4352304
Thu Jan 6 21:58:11 2011|02602|140680045782784| | +[static VOID CTcpBase<TCPDEVICE>::PingTimerCallback(void*, BOOLEAN) [with TCPDEVICE = CStdTcpDevice]]
Thu Jan 6 21:58:11 2011|02602|140680045782784| | -[static VOID CTcpBase<TCPDEVICE>::PingTimerCallback(void*, BOOLEAN) [with TCPDEVICE = CStdTcpDevice]](hr=0x0)
Thu Jan 6 21:58:11 2011|02602|140680045782784|I| _TimerQueue_Callback: after

...and so on


Top
 Profile  
 
 Post subject: Re: nrservice hangs on startup
PostPosted: Thu Jan 06, 2011 5:14 pm 
Offline

Joined: Sun Nov 16, 2008 6:41 am
Posts: 1878
Hi affenkaraffe,

Based on your log, seems your laptop hasn't been registered yet. To register a computer, you may want to run the CLI tool, nrclientcmd command. You can either use the "-register" parameter with log in information, including domain or IP, user name and password or log on to the server at least once.

For the detailed information about the command, refer to: http://www.neorouter.com/wiki/index.php ... _and_Win2k

Also it would be better to use "/etc/init.d/nrclient.sh start" to start the nrservice.

Thanks,
KevinZ - NeoRouter team


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 25 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron