your latest response:
You can use telnet, ping and traceroute to probe server ports. You don't have to rely on the Earthworm
software only. For example, if the server that export_generic is
trying to reach uses port 16002 at IP address 192.168.0.2, can you
telnet 192.168.0.2 16002? If the server is listening, telnet will
connect, even though it will not be able to communicate. If that fails,
can you ping the server IP address? I.e., ping 192.168.0.2. If that
fails, you have network configuration errors. You can use traceroute to
watch what the ping probe is doing. I.e., traceroute 192.168.0.2.
Assuming you had no need to change port numbers, the fact
that export_generic says it cannot connect is a pretty strong indication
the network is not quite configured properly on one or more of your
systems. Have you examined the firewall rules on your systems? If NFS
is involved, make sure the server export rules allow the mounts you
need. Use showmount -e <server-IP-address> to show the export
rules for the NFS server at <server-IP-address>.
So I am able to ping and ssh to the device on either network, during what I will refer to as the pub-blockout. The network was switched over to the private network. I was still able to ssh from server to all connected devices. That's how I was able to make the network changes on each device... The Network Attached storage(NAS) device is unix based and runs debian squeeze. I ran the netstat -a option on both networks so you could also have a comparison(please see attached file) the netstat_uwi-Net is the public network. Also once the pub-network was restored and the ip addresses were reverted everything started to work again i.e writing to the database remotely resumed.. Secondly I also have the same situation on a new server that I just set up. however the database is local, the buffer that I'm using to write from is empty. The getmenu command says nothing is in the server, but the buffer I'm pulling from has data.
The data in the wave_ring buffer is from an import module:
sniffwave WAVE_RING wild wild wild wild n
Sniffing WAVE_RING for wild.wild.wild.wild
sniffwave: inRing flushed 5607 packets of 10521784 bytes total.
HOJB.HNN.JM.00 (0x32 0x30) 5 i4 600 100.0 2023/01/03 18:34:34.00 (1672770874.0000) 2023/01/03 18:34:39.99 (1672770879.9900) 0x00 0x00 i117 m51 t19 len2464 [D:327.41s F: 0.0s]
HOJB.HNN.JM.00 (0x32 0x30) 5 i4 500 100.0 2023/01/03 18:34:40.00 (1672770880.0000) 2023/01/03 18:34:44.99 (1672770884.9900) 0x00 0x00 i117 m51 t19 len2064 [D:322.41s F: 0.0s]
MBPJB.HHZ.JM.00 (0x32 0x30) 0 i4 206 100.0 2023/01/03 18:34:43.77 (1672770883.7700) 2023/01/03 18:34:45.82 (1672770885.8200) 0x00 0x00 i117 m58 t19 len 888 [D:321.58s F: 0.0s]
MCJB.HNN.JM.00 (0x32 0x30) 5 i4 1000 100.0 2023/01/03 18:34:34.00 (1672770874.0000) 2023/01/03 18:34:43.99 (1672770883.9900) 0x00 0x00 i117 m46 t19 len4064 [D:323.41s F: 0.0s]
LGMB.HHX.JM.00 (0x32 0x30) 0 i4 262 100.0 2023/01/03 18:34:43.40 (1672770883.4000) 2023/01/03 18:34:46.01 (1672770886.0100) 0x00 0x00 i117 m56 t19 len1112 [D:321.39s F: 0.0s]
PCJB.HHN.JM.00 (0x32 0x30) 2 i4 1000 100.0 2023/01/03 18:34:34.00 (1672770874.0000) 2023/01/03 18:34:43.99 (1672770883.9900) 0x00 0x00 i117 m40 t19 len4064 [D:323.41s F: 0.0s]
MBPJB.HNZ.JM.00 (0x32 0x30) 0 i4 334 100.0 2023/01/03 18:34:42.87 (1672770882.8700) 2023/01/03 18:34:46.20 (1672770886.2000) 0x00 0x00 i117 m58 t19 len1400 [D:321.20s F: 0.0s]
MCJB.HNE.JM.00 (0x32 0x30) 6 i4 1000 100.0 2023/01/03 18:34:34.00 (1672770874.0000) 2023/01/03 18:34:43.99 (1672770883.9900) 0x00 0x00 i117 m46 t19 len4064 [D:323.41s F: 0.0s]
BBJB.HHE.JM.00 (0x32 0x30) 3 i4 500 100.0 2023/01/03 15:59:21.00 (1672761561.0000) 2023/01/03 15:59:25.99 (1672761565.9900) 0x00 0x00 i117 m44 t19 len2064 [D:9641.41s F: 0.0s]
BBJB.HHN.JM.00 (0x32 0x30) 2 i4 500 100.0 2023/01/03 18:34:38.00 (1672770878.0000) 2023/01/03 18:34:42.99 (1672770882.9900) 0x00 0x00 i117 m44 t19 len2064 [D:324.41s F: 0.0s]
MBPJB.HHX.JM.00 (0x32 0x30) 0 i4 206 100.0 2023/01/03 18:34:44.66 (1672770884.6600) 2023/01/03 18:34:46.71 (1672770886.7100) 0x00 0x00 i117 m58 t19 len 888 [D:320.69s F: 0.0s]
MBPJB.HHY.JM.00 (0x32 0x30) 0 i4 206 100.0 2023/01/03 18:34:44.93 (1672770884.9300) 2023/01/03 18:34:46.98 (1672770886.9800) 0x00 0x00 i117 m58 t19 len 888 [D:320.42s F: 0.0s]
PCJB.HHZ.JM.00 (0x32 0x30) 1 i4 1000 100.0 2023/01/03 18:34:35.00 (1672770875.0000) 2023/01/03 18:34:44.99 (1672770884.9900) 0x00 0x00 i117 m40 t19 len4064 [D:322.41s F: 0.0s]
MCJB.HHZ.JM.00 (0x32 0x30) 1 i4 500 100.0 2023/01/03 18:34:36.00 (1672770876.0000) 2023/01/03 18:34:40.99 (1672770880.9900) 0x00 0x00 i117 m46 t19 len2064 [D:326.41s F: 0.0s]
MBPJB.HNY.JM.00 (0x32 0x30) 0 i4 382 100.0 2023/01/03 18:34:43.31 (1672770883.3100) 2023/01/03 18:34:47.12 (1672770887.1200) 0x00 0x00 i117 m58 t19 len1592 [D:320.28s F: 0.0s]
HOJB.HNE.JM.00 (0x32 0x30) 6 i4 500 100.0 2023/01/03 18:34:40.00 (1672770880.0000) 2023/01/03 18:34:44.99 (1672770884.9900) 0x00 0x00 i117 m51 t19 len2064 [D:322.41s F: 0.0s]
LGMB.HNY.JM.00 (0x32 0x30) 0 i4 412 100.0 2023/01/03 18:34:43.32 (1672770883.3200) 2023/01/03 18:34:47.43 (1672770887.4300) 0x00 0x00 i117 m56 t19 len1712 [D:319.97s F: 0.0s]
BBJB.HHZ.JM.00 (0x32 0x30) 1 i4 1000 100.0 2023/01/03 18:34:32.00 (1672770872.0000) 2023/01/03 18:34:41.99 (1672770881.9900) 0x00 0x00 i117 m44 t19 len4064 [D:325.41s F: 0.0s]
MCJB.HHN.JM.00 (0x32 0x30) 2 i4 1000 100.0 2023/01/03 18:34:36.00 (1672770876.0000) 2023/01/03 18:34:45.99 (1672770885.9900) 0x00 0x00 i117 m46 t19 len4064 [D:321.41s F: 0.0s]
MBPJB.HHZ.JM.00 (0x32 0x30) 0 i4 206 100.0 2023/01/03 18:34:45.83 (1672770885.8300) 2023/01/03 18:34:47.88 (1672770887.8800) 0x00 0x00 i117 m58 t19 len 888 [D:319.52s F: 0.0s]
LGMB.HHY.JM.00 (0x32 0x30) 0 i4 312 100.0 2023/01/03 18:34:44.98 (1672770884.9800) 2023/01/03 18:34:48.09 (1672770888.0900) 0x00 0x00 i117 m56 t19 len1312 [D:319.31s F: 0.0s]
Using the export_generic module:
MyModuleId MOD_EXPORT_GENERIC # module id for this program
RingName WAVE_RING2 # transport ring to use for input/output
HeartBeatInt 30 # EW internal heartbeat interval (sec)
# Should be >= RcvAliveInt
LogFile 1 # If 0, don't write logfile
# 1, write to logfile and stdout
# 2, write to module log but not stderr/stdout
#Verbose # If uncommented, VERY LARGE logfiles will be
# generated with info about queue status of
# each msg, socket alive msgs sent & received.
#
# Logos of messages to export to client systems
# Installation Module Message Type
GetMsgLogo INST_JSN MOD_WILDCARD TYPE_TRACEBUF2
# ServerIPAdr and ServerPort specify the local IP address and port number
# on which this module will be ready to accept a client connection.
#
ServerIPAdr 127.0.0.1 # Export messages via this ethernet card
ServerPort 16006 # Well-known port number to export msgs on
MaxMsgSize 4096 # maximum size (bytes) for input/output msgs
RingSize 1000 # number of msgs to buffer for export
SendAliveText "from_ew" # string sent to client as heartbeat
SendAliveInt 30 # seconds between alive msgs sent to client.
# 0=> no heartbeat
RcvAliveText "to_ew" # text of client's heartbeat (we get this)
RcvAliveInt 25 # seconds between client's heartbeats to us.
# 0 => no heartbeat
WINSTON.CONFIG file:
IMPORTEW.CONFIG file:
import.host= 127.0.0.1 #196.3.3.69 #196.3.3.13 #127.0.0.1
import.port=16006
import.receiveID=from_ew
import.sendID=to_ew
import.heartbeatInterval=25000
import.expectedHeartbeatInterval=30000
import.timeout=120000
import.dropTableDelay=10
import.log.name=ImportEW.log
import.log.numFiles=10
import.log.maxSize=1000000
still yields nothing
equ_user@equ-mona-03:~$ sniffwave WAVE_RING2 wild wild wild wild n
Sniffing WAVE_RING2 for wild.wild.wild.wild
sniffwave: inRing flushed 0 packets of 0 bytes total.
Can you explain the disconnect that is happening?
P.Coleman
CONFIDENTIALITY & DISCLAIMER
Information
contained in this e-mail and any files attached to it are private and confidential and intended for the named recipient only. If you are not the intended named recipient you are prohibited from storing, copying,
printing or using the information in any way. If you received this e-mail in error please notify the author immediately by responding to this email and then delete it from your system.