Samba Failed To start
i have trouble with samba i tried to config it and then sudo service smbd start
and then i get this its Debian GNU/Linux 8.5 (jessie) here is the error log when i try to start it i think i messed up the config it may be cut off because i copied it from an ssh terminal Putty Sep 17 02:29:19 anna samba[7068]: [2016/09/17 02:29:19.248716, 0] ../lib/util/b Sep 17 02:29:19 anna samba[7068]: STATUS=daemon failed to start: Samba detecte Sep 17 02:30:09 anna sudo[7072]: root : TTY=pts/0 ; PWD=/etc/proftpd ; USER= Sep 17 02:30:09 anna sudo[7072]: pam_unix(sudo:session): session opened for user Sep 17 02:30:10 anna systemd[1]: Starting LSB: start Samba SMB/CIFS daemon (smbd -- Subject: Unit smbd.service has begun start-up -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- Unit smbd.service has begun starting up. Sep 17 02:30:13 anna smbd[7096]: Starting SMB/CIFS daemon: smbd failed! Sep 17 02:30:13 anna systemd[1]: smbd.service: Control process exited, code=exit Sep 17 02:30:13 anna systemd[1]: Failed to start LSB: start Samba SMB/CIFS daemo -- Subject: Unit smbd.service has failed -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- Unit smbd.service has failed. -- -- The result is failed. Sep 17 02:30:13 anna systemd[1]: smbd.service: Unit entered failed state. Sep 17 02:30:13 anna systemd[1]: smbd.service: Failed with result 'exit-code'. Sep 17 02:30:13 anna sudo[7072]: pam_unix(sudo:session): session closed for user |
In Fedora anyway, the samba service name is smb, not smbd.
|
(smbd is the Samba server daemon.)
I'm not sure this has a bearing, but, in Debian, sudo is not enabled by default. Unless you have edited your sudoers file to enable sudo, Debian expects you to use su and enter the root password so as to perform administrative tasks. Attempting to perform root functions with sudo with otherwise fail. The sudo fetish is unique to Ubuntu and its derivatives. |
Quote:
Quote:
|
It might have been useful had you mentioned you were referring to SystemD in your post.
Tell me, when the Samba server daemon is running and you execute the command Code:
ps -A | grep smb |
All times are GMT -5. The time now is 10:49 AM. |