Curious messages in log.smb.smb and log.nmb (1.9.18p3)

Antony King antony at cagliari.st.com
Fri Feb 20 11:21:46 GMT 1998


Hi all,

Firstly (the carrot :-) I wish to thank all the Samba team for an
excellent product, we have been using Samba as our interconnect between
PCs and Solaris for some time and have been very impressed with the
quality of the software.

I have just upgraded from 1.9.18p2 to 1.9.18p3 and am now seeing some
error messages in the Samba log files which I have not seen before.

Our system is an Ultra 1 running Solaris 2.5.1 with the recommended
patche set in the patch cluster dated 13-10-97.  Samba was built using
gcc version 2.7.2.3 with VTP support enabled and the optimisation flag
set to -O2.  The value of MAX_OPEN_FILES in local.h was also raised to
16384. I have attached our smb.conf confguration file.

1) Problem 1
------------

In log.smb.smb I am seeing the following message:

	Can't create or use IPC area

which seems to be generated for each connected that is made to the Samba
server.  Having looked at the sources (in shmem_sysv.c) it seems that an
shmget is failing with a reason code of EEXIST, which according to the
man page for shmget indicates that the key (passed to shmget) is already
in use.  The output of ipcs -a is as follows:

IPC status from <running system> as of Fri Feb 20 12:13:54 1998
Message Queue facility not in system.
T     ID     KEY        MODE       OWNER    GROUP  CREATOR   CGROUP NATTCH  
SEGSZ  CPID  LPID   ATIME    DTIME    CTIME 
Shared Memory:
m    100 0x00280267 --rw-r--r--     root     root     root     root      1 
922336 20705 20705 12:09:50 no-entry 12:09:50
T     ID     KEY        MODE       OWNER    GROUP  CREATOR   CGROUP NSEMS   
OTIME    CTIME 
Semaphores:
s  65536 0x00280269 --ra-ra-ra-     root     root     root     root    24 
12:11:46 12:11:46

I notice that in the man pages for shmctl that shmctl is not called
anywhere with the command IPC_RMID, could this be related since there is
the following note in the man page for shmctl:

NOTES
     The user must explicitly remove shared memory segments after
     the last reference to them has been removed.

2) Problem 2
------------

In log.nmb I am seeing the following message repeated a number of times:

validate_nmb_response_packet: Bad REG/REFRESH Packet. Ignoring response packet 
with opcode 8.

What does this message mean ?  My suspicion is that it is related to
some log messages we are seeing in our CLearCase log file on our NT
machine (NT 4.0 SP2) but I cannot be sure.

Thanks in advance for any illumination on these problems.

Cheers,

Antony.

-------------------------------------------------------------------------
                        Antony King (SGS-THOMSON)
      CLASS (Cagliari Laboratory of Advanced Software and Systems)
      TECHSO S.p.A, Area Industriale Est, Prolungamento Via Igola,
                       09122 Cagliari-Elmas. Italy.
  Tel: +39 70 2103456                    Email: antony at cagliari.st.com
  Fax: +39 70 2103243                       or: antony.king at st.com
-------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smb.conf
Type: application/octet-stream
Size: 2317 bytes
Desc: smb.conf
Url : http://lists.samba.org/archive/samba/attachments/19980220/d213cce6/smb.obj


More information about the samba mailing list