Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67541 - samba-3.0.7-r1 report this error in log
Summary: samba-3.0.7-r1 report this error in log
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-14 05:48 UTC by Antonio
Modified: 2004-11-11 05:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio 2004-10-14 05:48:17 UTC
I have emerge samba-3.0.7-r1 without error, but i see in /var/log/samba/log.smbd this:

gentoonet samba # more log.smbd 
[2004/10/14 14:39:43, 0] smbd/server.c:main(760)
  smbd version 3.0.7 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2004
[2004/10/14 14:39:43, 0] lib/debug.c:reopen_logs(590)
  Unable to open new log file /var/log/samba3/log.smbd: No such file or director
y
[2004/10/14 14:39:43, 0] lib/debug.c:reopen_logs(590)
  Unable to open new log file /var/log/samba3/log.smbd: No such file or director
y

Where is this directory ?

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jason H. 2004-10-14 16:15:16 UTC
It's the default logdir instead of /var/log/samba

It might be writing to /var/log/samba/log.foo because it's specified in your config files. If you don't want to use /var/log/samba3 you can safely ignore it.

You can, as root create it, but it's purely optional :

mkdir -m 700 /var/log/samba3
Comment 2 Michael Glauche (RETIRED) gentoo-dev 2004-11-11 05:10:26 UTC
its a configuration issue, as jason already explained, change the value in your smb.conf or ceate this directory, then everything should work.