Ringserver setup query

103 views
Skip to first unread message

Steve Shuff

unread,
Sep 26, 2024, 1:37:59 PM9/26/24
to earthwo...@googlegroups.com
Hi all,
I have just set up ew2ringserver and ringserver and could do with a little help with the configuration please.

The installation consists of a Raspberry pi3 with EW7.10 , when EW is started from the console all modules show as "Alive".
I have followed the installation guide by Chad at Iris but I must be missing something .
The ew2ringserver log is below

0240926_UTC_16:36:11 ew2ringserver(MOD_EW2RINGSERVER): Read command file <ew2ringserver.d>
 Version 2.2 2019-03-14
exportfilter_init: no wildcards in requested channel list;
                 will use binary search for SCNL matching.
exportfilter_init: configured to ship 1 channels:
    channel[0]:  WBK1 SHZ WF 00
exportfilter_init: Tracebuf packets will be exported regardless of latency.
                 To filter based on time, add MaxLatency to config file.
20240926_UTC_16:36:11 error: [192.168.0.5:18000] error sending data
20240926_UTC_16:36:11 Initial connection to DataLink server (192.168.0.5:18000) failed, will retry later
20240926_UTC_16:36:13 error: [192.168.0.5:18000] recv(7): -1 Resource temporarily unavailable
20240926_UTC_16:36:13 error: [192.168.0.5:18000] error receiving data
20240926_UTC_16:36:13 Error re-connecting to DataLink server: 192.168.0.5:18000, sleeping
20240926_UTC_16:36:23 error: [192.168.0.5:18000] error setting socket to blocking

I can Telnet into the ringserver and send a "Hello" which returns the expected ringserver info.
The ring folder has been created and populated with "packetbuf " and "streamidx" files by EW.
Full paths have been set to the "ring" folder in the ringserver.d and also startstop_unix.d
Maybe someone can spot my error, Thanks for any help.


20240926_UTC_16:36:23 error: [192.168.0.5:18000] dl_write(): problem sending WRITE command


--
Steve Shuff.
Message has been deleted

Steve Shuff

unread,
Sep 26, 2024, 2:01:04 PM9/26/24
to earthwo...@googlegroups.com
attached are the 2 config files

On Thu, Sep 26, 2024 at 5:50 PM cellectronic <steves...@gmail.com> wrote:

I have attached the contents of the ew2 ringserver.d  file
--
--
You received this message because you are subscribed to the Google
Groups "Earthworm Community Forum" group.
 
To post to this group, send an email to earthwo...@googlegroups.com
 
To unsubscribe from this group, send an email to
earthworm_for...@googlegroups.com
 
For more options, visit this group at
http://groups.google.com/group/earthworm_forum?hl=en

---
You received this message because you are subscribed to the Google Groups "Earthworm Community Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to earthworm_for...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/earthworm_forum/4307e9f6-8ef6-42aa-b8d3-f870944d5f3cn%40googlegroups.com.


--
Steve Shuff.
ew2ringserver.txt
ringserver.txt

El Berto

unread,
Sep 27, 2024, 10:51:48 AM9/27/24
to Earthworm Community Forum
On ew2ringserver RSAddress should be ringserver RECEIVING port, so 16000 instead 18000.
Port 18000 is the ringserver port for incoming seedlink requests.
Try this way.

Robert Beer

unread,
Sep 27, 2024, 12:29:13 PM9/27/24
to earthwo...@googlegroups.com
Steve,

Uncomment the last line in the ew2ringserver.txt file, syou are sending some data to the ringservrer.  Then use slinktool -Q Your_Host_Name:18000 to seed the seedlink streams, where Your_Host_Name is the host or IP address.





--
Bob Beer <r-be...@onu.edu>

Steve Shuff

unread,
Sep 27, 2024, 2:24:05 PM9/27/24
to earthwo...@googlegroups.com
Hi Both, 

Thanks for the replies,
El Berto, I did as you suggested and also changed from the IP address to"Localhost" and I no longer get the errors, Thankyou.

Robert, Can I install Slinktool on a separate Raspberry Pi  on the same local network ?
My programming is not great but I can follow instructions.
So Far I  have installed Slinktool on another Pi and run "Make" with no errors, I am missing something though as it does not run ,
any guidance would be very appreciated ,

Thanks again 



--
Steve Shuff.

Robert Beer

unread,
Sep 27, 2024, 5:51:27 PM9/27/24
to earthwo...@googlegroups.com
Steve,

Once you build the slinktool binary with the make command, run the slinktool prograrm:

   ./sllnktool -h

This assumes you are in the directory where the binary was built.  That should show how the command works.  Then try something like:

  ./slinktool -Q Host/IP:18000

where Host/IP is a hostname or IP address.  Once those test commands work, copy the binary to a directory on your path.  For example, /usr/local/bin:

  cp slinktool /usr/local/bin/

Then the program will run like any other command/program on your computer.







--
Bob Beer <r-be...@onu.edu>

Steve Shuff

unread,
Sep 28, 2024, 12:43:31 PM9/28/24
to earthwo...@googlegroups.com
Thanks Bob,
So now I have 
pi@raspberrypi:~/Seismo/slinktool-main $ ./slinktool -Q 192.168.0.5:18000
WF WBK1  00 SHZ D 2024-09-27 16:24:21  -  2024-09-28 16:39:31
pi@raspberrypi:~/Seismo/slinktool-main $ 

 
looks like it's working , Thanks guys for all your help.




--
Steve Shuff.
Reply all
Reply to author
Forward
0 new messages