[Solved]How can I tell if Samba on Linux Mint 18.2 is running?

Connection sharing, Firewall, Samba..etc
Forum rules
Before you post please read how to get help
Post Reply
bingp
Level 1
Level 1
Posts: 17
Joined: Mon Aug 14, 2017 12:17 am

[Solved]How can I tell if Samba on Linux Mint 18.2 is running?

Post by bingp »

There are 4 files related to Samba that shows "Installed" in Software Manager.

What command can I use in terminal to see if Samba is running?
Last edited by bingp on Tue Feb 04, 2020 12:03 am, edited 3 times in total.

altair4
Level 19
Level 19
Posts: 9841
Joined: Tue Feb 03, 2009 10:27 am

Re: How can I tell if Samba on Linux Mint 18.2 is running?

Post by altair4 »

Code: Select all

sudo service smbd status
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.

bingp
Level 1
Level 1
Posts: 17
Joined: Mon Aug 14, 2017 12:17 am

Re: How can I tell if Samba on Linux Mint 18.2 is running?

Post by bingp »

altair4 wrote:
Tue Jan 28, 2020 8:35 am

Code: Select all

sudo service smbd status
Thanks.
The output from the above command shows below:
● smbd.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)



Why does it say "Installed" in system manager but actually not?

altair4
Level 19
Level 19
Posts: 9841
Joined: Tue Feb 03, 2009 10:27 am

Re: How can I tell if Samba on Linux Mint 18.2 is running?

Post by altair4 »

Looks like you don't have samba itself installed so install it. I would install it in the terminal since I have no idea what Software Manager will install:

Code: Select all

sudo apt install samba
Then check its status:

Code: Select all

sudo service smbd status
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.

bingp
Level 1
Level 1
Posts: 17
Joined: Mon Aug 14, 2017 12:17 am

Re: How can I tell if Samba on Linux Mint 18.2 is running?

Post by bingp »

altair4 wrote:
Wed Jan 29, 2020 7:38 am
Looks like you don't have samba itself installed so install it. I would install it in the terminal since I have no idea what Software Manager will install:

Code: Select all

sudo apt install samba
Then check its status:

Code: Select all

sudo service smbd status
Sorry that I have to re-open this thread because today I run the following commands. Yesterday it was fine but today I even can't install it.

$ sudo apt install samba
Reading package lists... Done
Building dependency tree
Reading state information... Done
samba is already the newest version (2:4.3.11+dfsg-0ubuntu0.16.04.25).
0 to upgrade, 0 to newly install, 0 to remove and 658 not to upgrade.

$sudo service samba status
● samba.service
Loaded: masked (/dev/null; bad)
Active: inactive (dead)

User avatar
kato181
Level 5
Level 5
Posts: 620
Joined: Fri Mar 24, 2017 12:33 am
Location: Frederickton NSW

Re: How can I tell if Samba on Linux Mint 18.2 is running?

Post by kato181 »

bingp wrote:
Thu Jan 30, 2020 11:18 pm
altair4 wrote:
Wed Jan 29, 2020 7:38 am
Looks like you don't have samba itself installed so install it. I would install it in the terminal since I have no idea what Software Manager will install:

Code: Select all

sudo apt install samba
Then check its status:

Code: Select all

sudo service smbd status
Sorry that I have to re-open this thread because today I run the following commands. Yesterday it was fine but today I even can't install it.

$ sudo apt install samba
Reading package lists... Done
Building dependency tree
Reading state information... Done
samba is already the newest version (2:4.3.11+dfsg-0ubuntu0.16.04.25).
0 to upgrade, 0 to newly install, 0 to remove and 658 not to upgrade.

$sudo service samba status
● samba.service
Loaded: masked (/dev/null; bad)
Active: inactive (dead)
try...
sudo service smbd start
sudo service nmbd start
then reboot, then..
sudo service smbd status

altair4
Level 19
Level 19
Posts: 9841
Joined: Tue Feb 03, 2009 10:27 am

Re: How can I tell if Samba on Linux Mint 18.2 is running?

Post by altair4 »

$sudo service samba status
● samba.service
Loaded: masked (/dev/null; bad)
Active: inactive (dead)
You don't want a status of the samba service. You want a status of the smbd service

Code: Select all

sudo service smbd status
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.

Post Reply

Return to “Other networking topics”