EW to Winston

34 views
Skip to first unread message

nicho

unread,
Dec 7, 2022, 8:45:52 PM12/7/22
to Earthworm Community Forum
I am setting up earthworm to import seedlink data and export the data to Winston Web Server. I am using earthworm 7.10 and Winston 1.2 on ubuntu 18.04.

I think the seedlink data is imported successfully. Please see the attached sniffwave-out.txt.

But I got error when I run ImportEW.sh from Winston. Please see the attached my earthworm config files and winston log file. Thanks for your help.
myexport_test.desc
startstop_unix.d
ImportEW.log.0
startstop-out.txt
myexport_test.d
sniffwave-out.txt
statmgr.d

nicho

unread,
Dec 8, 2022, 8:43:23 PM12/8/22
to Earthworm Community Forum
I did another try by replacing myexport_test.d with export_scnl.d. When I run startstop from earthworm and ImportEW.sh from Winston server, I got " i6 m126 t19 too long for target " from the export_scnl log file. I checked mariaDB, only W_ROOT is created. what means of  " i6 m126 t19 too long for target " and why other W_*** database cannot be created?
Thanks.

Here is part lines from the export_scnl log file:
-------------------------------------------------------
export_scnl: startup at UTC_20221208_14:29:41
This program is using the MT-Safe version of logit.
-------------------------------------------------------
20221208_UTC_14:29:41 LoadTableEnvVariable(): nfiles 2
20221208_UTC_14:29:41 export_scnl(MOD_EXPORT_SCNL): Read command file <export_scnl.d>
 Version 2.0 2018.05.03
I do re-sends and I check thread life.
Socket timeout (0 ms) is less than incoming heartrate and buffertime(153 sec)Setting socket timeout to 153000 ms
scnlfilter_init: wildcards present in requested channel list;
                 must use linear search for SCNL matching.
scnlfilter_init: configured to handle 1 channels:
   Sending channel[0]:     *   *  *  *
scnlfilter_init: Maximum allowable data latency: 60 minutes
20221208_UTC_14:29:41 export_scnl(MOD_EXPORT_SCNL): Waiting for new connection.
20221208_UTC_14:29:44 export_scnl(MOD_EXPORT_SCNL): Connection accepted from IP address 127.0.0.1
20221208_UTC_14:29:44 export_scnl(MOD_EXPORT_SCNL): msg[1512] i6 m126 t19 too long for target
...........................................................................
20221208_UTC_14:29:44 export_scnl(MOD_EXPORT_SCNL): msg[1028] i6 m126 t19 too long for target
20221208_UTC_14:29:44 export_scnl(MOD_EXPORT_SCNL): missed msg(s) i6 m126 t19 in WAVE_RING
20221208_UTC_14:29:44 export_scnl(MOD_EXPORT_SCNL): msg[1312] i6 m126 t19 too long for target
20221208_UTC_14:29:44 export_scnl(MOD_EXPORT_SCNL): Bad socket read: -1
20221208_UTC_14:29:44 export_scnl(MOD_EXPORT_SCNL) restarting. This procedure may hang. Make sure restartMe is set in my .desc file
20221208_UTC_14:29:44 export_scnl(MOD_EXPORT_SCNL): msg[1200] i6 m126 t19 too long for target
.........................................................

Dietz, Lynn D

unread,
Dec 9, 2022, 3:07:00 PM12/9/22
to Earthworm Community Forum
msg[1512] i6 m126 t19 too long for target

Means a EW message of 1512 bytes is too long for the "MaxMsgSize" you have set in the export_scnl.d config file. This means export will not be able to manipulate that data.

All EW waveform data should be 4096 bytes or shorter.


From: 'nicho' via Earthworm Community Forum <earthwo...@googlegroups.com>
Sent: Thursday, December 8, 2022 6:43 AM
To: Earthworm Community Forum <earthwo...@googlegroups.com>
Subject: [EXTERNAL] [Earthworm Forum] Re: EW to Winston
 

 

 This email has been received from outside of DOI - Use caution before clicking on links, opening attachments, or responding.  



--
--
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/c268d309-4550-454b-aedc-ffa47abc000en%40googlegroups.com.

nicho

unread,
Dec 12, 2022, 4:45:23 AM12/12/22
to Earthworm Community Forum
I reset valve of MaxMsgSize and RingSize as 4096 in the export_scnl.d. After running startstop, I can see "Connection accepted from IP address 127.0.0.1" in the export_scnl log file, after that the status of export_scnl is Zombie and Dead. After I restart export_scnl, the status of export_scnl is Alive, but the export_scnl log are:  
    Waiting for new connection.
    20221212_UTC_09:28:55 export_scnl(MOD_EXPORT_SCNL): Connection accepted from IP address 127.0.0.1
    20221212_UTC_09:28:57 export_scnl(MOD_EXPORT_SCNL): Bad socket read: -1
    20221212_UTC_09:28:57 export_scnl(MOD_EXPORT_SCNL) restarting. This procedure may hang. Make sure restartMe is set in my .desc file

What meaning of "Bad socket read -1" is? I have setup restartMe in export_scnl.desc, why I am still required to set ?
Thanks.
Reply all
Reply to author
Forward
0 new messages