[Dxspider-support] Issues when trying the mojo branch

Gunnar Widell sm3sgp at kkn.net
Fri Jan 6 23:31:39 GMT 2017


I was able to start the mojo branch by creating a softlink from the root
/log, to /home/sysop2/spider/local_data/log/
lrwxrwxrwx   1 root root    35 Jan  7 00:08 log ->
/home/sysop2/spider/local_data/log/

After creating the softlink, the node starts, but still show those errors I
reported earlier.
However I think it seams to be running fine.

Also think there is a small error in the UPGRADE.mojo description.
The line with:
        # the interval between unsolicited prompts if not traffic
         $user_interval = 11*60;

should NOT be removed I think?

73 de Gunnar SM3SGP

2017-01-05 18:12 GMT+01:00 Gunnar Widell <sm3sgp at kkn.net>:

> Hi again Dirk,
>
> I made a couple of more attempts, on another server. I see the same thing
> on both servers.
> Could the following be a clue? With the perl -W switch I see:
>
> sm3sgp at fernebo-sk3w:~/spider/perl$ DXSPIDER_ROOT=/home/sm3sgp/spider perl
> -W /home/sm3sgp/spider/perl/cluster.pl
> Use of uninitialized value $data in concatenation (.) or string at
> /home/sm3sgp/spider/perl/DXUtil.pm line 492.
> Use of uninitialized value $local_data in concatenation (.) or string at
> /home/sm3sgp/spider/perl/DXLog.pm line 53.
> Bareword "Types::Serialiser::Error::" refers to nonexistent package at
> /usr/local/share/perl/5.20.2/Types/Serialiser.pm line 126.
> Bareword "Types::Serialiser::Error::" refers to nonexistent package at
> /usr/local/share/perl/5.20.2/Types/Serialiser.pm line 135.
> cluster
> DXSpider V1.57, build 105 (git: dbc07bc[r]) started
> can't open /log/2017/01.dat No such file or directory at
> /home/sm3sgp/spider/perl/DXLog.pm line 153.
>
> Missing packages in my installations?
> Running Debian 8 and Ubuntu 14.04.
>
> //Gunnar
>
>
> 2017-01-05 13:26 GMT+01:00 Dirk Koopman via Dxspider-support <
> dxspider-support at dxcluster.org>:
>
>> So this is what I did:
>>
>> djk at dirk6:~/spider2$ git clone git://scm.dxcluster.org/scm/spider spider2
>> Cloning into 'spider2'...
>> remote: Counting objects: 19190, done.
>> remote: Compressing objects: 100% (6506/6506), done.
>> remote: Total 19190 (delta 15037), reused 16174 (delta 12580)
>> Receiving objects: 100% (19190/19190), 6.67 MiB | 2.63 MiB/s, done.
>> Resolving deltas: 100% (15037/15037), done.
>> Checking connectivity... done.
>>
>> djk at dirk6:~/spider2$ mkdir local local_cmd
>> djk at dirk6:~/spider2$ cp /spider/local/DXVars.pm local
>> djk at dirk6:~/spider2$ cd perl
>>
>> djk at dirk6:~/spider2/perl$ create_sysop.pl
>> djk at dirk6:~/spider2/perl$ cluster.pl
>> Use of uninitialized value $data in concatenation (.) or string at
>> /spider/perl/DXUtil.pm line 492.
>> Use of uninitialized value $local_data in concatenation (.) or string at
>> /spider/perl/DXLog.pm line 53.
>> Use of uninitialized value $data in concatenation (.) or string at
>> /spider/perl/DXUtil.pm line 492.
>> Use of uninitialized value $data in concatenation (.) or string at
>> /spider/perl/DXUtil.pm line 473.
>> Use of uninitialized value $local_data in string at
>> /spider/perl/DXUtil.pm line 476.
>> Use of uninitialized value $cmd in concatenation (.) or string at
>> /spider/perl/CmdAlias.pm line 32.
>>
>> Oops... (because my dev DXVars.pm is new style mojo compatible which
>> doesn't work with an old style cluster.pl)
>>
>> djk at dirk6:~/spider2$ git checkout -b mojo origin/mojo
>> < ***** N B!
>> Branch mojo set up to track remote branch mojo from origin.
>> Switched to a new branch 'mojo'
>> djk at dirk6:~/spider2$ cd perl
>> djk at dirk6:~/spider2/perl$ DXSPIDER_ROOT=~/spider2 cluster.pl
>> cluster
>> DXSpider V1.57, build 105 (git: dbc07bc[r]) started
>> Copyright (c) 1998-2017 Dirk Koopman G1TLH
>> loading prefixes ...
>> US Database not loaded
>> loading band data ...
>> loading user file system ...
>> GB7TLH missing, run the create_sysop.pl script and please RTFM at ./
>> cluster.pl line 444.
>>  at ./cluster.pl line 444.
>>     main::setup_start() called at ./cluster.pl line 675
>> GB7TLH missing, run the create_sysop.pl script and please RTFM at ./
>> cluster.pl line 444.
>>
>> djk at dirk6:~/spider2/perl$ create_sysop.pl
>> Do you wish to destroy your user database (THINK!!!) [y/N]: n
>> Do you wish to reset your cluster and sysop information? [y/N]: ^C
>>
>> Oops again... (something else I really need to cure, it should stop on a
>> 'N', not carry until I ^C out).
>>
>> djk at dirk6:~/spider2/perl$ DXSPIDER_ROOT=~/spider2 create_sysop.pl
>> djk at dirk6:~/spider2/perl$ DXSPIDER_ROOT=~/spider2 cluster.pl
>> cluster
>> DXSpider V1.57, build 105 (git: dbc07bc[r]) started
>> Copyright (c) 1998-2017 Dirk Koopman G1TLH
>> loading prefixes ...
>> US Database not loaded
>> loading band data ...
>> loading user file system ...
>> starting listeners ...
>> Internal port: 127.0.0.1 27754 using IntMsg
>> load badwords: Ok
>> Starting Dupe system
>> Read in Messages
>> Read in Aliases
>> Start WWV
>> Start WCY
>> Starting DX Spot system
>> Start Protocol Engines ...
>> DXChannel GB7TLH created (1)
>> reading existing message headers ...
>> load badmsg: Ok
>> load forward: Ok
>> load swop: Ok
>> reading cron jobs ...
>> cron: reading /home/djk/spider2/cmd/crontab
>> cron: adding 1 0 * * 3 DXUser::export(localdata("user_asc"))
>> cron: adding 5 0 * * * DXDebug::dbgclean()
>> cron: adding 0 3 * * * Spot::daily()
>> reading database descriptors ...
>> doing local initialisation ...
>> orft we jolly well go ...
>> Before Web::start_node
>> ^CDXSpider Ending 10
>> DXSpider Ending 9
>> DXSpider Ending 8
>> DXSpider Ending 7
>> DXSpider Ending 6
>> DXSpider Ending 5
>> DXSpider Ending 4
>> DXSpider Ending 3
>> DXSpider Ending 2
>> DXSpider Ending 1
>> After Web::start_node
>> cluster
>> DXSpider V1.57, build 105 (git: dbc07bc[r]) ended
>> bye bye everyone - bye bye
>>
>> Hopefully, there is a clue there somewhere that will help. But, other
>> than getting onto the mojo branch correctly and maybe doing an 'export
>> DXSPIDER_ROOT=~/spider2' in the shell that you are testing with, I am not
>> sure how I can help. Be aware that it is not adequate with git to simply do
>> a 'git checkout -b mojo' - that does not do what you want. You need to use
>> the syntax outlined in red above.
>>
>> Dirk
>>
>>
>> On 05/01/17 00:18, Dirk Koopman via Dxspider-support wrote:
>>
>> Struggling a bit here.
>>
>> On my system perl/SysVar.pm assigns $main::data. It is the next thing
>> that is called after "use DXVars;" in cluster.pl - it is meant to stop
>> people (having a yen for) fiddling with stuff they didn't ought to. That's
>> why It took it out of DXVars.pm.
>>
>> I have upgraded at least four existing nodes without a hitch.
>>
>> When I wake tomorrow I will attempt to do what you are doing with a fresh
>> install (which I have never actually done - they have all been upgrades)
>> and I will see what happens.
>>
>> Dirk
>>
>> On 04/01/17 23:35, Gunnar Widell via Dxspider-support wrote:
>>
>> I think my mistakes were related to not doing the "export_users"
>> mentioned in the UPGRADE.mojo.
>> My primary dxspider is running under the sysop user, and the secondary
>> (mojo) as sysop2.
>> I was able to revert back to the master branch, by doing a git checkout
>> master, and re editing the DXVars.pm.
>> Then the node starts fine again. I might have messed up something anyway,
>> and maybe next step will be start on a new fresh checkout.
>>
>> Going back to mojo, and starting with the command below, I see it
>> complains about the $data and $local_data.
>>
>> sysop2 at sthlm-sk3w:~$ env | grep DXS
>> DXSPIDER_ROOT=/home/sysop2/spider
>> sysop2 at sthlm-sk3w:~$
>> sysop2 at sthlm-sk3w:~$
>> sysop2 at sthlm-sk3w:~$ DXSPIDER_ROOT=/home/sysop2/spider /usr/bin/perl -w
>> /home/sysop2/spider/perl/cluster.pl
>> Use of uninitialized value $data in concatenation (.) or string at
>> /home/sysop2/spider/perl/DXUtil.pm line 492.
>> Use of uninitialized value $local_data in concatenation (.) or string at
>> /home/sysop2/spider/perl/DXLog.pm line 53.
>> cluster
>> DXSpider V1.57, build 103 (git: 812bf47[r]) started
>> can't open /log/2017/01.dat No such file or directory at
>> /home/sysop2/spider/perl/DXLog.pm line 153.
>>         DXLog::write('DXLog=HASH(0x1b70990)',
>> 'Julian::Month=ARRAY(0x3a7acb8)', '1483571605^cluster^DXSpider V1.57,
>> build 103 (git: 812bf47[r]...') called at /home/sysop2/spider/perl/DXLog.pm
>> line 177
>>         DXLog::writeunix('DXLog=HASH(0x1b70990)', 1483571605,
>> '1483571605^cluster^DXSpider V1.57, build 103 (git: 812bf47[r]...') called
>> at /home/sysop2/spider/perl/DXLog.pm line 210
>>         DXLog::Log('cluster', 'DXSpider V1.57, build 103 (git:
>> 812bf47[r]) started') called at /home/sysop2/spider/perl/DXLog.pm line
>> 216
>>         DXLog::LogDbg('cluster', 'DXSpider V1.57, build 103 (git:
>> 812bf47[r]) started') called at /home/sysop2/spider/perl/cluster.pl line
>> 423
>>         main::setup_start() called at /home/sysop2/spider/perl/cluster.pl
>> line 675
>>  at /home/sysop2/spider/perl/DXLog.pm line 153.
>> --------snip
>>
>>
>>
>>
>>
>> _______________________________________________
>> Dxspider-support mailing listDxspider-support at dxcluster.orghttp://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
>>
>>
>>
>> _______________________________________________
>> Dxspider-support mailing list
>> Dxspider-support at dxcluster.org
>> http://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.tobit.co.uk/pipermail/dxspider-support/attachments/20170107/56f773b2/attachment.html>


More information about the Dxspider-support mailing list