No subject

Brandon Schnell brandonschnell at hotmail.com
Tue Aug 31 02:18:21 GMT 1999


I'm a new linux user trying to run samba on Linuxppc R5 but smbd doesn't 
appear to be responding properly. Both nmbd and smbd are configured as 
daemons and netstat lists netbios-ssn as listening. I can't find anything 
else that would conflict starting from inetd. Nmbd appears to work as I can 
list the available servers and the server is seen by the clients but I don't 
need nmbd, just the ability to access smbd with an ip address. I've gone 
through the included diagnosis.txt file and I'm getting stuck at step 3 with 
an error message that the session request failed.

Here is the output of "smbclient -L files" with log level = 10:

doing parameter log file = /var/log/samba/log.%m
doing parameter max log size = 50
doing parameter socket options = TCP_NODELAY
doing parameter printcap name = /etc/printcap
doing parameter preferred master = Yes
doing parameter dns proxy = No
doing parameter guest account = ftp
doing parameter max connections = 5
pm_process() returned Yes
lp_servicenumber: couldn't find homes
codepage_initialise: client code page = 850
load_client_codepage: loading codepage 850.
Adding chars 0x85 0xb7 (l->u = True) (u->l = True)
    ********snip*******
Added interface ip=216.61.196.234 bcast=216.61.196.239 nmask=255.255.255.248
Client started (version 2.0.3).
resolve_name: Attempting lmhosts lookup for name files<0x20>
getlmhostsent: lmhost entry: 127.0.0.1 localhost
resolve_name: Attempting host lookup for name files<0x20>
Connecting to 216.61.196.234 at port 139
write_socket(3,76)
write_socket(3,76) wrote 76
Sent session request
receive_smb: length < 0!
client_receive_smb failed
size=0
smb_com=0x0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=0
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=0
session request to FILES failed
resolve_name: Attempting lmhosts lookup for name files<0x20>
getlmhostsent: lmhost entry: 127.0.0.1 localhost
resolve_name: Attempting host lookup for name files<0x20>
Connecting to 216.61.196.234 at port 139
write_socket(3,76)
write_socket(3,76) wrote 76
Sent session request
receive_smb: length < 0!
client_receive_smb failed
size=0
smb_com=0x0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=0
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=0
session request to *SMBSERVER failed

It appears that smb has the port open but isn't returning data. log.nmb 
looks normal with no error messages, but log.smb mainly consists of lines 
of:

[1999/08/30 20:18:49, 0] locking/shmem.c:smb_shm_open(930)
  ERROR smb_shm_open : mmap failed with code Invalid argument
and
[1999/08/30 20:19:00, 0] locking/locking.c:locking_init(169)
  ERROR: Failed to initialise share modes!


Any help would be appreciated!



Brandon Schnell

Brandon at schnell.to

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


More information about the samba mailing list