Check your smb.conf and the log file variable. "Greg Petras" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi - > > I am trying to compile and install 2.2.8 to /opt/samba, but I keep getting > the following errors after I 'make install' and try to start smbd using > '/opt/samba/sbin/smbd -d 2 -D -s /opt/samba/lib/smb.conf': > > Unable to open new log file /usr/local/samba/var/log.smbd: No such file or > directory > [2003/03/25 10:21:56, 0] lib/debug.c:reopen_logs(348) > Unable to open new log file /usr/local/samba/var/log.smbd: No such file or > directory > [2003/03/25 10:21:56, 2] lib/interface.c:add_interface(81) > added interface ip=172.26.38.51 bcast=255.255.255.255 nmask=0.0.0.0 > [2003/03/25 10:21:56, 0] passdb/secrets.c:secrets_init(44) > Failed to open /usr/local/samba/etc/private/secrets.tdb > [2003/03/25 10:21:56, 0] passdb/machine_sid.c:pdb_generate_sam_sid(163) > pdb_generate_sam_sid: Failed to store generated machine SID. > [2003/03/25 10:21:56, 0] smbd/server.c:main(877) > ERROR: Samba cannot create a SAM SID. > > The weird thing is these errors appear in /opt/samba/var, but it is still > complaining about /usr/local/samba. > > When I ran the ./configure script I used the following options: > > # ./configure --prefix=/opt/samba \ > --with-privatedir=/opt/samba/private --with-lockdir=/opt/samba/var/locks \ > --with-piddir=/opt/samba/var/locks --with-swatdir=/opt/samba/swat \ > --with-configdir=/opt/samba/lib --with-logfilebase=/opt/samba/var \ > --with-logfilebase=/opt/samba/var --with-automount > > So I did properly set my logfile base to /opt/samba/var but samba still > seems to think it should be /usr/local/samba. Did I forget something? Any > help is much appreciated as I am fairly new to Samba. > > Thanks, > > Greg > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba