Webapp installation tutorial
|
|
---|---|
HiReynald I find why i have to set SUPER_TANGO to true before run jive, it's hostname's format. On my CentOS 7 (tango 9.2.5 + omniorb 4.2.1 + zmq 4.2.1), i define hostname as "localhost.localdomain" in /etc/hosts, and define TANGO_HOST in /etc/tangorc by hostname /etc/hosts:
/etc/tangorc:
In this environment, if i complete step 5 ( http://tango-controls.readthedocs.io/en/latest/tutorials-and-howtos/tutorials/install-tango-webapp.html ) and not define SUPER_TANGO, the jive can't correctly run:
then in jive, can't access any device information (seemly jive not correctly retrieve data from tango DB). if I don't configure TAC, everything is ok! If i edit hostname in /etc/hosts and /etc/tangorc /etc/hosts:
/etc/tangorc:
then i don't define SUPER_TANGO, jive can correctly run. so i think for tango, hostname must have some specified requirements! Ingvord i set TANGO_ACCESS to none, then start mtangorest.server-rc4-2.4-SNAPSHOT.jar successfully. |
|
|
---|---|
Hi Jimmy, besides the issues with the TANGO_HOST env variable, the /etc/hosts file content you're showing looks wrong. Hosts file is supposed to contain one line for each host, with the following information: Internet-address OfficialHostname Aliases The official hostname may or may not include the complete domain name. But… your first configuration is basically assigning two different IP addresses to localhost, which won't work. (and localhost s really just for 127.0.0.1). Cheers, Lorenzo |