I'm standing up a new instance of SwitchMap 14.0 (replacing our old 13.1 instance) and am running into a problem with the initial run of GetArp.pl (full debug below). I've verified permissions on the $DestinationDirectory and $StateFileDirectory, and I'm a bit stumped. Can anyone point me in the right direction?
2019/06/28 15:06:05 main::: GetArp version 14.0 starting...
2019/06/28 15:06:05 Timer::new: called
2019/06/28 15:06:05 Timer::new: returning
2019/06/28 15:06:05 SnmpCommunities::initialize: called
2019/06/28 15:06:05 SnmpCommunities::initialize: got 1 SNMP community strings
2019/06/28 15:06:05 SnmpCommunities::initialize: returning
2019/06/28 15:06:05 main::readMacListFile: called
2019/06/28 15:06:05 main::readMacListFile: Couldn't open /var/local/switchmap/MacList for reading. returning
2019/06/28 15:06:05 Timer::new: called
2019/06/28 15:06:05 Timer::new: returning
2019/06/28 15:06:05 main::getMacTables: getting ARP table from XXX.XXX.XXX.XXX...
2019/06/28 15:06:05 Timer::new: called
2019/06/28 15:06:05 Timer::new: returning
2019/06/28 15:06:05 SwitchUtils::OpenSnmpSession: called to open a session to XXX.XXX.XXX.XXX
2019/06/28 15:06:05 SwitchUtils::OpenSnmpSession: trying to open an SNMP session to XXX.XXX.XXX.XXX
2019/06/28 15:06:05 SnmpCommunities::GetCommunities: called, DeviceName = "XXX.XXX.XXX.XXX"
2019/06/28 15:06:05 SnmpCommunities::PutCachedCommunityFirst: called
2019/06/28 15:06:05 SnmpCommunities::ReadCommunityFromCacheFile: ReadCommunityFromCache: called
2019/06/28 15:06:05 SnmpCommunities::ReadCommunityFromCacheFile: no entry for XXX.XXX.XXX.XXX yet
2019/06/28 15:06:05 SnmpCommunities::ReadCommunityFromCacheFile: ReadCommunityFromCache: returning
2019/06/28 15:06:05 SnmpCommunities::PutCachedCommunityFirst: returning
2019/06/28 15:06:05 SwitchUtils::OpenSnmpSession: trying community = "cherub"
2019/06/28 15:06:05 SwitchUtils::OpenSnmpSession: SNMPv2 session open, testing a GET of the sysObjectId
2019/06/28 15:06:05 SwitchUtils::GetOneOidValue: called to fetch sysObjectID from XXX.XXX.XXX.XXX
2019/06/28 15:06:05 SwitchUtils::GetOneOidValue: returning "1.3.6.1.4.1.9.1.283"
2019/06/28 15:06:05 SwitchUtils::OpenSnmpSession: SNMPv2 GET succeeded, valid SNMP session opened
2019/06/28 15:06:05 SnmpCommunities::WriteCommunityToCacheFile: Couldn't create /var/local/switchmap/community, No such file or directory
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm standing up a new instance of SwitchMap 14.0 (replacing our old 13.1
instance) and am running into a problem with the initial run of GetArp.pl
(full debug below). I've verified permissions on the $DestinationDirectory
and $StateFileDirectory, and I'm a bit stumped. Can anyone point me in the
right direction?
2019/06/28 15:06:05 main::: GetArp version 14.0 starting...
2019/06/28 15:06:05 Timer:🆕 called
2019/06/28 15:06:05 Timer:🆕 returning
2019/06/28 15:06:05 SnmpCommunities::initialize: called
2019/06/28 15:06:05 SnmpCommunities::initialize: got 1 SNMP community strings
2019/06/28 15:06:05 SnmpCommunities::initialize: returning
2019/06/28 15:06:05 main::readMacListFile: called
2019/06/28 15:06:05 main::readMacListFile: Couldn't open /var/local/switchmap/MacList for reading. returning
2019/06/28 15:06:05 Timer:🆕 called
2019/06/28 15:06:05 Timer:🆕 returning
2019/06/28 15:06:05 main::getMacTables: getting ARP table from XXX.XXX.XXX.XXX...
2019/06/28 15:06:05 Timer:🆕 called
2019/06/28 15:06:05 Timer:🆕 returning
2019/06/28 15:06:05 SwitchUtils::OpenSnmpSession: called to open a session to XXX.XXX.XXX.XXX
2019/06/28 15:06:05 SwitchUtils::OpenSnmpSession: trying to open an SNMP session to XXX.XXX.XXX.XXX
2019/06/28 15:06:05 SnmpCommunities::GetCommunities: called, DeviceName = "XXX.XXX.XXX.XXX"
2019/06/28 15:06:05 SnmpCommunities::PutCachedCommunityFirst: called
2019/06/28 15:06:05 SnmpCommunities::ReadCommunityFromCacheFile: ReadCommunityFromCache: called
2019/06/28 15:06:05 SnmpCommunities::ReadCommunityFromCacheFile: no entry for XXX.XXX.XXX.XXX yet
2019/06/28 15:06:05 SnmpCommunities::ReadCommunityFromCacheFile: ReadCommunityFromCache: returning
2019/06/28 15:06:05 SnmpCommunities::PutCachedCommunityFirst: returning
2019/06/28 15:06:05 SwitchUtils::OpenSnmpSession: trying community = "cherub"
2019/06/28 15:06:05 SwitchUtils::OpenSnmpSession: SNMPv2 session open, testing a GET of the sysObjectId
2019/06/28 15:06:05 SwitchUtils::GetOneOidValue: called to fetch sysObjectID from XXX.XXX.XXX.XXX
2019/06/28 15:06:05 SwitchUtils::GetOneOidValue: returning "1.3.6.1.4.1.9.1.283"
2019/06/28 15:06:05 SwitchUtils::OpenSnmpSession: SNMPv2 GET succeeded, valid SNMP session opened
2019/06/28 15:06:05 SnmpCommunities::WriteCommunityToCacheFile: Couldn't create /var/local/switchmap/community, No such file or directory
I'm standing up a new instance of SwitchMap 14.0 (replacing our old 13.1 instance) and am running into a problem with the initial run of GetArp.pl (full debug below). I've verified permissions on the $DestinationDirectory and $StateFileDirectory, and I'm a bit stumped. Can anyone point me in the right direction?
Thanks!
Glad you got it resolved. I started to compose a response, then saw that
you'd fixed it. Please let me know how it goes.
On Fri, Jun 28, 2019 at 9:15 AM Emrys Koenigsmann emrys767@users.sourceforge.net wrote:
This is resolved. I found that I had a typo in the $StateFileDirectory in ThisSite.pm.