How to save grub configuration.

  • You mean this?


    root@openmedivault:~# apt-get install net-tools
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following NEW packages will be installed:
    net-tools
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 248 kB of archives.
    After this operation, 963 kB of additional disk space will be used.
    Get:1 ftp.gr.debian.org/debian stretch/main amd64 net-tools amd64 1.60+git20161116.90da8a0-1 [248 kB]
    Fetched 248 kB in 2s (91.3 kB/s)
    Selecting previously unselected package net-tools.
    (Reading database ... 55186 files and directories currently installed.)
    Preparing to unpack .../net-tools_1.60+git20161116.90da8a0-1_amd64.deb ...
    Unpacking net-tools (1.60+git20161116.90da8a0-1) ...
    Setting up net-tools (1.60+git20161116.90da8a0-1) ...
    Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7f84a49d1730>
    Traceback (most recent call last):
    File "/usr/lib/python3.5/weakref.py", line 117, in remove
    TypeError: 'NoneType' object is not callable
    Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7f84a49d1730>
    Traceback (most recent call last):
    File "/usr/lib/python3.5/weakref.py", line 117, in remove
    TypeError: 'NoneType' object is not callable

  • root@openmedivault:~# dpkg -l | grep shellinabox
    ii openmediavault-shellinabox 3.4 all Web-based SSH client.
    ii shellinabox 2.20+b1 amd64 publish command line shell through AJAX interface

    • Offizieller Beitrag

    dpkg -l | grep shellinabox should show that it's been removed. Refresh OMV's GUI and shellinabox should not be there.


    BTW have you done the grub update and rebooted? I'm wondering if this might be impacting the problem.


    If you've done the above install the plugin again, enable, save, apply. Before you try it dpkg -l | grep shellinabox then systemctl status shellinabox the first will confirm the install, and the second will check the status as before.

  • root@openmedivault:~# dpkg -l | grep shellinabox
    ii shellinabox 2.20+b1 amd64 publish command line shell thr ough AJAX interface


    root@openmedivault:~# systemctl status shellinabox
    ● shellinabox.service - LSB: Shell In A Box Daemon
    Loaded: loaded (/etc/init.d/shellinabox; generated; vendor preset: enabled)
    Active: active (exited) since Sun 2018-12-16 19:50:30 EET; 2h 53min ago
    Docs: man:systemd-sysv-generator(8)
    Process: 16803 ExecStop=/etc/init.d/shellinabox stop (code=exited, status=0/SUCCESS)
    Process: 16848 ExecStart=/etc/init.d/shellinabox start (code=exited, status=0/SUCCESS)
    Tasks: 0 (limit: 4915)
    CGroup: /system.slice/shellinabox.service
    Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.

    Restarting system now.

  • Done everything,but when I hit apply I get this


    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-mkconf shellinabox 2>&1' with exit code '2': /usr/share/openmediavault/mkconf/shellinabox: 63: /usr/share/openmediavault/mkconf/shellinabox: cannot create /etc/shellinabox/termstyle.css: Directory nonexistentBroken pipe: fflush()


    and show details gives this


    Error #0:
    OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-mkconf shellinabox 2>&1' with exit code '2': /usr/share/openmediavault/mkconf/shellinabox: 63: /usr/share/openmediavault/mkconf/shellinabox: cannot create /etc/shellinabox/termstyle.css: Directory nonexistent
    Broken pipe: fflush() in /usr/share/php/openmediavault/system/process.inc:182
    Stack trace:
    #0 /usr/share/openmediavault/engined/module/shellinabox.inc(76): OMV\System\Process->execute()
    #1 /usr/share/openmediavault/engined/rpc/config.inc(168): OMV\Engined\Module\Shellinabox->applyConfig()
    #2 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
    #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
    #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
    #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(565): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusUJ...', '/tmp/bgoutputfi...')
    #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
    #7 /usr/share/openmediavault/engined/rpc/config.inc(213): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
    #8 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
    #9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
    #10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
    #11 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
    #12 {main}

    • Offizieller Beitrag

    sudo shellinaboxd -v -t -p 4200 --no-beep --linkify=none


    It is running.

    As it should, it is a daemon that isn't running in daemon mode. If it works that way, it should work when the service starts it. If it doesn't work, I was hoping for some error messages.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!