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 /smbstatusthis 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 there >>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 ...
hi, i see there is no sbin directory after the installation!! After unpacking wite xzvf and Instllation(.configure/make/make install/make 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:tw@adog.de] Gesendet: Sonntag, 1. Juni 2003 23:26 An: A.A Cc: samba@lists.samba.org 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 /smbstatusthis 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 there>>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 ...
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 the init scripts (/etc/init.d/samba) accordingly. ------------------------ "A.A" <opensoft@gmx.de> wrote: ------------------------ hi,> >i see there is no sbin directory after the installation!! > >After unpacking wite xzvf and Instllation(.configure/make/make install/ma >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:tw@adog.de] > >Gesendet: Sonntag, 1. Juni 2003 23:26 > >An: A.A > >Cc: samba@lists.samba.org > >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 th >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