Caesar Samsi
2015-May-05 02:15 UTC
[Samba] post make install, sudo service samba start ->service not recognized?
Hi, I've successfully compiled 4.2.1, done make install, and run testparm as well as smbd -b to check the build. Looks good. So now how do I start the service? If I just do [sudo service samba start] I get "Service not recognized"? Thank you, Caesar. P.S. for LinuxMint 17 Rebecca, here's the ./configure command sudo ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-piddir=/var/run/samba --with-pammodulesdir=/lib/security --without-systemd --enable-fhs --sbindir=/usr/sbin --bindir=/usr/bin --libdir=/usr/lib/x86_64-linux-gnu --with-modulesdir=/usr/lib/x86_64-linux-gnu/samba --with-lockdir=/var/run/samba --enable-gnutls The pre-requisites are here: https://wiki.samba.org/index.php/OS_Requirements#Debian_.2F_Ubuntu
Andrey Repin
2015-May-05 04:55 UTC
[Samba] post make install, sudo service samba start ->service not recognized?
Greetings, Caesar Samsi!> I've successfully compiled 4.2.1, done make install, and run testparm as > well as smbd -b to check the build. Looks good.>> So now how do I start the service? If I just do [sudo service samba start] I > get "Service not recognized"?To start the service in the way you are trying to do it, you will need service definition scripts installed in appropriate places. They are OS distribution-specific, not necessarily included in the source, and/or not installed by default. They are probably still there somewhere, you will just need to copy them to proper places. -- With best regards, Andrey Repin Tuesday, May 5, 2015 07:52:38 Sorry for my terrible english...
Caesar Samsi
2015-May-06 02:09 UTC
[Samba] post make install, sudo service samba start ->service not recognized?
I managed to get around this by installing an older samba package, getting that to work, then doing a [sudo make install] which overwrites the old samba package.>>To start the service in the way you are trying to do it, you will need service definition scripts installed in appropriate places. They are OS distribution-specific, not necessarily included in the source, and/or not installed by default.