Beiträge von oneiro

    Hello.


    My autoshutdown to check SMB/CIFS connection and you can found

    Code
    Jan 12 11:53:22 omv1T autoshutdown[1598]: root: INFO: 'main(): ------------------------------------------------------'
    Jan 12 11:53:22 omv1T autoshutdown[1598]: root: INFO: 'main(): New supervision cycle started, checking system activity'
    Jan 12 11:53:22 omv1T autoshutdown[1598]: root: INFO: '_check_net_status(): Found 0 active socket(s) from port(s): 21,22,80,139,3689,6991,9091,49152'
    Jan 12 11:53:22 omv1T autoshutdown[1598]: root: INFO: '_check_docker_status(): Found 0 active socket(s) from port(s): 21,22,80,139,3689,6991,9091,49152'
    Jan 12 11:53:22 omv1T autoshutdown[1598]: root: INFO: '_check_users_status(): There are no users connected -> next check'
    Jan 12 11:53:22 omv1T autoshutdown[1598]: root: INFO: '_check_smb_status(): SMB client(s) with locks:'
    Jan 12 11:53:22 omv1T autoshutdown[1598]: root: INFO: '_check_smb_status(): HOST: 192.168.11.215 PID: 3738 USER: user:users PROTO: SMB3_11'
    Jan 12 11:53:22 omv1T autoshutdown[1598]: root: INFO: '_check_smb_status(): SMB clients with locks connected -> no shutdown'
    Jan 12 11:53:22 omv1T autoshutdown[1598]: root: INFO: 'main(): Sleep for 180s'
    Jan 12 11:56:22 omv1T autoshutdown[1598]: root: INFO: 'main(): ------------------------------------------------------'


    There is information about:

    Code
    '_check_smb_status(): SMB clients with locks connected -> no shutdown'


    Due to I check smbstatus and found a lot of lock files, however should be not locked because source machines has been closed or just close explorer window with shared files in Windows10


    How to prevent?

    Have the same or very similar issue from long time with Windows 10

    Below my output,


    General SMB not close connection and keep it forever, because my laptop under 192.168.11.145 not working from long time. So I assume this is SAMBA issue, can you help with configure SAMABA to autodisconnect after some time?

    Hello,


    VERSION="0.9.9.10"


    After config still the same, there are two hosts (IP from DHCP) one is laptop and second is TV. Why the script not pass next steps and finally sleep the machine?


    Configuration is:





    The script come from OMV: 4.1.19-1 (Arrakis)


    Please help


    BR, Krzysie

    Have some issue in log at end of update (please find below), but after upgrade all is woking fine now :)


    Thank you and developer for support.

    I manually edit the file, and it's working fine.

    Maeby I make something wrong, becasue after replace file I got this (in file system menu):


    My operation is


    1. wget https://raw.githubusercontent.…t/rpc/serviceabstract.inc
    2. mv serviceabstract.inc usr/share/php/openmediavault/rpc/serviceabstract.inc
    3. Login to OMV web portal
    4. not working, clear web cache CRTL+F5
    5. still now working



    This is new error or the same?

    I don't recommend doing that. This bug isn't dangerous (just annoying) and you should be able to wait for the release.

    I understand but after fresh install in web OMV config I can't assing new disk/riad and next config other services so from my perspective this a serious problem. To resolve issue I can make all manually in shell but for that I would download any other linux distrubution (eg. debian, base of omv distribution).


    Could you estimate when will be new release?

    Hi All,


    I have the same issue, machine with AMD procesors.
    OMV: 4.1.5-1/ Arrakis


    Description the same as @Sjonnie



    additional afer apt-get install xxxxx have some errors (the same what show @Sjonnie



    Issue on chrome and firefox


    Any sugestion how to fix? Developers should fix the issue by change code, not waiting for php upgrade


    BR, Krzysiek

    Hi All,


    I use OMV 3.0.99 Erasmus and I have problem with nginx.


    When I add new config to /etc/ngninx/sites-avaliable and make link to sites-enable and restart web services (even whole server OMV restart) then web page on new port is not available. No
    Even if I add code to " zzz-omv-nginx" the same, new web page is not working.


    But if I make the same code but using web page (Nginxe tab in OMV web page) then is working fine.



    I make a next test - add some new www-server in nginx using OMV web page, chceck is working. For test I do not user PHP (FPM/CGI etc), only HTML and copy config zzz-omv-nginx. Netx delete the web server in configuration and add the same manually - not working.



    I lost 1/2 day for searching issue but I do not find error. Could anybody tell me what is procedure adding new web page "by hand"? There are some blocks? I can only add that nginx check do not found errors.


    Using "Port Query" tool the port when should be web page is LISTENING state so something is working but nginx do not put any error, only "web page is not avaliable" from web browser.


    I make that:


    1. Make in site-available new config (or edit existing one)
    2. Link from abive to sites-enable in nginx configuration dir (/etc/nginx)
    3. If use PHP then changs is PHP
    4. Restart services (nginx/PHP is need).


    On other linux system above is working but on OMV not :(




    The code is of the new serivce is:


    server {
    listen 88;
    listen [::]:88;
    set $root_path "/srv/var/web_pages";
    root $root_path;
    index index.php;
    access_log /var/log/nginx/web_pages-access.log;
    error_log /var/log/nginx//web_pages--error.log;
    large_client_header_buffers 4 8k;

    I make also dd if=system_disk of=file and gziped so I have full copy of my system hdd.


    But I'm physic more than 250km from my backup and I can't restore this now.


    It is possible to extract from gz archive need files and restore omv portal in that situation?

    I try, after copy files from backup I got:


    Code
    Warning: DOMDocument::load(/etc/openmediavault/config.xml): failed to open stream: Permission denied in /usr/share/php/openmediavault/config/databasebackend.inc on line 114
    
    
    Warning: require_once(openmediavault/htmlpage.inc): failed to open stream: No such file or directory in /var/www/openmediavault/index.php on line 25
    
    
    Fatal error: require_once(): Failed opening required 'openmediavault/htmlpage.inc' (include_path='.:/usr/share/php:/var/www/openmediavault') in /var/www/openmediavault/index.php on line 25


    Any suggestion, what is the issue?
    I delete below and copy from backup only dirs:


    /var/www/openmediavault
    /etc/openmediavault
    /etc/omv-support.d

    Hi,


    I have just installed 3.x but something go wrong (still have communication failure error after login to OMV portal).
    How to back to last stable 2.x version?


    Backup and services work, but portal have lots of errors so I want to delete all and back to 2.x


    PS. I have old /etc/ and /var/wwww/ files if will be need to back


    BR, Krzysiek

    Hi,


    I using autoshutdown but after my last update (as I remember install some files connected with kernel, not sure what exactly) and reboot I can't set my NAS to suspend.


    When I try launch pm-suspend and next go to dmsg I found this


    Source Code
    Edit Source Code

    • [ 2005.316365] PM: Syncing filesystems ... done.
    • [ 2005.439898] PM: Preparing system for mem sleep
    • [ 2005.442262] Freezing user space processes ... (elapsed 0.001 seconds) done.
    • [ 2005.443463] Freezing remaining freezable tasks ...
    • [ 2025.448441] Freezing of tasks failed after 20.004 seconds (1 tasks refusing to freeze, wq_busy=0):
    • [ 2025.448459] khubd D 00000286 0 218 2 0x00000000
    • [ 2025.448468] f71e9e5c 00000046 00000001 00000286 c1062440 f815190d 00000200 eee22300
    • [ 2025.448479] f43a2110 f71e9fec f71e9e58 f43a2110 c15a8500 f7080b40 f71e9e48 00000246
    • [ 2025.448489] f71e9e98 f71e9e58 f71e9e58 00000246 f81503c7 00000080 00000000 000003e8
    • [ 2025.448500] Call Trace:
    • [ 2025.448518] [<c1062440>] ? try_to_wake_up+0xc0/0xc0
    • [ 2025.448579] [<f815190d>] ? usb_start_wait_urb+0x8d/0x160 [usbcore]
    • [ 2025.448606] [<f81503c7>] ? usb_alloc_urb+0x17/0x40 [usbcore]
    • [ 2025.448616] [<c1438199>] ? schedule_timeout+0xc9/0x190
    • [ 2025.448624] [<c1046fe0>] ? call_timer_fn+0x110/0x110
    • [ 2025.448632] [<c104866d>] ? msleep+0x1d/0x30
    • [ 2025.448657] [<f814a93f>] ? hub_thread+0x2bf/0x15c0 [usbcore]
    • [ 2025.448666] [<c101f800>] ? __rapl_pmu_event_start+0x90/0xe0
    • [ 2025.448675] [<c1069030>] ? finish_wait+0x60/0x60
    • [ 2025.448682] [<c1068f3f>] ? __wake_up_locked+0x1f/0x30
    • [ 2025.448707] [<f814a680>] ? hub_port_debounce+0x140/0x140 [usbcore]
    • [ 2025.448715] [<c105880a>] ? kthread+0x9a/0xb0
    • [ 2025.448723] [<c143abc0>] ? ret_from_kernel_thread+0x20/0x30
    • [ 2025.448730] [<c1058770>] ? kthread_freezable_should_stop+0x60/0x60
    • [ 2025.448747]
    • [ 2025.448750] Restarting kernel threads ... done.
    • [ 2025.448969] Restarting tasks ... done.

    khubd - kernel deamon is in D state


    Source Code
    Edit Source Code

    • root@omv:~# ps aux | grep [k]hubd
    • root 218 0.0 0.0 0 0 ? D paź01 0:01 [khubd]


    khubd is connected to USB. I want disable USB (I do not use this)


    How to


    1. Kill kernel deamon (probably not possible, but I'm not expert)
    2. Set some parameters to kernel for disable USB
    3. set some paraemtr vai sysctl to diasable USB


    The best option is fix issue but I can't (new kernel??).


    I used kernel 3.2.0-0.bpo.4-486, upgrade to below do not help:
    Source Code
    Edit Source Code

    • root@omv:/boot# uname -a
    • Linux omv 3.16.0-0.bpo.4-586 #1 Debian 3.16.36-1+deb8u1~bpo70+1 (2016-09-08) i686 GNU/Linux

    OMV: 2.2.9
    Can anybody help me turn on to suspend?


    PS. Due to I have load average is about 1....




    Br, Krzysiek


    After logout and login notging in OMV portal.


    Code
    root@omv:~# dpkg -l | grep virtu
    ii  encfs                                  1.7.4-2.4+b1                       i386         encrypted virtual filesystem
    rc  openmediavault-virtualbox              1.4                                all          VirtualBox plugin for OpenMediaVault.
    ii  openvpn                                2.2.1-8+deb7u3                     i386         virtual private network daemon
    rc  phpvirtualbox                          5.0-3                              all          PhpVirtualBox is a web interface for VirtualBox
    ii  proftpd-basic                          1.3.4a-5+deb7u3                    i386         Versatile, virtual-hosting FTP daemon - binaries


    PS. Reading log in detail seems that is some error on installation and is ask about deleting "openmediavault-virtualbox phpvirtualbox virtualbox-extpack-installer" and I put yes [PL: Tak]. Should on second ask do not deleting 3 items?

    PL lang, hope you can read:


    Code
    # apt-get -f install
    Czytanie list pakietów... Gotowe
    Budowanie drzewa zależności
    Odczyt informacji o stanie... Gotowe
    Następujące pakiety zostały zainstalowane automatycznie i nie są już więcej wymagane:
      libaudio2 liblcms1 libmng1 libqt4-opengl libqtgui4 libxcursor1 libxinerama1
    Aby je usunąć należy użyć "apt-get autoremove".
    0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych.