you'll need to type './smbd -D' instead of 'smbd -D' if you're in the /usr/local/samba directory (same for nmbd -D and smbstatus).
BTW, you need to type 'ps fax | grep smbd' and then 'kill -9 <process ID>', where <process ID> is listed in the 'ps fax | grep smbd' command. Same for nmbd. Also, make sure the smbd and nmbd daemons are not started through the inetd. Put the lines in comment in /etc/inetd.conf . ------------------------ "A.A" <[EMAIL PROTECTED]> wrote: ------------------------ hi, > >there is the output of the command samba stop >and some more outputs. >Maybe you see now more what do i wrong :(! > >balalayka:/usr/local # ls >.. bin include man samba-2.2.8a sbin src >... games lib samba samba-2.2.8a.tar.gz share > > > >balalayka:/ # /etc/init.d/samba stop >bash: /etc/init.d/samba: No such file or directory > >balalayka:/ # whereis samba >samba: /etc/samba /usr/lib/samba /usr/include/samba /usr/local/samba >/usr/share/samba /usr/share/man/man7/samba.7.gz > >balalayka:/ # rcsmb stop >Shutting down Samba classic SMB daemon Warning: daemon not running. done > >balalayka:/etc/samba # * ps fax | grep smbd kill all listed processes >bash: #smb.conf#: command not found >grep: kill: No such file or directory >grep: all: No such file or directory >grep: listed: No such file or directory >grep: processes: No such file or directory > > >balalayka:/usr/local/samba/bin # smbd -D >balalayka:/usr/local/samba/bin # nmbd -D >balalayka:/usr/local/samba/bin # smbstatus > >Samba version 2.2.7a-SuSE >Service uid gid pid machine >---------------------------------------------- > >No locked files > > >?? >Thanks >henry > > > > > > > > > > > > > > > >-----Ursprüngliche Nachricht----- >Von: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] >Gesendet: Montag, 2. Juni 2003 08:19 >An: A.A; [EMAIL PROTECTED] >Betreff: Re: Re: AW: [Samba] samba installation > > >If you compile samba like this, then the full samba install is underneath >/usr/local/samba, not /usr/local/samba-2.2.8a. The latter is the source >tree. So you should try this: >- kill the current samba daemons: /etc/init.d/samba stop >- make sure they are really dead > * ps fax | grep smbd kill all listed processes > * ps fax | grep nmbd kill all listed processes >- now type /usr/local/samba/bin/smbd -D >- now type /usr/local/samba/bin/nmbd -D >You should now be running the latest samba distribution. If so, change th >e >init scripts (/etc/init.d/samba) accordingly. > >------------------------ > "A.A" wrote: >------------------------ >hi, >> >>i see there is no sbin directory after the installation!! >> >>After unpacking wite xzvf and Instllation(.configure/make/make install/m >a >>ke >>installman ) of samba-2.2.81.tar.gz i have two directories: >> >>smba and samba-2.2.8a >> >>There are in samba directory only bin, lib, man swat,private, var >> >>and in samba-2.2.8a are : source, packing, swat, source testsuite, docs >, >>pcp >> >>???!!! >> >>henry >> >> >> >> >> >> >>-----Ursprüngliche Nachricht----- >> >>Von: Thomas Wild at aDog [mailto:[EMAIL PROTECTED] >> >>Gesendet: Sonntag, 1. Juni 2003 23:26 >> >>An: A.A >> >>Cc: [EMAIL PROTECTED] >> >>Betreff: Re: AW: [Samba] samba installation >> >> >> >>Hi again, >> >> >> >>A.A wrote: >> >>> Hi Thomas, >> >>> As i wrote that's still the old Version: >> >>> /usr/local/samba-2.2.8a/bin/smbstatus --> samba version 2.2.7a-SUSE >> >>> When i type "Which smbstatus" i get /usr/bin /smbstatus >> >>this looks like a standard installation of SuSE. >> >>> >> >>> I dont know what you mean with : >> >>> For startup the samba processes you should change your Startscript in >> >>> "/etc/init.d/samba" where the other version is still started. >> >>> >> >>> Sorry,what should i do with /init.d/samba ? >> >>under /etc/init.d are all system startscripts on SuSE Distributions. So >> >>change the path of the both daemons smbd and nmbd. At the moment there >> >>are pathes like >> >>/usr/sbin/smbd >> >>/usr/sbin/nmbd >> >>you should change it into >> >>/usr/local/samba-2.2.8a/bin/smbd >> >>/usr/local/samba-2.2.8a/bin/nmbd >> >>and all other processes in that startscript - winbind is daemon which is >> >>started, too. I attachted my samba startscript for you. >> >>I changed the PATH variable which has the same effect. >> >>- Thomas >> >> >> >>PATH=/usr/local/samba-2.2.8a/sbin:$PATH >> >>export PATH >> >># The echo return value for success (defined in /etc/rc.config). >> >>return=$rc_done >> >>case "$1" in >> >>start) >> >>echo -n "Starting SMB services..." >> >>nmbd -D >> >>smbd -D >> >>winbindd >> >>echo -e "$return" >> >>;; >> >>stop) >> >>echo -n "Shutting down SMB services." >> >>killproc -TERM winbindd >> >>killproc -TERM nmbd >> >>killproc -TERM smbd >> >>sleep 2 >> >>killproc -TERM nmbd >> >>echo -e "$return" >> >>;; >> >>*) >> >>echo "Usage: $0 {start|stop}" >> >>exit 1 >> >>esac >> >># Inform the caller not only verbosely and set an exit status. >> >>test "$return" = "$rc_done" || exit 1 >> >>exit 0 >> >> >> >>> >> >>> Thanks >> >>> henry >> >>> >> >>> >> >>> >> >>> Hi, >> >>> >> >>> please try >> >>> >> >>> "/usr/local/samba-2.2.8a/bin/smbstatus" >> >>> >> >>> Might be, you have a standard installation on your system. >> >>> Type >> >>> >> >>> "which smbstatus" >> >>> >> >>> and you will see which prgram are in your default path ($PATH variable >) >> >>> >> >>> For startup the samba processes you should change your Startscript in >> >>> "/etc/init.d/samba" where the other version is still started. >> >>> >> >>> - Thomas >> >>> >> >>> A.A wrote: >> >>> >> >>>>Hi, >> >>>> >> >>>>first of all i am Samba beginner! I have this problem : >> >>>> >> >>>>Samba-2.2.7a is just runing on my Linux Server. I will now install the >>new >> >>>>Version of samba-2.2.28a >> >>>> >> >>>>When i do ./configure, make and make-> install->smbstatus I see that t >h >>ere >> >>>>is still old Version runing and not >> >>>> >> >>>>Samba-2.2.8a?!! >> >>>> >> >>>>My old samba is installed in /etc/samba >> >>>> >> >>>>and the new vesion is downloaded and installed ( i hope) in >> >>>>/usr/local/samba-2.2.8a >> >>>> >> >>>>thnks for your reply >> >>>> >> >>>>Henry >> >>>> >> >>> >> >>> >> >>> -- >> >>> Thomas Wild >> >>> >> >>> Telephones do not have constitutional rights to be accepted! >> >>> - It's better to send me an Email ... >> >>> >> >>> >> >>-- >> >>Thomas Wild >> >>Telephones do not have constitutional rights to be accepted! >> >>- It's better to send me an Email ... >> >>-- >>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