SMB or something else Problem

    • OMV 4.x
    • Resolved

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • SMB or something else Problem

      Hello,
      My disk usage was 100% on system partition, and I couldnt even log in. ;(
      Now I can log in, but I don't know what caused the problem. And I need to dix it to move on.
      There is a log file with the size of 2GB and these lines are repeating in it:


      Source Code: /var/log/daemon.log

      1. Nov 10 10:46:53 fujitsu smbd[23673]: Ignoring unknown parameter "printer admin"
      2. Nov 10 10:46:53 fujitsu smbd[23673]: [2019/11/10 10:46:53.593926, 2] ../source3/param/loadparm.c:2685(lp_do_section)
      3. Nov 10 10:46:53 fujitsu smbd[23673]: Processing section "[printers]"
      4. Nov 10 10:46:53 fujitsu smbd[23673]: [2019/11/10 10:46:53.594078, 2] ../source3/param/loadparm.c:2685(lp_do_section)
      5. Nov 10 10:46:53 fujitsu smbd[23673]: Processing section "[print$]"
      6. Nov 10 10:46:53 fujitsu smbd[23673]: [2019/11/10 10:46:53.594595, 2] ../source3/auth/auth.c:315(auth_check_ntlm_password)
      7. Nov 10 10:46:53 fujitsu smbd[23673]: check_ntlm_password: Authentication for user [administrator] -> [administrator] FAILED with error NT_STATUS_NO_SUCH_USER
      8. Nov 10 10:46:53 fujitsu smbd[23673]: [2019/11/10 10:46:53.594723, 2] ../auth/gensec/spnego.c:720(gensec_spnego_server_negTokenTarg)o
      9. Nov 10 10:46:53 fujitsu smbd[23673]: SPNEGO login failed: NT_STATUS_NO_SUCH_USER
      10. Nov 10 10:46:53 fujitsu smbd[23673]: [2019/11/10 10:46:53.650155, 1] ../source3/smbd/process.c:554(receive_smb_talloc)
      11. Nov 10 10:46:53 fujitsu smbd[23673]: receive_smb_raw_talloc failed for client ipv4:46.98.125.35:44417 read error = NT_STATUS_CONNECTION_RESET.
      12. Nov 10 10:46:53 fujitsu smbd[23674]: [2019/11/10 10:46:53.836553, 2] ../source3/param/loadparm.c:2685(lp_do_section)
      13. Nov 10 10:46:53 fujitsu smbd[23674]: Processing section "[video]"
      14. Nov 10 10:46:53 fujitsu smbd[23674]: [2019/11/10 10:46:53.837464, 2] ../source3/param/loadparm.c:2685(lp_do_section)
      15. Nov 10 10:46:53 fujitsu smbd[23674]: Processing section "[photo]"
      16. Nov 10 10:46:53 fujitsu smbd[23674]: [2019/11/10 10:46:53.838215, 2] ../source3/param/loadparm.c:2685(lp_do_section)
      17. Nov 10 10:46:53 fujitsu smbd[23674]: Processing section "[torrent]"
      18. Nov 10 10:46:53 fujitsu smbd[23674]: [2019/11/10 10:46:53.838912, 2] ../source3/param/loadparm.c:2685(lp_do_section)
      19. Nov 10 10:46:53 fujitsu smbd[23674]: Processing section "[music]"
      20. Nov 10 10:46:53 fujitsu smbd[23674]: [2019/11/10 10:46:53.839629, 2] ../source3/param/loadparm.c:2685(lp_do_section)
      21. Nov 10 10:46:53 fujitsu smbd[23674]: Processing section "[guest]"
      22. Nov 10 10:46:53 fujitsu smbd[23674]: [2019/11/10 10:46:53.840381, 2] ../source3/param/loadparm.c:2685(lp_do_section)
      23. Nov 10 10:46:53 fujitsu smbd[23674]: Processing section "[files]"
      24. Nov 10 10:46:53 fujitsu smbd[23674]: [2019/11/10 10:46:53.841180, 0] ../lib/param/loadparm.c:772(lpcfg_map_parameter)
      25. Nov 10 10:46:53 fujitsu smbd[23674]: Unknown parameter encountered: "printer admin"
      26. Nov 10 10:46:53 fujitsu smbd[23674]: [2019/11/10 10:46:53.841249, 0] ../lib/param/loadparm.c:1717(lpcfg_do_global_parameter)
      Display All
      Please help
      Matt

      The post was edited 3 times, last by matefon ().

    • matefon wrote:

      Armbian? I'm a Linux noob
      :) Ok Armbian I suppose the best way to describe it is that it's a Linux distro for SBC's so you install that then install OMV on top using their software installer. But back to this;

      matefon wrote:

      I have Debian ARM 64 9.11.0 with Desktop Env.
      Expand on the above, hardware, the software you have installed and how you installed OMV.
      Raid is not a backup! Would you go skydiving without a parachute?
    • Source Code

      1. root@fujitsu:~# uname -a
      2. Linux fujitsu 4.9.0-11-amd64 #1 SMP Debian 4.9.189-3+deb9u1 (2019-09-20) x86_64 GNU/Linux

      Source Code

      1. root@fujitsu:~# lscpu
      2. Architecture: x86_64
      3. CPU op-mode(s): 32-bit, 64-bit
      4. Byte Order: Little Endian
      5. CPU(s): 2
      6. On-line CPU(s) list: 0,1
      7. Thread(s) per core: 2
      8. Core(s) per socket: 1
      9. Socket(s): 1
      10. NUMA node(s): 1
      11. Vendor ID: GenuineIntel
      12. CPU family: 15
      13. Model: 4
      14. Model name: Intel(R) Pentium(R) 4 CPU 3.00GHz
      15. Stepping: 1
      16. CPU MHz: 2992.653
      17. BogoMIPS: 5985.30
      18. L1d cache: 16K
      19. L2 cache: 1024K
      20. NUMA node0 CPU(s): 0,1
      21. Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc pebs bts nopl pni dtes64 monitor ds_cpl cid cx16 xtpr kaiser
      Display All
      (If you want to know something else, just let me know)

      Installation:
      1. I installed Debian from a netinst DVD (my PC doesnt support USB boot ?( )
      1.a Partitioning. I have only one disk (80gb) and OMV on this PC was just a project. But now, it is (/was) up and running, so it was getting more than a project.
      If I can make this working, I will definitely buy a SATA to USB adapter (because I have a 250GB hdd)
      2. Installing OMV with this tutorial.
      3. I set up OMV and installed plugins.
      I think that's it.
      I also had CUPS installed but I uninstalled it just after I could use web interface.
    • Source Code

      1. root@fujitsu:~# service --status-all
      2. [ + ] acpid
      3. [ - ] alsa-utils
      4. [ - ] anacron
      5. [ + ] avahi-daemon
      6. [ + ] collectd
      7. [ - ] console-setup.sh
      8. [ + ] cpufrequtils
      9. [ + ] cron
      10. [ + ] dbus
      11. [ + ] docker
      12. [ - ] exim4
      13. [ + ] hddtemp
      14. [ - ] hwclock.sh
      15. [ - ] keyboard-setup.sh
      16. [ + ] kmod
      17. [ + ] lm-sensors
      18. [ + ] loadcpufreq
      19. [ - ] lvm2
      20. [ + ] lvm2-lvmetad
      21. [ + ] lvm2-lvmpolld
      22. [ - ] mdadm
      23. [ - ] mdadm-waitidle
      24. [ + ] minidlna
      25. [ + ] monit
      26. [ + ] networking
      27. [ - ] nfs-common
      28. [ - ] nfs-kernel-server
      29. [ + ] nginx
      30. [ + ] nmbd
      31. [ + ] ntp
      32. [ - ] openvpn
      33. [ + ] php7.0-fpm
      34. [ - ] postfix
      35. [ - ] pppd-dns
      36. [ + ] procps
      37. [ + ] proftpd
      38. [ + ] quota
      39. [ - ] quotarpc
      40. [ + ] resolvconf
      41. [ + ] rpcbind
      42. [ + ] rrdcached
      43. [ - ] rsync
      44. [ + ] rsyslog
      45. [ + ] samba
      46. [ - ] samba-ad-dc
      47. [ - ] shellinabox
      48. [ + ] smartmontools
      49. [ + ] smbd
      50. [ - ] snmpd
      51. [ + ] ssh
      52. [ - ] sudo
      53. [ + ] sysstat
      54. [ + ] transmission-daemon
      55. [ + ] udev
      56. [ + ] watchdog
      57. [ - ] wd_keepalive
      58. [ - ] x11-common
      Display All
    • I thought you said you were a Linux noob, or is that a noob with some understanding :) I was expecting something typed, anyway this;

      matefon wrote:

      I installed Debian from a netinst DVD
      That's fine but during the install, if memory serves me correctly you are greeted with a menu to install components, the norm for this is to install SSH server only, although I have seen threads that suggest minimum system utils. This comment prompted me to ask;

      matefon wrote:

      with Desktop Env.
      that would imply or suggest you have installed a Desktop, and the lines 7, 8 and 9 would also suggest that Samba was installed, why? because the same error is referenced in this post that install, if you read the thread was done on an SBC using Armbian. In that thread the underlying problem was Samba had been installed prior to OMV.

      So if you installed any other options other than SSH from that net install before installing OMV, that is what is causing the problems and the errors you are seeing in the daemon log.
      Raid is not a backup! Would you go skydiving without a parachute?
    • matefon wrote:

      So, the simplest way to fix it is to reinstall the system?
      Yes, what you implemented was the right approach I was just trying to ascertain what you installed when you ran the net install, to confirm what you should enable during a net install I'll tag @macom to confirm. But don't install Armbian, probably wouldn't work anyway.
      Raid is not a backup! Would you go skydiving without a parachute?
    • Yes, I agree with geaves.
      Disable desktop environment and only enable ssh server. Personally I also enable standard system utilities. But it does not really matter. If some tools are missing you can always install them later.

      There is a script to easily install OMV and OMV-extras on top of Debian. Depending on the Debian version it will install OMV4 or OMV5.

      Install OMV5 via command line over Debian 10
      If I remember well you need to install wget first.
      Odroid HC2 - armbian - OMV4.x | Asrock Q1900DC-ITX - Intenso SSD 120GB - OMV4.x
      :!: Backup - Solutions to common problems - OMV setup videos - OMV4 Documentation - user guide :!: