Hi all.
I'm setting a DietPi on a RPi2
I installed NoIP, transmission,netdata, LEAP, ProFTPD, OpenVPN, but now i'm trying to install Samba server near FTP server, but when RPi reboots, i get :
DietPi-Services
...
[Failed] Samba
I connect by ssh, and i get this
root@DietPi:~# service samba status
● samba.service
Loaded: masked (/dev/null)
Active: inactive (dead)
root@DietPi:~# service samba start
Failed to start samba.service: Unit samba.service is masked.
I'm searching for this issue and i couldn't find anything.
Is there a problem to install Samba and FTP at the same time?
i wish to use FTP to access at RPi from outdoor, and samba only in local (with complete access to " / " )
Dietpi-Services [Failed] Samba
Re: Dietpi-Services [Failed] Samba
Hi,gark81 wrote:Hi all.
DietPi-Services
...
[Failed] Samba
Thanks for letting us know.
We have a known issue where, if the user has smbclient package installed, DietPi-Services will attempt to start the samba server: https://github.com/Fourdee/DietPi/issues/451.
If your running DietPi v128 or higher, you can run the following command to install both Samba server and Proftpd through DietPi-Software:i wish to use FTP to access at RPi from outdoor, and samba only in local (with complete access to " / " )
Code: Select all
dietpi-software install 96 94
Code: Select all
dietpi-software list | grep =2
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: Dietpi-Services [Failed] Samba
Thanks, but i haven't installed smbclient, i only install samba server and ftp server.Fourdee wrote:Hi,gark81 wrote:Hi all.
DietPi-Services
...
[Failed] Samba
Thanks for letting us know.
We have a known issue where, if the user has smbclient package installed, DietPi-Services will attempt to start the samba server: https://github.com/Fourdee/DietPi/issues/451.
Re: Dietpi-Services [Failed] Samba
Hi,
Fourdee is trying to tell you that there is a bug with his software installer;
Maybe in your case smbclient being picked up as samba server!
with
you can verify that all samba server packages are installed. (one is needed for client and server)
check the service with
and if needed
That should do 
Bob
Fourdee is trying to tell you that there is a bug with his software installer;
Maybe in your case smbclient being picked up as samba server!
with
Code: Select all
dpkg -l |grep samba
/etc/init.d/samba wrapper script doesn't work well with systemdroot@DietPi:~# service samba status
● samba.service
Loaded: masked (/dev/null)
Active: inactive (dead)
check the service with
Code: Select all
/etc/init.d/samba status
Code: Select all
/etc/init.d/samba start

Bob