mmap failed with code 22
Paul F. Ryan
ryanpf at tek-pfr.pctraining.com
Fri Sep 5 16:59:33 GMT 1997
Good day list readers! I have an unusual (well, for me anyway!) problem
with a first time install of Samba 1.9.17 on a Linux 1.2.8 platform named
smbsrv.
- Clean compile
- Simple smb.conf file (see attachment) with good testparm
- nmblookup -d 2 '*' |
- nmblookup -B smbsrv __SAMBA__ |
- nmblookup any_NT_or_95_Hostname | all work correctly
- smbclient -L any_host_but_Samba_box |
- smbclient '\\any_host_but_Samba_box\someshare' |
- the samba server appears in W95 and WNT nethoods but won't expand
i.e. samba server shows up in 'net view' lists but returns an
"Error 51: The specified computer is not receiving requests."
for a 'net view \\smbsrv' command.
- any attempt to use the samba's server side from the smbsrv results
in the following:
smbsrv:~$ smbclient -L smbsrv
Added interface ip=213.107.23.4 bcast=213.107.23.255 nmask=255.255.255.0
Session request failed (0,0) with myname=SMBSRV destname=SMBSRV
Unspecified error 0x0
Your server software is being unfriendly
smbsrv:~$
- A peek at the log.smb file (extract only) shows:
09/03/97 10:41:32 loaded services
09/03/97 10:41:32 becoming a daemon
bind succeeded on port 139
waiting for a connection
ERROR smb_shm_open : mmap failed with code 22
ERROR smb_shm_open : mmap failed with code 22
- The code 22 error repeats for every outside attempt to use the smb server
I've looked at the souce and found the error is coming from shmem.c, but
I'm not smart enough to figure out what it's telling me. Anyone on the
list have a possible solution? TIA
Paul F. Ryan, PPI, Allentown, PA VOICE (610-776-6152)
(ryanpf at tek-pfr.pctraining.com)
or (Paul.Ryan at USA.NET)
-------------- next part --------------
[global]
workgroup = ADMIN
;debug level = 5
comment = Samba Server
max log size = 50
short preserve case = yes
preserve case = yes
share modes = yes
security = USER
; socket options = TCP_NODELAY
;============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = no
writable = yes
; A publicly accessible directory, but read only except for users
[pub]
comment = Public Stuff
path = /home/samba
public = yes
writable = yes
printable = no
write list = @users
[tmp]
comment = Temporary file space
path = /tmp
read only = no
public = yes
More information about the samba
mailing list