[Xastir] Snapshot and logfile troubles

Tim Gimmel tim at gimmel.org
Sat Nov 11 13:57:26 EST 2006


tim at kirk:~/.xastir/logs> id
uid=1000(tim) gid=100(users)
groups=14(uucp),16(dialout),17(audio),33(video),100(users)

drwxrwxrwx   9 tim users  4096 2006-11-11 12:46 .
drwxr-xr-x  41 tim users  4096 2006-11-08 21:19 ..
drwx------   2 tim users  4096 2006-11-09 20:29 config
drwx------   2 tim users  4096 2006-11-02 20:26 data
drwx------   2 tim users  4096 2004-08-20 19:06 gps
drwx------   2 tim users  4096 2006-11-11 04:16 logs
drwx------   2 tim users 20480 2006-11-02 20:26 map_cache
drwxrwxrwx   2 tim users  4096 2006-09-26 18:29 tmp
drwx------   2 tim users  4096 2004-08-20 19:06 tracklogs
-rw-r--r--   1 tim users     5 2006-11-09 20:29 xastir.pid

If I turn on snapshots it tries to write to a non-existing directory: 
tim at kirk:~/.xastir/logs> Couldn't
open /home/tim/.xastir/data/nws-stations.txt/tmp/snapshot.geo
/usr/bin/convert: Unable to open file
(/home/tim/.xastir/data/nws-stations.txt/tmp/snapshot.xpm).
Not a directory
Failed to convert
snapshot: /home/tim/.xastir/data/nws-stations.txt/tmp/snapshot.xpm
-> /home/tim/.xastir/data/nws-stations.txt/tmp/snapshot.png  

it should be trying to write to /home/tim/.xastir/tmp/snapshot.xbm.  I
would say that permissions are ok, but is confused on where to write
snapshots and logs.

73,
Tim              

On Sat, 2006-11-11 at 09:20 +0000, John Ronan wrote:
> On 11 Nov 2006, at 02:57, Tim Gimmel wrote:
> 
> > All,
> > I am running current cvs and having trouble with snapshots, logfiles,
> > etc:
> >
> > tim at kirk:~/.xastir/config> Couldn't open config file for
> > appending: /home/tim/.xastir/data/nws-stations.txt/config/xastir.cnf
> > Couldn't
> > recover /home/tim/.xastir/data/nws-stations.txt/config/xastir.cnf
> > from /home/tim/.xastir/data/nws-stations.txt/config/xastir.cnf.1 file
> > Couldn't stat log file
> > '/home/tim/.xastir/data/nws-stations.txt/logs/net.log': Not a  
> > directory
> > tim at kirk:~/.xastir/config> Couldn't
> > open /home/tim/.xastir/data/nws-stations.txt/tmp/snapshot.geo
> > /usr/bin/convert: Unable to open file
> > (/home/tim/.xastir/data/nws-stations.txt/tmp/snapshot.xpm).
> > Not a directory
> > Failed to convert
> > snapshot: /home/tim/.xastir/data/nws-stations.txt/tmp/snapshot.xpm
> > -> /home/tim/.xastir/data/nws-stations.txt/tmp/snapshot.png
> >
> > I can't figure out where the "data/nws-stations.txt" is coming  
> > from.  I
> > have looked all over my xastir.cnf file  and it seems ok. (tried  
> > looking
> > in xa_config.c with no luck)
> > Any ideas?
> It sounds like a permissions problem (at first glance), what is your  
> user id? (the command is 'id') and what are the permissions on the  
> files 'ls -al' will give you those.
> 
> John
> 
> 
> --
> John Ronan <jronan at tssg.org>, +353-51-302938
> Telecommunications Software &  Systems Group,  http://www.tssg.org
> 
> 
> 
> _______________________________________________
> Xastir mailing list
> Xastir at xastir.org
> http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir



More information about the Xastir mailing list