[Dxspider-support] Mojo and updating USDB..
Howard Leadmon
howard at leadmon.net
Sat Dec 4 15:21:17 GMT 2021
Hello Dirk, thanks for the input, and weird I have this issue. A
couple things, I am running a current Perl under a current Ubuntu:
$ uname -a
Linux ham 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021
x86_64 x86_64 x86_64 GNU/Linux
$ perl -v
This is perl 5, version 30, subversion 0 (v5.30.0) built for
x86_64-linux-gnu-thread-multi
(with 50 registered patches, see perl -V for more detail)
I also did try and remove the file, and to re-run the the command after
removal of the file:
$ rm /spider/local_data/usdb.v1.new
$ /spider/perl/create_usdb.pl usdbraw.gz
cannot tie /spider/local_data/usdb.v1.new
So still no love on that front. Can I remove the usdb.v1 file as
well, or is it held open while the cluster runs?
Wish I could follow the "cannot tie" error, that is a strange one, and
have never run into it before..
---
Howard Leadmon - WB3FFV
PBW Communications, LLC
http://www.pbwcomm.com
On 12/4/2021 8:32 AM, Dirk Koopman via Dxspider-support wrote:
> On 04/12/2021 07:55, Howard Leadmon via Dxspider-support wrote:
>> As there was enough discussion in my last thread about file moves, I
>> figured I would post a different message.
>>
>> I have Mojo up and running, and decided to try all of my update
>> routines to make sure everything was getting updated, luckily it
>> seems like most things are running a-ok, with one exception.
>>
>> To update the USDB in the node, I have run the following:
>>
>> cd /tmp
>> wget -Nq ftp://ftp.w1nr.net/usdbraw.gz
>> /spider/perl/create_usdb.pl usdbraw.gz
>>
>> This all worked fine on the old node, so figured it would work
>> here. The cd and wget work as expected, but when I try and run
>> the perl script to process the usdbraw file I get the following error:
>>
>> *cannot tie /spider/local_data/usdb.v1.new*
>>
>> So I looked in the directory and see:
>>
>> -rw-rw-r-- 1 sysop sysop 64897024 Nov 29 05:04 usdb.v1
>> -rw-rw-r-- 1 sysop sysop 64897024 Dec 4 07:46 usdb.v1.new
>>
>> Not sure what that is telling me, maybe I need to remove the usdb.v1
>> first, but I tried it multiple times, and no luck. Also just to see
>> what happened, I went to the next step and tried to load the usdb in
>> Mojo node, but it is also kicking an error:
>
> Not certain what it's telling me either, other than some necessary
> changes that mojo requires for declarations where things are - and you
> are the first person to report this - there is no difference between
> the two branches in the function that does the usdb.v1 creation.
>
> Having now looked at the code, however, I do wonder what I was on when
> I wrote this. But having said that it does work for me, as it
> stands, on my reasonably up to date versions of perl (5,30 and .32).
>
>>
>> WB3FFV-3 4-Dec-2021 0749Z dxspider > load/usdb
>> *US Database not loaded*
>
> Until that update comes out, you can try an rm
> /spider/local_data/usdb.v1.new before the create_usdb.pl. The next
> update will do that in the code.
>
> 73 Dirk G1TLH
>
>
> _______________________________________________
> Dxspider-support mailing list
> Dxspider-support at tobit.co.uk
> https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.tobit.co.uk/pipermail/dxspider-support/attachments/20211204/ec8d9ecb/attachment.htm>
More information about the Dxspider-support
mailing list