<div dir="ltr">


        
        
        
        


<p style="margin-bottom:0in;line-height:100%">OK!</p>
<p style="margin-bottom:0in;line-height:100%">

</p>
<p style="margin-bottom:0in;line-height:100%">So  :</p>
<ul><li>systemctl is the (dynamic)
evolution of traditional way to mange the services.</li></ul>            ( and instead to use the
&#39;service&#39; command is betterto  use &#39;systemctl&#39; )<br><br><ul><li>they are 
services  (even if they are very common and important) that have to be
installed...
</li></ul><p style="margin-bottom:0in;line-height:100%"><br>

</p>
<p style="margin-bottom:0in;line-height:100%"><br>

</p>
<p style="margin-bottom:0in;line-height:100%">Thank you for your
answers..</p><p style="margin-bottom:0in;line-height:100%">Regards<br></p>

</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 31, 2015 at 9:51 PM, Rick Stevens <span dir="ltr">&lt;<a href="mailto:ricks@alldigital.com" target="_blank">ricks@alldigital.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 03/31/2015 09:05 AM, Angelo Moreschini wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Hi,<br>
<br>
I am learning Linux and, just in order to do exercises, I wanted to<br>
monitor the functioning of  services that, I thing, should run on fedora.<br>
<br></span>
So, with the command :   service *smartd* status<br>
<br>
I got :<br>
Redirecting to /bin/systemctl status *smartd.service*<span class=""><br>
● smartd.service - Self Monitoring and Reporting Technology (SMART) Daemon<br>
    Loaded: loaded (/usr/lib/systemd/system/<u></u>smartd.service; enabled)<br>
    Active: active (running) since Tue 2015-03-31 07:48:18 IDT; 10h ago<br>
  Main PID: 701 (smartd)<br>
    CGroup: /system.slice/smartd.service<br>
            └─701 /usr/sbin/smartd -n -q never<br></span>
the same for *cups*....<span class=""><br>
● cups.service - CUPS Printing Service<br>
    Loaded: loaded (/usr/lib/systemd/system/cups.<u></u>service; enabled)<br>
    Active: active (running) since Tue 2015-03-31 07:48:51 IDT; 10h ago<br>
.............................<br>
..............................<br>
but I was wonder that services as :<br></span>
*DHCP, SAMBA*, ..... was not working.... :<br>
<br>
the command :  sudo service *samba* status<span class=""><br>
give me :<br>
Redirecting to /bin/systemctl status  samba.service<br>
● samba.service<br></span>
    Loaded: not-found (Reason:*No such file or directory*)<br>
    Active: inactive (dead)<br>
<br>
<br>
for *SAMBA* I give a look to check if it is installed, and I found:<span class=""><br>
sudo yum list installed | grep samba<br>
samba-client.x86_64              2:4.1.17-1.fc21    @updates<br>
samba-common.x86_64              2:4.1.17-1.fc21    @updates<br>
samba-libs.x86_64                2:4.1.17-1.fc21    @updates<br>
samba-winbind.x86_64             2:4.1.17-1.fc21    @updates<br>
samba-winbind-clients.x86_64     2:4.1.17-1.fc21    @updates<br>
samba-winbind-modules.x86_64     2:4.1.17-1.fc21    @updates<br>
<br>
So, ...<br>
after this test  I am confuse .......<br>
What is the reason why some important services are not running by<br>
default on Fedora 21?<br>
Could I have an explanation ?<br>
</span></blockquote>
<br>
First, the &quot;service&quot; command is the old interface to the initscripts<br>
mechanism which (unfortunately IMHO) is being replaced by systemd and<br>
systemctl. For convenience, things like &quot;service samba start&quot; is being<br>
redirected to &quot;systemctl start samba.service&quot;. This will not continue<br>
for much longer (it is deprecated).<br>
<br>
You don&#39;t have the Samba server installed, so systemctl is telling you<br>
there is no &quot;samba.service&quot; thing defined. If you DID have the Samba<br>
server installed, the systemctl target would be &quot;smb.service&quot;.<br>
<br>
You don&#39;t need to run the Samba server if all you&#39;re going to do is try<br>
to mount CIFS shares from a Windows server. All that requires is the<br>
client code (which you do have installed).<br>
<br>
The same is true of DHCP. You most likely don&#39;t have a DHCP server installed or configured, so &quot;systemctl start dhcpd.service&quot; isn&#39;t going<br>
to buy you anything either.<br>
------------------------------<u></u>------------------------------<u></u>----------<br>
- Rick Stevens, Systems Engineer, AllDigital    <a href="mailto:ricks@alldigital.com" target="_blank">ricks@alldigital.com</a> -<br>
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -<br>
-                                                                    -<br>
-                   To err is human, to moo bovine.                  -<br>
------------------------------<u></u>------------------------------<u></u>----------<div class="HOEnZb"><div class="h5"><br>
-- <br>
users mailing list<br>
<a href="mailto:users@lists.fedoraproject.org" target="_blank">users@lists.fedoraproject.org</a><br>
To unsubscribe or change subscription options:<br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/users" target="_blank">https://admin.fedoraproject.<u></u>org/mailman/listinfo/users</a><br>
Fedora Code of Conduct: <a href="http://fedoraproject.org/code-of-conduct" target="_blank">http://fedoraproject.org/code-<u></u>of-conduct</a><br>
Guidelines: <a href="http://fedoraproject.org/wiki/Mailing_list_guidelines" target="_blank">http://fedoraproject.org/wiki/<u></u>Mailing_list_guidelines</a><br>
Have a question? Ask away: <a href="http://ask.fedoraproject.org" target="_blank">http://ask.fedoraproject.org</a><br>
</div></div></blockquote></div><br></div>