Forums » Software Installation »
redux port
Added by Xing Meng over 10 years ago
Hi
Following the install instruction for redux server, the redux.log shows
REQUEST: server_host=localhost&oformat=PNG&filename=/usr/local/myami/test.jpg
IN MEMORY: Format(49679056,oformat=PNG,overlay=,overlaycolor=0.1,rgb=False
there is no port information for redux.
And when finishing setting the web, imageview shows error
Failed redux Failed to return angthing
Replies (5)
RE: redux port - Added by Anchi Cheng over 10 years ago
There are two places that needs port information filled in:
1. redux.cfg
It should be in either /etc/myami or in the redux directory you run it from. My guess is that it was removed when you reinstall.
To avoid this kind of problem with your reinstallation of new version over the old, which caused the old folder to be removed, put configuration files such as leginon.cfg, sindeon.cfg, instruments.cfg, and redux.cfg in /etc/myami (Unix), C:\Program Files\myami (32-bit Windows), or C:\Program Files (x86) (64-bit Windows) and remove the ones you made in the installation.
In redux.cfg, I had set it to
[log]
file: /var/log/redux.log
when I was at your place. This absolute path is a better place than the default relative path , but you need to make sure /var/log is writable by the user starting redux.
RE: redux port - Added by Anchi Cheng over 10 years ago
2. myamiweb/config.php
You need to match the port number with that used in redux.cfg
RE: redux port - Added by Xing Meng over 10 years ago
Thanks
THis is a new installation,
what is the number I should assign to?
RE: redux port - Added by Anchi Cheng over 10 years ago
The default is likely o.k. at 55123. Use other numbers if the particuler port is used for other known reason.