predict -s starts then immediately crashes
predict -s (pedict invoked as a server) immediately crashes (terminates) after startup. anyone have an idea why it would do this? (works fine when not invoked as a server)
Thanks,
Eric AF6EP
Does GDB give any useful information?
-Joe, N8FQ
On Sun, 12 Apr 2009 03:01:52 -0700 Eric Fort eric.fort@gmail.com wrote:
predict -s (pedict invoked as a server) immediately crashes (terminates) after startup. anyone have an idea why it would do this? (works fine when not invoked as a server)
Thanks,
Eric AF6EP
On Sun, 12 Apr 2009 03:01:52 -0700 Eric Fort eric.fort@gmail.com wrote:
predict -s (pedict invoked as a server) immediately crashes (terminates) after startup. anyone have an idea why it would do this? (works fine when not invoked as a server)
Do you have predict listed as a service in /etc/services ? Should be a line like this:
predict 1210/udp # predict -- satellite tracking
Is something else using UDP Port 1210 ? That might cause it.Check with netstat -an | grep 1210
73s
Iain
under debian predict runs setup like it should then terminates never getting to the multi satelite screen. on running it again it starts over in setting up the qth, even though ~/.predict/predict.qth is present.
just fixed the problem:
the following 3 files seem to need to be present for predict to run:
~/.predict/predict.qth ~/.predict/predict.db _/.predict/predict.tle
to run as a server /etc/ services must have port 1210/udp assigned to predict.
my osx install also now runs the predict server. osx assigns aborher service to port 1210 by default.
noww both work.
Eric AF6EP
On Sun, Apr 12, 2009 at 3:01 AM, Eric Fort eric.fort@gmail.com wrote:
predict -s (pedict invoked as a server) immediately crashes (terminates) after startup. anyone have an idea why it would do this? (works fine when not invoked as a server)
Thanks,
Eric AF6EP
Also, if you can't/don't want to change the file /etc/services, you can invoke predict as
predict -s -n 1210
note that you can change the 1210 (port number) to whatever you like most, and that you can have multiple predict servers running on the same machine listening on different ports. So maybe you can have the amateur sats on one server, weather sats on another server, etc.
73 de Xavi EB3CZS
On Sun, Apr 12, 2009 at 2:08 PM, Eric Fort eric.fort@gmail.com wrote:
under debian predict runs setup like it should then terminates never getting to the multi satelite screen. on running it again it starts over in setting up the qth, even though ~/.predict/predict.qth is present.
just fixed the problem:
the following 3 files seem to need to be present for predict to run:
~/.predict/predict.qth ~/.predict/predict.db _/.predict/predict.tle
to run as a server /etc/ services must have port 1210/udp assigned to predict.
my osx install also now runs the predict server. osx assigns aborher service to port 1210 by default.
noww both work.
Eric AF6EP
On Sun, Apr 12, 2009 at 3:01 AM, Eric Fort eric.fort@gmail.com wrote:
predict -s (pedict invoked as a server) immediately crashes (terminates) after startup. anyone have an idea why it would do this? (works fine
when
not invoked as a server)
Thanks,
Eric AF6EP
Sent via AMSAT-BB@amsat.org. Opinions expressed are those of the author. Not an AMSAT-NA member? Join now to support the amateur satellite program! Subscription settings: http://amsat.org/mailman/listinfo/amsat-bb
/etc/services still seems to require a proper entry for whatever port number you may specify predict to run as. Without that entry associating predict with that port number, predict crashes. one thing I had to fix was /etc/services had port 1210 udp assigned to another service. predict repeatedly crashed until I specified in /etc/services an association between predict and the port it wanted to run on, replacing the service that was formerly bound to said port (1210).
Eric AF6EP
On Mon, Apr 13, 2009 at 11:45 PM, Xavi EB3CZS eb3czs@gmail.com wrote:
Also, if you can't/don't want to change the file /etc/services, you can invoke predict as
predict -s -n 1210
note that you can change the 1210 (port number) to whatever you like most, and that you can have multiple predict servers running on the same machine listening on different ports. So maybe you can have the amateur sats on one server, weather sats on another server, etc.
73 de Xavi EB3CZS
On Sun, Apr 12, 2009 at 2:08 PM, Eric Fort eric.fort@gmail.com wrote:
under debian predict runs setup like it should then terminates never getting to the multi satelite screen. on running it again it starts over in setting up the qth, even though ~/.predict/predict.qth is present.
just fixed the problem:
the following 3 files seem to need to be present for predict to run:
~/.predict/predict.qth ~/.predict/predict.db _/.predict/predict.tle
to run as a server /etc/ services must have port 1210/udp assigned to predict.
my osx install also now runs the predict server. osx assigns aborher service to port 1210 by default.
noww both work.
Eric AF6EP
On Sun, Apr 12, 2009 at 3:01 AM, Eric Fort eric.fort@gmail.com wrote:
predict -s (pedict invoked as a server) immediately crashes (terminates) after startup. anyone have an idea why it would do this? (works fine
when
not invoked as a server)
Thanks,
Eric AF6EP
Sent via AMSAT-BB@amsat.org. Opinions expressed are those of the author. Not an AMSAT-NA member? Join now to support the amateur satellite program! Subscription settings: http://amsat.org/mailman/listinfo/amsat-bb
-- 73 de Xavi EB3CZS
participants (4)
-
Eric Fort
-
Iain Young, G7III
-
Joe Veldhuis
-
Xavi EB3CZS