command line parameters

Matthieu Patou mat at matws.net
Sun Sep 21 16:29:19 GMT 2008


Dear all,

It seems that I have some trouble with command line parameters,
I tried to start smbd with the -l parameter (in order to specify a log 
file) :
/usr/local/samba/sbin/smbd -l /var/log/ -i

And I got this message:

smbd version 4.0.0alpha6-GIT-7cd0977 started.
Copyright Andrew Tridgell and the Samba Team 1992-2008
smbd: using 'standard' process model
Failed to listen on 10.6.0.252:445 - NT_STATUS_ADDRESS_ALREADY_ASSOCIATED
task_server_terminate: [Failed to startup smb server task]
Failed to listen on 10.6.0.252:389 - NT_STATUS_ADDRESS_ALREADY_ASSOCIATED
ldapsrv failed to bind to 10.6.0.252:389 - 
NT_STATUS_ADDRESS_ALREADY_ASSOCIATED
Failed to listen on 10.6.0.252:135 - NT_STATUS_ADDRESS_ALREADY_ASSOCIATED
service_setup_stream_socket(address=10.6.0.252,port=135) failed - 
NT_STATUS_ADDRESS_ALREADY_ASSOCIATED
task_server_terminate: [Failed to startup dcerpc server task]


Calling smbd with --log-basename /var/log works but still my logs goes 
to /usr/local/samba/var/smbd.log instead of /var/log/smbd.log

I suppose the -l problem is a bug, and what about the fact that 
--log-basename do I get something wrong ?


Matthieu.


More information about the samba-technical mailing list