[Samba] Error:Unable to open configuration file
"/usr/local/samba/lib/smb.conf"
Ken Cobler
kcobler at coblercorp.com
Tue Feb 5 07:47:06 GMT 2002
Kestutis Saldziunas wrote:
> Hello, I upgraded Samba server to 2.2.3. Server starts normally,
> however I find error, after starting the server,
> in/usr/local/samba/var/log.smbd file: [2002/02/05 10:48:11, 0]
> param/params.c:OpenConfFile(543)
> params.c:OpenConfFile() - Unable to open configuration file
> "/usr/local/samba/lib/smb.conf": I keep file smb.conf in /etc
> directory and also in my scripts I point to this
> place: SMB_BIN=/usr/local/samba/sbin/smbd
> NMB_BIN=/usr/local/samba/sbin/nmbd
> SMB_CONF=/etc/smb.conf
> SMB_PID=/usr/local/samba/var/locks/smbd.pid
> NMB_PID=/usr/local/samba/var/locks/nmbd.pid After I copied smb.conf to
> usr/local/samba/lib/ directory , I do not find error no more. But I do
> not like maintain two files :(What are ideas to solve this problem ?
symbolic link the file:
ln -s /etc/smb.conf /usr/local/samba/lib
Ken Cobler
More information about the samba
mailing list