[GRASS-de] Fehlermeldung bei Monitoraufruf

Till Francke gtill at comets.de
Fr Aug 16 14:07:57 CEST 2002



Markus Neteler schrieb:

> On Wed, Aug 14, 2002 at 01:35:55PM +0200, Till Francke wrote:
> > Markus Neteler schrieb:
> > > > > [gekürzt]
> > > > > > > Till Francke wrote:
> > > > > > > >
> > > > > > > > Hallo,
> > > > > > > > ich benutze GRASS 5.0.0pre3 (January 2002) und bin ein ziemlicher
> > > > > > > > Linux-Krüppel, so dass mich folgende Fehlermeldung bei Aufruf eines
> > > > > > > > Monitorfensters ziemlich hilflos macht:
> > > > > > > >
> > > > > > > > GRASS:~ > d.mon x0
> > > > > > > > Could not execute monitor: No such file or directory
> > > > > > > > No socket to connect to for monitor <x0>.
> > > > > > > > Problem selecting x0. Will try once more
> > > > > > > > No socket to connect to for monitor <x0>.
> > > > > > >
> [...]
> > Die Rechte sind alle OK und der Aufruf als Programm erzeugt auch genau die
> > obigen Ausgabe, allerdings ist mein xdriver (lowercase, ist das
> > entscheidend?)
> aha! Wie kommt es, das es lowercase ist? Sehr merkwuerdig.
>
> Es darf lowercase sein, wenn es in
> $GISBASE/etc/monitorcap
>
> auch lowercase ist.
>
> > nur 55kB groß.
> > Vielleicht kannst Du mir doch mal bitte Deinen schicken.
> Unterschiedliche Groessen sind moeglich, ich kompiliere immer mit
> debugging symbols, Du vielleicht ohne. Wenn er laeuft, laeuft er...
>
> Vorschlag:
> cd $GISBASE/driver/
> mv xdriver XDRIVER
>
>

Habe wie empfohlen eine Kopie in Uppercase erzeugt. Fehlermeldung bleibt die gleiche,
nur dass zusätzlich noch
$GISBASE/driver/XDRIVER <name> [-] "input_fifo output_fifo"
ausgegeben wird - also als ob der xdriver mit falschen/ fehlenden Parametern
aufgerufen wird. Die aktuelle strace-Datei füge ich an, falls daraus etwas
ersichtlich ist.
Beim Aufruf eines Monitors aus der tcltk-Oberfläche geht kurz eines kleines
Konsolenfenster auf, dessen Inhalt aber nicht zu lesen ist; ein Monitor kommt ebenso
nicht zustande.

Noch irgendwelche Ideen?

Danke nochmals für die bisherigen Tips.

Gruß
Till

-------------- nächster Teil --------------
execve("/usr/bin/d.mon", ["d.mon", "x0"], [/* 60 vars */]) = 0
uname({sys="Linux", node="localhost.localdomain", ...}) = 0
brk(0)                                  = 0x8084e8c
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/mmx/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686/mmx", 0xbfffe944) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686", 0xbfffe944)     = -1 ENOENT (No such file or directory)
open("/usr/lib/mmx/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/mmx", 0xbfffe944)      = -1 ENOENT (No such file or directory)
open("/usr/lib/libm.so.6", O_RDONLY)    = -1 ENOENT (No such file or directory)
stat64("/usr/lib", {st_mode=S_IFDIR|0755, st_size=28672, ...}) = 0
open("/usr/local/grass5/lib/i686/mmx/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/grass5/lib/i686/mmx", 0xbfffe944) = -1 ENOENT (No such file or directory)
open("/usr/local/grass5/lib/i686/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/grass5/lib/i686", 0xbfffe944) = -1 ENOENT (No such file or directory)
open("/usr/local/grass5/lib/mmx/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/grass5/lib/mmx", 0xbfffe944) = -1 ENOENT (No such file or directory)
open("/usr/local/grass5/lib/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/grass5/lib", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=47206, ...}) = 0
old_mmap(NULL, 47206, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
close(3)                                = 0
open("/lib/libm.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340I\0"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=129908, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40022000
old_mmap(NULL, 131448, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40023000
mprotect(0x40042000, 4472, PROT_NONE)   = 0
old_mmap(0x40042000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1e000) = 0x40042000
close(3)                                = 0
open("/usr/lib/libz.so.1", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/usr/local/grass5/lib/libz.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libz.so.1", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\37"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=56088, ...}) = 0
old_mmap(NULL, 58992, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40044000
mprotect(0x40051000, 5744, PROT_NONE)   = 0
old_mmap(0x40051000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xc000) = 0x40051000
close(3)                                = 0
open("/usr/lib/libc.so.6", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/usr/local/grass5/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\302\1"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1216268, ...}) = 0
old_mmap(NULL, 1231496, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40053000
mprotect(0x40177000, 35464, PROT_NONE)  = 0
old_mmap(0x40177000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x123000) = 0x40177000
old_mmap(0x4017c000, 14984, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4017c000
close(3)                                = 0
open("/usr/lib/libc.so.6", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/usr/local/grass5/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\302\1"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1216268, ...}) = 0
close(3)                                = 0
open("/usr/lib/libc.so.6", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/usr/local/grass5/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\302\1"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1216268, ...}) = 0
close(3)                                = 0
mprotect(0x40044000, 53248, PROT_READ|PROT_WRITE) = 0
mprotect(0x40044000, 53248, PROT_READ|PROT_EXEC) = 0
munmap(0x40016000, 47206)               = 0
getpid()                                = 1717
brk(0)                                  = 0x8084e8c
brk(0x8084eac)                          = 0x8084eac
brk(0x8085000)                          = 0x8085000
brk(0x8086000)                          = 0x8086000
open("/root/.grassrc5", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=85, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40016000
read(3, "GISDBASE: /root/grassdata\nMAPSET"..., 4096) = 85
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x40016000, 4096)                = 0
access("/root/grassdata/fredsdata", F_OK) = 0
stat64("/root/grassdata/fredsdata/fredsdata", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
SYS_199(0x4017af2c, 0, 0x4017bb60, 0x401799d0, 0) = 0
semop(1075293996, 0x401799d0, 0)        = 0
stat64("/root/grassdata/fredsdata/fredsdata", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
SYS_199(0x4017af2c, 0, 0x4017bb60, 0x401799d0, 0) = 0
semop(1075293996, 0x401799d0, 0)        = 0
umask(022)                              = 022
open("/root/.grassrc5", O_RDONLY)       = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=85, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40016000
read(3, "GISDBASE: /root/grassdata\nMAPSET"..., 4096) = 85
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x40016000, 4096)                = 0
rt_sigaction(SIGINT, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
fork()                                  = 1718
Usage:  /usr/local/grass5/driver/XDRIVER <name> [-] "input_fifo output_fifo" [<nlev>]
wait4(1718, [WIFEXITED(s) && WEXITSTATUS(s) == 1], 0, NULL) = 1718
rt_sigaction(SIGINT, {SIG_DFL}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) ---
rt_sigaction(SIGINT, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
fork()                                  = 1719
No socket to connect to for monitor <x0>.
wait4(1719, [WIFEXITED(s) && WEXITSTATUS(s) == 1], 0, NULL) = 1719
rt_sigaction(SIGINT, {SIG_DFL}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) ---
write(2, "Problem selecting x0. Will try o"..., 41Problem selecting x0. Will try once more
) = 41
rt_sigaction(SIGINT, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
fork()                                  = 1720
No socket to connect to for monitor <x0>.
wait4(1720, [WIFEXITED(s) && WEXITSTATUS(s) == 1], 0, NULL) = 1720
rt_sigaction(SIGINT, {SIG_DFL}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) ---
_exit(512)                              = ?