xtide 2.15 on FreeBSD-current amd64

Manfred Antar null at pozo.com
Sun Feb 21 02:02:39 UTC 2016


Just upgraded xtide-2.14 to xtide-2.15

The programs xtide and tide work fine. The xttpd web interface is broken. It works fine on version 2.14.
The errors for /var/log/messages:

XTide Fatal Error:  CANT_GET_SOCKET Xttpd was unable to bind its socket.  Common causes are (1) you tried to use the default port 80 without having root privileges; fix this by providing a usable port number (e.g., 8080) as the first command-line argument, or (2) there is already something running on the specified port, such as another web server.  Error details: bind: Invalid argument.

I start it with this script:
#!/bin/sh
HFILE_PATH=/usr/local/share/xtide/harmonics.tcd
export HFILE_PATH
WVS_DIR=/usr/local/share/xtide/wvs
export WVS_DIR
/usr/local/sbin/xttpd 8080 &
exit 0

It has always worked in the past.
Also same error on OS X El Capitan xtide and tide work there also but not xttpd.

I put xttpd.cc from 2.14 in 2.15 source tree and recompiled, had to change one line that had “BAD_ADDRESS” to “ADDRESS_FAIL”
You can access it at:

http://www.pozo.com:8080



Manfred






More information about the freebsd-ports mailing list