[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AWIPS #WOM-137582]: CAVE refused connection to server question



Hi Pete,

Couple things, when you start edex (sudo edex start) this should start ldm (and 
set the hostname and port automatically) - you shouldn't have to start ldm 
additionally. An easy way to check if ldm is running correctly is to run 
"ldmadmin watch" and you should see products flying by on the screen. To check 
that your ldm is set correctly (without using the regutil command) you can look 
at /awips2/ldm/etc/registry.xml - line 4 is your hostname with the domain. Are 
you seeing data when running ldmamin watch?

However, ldm doesn't have anything to do with the reason that CAVE isn't 
connecting to EDEX. For that, as Shay mentioned what's important here is what 
is in your setup.env file. Which you have your EXT_ADDR set to "lwthr1p-new". 
Is that what you are using when starting up CAVE? 





> Greetings an additional piece of information..
> 
> When we just performed as user awips the command  sudo edex restart, 
> everything restarted as expected.    We then tried the command    ldmadmin 
> restart   (as user awips) and got the feedback
> 
> "The LDM-hostname is not fully-qualified.  Execute the command "regutil -s 
> <hostname> /hostname" to set the fully qualified name of the host.
> 
> This may be related to our issue.   The questions we have are now do we 
> perform the regutil command as root or as user awips??   And  what if our 
> host name is dummyserver-new   are we doing   a or b below?  -- we think a as 
> root but we are not sure?
> 
> a)  regutil -s dummyserver-new /hostname
> b) regutil -s dummyserver-new /dummyserver-new
> 
> Pete
> 
> 
> 
> -----Original Message-----
> From: Manousos, Peter C
> Sent: Monday, August 8, 2022 10:35 PM
> To: address@hidden
> Subject: RE: [EXTERNAL] [AWIPS #WOM-137582]: CAVE refused connection to 
> server question
> 
> Hi Shay - no worries with the multi-questions.    It is great the service you 
> both provide.   Pete
> 
> 1.    We are not using iptables and the sys admin tells me those ports are 
> already wide open
> 2.    EDEXrequest is running
> 3.    Here is /awips2/edex/bin/setup.env
> 
> cat /awips2/edex/bin/setup.env
> ### EDEX localization related variables ### export AW_SITE_IDENTIFIER=OAX 
> export EXT_ADDR=lwthr1p-new
> 
> # database names
> export DC_DB_NAME=dc_ob7oax
> export FXA_DB_NAME=fxatext
> export HM_DB_NAME=hmdb
> export IH_DB_NAME=hd_ob92oax
> export DATA_ARCHIVE_ROOT=/awips2/data_store
> export CLIMATE_DB_NAME=climate
> 
> # setup db connections
> export DB_HOST=localhost
> export DB_PORT=5432
> export DB_SSLMODE=verify-ca
> 
> # setup connection to qpid
> export BROKER_HOST=localhost
> export BROKER_PORT=5672
> export BROKER_HTTP=8180
> 
> # setup hdf5 connection if pypies is enabled export PYPIES_HOST=${EXT_ADDR} 
> export PYPIES_PORT=9582 export 
> PYPIES_SERVER=http://${PYPIES_HOST}:${PYPIES_PORT}
> 
> # moved here from environment.xml
> # these values are returned to clients that contact the localization service 
> export HTTP_HOST=${EXT_ADDR} export HTTP_PORT=9581 export 
> HTTP_SERVER_PATH=/services export 
> HTTP_SERVER=http://${HTTP_HOST}:${HTTP_PORT}${HTTP_SERVER_PATH}
> export JMS_SERVER=tcp://${BROKER_HOST}:${BROKER_PORT}
> export JMS_VIRTUALHOST=edex
> export 
> JMS_CONNECTIONS_URL=http://${BROKER_HOST}:${BROKER_HTTP}/api/latest/connection/${JMS_VIRTUALHOST}
> export 
> JMS_QUEUE_URL=http://${BROKER_HOST}:${BROKER_HTTP}/api/latest/queue/${JMS_VIRTUALHOST}/${JMS_VIRTUALHOST}
> export JMS_SSL_ENABLED=false
> export QPID_SSL_CERT_DB=/awips2/edex/conf/jms/auth
> export QPID_SSL_CERT_NAME=guest
> 
> # set the AWIPS II shared directory
> export SHARE_DIR=/awips2/edex/data/share
> 
> # set the AWIPS II temporary directory
> export TEMP_DIR=/awips2/edex/data/tmp
> 
> # set hydroapps directory path
> export apps_dir=${SHARE_DIR}/hydroapps
> # site identifier for hydroapps
> export SITE_IDENTIFIER=${AW_SITE_IDENTIFIER}
> export AWIPS2_TEMP=/awips2/tmp
> 

Thanks,

Tiffany Meyer
AWIPS Lead Software Engineer
UCAR-Unidata

If you're interested, please feel free to fill out a survey about the support 
you receive:  
https://docs.google.com/forms/d/e/1FAIpQLSeDIkdk8qUMgq8ZdM4jhP-ubJPUOr-mJMQgxInwoAWoV5QcOw/viewform

Ticket Details
===================
Ticket ID: WOM-137582
Department: Support AWIPS
Priority: Normal
Status: Open
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.