ew2mseed

77 views
Skip to first unread message

Emanuele Marchetti

unread,
May 13, 2021, 10:57:05 AM5/13/21
to Earthworm Community Forum

Hi

I have just installed EW7.10 on Ubuntu 18
I need to save mseed data.
However, ew2mseed is not able to correctly identify the IP address of the waveserver. It seems EW is not reading correctly the line of the waveserve IP addr.

Any ideas?
Thanks
ema

Nicholas Novoa

unread,
May 13, 2021, 11:26:11 AM5/13/21
to earthwo...@googlegroups.com
Hi Ema,
Are you trying to connect to a waveserver on the localhost or a different host? You should be able to use the getmenu <host>:<port> command to do a quick check to see if you can connect to the waveserver and what data is there.

-Nick

--
--
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/4ffd5d5e-780a-4d0c-b2f8-0cba3f85c41cn%40googlegroups.com.

Emanuele Marchetti

unread,
May 13, 2021, 1:19:38 PM5/13/21
to Earthworm Community Forum
Hi Nick

I am connecting to teh localhost and with getmenu I get teh list of teh data recorded.

The problem is that ew2mseed does not open the link to the waveserver even if teh IP is written properly in the .d file.

thanks
Ema

Stefan Lisowski

unread,
May 13, 2021, 1:41:18 PM5/13/21
to earthwo...@googlegroups.com
What is the IP you are using? If you use 0.0.0.0 for the waveserver,
that's fine as it will bind to all open interfaces. But you can't use
0.0.0.0 as a destination. You'd need to use 127.0.0.1 or an actual IP
address. This may not be your issue at all; just a thought since I don't
see your config files.
> <https://groups.google.com/d/msgid/earthworm_forum/4ffd5d5e-780a-4d0c-b2f8-0cba3f85c41cn%40googlegroups.com?utm_medium=email&utm_source=footer>.
>
> --
> --
> 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
> <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
> <mailto:earthworm_for...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/earthworm_forum/517a61b9-1ce0-4f92-b4a0-1e93e047d1aen%40googlegroups.com
> <https://groups.google.com/d/msgid/earthworm_forum/517a61b9-1ce0-4f92-b4a0-1e93e047d1aen%40googlegroups.com?utm_medium=email&utm_source=footer>.

Emanuele Marchetti

unread,
May 14, 2021, 4:05:00 AM5/14/21
to Earthworm Community Forum
Hi Stefan,

many thanks for your reply.
The IP address is set in ew2mseed.d as "WaveServer 0.0.0.0 16022".
However mseed files are not created and the log file (copied below) reports the correct port number but not the IP address.
Moreover, if I change teh port number in ew2mseed.d it is changed in the log file. No success with the IP address, like if setuptcpclient_ew() is reading teh address somewhere else.

I used EW7.8 in the past and never had this problem.

I hope this can help to understand.
Thanks for the support.
Ciao
Ema


------------
ew2mseed: startup at UTC_20210514_07:54:14
This program is using the MT-Safe version of logit.
-------------------------------------------------------
20210514_UTC_07:54:14 ew2mseed: Read command file <ew2mseed.d>
                MseedDir          = /media/data/mseed
                configFile        = ew2mseed.d
                Verbosity         = 1
                logSwitch         = 2
                GapThresh         = 20
                SocketReconnect   = 3000 s
                Travel Tm-out     = 20 s
                Start Time (s)    = 1619827200.000000
                LockFile          = ./ew2mseed.lock
                UsePriority       = NO
                Records num-r     = 10
----------------------
                WaveServer-0   = nfiguration:16022
-----------------------
                              STN    CHAN     NET   Loc.ID Rec. length Compr.
                SCN-0   =     A01     HDF      TU      00  4096 10
                SCN-1   =     A01     HDF      TU      01  4096 10
=========================
20210514_UTC_07:54:14 setuptcpclient_ew()- getaddrinfo error: Temporary failure in name resolution
20210514_UTC_07:54:14 wsAppendMenu nfiguration:16022 : Could not get a connection.
20210514_UTC_07:54:14 processWsAppendMenu: menu is empty, retrying to connect to servers...20210514_U$
20210514_UTC_07:54:34 wsAppendMenu nfiguration:16022 : Could not get a connection.
20210514_UTC_07:54:34 processWsAppendMenu: menu is empty, retrying to connect to servers...20210514_U$
20210514_UTC_07:54:54 wsAppendMenu nfiguration:16022 : Could not get a connection.
20210514_UTC_07:54:54 processWsAppendMenu: menu is empty, retrying to connect to servers...


Victor Preatoni

unread,
May 14, 2021, 10:18:41 AM5/14/21
to Earthworm Community Forum
I think you misconfigured the WaveServer parameter in ew2mseed.d file.

It should be: WaveServer 127.0.0.1 16022

Reply all
Reply to author
Forward
0 new messages