You may be confusing the version you compiled with the RPMS that come with
Linux.
The /etc/init.d/smb script comes with the samba-2.0.7 rpm package. You can
use the rpm version or if you want to remove the samba rpm's, you have to
type
the whole name of the package.
IE; rpm -e samba-client-2.0.7-36
Once you have the rpms removed, you can run the version you compiled. I
believe there is a sample startup script in one of the directories under the
source.
Doug
Quoting Jair <jairds@shaw.ca>:
> all,
>
> I am having a weird situation .
>
> I downloaded the latest samba version and followed the installation
> instructions.
>
> ./configure
> make
> etc...
>
>
> Then I tried to run samba but if use /etc/init.d/smb restart I get
>
> bash: /etc/init.d/smb: No such file or directory
>
> because there is no such file at all.
>
> If I try the following:
>
> [root@localhost RPMS]# ls sam*
> samba-client-2.0.7-36.i386.rpm samba-common-2.0.7-36.i386.rpm
> [root@localhost RPMS]# rpm -ivh samba*
> Preparing... ###########################################
> [100%]
> package samba-client-2.0.7-36 is already installed
> package samba-common-2.0.7-36 is already installed
>
> and then , if I try
>
> [root@localhost RPMS]# rpm -e samba
> error: package samba is not installed
> [root@localhost RPMS]#
>
>
> So, at this point I dont know if samba is installed or not
>
>
> Any help will be appreciated.
>
> thanks
>
> Jair
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
>