daily pastebin goal
86%
SHARE
TWEET

SAMBA_ERROR

a guest Mar 4th, 2017 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. I added this line on my /etc/samba/smb.conf
  2. ===========================================
  3. [share]
  4. comment = Samba Server
  5. browsable = yes
  6. path = /srv/share/samba
  7. guest ok = yes
  8. read only =  no
  9. create mask = 0755
  10. ===========================================
  11.  
  12.  
  13.  
  14. This is my current nmbd.service status
  15. ===============================================================================================
  16. ● nmbd.service - LSB: start Samba NetBIOS nameserver (nmbd)
  17.    Loaded: loaded (/etc/init.d/nmbd; bad; vendor preset: enabled)
  18.    Active: active (running) since Sab 2017-03-04 17:39:49 WIB; 4s ago
  19.      Docs: man:systemd-sysv-generator(8)
  20.   Process: 588 ExecStop=/etc/init.d/nmbd stop (code=exited, status=0/SUCCESS)
  21.   Process: 603 ExecStart=/etc/init.d/nmbd start (code=exited, status=0/SUCCESS)
  22.    CGroup: /system.slice/nmbd.service
  23.            └─623 /usr/sbin/nmbd -D
  24.  
  25. Mar 04 17:39:49 kalby-imanie systemd[1]: Stopped LSB: start Samba NetBIOS nameserver (nmbd).
  26. Mar 04 17:39:49 kalby-imanie systemd[1]: Starting LSB: start Samba NetBIOS nameserver (nmbd)...
  27. Mar 04 17:39:49 kalby-imanie nmbd[603]:  * Starting NetBIOS name server nmbd
  28. Mar 04 17:39:49 kalby-imanie nmbd[603]:    ...done.
  29. Mar 04 17:39:49 kalby-imanie systemd[1]: Started LSB: start Samba NetBIOS nameserver (nmbd).
  30. ==============================================================================================
  31.  
  32.  
  33. This is my current smbd.service status
  34. ===============================================================================================
  35. ● smbd.service - LSB: start Samba SMB/CIFS daemon (smbd)
  36.    Loaded: loaded (/etc/init.d/smbd; bad; vendor preset: enabled)
  37.    Active: active (running) since Sab 2017-03-04 17:41:37 WIB; 5s ago
  38.      Docs: man:systemd-sysv-generator(8)
  39.   Process: 631 ExecStop=/etc/init.d/smbd stop (code=exited, status=0/SUCCESS)
  40.   Process: 643 ExecStart=/etc/init.d/smbd start (code=exited, status=0/SUCCESS)
  41.    CGroup: /system.slice/smbd.service
  42.            ├─663 /usr/sbin/smbd -D
  43.            ├─664 /usr/sbin/smbd -D
  44.            └─666 /usr/sbin/smbd -D
  45.  
  46. Mar 04 17:41:37 kalby-imanie systemd[1]: Starting LSB: start Samba SMB/CIFS daemon (smbd)...
  47. Mar 04 17:41:37 kalby-imanie smbd[643]:  * Starting SMB/CIFS daemon smbd
  48. Mar 04 17:41:37 kalby-imanie smbd[643]:    ...done.
  49. Mar 04 17:41:37 kalby-imanie systemd[1]: Started LSB: start Samba SMB/CIFS daemon (smbd).
  50. ===============================================================================================
  51.  
  52.  
  53.  
  54.  
  55.  
  56. !!!HERE IS THE ERROR!!!
  57. ===============================================================================================
  58. When i executed: start samba.service
  59.  
  60. Failed to start samba.service: Unit samba.service is masked.
  61. ===============================================================================================
  62.  
  63. !!!HERE IS MY CURRENT SAMBA.SERVICE STATUS!!!
  64. ===============================================================================================
  65. ● samba.service
  66.    Loaded: masked (/dev/null; bad)
  67.    Active: inactive (dead)
  68.  
  69. Mar 04 16:15:51 kalby-imanie systemd[1]: Stopped samba.service.
  70. ===============================================================================================
RAW Paste Data
Top