NeoRouter
http://www.neorouter.com/forum/

nrserver failed to start error -2147024848 freebsd [SOLVED]
http://www.neorouter.com/forum/viewtopic.php?f=8&t=4795
Page 2 of 2

Author:  luke [ Mon Oct 17, 2011 10:27 am ]
Post subject:  Re: nrserver failed to start due to error -2147024848 freebsd

hi zloben,

Can you gather and send us log files? http://www.neorouter.com/wiki/index.php ... og_file.3F

Thanks,
Luke

Author:  zloben [ Mon Oct 17, 2011 11:40 am ]
Post subject:  Re: nrserver failed to start due to error -2147024848 freebsd

There you go...


Code:
1969-12-31 23:59:59|00782|677384512|******************************************
1969-12-31 23:59:59|00782|677384512|            TraceLog Starts               
1969-12-31 23:59:59|00782|677384512|tbsd
1969-12-31 23:59:59|00782|677384512|
1969-12-31 23:59:59|00782|677384512|1.5.1.2820
1969-12-31 23:59:59|00782|677384512|******************************************
1969-12-31 23:59:59|00782|677384512| |+[HRESULT CInstance::Initialize(BOOL, WORD)]
1969-12-31 23:59:59|00782|677384512|I|  Check existing instance: hr=0x0
1969-12-31 23:59:59|00782|677384512| |  +[HRESULT _DBComputer_DeleteAllTemporaryComputers(IDBConnection*)]
1969-12-31 23:59:59|00782|677384512| |  -[HRESULT _DBComputer_DeleteAllTemporaryComputers(IDBConnection*)](hr=0x0)
1969-12-31 23:59:59|00782|677384512|I|  Initialize DB: hr=0x0
1969-12-31 23:59:59|00782|677384512|I|  Load domain information: hr=0x0; DomainName=free; Port=32976
1969-12-31 23:59:59|00782|677384512| |  +[HRESULT CDomainUpdater::Initialize(std::string&, std::string&, UINT)]
1969-12-31 23:59:59|00782|677384512|T|    GetInterfaceListForSocket:499: interface with family 18 is skipped
1969-12-31 23:59:59|00782|677384512|T|    GetInterfaceListForSocket:499: interface with family 2 is skipped
1969-12-31 23:59:59|00782|677384512|T|    GetInterfaceListForSocket:499: interface with family 18 is skipped
1969-12-31 23:59:59|00782|677384512|T|    GetInterfaceListForSocket:499: interface with family 18 is skipped
1969-12-31 23:59:59|00782|677384512|T|    GetInterfaceListForSocket:526: IP6 addr is loopback or linklocal or sitelocal, continue
1969-12-31 23:59:59|00782|677384512|T|    GetInterfaceListForSocket:526: IP6 addr is loopback or linklocal or sitelocal, continue
1969-12-31 23:59:59|00782|677384512|T|    GetInterfaceListForSocket:499: interface with family 2 is skipped
1969-12-31 23:59:59|00782|677384512|T|    GetIPv6GlobalAddress:603: list of addresses is empty
1969-12-31 23:59:59|00782|677384512|T|    GetIPv6GlobalAddress:569: not PF_INET6 continue
1969-12-31 23:59:59|00782|677384512|T|    GetIPv6GlobalAddress: >> returning addr = ''
1969-12-31 23:59:59|00782|677384512|I|    CreateTimerQueue
1969-12-31 23:59:59|00782|677384512|I|    CreateTimer: TimerQueue: 1, DueTime: 15000
1969-12-31 23:59:59|00782|677384512|I|    CreateTimer: Succeeded. hTimer: 2, lstTimers size: 1
1969-12-31 23:59:59|00782|677384512| |  -[HRESULT CDomainUpdater::Initialize(std::string&, std::string&, UINT)](hr=0x0)
1969-12-31 23:59:59|00782|677384512|I|  Initialize domain updater: hr=0x0
1969-12-31 23:59:59|00782|677384512| |  +[CBroadcastCommandQueue::CBroadcastCommandQueue()]
1969-12-31 23:59:59|00782|677384512| |  -[CBroadcastCommandQueue::CBroadcastCommandQueue()]
1969-12-31 23:59:59|00782|677384512| |  +[CClientMgr::CClientMgr()]
1969-12-31 23:59:59|00782|677384512| |  -[CClientMgr::CClientMgr()]
1969-12-31 23:59:59|00782|677384512| |  +[HRESULT CProductUpdater::Initialize(IProductUpdaterCallback*)]
1969-12-31 23:59:59|00782|677384512|I|    CreateTimerQueue
1969-12-31 23:59:59|00782|677384512|I|    CreateTimer: TimerQueue: 3, DueTime: 30000
1969-12-31 23:59:59|00782|677384512|I|    CreateTimer: Succeeded. hTimer: 4, lstTimers size: 2
1969-12-31 23:59:59|00782|677384512| |  -[HRESULT CProductUpdater::Initialize(IProductUpdaterCallback*)](hr=0x0)
1969-12-31 23:59:59|00782|677384512|I|  Initialize product updater: hr=0x0
1969-12-31 23:59:59|00782|677384512| |  +[HRESULT CClientMgr::Initialize(BOOL, UINT, const std::string&)]
1969-12-31 23:59:59|00782|677384512| |     [static HRESULT COpenSSLLockManager::ThreadingSetup()]
1969-12-31 23:59:59|00782|677384512|I|    CreateTimerQueue
1969-12-31 23:59:59|00782|677384512| |    +[CStdTcpListener::CStdTcpListener()]
1969-12-31 23:59:59|00782|677384512| |    -[CStdTcpListener::CStdTcpListener()]
1969-12-31 23:59:59|00782|677384512| |    +[HRESULT CStdTcpListener::Listen(in_port_t, ITcpListenerCallback*)]
1969-12-31 23:59:59|00782|677384512| |      +[HRESULT GetLocalHostIPType(HostIPType&)]
1969-12-31 23:59:59|00782|677384512| |      -[HRESULT GetLocalHostIPType(HostIPType&)](hr=0x0)
1969-12-31 23:59:59|00782|677384512|T|      HostIPType=3, SupportIPv6=1
1969-12-31 23:59:59|00782|677384512| |    -[HRESULT CStdTcpListener::Listen(in_port_t, ITcpListenerCallback*)](hr=0x0)
1969-12-31 23:59:59|00782|677384512| |  -[HRESULT CClientMgr::Initialize(BOOL, UINT, const std::string&)](hr=0x0)
1969-12-31 23:59:59|00782|677384512|I|  Initialize ClientMgr: hr=0x0
1969-12-31 23:59:59|00782|677571648| |  +[static void* CBroadcastCommandQueue::_ThreadProc(void*)]
1969-12-31 23:59:59|00782|677571008| |    +[static void* CStdTcpListener::_ThreadProc(void*)]
1969-12-31 23:59:59|00782|677384512|I|      Server instance started hr=0x0
1969-12-31 23:59:59|00782|677384512| |    -[HRESULT CInstance::Initialize(BOOL, WORD)](hr=0x0)
1969-12-31 23:59:59|00782|677571968|I|    _TimerQueue_Callback: hTimer: 2
1969-12-31 23:59:59|00782|677571968|I|    _TimerQueue_Callback: before. pfnCallback = 136499600
1969-12-31 23:59:59|00782|677571968| |    +[static VOID CDomainUpdater::UpdaterTimerCallback(void*, BOOLEAN)]
1969-12-31 23:59:59|00782|677571968| |    -[static VOID CDomainUpdater::UpdaterTimerCallback(void*, BOOLEAN)](hr=0x0)
1969-12-31 23:59:59|00782|677571968|I|    _TimerQueue_Callback: after
1969-12-31 23:59:59|00782|677571968|I|    _TimerQueue_Callback: hTimer: 4
1969-12-31 23:59:59|00782|677571968|I|    _TimerQueue_Callback: before. pfnCallback = 136530864
1969-12-31 23:59:59|00782|677571968|I|    _TimerQueue_Callback: after

Author:  luke [ Mon Oct 17, 2011 2:59 pm ]
Post subject:  Re: nrserver failed to start due to error -2147024848 freebsd

hi zloben,

Could you double check the file name and permissions? In your previous posts, you mentioned "Features.ini". It should be Feature.ini. Please also make sure the casing is correct.

/usr/local/ZebraNetworkSystems/NeoRouter/Feature.ini

Thanks,
Luke

Author:  zloben [ Tue Oct 18, 2011 12:29 am ]
Post subject:  Re: nrserver failed to start due to error -2147024848 freebsd

Yep, already checked at the start.
When I've started making Feature.ini I wasn't sure about the name - so I created 4 files (Feature.ini, Features.ini, feature.ini, features.ini) with the same content.
About permissions - done chmod -R 777 at the start.
Made root Feature.ini's owner, didn't help.

At this point, I think I can contact you personally and give you login/password for my Freebsd, if it's necessary.

Author:  luke [ Tue Oct 18, 2011 8:49 am ]
Post subject:  Re: nrserver failed to start due to error -2147024848 freebsd

Sure. Please send info to support@neorouter.com and we will take a look.

Thanks,
Luke

Author:  zloben [ Tue Oct 18, 2011 10:51 am ]
Post subject:  Re: nrserver failed to start due to error -2147024848 freebsd

Done.
Thanks in advance :)

Author:  zloben [ Tue Oct 18, 2011 11:45 am ]
Post subject:  Re: nrserver failed to start due to error -2147024848 freebsd

Thanks to all support team and specifically Luke, the case have been resolved.

It was because Feature.ini was missing a line "[Default]".
Now nrserver is correctly loading Feature.ini and it listens for IPv4 connections.

[Default]

#Description: Specify host IP type for nrserver
#Options: 0-detect; 1-IPv4; 2-IPv6; 3-Dual
#Default: 0
HostIPType=1
NicInterfaceName=em

Conclusion: dear users, PAY ATTENTION when writing config files :)

Thanks a lot!

Page 2 of 2 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/