Forum

Full Version: Can't stop samba service.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
One Xbian box now has samba enabled and when I try to stop the service I says "Failed to stop service..."
Nothing in rc.local either.

How do I disable this please?
How did you try to stop Samba?

Samba service (smbd) is enabled via inetd, so this service can't be stopped like other services, you only can disable autostart of this service (this removes entries from /etc/inetd.conf)
Thanks.

What happened is that it lost connection to the sql media databse on another pi after update. I looked in xbian-config>services and noticed samba not running, so turned it on to see what would happen (libraries worked then!) - But now I can't turn samba off again.
I looked in /etc/inetd.conf ...Do I just comment out the line 'microsoft-ds stream tcp nowait root /usr/sbin/smbd smbd'???

Yup! - That did it Smile

@Nachteule
Thanks for pointing me in the right direction! Smile
(22nd Nov, 2017 06:59 AM)Skywatch Wrote: [ -> ]Thanks.

What happened is that it lost connection to the sql media databse on another pi after update. I looked in xbian-config>services and noticed samba not running, so turned it on to see what would happen (libraries worked then!) - But now I can't turn samba off again.
I looked in /etc/inetd.conf ...Do I just comment out the line 'microsoft-ds stream tcp nowait root /usr/sbin/smbd smbd'???

Yup! - That did it Smile

@Nachteule
Thanks for pointing me in the right direction! Smile

This is exactly what "Disable autostart" in xbian-config GUI does Smile
Not here it doesn't - All I have for options is.....

1. Autostart
2. (re)start
3. Stop
4. Edit
5. Delete

These are all via ssh > xbian-config > services menu. Do you really have a 'disable autostart' option in there on your pi? I tried 'autostart' and there is no option to toggle it or turn it off - it only enables autostart.
(22nd Nov, 2017 08:17 AM)Skywatch Wrote: [ -> ]Not here it doesn't - All I have for options is.....

1. Autostart
2. (re)start
3. Stop
4. Edit
5. Delete

These are all via ssh > xbian-config > services menu. Do you really have a 'disable autostart' option in there on your pi? I tried 'autostart' and there is no option to toggle it or turn it off - it only enables autostart.

Kodi's xbian-config GUI has it Tongue and console xbian-config has Autostart as toggle function Cool
Reference URL's