xfsamba? Re: XFCE4 on FreeBSD - no problem

edscott wilson garcia edscott at imp.mx
Fri Jul 25 04:09:05 CEST 2003


El jue, 24-07-2003 a las 03:35, Robert Klein escribió:
> On Mittwoch, 23. Juli 2003 23:13, edscott wilson garcia wrote:
> > El mi? 23-07-2003 a las 14:29, Robert Klein escribió:
> 
> > > I mean, I should at least see something on the network
>   [from xfsamba4]
> > > device due to the nmblookup command, should I not?
> >
> > If the nmblookup command works, yes.
> 
> > No. If it works from a command line terminal, it should work
> > from xfsamba4, unless it's not in xfsamba4's path. Xfsamba4
> > just forks to execute nmblookup and smbclient.
> 
> mmm, I ran xfsamba with truss.  Does it say something of value?
> (below)  Does the fork fail, somehow?

The fork does not fail. The problem I can see from the output is that
xfsamba cannot find nmblookup nor smbclient after searching in /sbin,
/bin, /usr/sbin, /usr/bin, /usr/games, /usr/local/sbin, /usr/local/bin.

This might seem a stupid question, but do you have the samba package
installed? It is apparently not found in your path.

regards

Edscott

> 
> Regards, Robert
> 
> 
> 1) excerpt  from truss -a -f -e -o truss2.txt xfsamba4
> 
> 39333: poll(0x8232a00,0x1,0x0)                   = 0 (0x0)
> 39333: gettimeofday(0xbfbfef38,0x0)              = 0 (0x0)
> 39333: access("/sbin/nmblookup",1)               ERR#2 'No such 
> file or directory'
> 39333: access("/bin/nmblookup",1)                ERR#2 'No such 
> file or directory'
> 39333: access("/usr/sbin/nmblookup",1)           ERR#2 'No such 
> file or directory'
> 39333: access("/usr/bin/nmblookup",1)            ERR#2 'No such 
> file or directory'
> 39333: access("/usr/games/nmblookup",1)          ERR#2 'No such 
> file or directory'
> 39333: access("/usr/local/sbin/nmblookup",1)     ERR#2 'No such 
> file or directory'
> 39333: access("/usr/local/bin/nmblookup",1)      = 0 (0x0)
> 39333: getuid()                                  = 1001 (0x3e9)
> 39333: access("/sbin/smbclient",1)               ERR#2 'No such 
> file or directory'
> 39333: access("/bin/smbclient",1)                ERR#2 'No such 
> file or directory'
> 39333: access("/usr/sbin/smbclient",1)           ERR#2 'No such 
> file or directory'
> 39333: access("/usr/bin/smbclient",1)            ERR#2 'No such 
> file or directory'
> 39333: access("/usr/games/smbclient",1)          ERR#2 'No such 
> file or directory'
> 39333: access("/usr/local/sbin/smbclient",1)     ERR#2 'No such 
> file or directory'
> 39333: access("/usr/local/bin/smbclient",1)      = 0 (0x0)
> 39333: getuid()                                  = 1001 (0x3e9)
> 39333: pipe()                                    = 7 (0x7)
> 39333: pipe()                                    = 9 (0x9)
> 39333: pipe()                                    = 11 (0xb)
> 39333: sigaction(SIGUSR1,0xbfbfef10,0x0)         = 0 (0x0)
> 39333: fork()                                    = 39334 (0x99a6)
> 39334: sigaction(SIGTERM,0xbfbfef10,0x0)         = 0 (0x0)
> SIGNAL 30
> 39334: poll(0x8079000,0x1,0xffffffff)            ERR#4 
> 'Interrupted system call'
> SIGNAL 30
> SIGNAL 30
> 39334: sigreturn(0x8073c40)                      ERR#4 
> 'Interrupted system call'
> 39334: gettimeofday(0x28989178,0x0)              = 0 (0x0)
> SIGNAL 2
> 39334: poll(0x8079000,0x1,0xffffffff)            ERR#4 
> 'Interrupted system call'
> SIGNAL 2
> SIGNAL 2
> 39334: write(2,0x80734b0,52)                     = 52 (0x34)
> 39334: stat("/tmp",0x8073b30)                    = 0 (0x0)
> 39334: open("/tmp",0x4,00)                       = 13 (0xd)
> 39334: fcntl(0xd,0x3,0x0)                        = 4 (0x4)
> 39334: fcntl(0xd,0x4,0x4)                        = 0 (0x0)
> 39334: fstat(13,0x8073b30)                       = 0 (0x0)
> 39334: fcntl(0xd,0x2,0x1)                        = 0 (0x0)
> 39334: fstatfs(0xd,0x8073a30)                    = 0 (0x0)
> 39334: getdirentries(0xd,0x849c000,0x1000,0x80bfc14) = 4096 
> (0x1000)
> 39334: getdirentries(0xd,0x849c000,0x1000,0x80bfc14) = 512 
> (0x200)
> 39334: getdirentries(0xd,0x849c000,0x1000,0x80bfc14) = 0 (0x0)
> 39334: lseek(13,0x0,0)                           = 0 (0x0)
> 39334: fstat(13,0x8073b40)                       = 0 (0x0)
> 39334: close(13)                                 = 0 (0x0)
> 39334: setitimer(0x2,0x8073bc0,0x0)              = 0 (0x0)
> 39334: close(4)                                  = 0 (0x0)
> 39334: close(5)                                  = 0 (0x0)
> 39334: fcntl(0x0,0x3,0x0)                        = 6 (0x6)
> 39334: fcntl(0x0,0x4,0x2)                        = 0 (0x0)
> 39334: fcntl(0x1,0x3,0x0)                        = 2 (0x2)
> 39334: fcntl(0x1,0x4,0x2)                        = 0 (0x0)
> 39334: fcntl(0x2,0x3,0x0)                        = 2 (0x2)
> 39334: fcntl(0x2,0x4,0x2)                        = 0 (0x0)
> 39334: exit(0x1)                                
> process exit, rval = 256
>  gettimeofday(0xbfbfee78,0x0)            = 0 (0x0)
> 39333: gettimeofday(0x28989178,0x0)              = 0 (0x0)
> 39333: poll(0x8079000,0x1,0x5)                   = 0 (0x0)
> 39333: gettimeofday(0x28989178,0x0)              = 0 (0x0)
> 39333: gettimeofday(0x28989178,0x0)              = 0 (0x0)
> 39333: ioctl(6,FIONREAD,0xbfbfe66c)              = 0 (0x0)
> 39333: gettimeofday(0xbfbfee68,0x0)              = 0 (0x0)
> 39333: poll(0x849b340,0x3,0x0)                   = 0 (0x0)
> 39333: gettimeofday(0xbfbfee78,0x0)              = 0 (0x0)
> 
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://moongroup.com/mailman/listinfo/xfce4-dev
> 




More information about the Xfce4-dev mailing list