Annoying Samba Errors in Logs
Heinrich Mislik
Heinrich.Mislik at univie.ac.at
Mon Jan 10 14:41:16 GMT 2005
On 28 Dec 2004, at 9:32, Giddens, Scott wrote:
> All day long I get these messages from smbd:
>
> Dec 28 07:27:24 srv-pvcs smbd[638]: [ID 702911 daemon.error] [2004/12/28
> 07:27:24, 0] smbd/service.c:(252)
> Dec 28 07:27:24 srv-pvcs smbd[638]: [ID 702911 daemon.error] rhunt1-pc
> (162.18.178.237) couldn't find service o
>
> The last part, "couldn't find service o" is when the user is accessing a
> share name "OESDL" but the name is truncated. I know this because the
> other errors have more letters that correspond to the shared directory,
> not the name. I also know this because the directory name "oesdl" is in
> lower case. The next example shows a successful connection to the share
> name "JWST". Note the truncated "jws" in reference to the "jwst"
> directory.
>
> Dec 28 07:27:24 srv-pvcs smbd[638]: [ID 702911 daemon.error] [2004/12/28
> 07:27:24, 0] smbd/service.c:(252)
> Dec 28 07:27:24 srv-pvcs smbd[638]: [ID 702911 daemon.error] rhunt1-pc
> (162.18.178.237) couldn't find service jws
>
> This is not a fatal error but an extremely irritating numerous repeating
> log message to us anal sys admins that we must cut out of the logs to
> find the needle in the haystack when we scan the server logs. Other than
> that the samba service runs perfectly.
This may be completly unrelated, but we got similar messages and tracked it
down to the following:
Put the line
echo %~dp0
into a commandfile and try the following on the window prompt:
C:\>type \\fs1\mi\x.cmd
echo %~dp0
C:\>\\fs1\mi\x.cmd
C:\>echo \\fs1\mi\
\\fs1\mi\
The Samba_log shows:
[2005/01/10 15:00:42, 1, pid=4317438] smbd/service.c:make_connection_snum(705)
wsmi (131.130.2.200) connect to service mi initially as user mi (uid=10005, gid=202) (pid 4317438)
[2005/01/10 15:00:42, 0, pid=4317438] smbd/service.c:make_connection(857)
wsmi (131.130.2.200) couldn't find service m
This happens with win2000 and xp when using %~dp0 on UNC-pathes. Maybe your
application does something similar.
Cheers
Heinrich
--
Heinrich Mislik
Zentraler Informatikdienst der Universitaet Wien
A-1010 Wien, Universitaetsstrasse 7
Tel.: (+43 1) 4277-14056, Fax: (+43 1) 4277-9140
More information about the samba-technical
mailing list