Marthinius

Members
  • Content Count

    19
  • Joined

  • Last visited

Posts posted by Marthinius

  1. Ok...I formatted the SD card and re-install the system. First I tried to install Samba. Still same problem on clean system.I tried the ubuntu, debian. Nothing help...still same error

     

    SAMBA SERVICE LOADED: MASKED (/dev/null,bad)

    Active: inactive (dead)

     

    This is probably a bad installation script for samba

     

    Status:

    systemctl unmask samba

    systemctl enable samba

    systemctl restart samba

    ...some error after tried restart samba so:

    rm -R /var/cache/samba/*

    sudo rm /lib/systemd/system/samba.service

    sudo systemctl enable samba.service nmbd.service

    sudo systemctl start samba

     

    And now systemctl status samba is clear and run....

  2. System: Armbian 5.38 stable Debian/stretch

     

    Hello,

    Samba is not working properly. Not shown in Network places (Ubuntu, Mint....). It is accessible only via smb: //xxx.xxx.xxx

     

    Terminal Info:

    systemctl status smbd

     

    systemd[1]: Starting Samba SMB Daemon...

    systemd[1]: smbd.service: Supervising process 30013 which is not our child. We'll most likely not notice when it exits.

    Started Samba SMB Daemon.

     

    journalctl -xe | grep smbd

     

    smbd[1026]: pam_unix(samba:session): session closed for user nobody " I used smbpasswd -a user"

    sudo[2743]:     root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/etc/init.d/smbd status

     

    smbd[4343]: [2018/08/14 09:07:35.796225,  0] ../lib/util/debug.c:951(reopen_logs_internal)

    smbd[4343]:   Unable to open new log file '/var/log/samba/log.smbd': No such file or directory

    systemd[1]: smbd.service: Supervising process 4344 which is not our child. We'll most likely not notice when it exits.

     

    journalctl -xe | grep nmb

     

    nmbd[4313]: mkdir failed on directory /var/log/samba/cores: No such file or directory

    nmbd[4313]: Failed to create /var/log/samba/cores for user 0 with mode 0700

    nmbd[4313]: Unable to setup corepath for nmbd: No such file or directory

    nmbd[4313]: [2018/08/14 09:07:35.268683,  0] ../lib/util/debug.c:951(reopen_logs_internal)

    nmbd[4313]:   Unable to open new log file '/var/log/samba/log.': No such file or directory

    nmbd[4313]: [2018/08/14 09:07:35.272491,  0] ../lib/util/debug.c:951(reopen_logs_internal)

    nmbd[4313]:   Unable to open new log file '/var/log/samba/log.nmbd': No such file or directory

     

     

     

     

     

     

  3. So I solved it. When trying to install any program I received not just the above error.  All problems were caused by the first setup/startup - resize problem collision with h3disp first setup

     

    Solution:

     

    When selecting the display resolution (first run/setup), you must choose n / Y - "n" NO (h3disp). Then reboot due to resizing. After reboot when sd card resize you can change the resolution over h3disp command.

     

    So problem is by the first run amrbian. When I choose change resolution Y. Then filesystem not resize....(error as lock filesystem, bugs...etc)

     

     

     

     

  4. Hello,

     

    board: Orange pi One

    OS: Armbian 16.04

     

    I installed the opi monitor using the command: sudo armbianmonitor -r     

     

    error: Memory usage is not displayed, show only:  Used: NaNkB (NaN%) Available: NaNkB Total: NaNkB

     

    The free memory is displayed in the statistics, but not in the Status.

     

    I try:

    edit file /etc/rpimonitor/template/memory.conf 
    Locate line reading dynamic.15.source=/usr/bin/free -mk
    Replace this line and the following (in my version: lines 21 and 22) with
    dynamic.15.source=/proc/meminfo 
    dynamic.15.regexp=MemAvailable:\s+(\d+)

    Save file and restart rpi-monitor . But still memory usage not show any value in the status