[Samba] Unable to open configuration file "/etc/smb.conf"

Nir Soffer nirs at exanet.com
Tue Aug 13 02:49:00 GMT 2002


> Try these two:
> bash> which testparam
> should tell you which testparam is being started. Is it where 
> you expect it
> to be?
> bash> strace /full/path/testparam
> Gives you information on all system calls called from within 
> testparam. It
> will give quite a bit of output and somewhere near the end 
> you will find
> something like:
> open("/usr/lib/smb.conf", O_RDONLY|O_LARGEFILE) = ...
> 
> This would give you a hint to what testparam is trying to 
> open and why it
> fails.
> Of course you need strace to be installed and you need to be root.

You don't need to be root to run strace.

Nir.



More information about the samba mailing list