Colin,
I'm unable to reproduce this behavior.
I've uploaded a modified version (18136) to the test folder in SVN.
This version will tell us what happens.
Thomas
Von: "Colin Waring" <co...@dolphinict.co.uk>
An: "ASSP development mailing list" <assp-test@lists.sourceforge.net>
Datum: 15.05.2018 10:10
Betreff: [Assp-test] Can't use an undefined value as a subroutine
reference at sub main::ThreadMaintMain2 line 63
Hi,
I’ve caught this today:
2018-05-15 08:03:31 [Main_Thread] Saving config
2018-05-15 08:03:31 [Main_Thread] Info: no configuration changes detected
- nothing to save - file /usr/local/assp/assp.cfg is unchanged
2018-05-15 08:03:31 [Main_Thread] Adminupdate: file
'/usr/local/assp/files/blockreportuser.txt' for config 'BlockReportFile'
was changed
2018-05-15 08:03:32 [Main_Thread] Info: added schedule : BlockReport - for
: *@domain.tld=>*=>1=> - at : 0 0,4,8,12,16,20 * * * - next run is at :
2018-05-15 12:00:00
2018-05-15 08:03:32 [Worker_10000] Info: notification message queued to
sent to monitoraddr...@ourdomain.tld
2018-05-15 08:03:32 [Worker_10000] Error: Worker_10000: Can't use an
undefined value as a subroutine reference at sub main::ThreadMaintMain2
line 63.
2018-05-15 08:03:32 [Main_Thread] SyncCFG: start synchronization of
BlockReportFile
2018-05-15 08:03:32 [Worker_10000] Info: auto restart died worker
Worker_10000
2018-05-15 08:03:32 [Worker_10000] Info: cleaned command 'syncConfigSend'
from commandqueue
2018-05-15 08:04:11 [Main_Thread] Warning: Main_Thread is unable to
transfer connection to any worker - try again!
2018-05-15 08:04:56 [Main_Thread] Warning: Main_Thread is unable to
transfer connection to any worker - try again!
There then seems to be no traffic until 08:05:00 (approx. 90s)
It is highly unlikely that BlockReportFile was changed at this time. The
line from BlockReportFile that is quoted used to work but I can see it is
now missing the “# next run” so I’m suspecting the 4 hour schedule is the
issue here. I know it used to be right because I questioned whether the
number of days could be less than 1 when it was initially set up.
Even more odd is that I don’t get this error every four hours – the last
time it happened was on the 10th so there must be more to it than the
entry in the file:
2018-05-10 08:02:46 [Main_Thread] Saving config
2018-05-10 08:02:46 [Main_Thread] Info: no configuration changes detected
- nothing to save - file /usr/local/assp/assp.cfg is unchanged
2018-05-10 08:02:46 [Main_Thread] Adminupdate: file
'/usr/local/assp/files/blockreportuser.txt' for config 'BlockReportFile'
was changed
2018-05-10 08:02:47 [Worker_10000] Error: Worker_10000: Can't use an
undefined value as a subroutine reference at sub main::ThreadMaintMain2
line 63.
2018-05-10 08:02:47 [Worker_10000] Info: notification message queued to
sent to support.dolphinict.co...@email.uk.autotask.net
2018-05-10 08:02:47 [Worker_10000] Error: Worker_10000: Can't use an
undefined value as a subroutine reference at sub main::ThreadMaintMain2
line 63.
2018-05-10 08:02:47 [Main_Thread] Info: added schedule : BlockReport - for
: *@domain.tld =>*=>1=> - at : 0 0,4,8,12,16,20 * * * - next run is at :
2018-05-10 12:00:00
2018-05-10 08:02:47 [Worker_10000] Info: auto restart died worker
Worker_10000
2018-05-10 08:02:47 [Main_Thread] SyncCFG: start synchronization of
BlockReportFile
2018-05-10 08:03:04 [Worker_10001] SyncCFG: request to synchronize
BlockReportFile
2018-05-10 08:03:13 [Worker_10001] SyncCFG: successfully sent config for
BlockReportFile to 10.0.5.219:25
2018-05-10 08:03:46 [Main_Thread] Warning: Main_Thread is unable to
transfer connection to any worker - try again!
Traffic didn’t stop that time.
I’m not sure it’s a significant problem, but it’s an error nonetheless.
All the best,
Colin.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test
DISCLAIMER:
*******************************************************
This email and any files transmitted with it may be confidential, legally
privileged and protected in law and are intended solely for the use of the
individual to whom it is addressed.
This email was multiple times scanned for viruses. There should be no
known virus in this email!
*******************************************************
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test