Beiträge von kekec888

    Hallo forum


    i have created a docker-compose.yml that contains image: nginx:latest and image: php:7.3-fpm.
    So 2 containers is been created with traefik label / proxy..


    This works perfecly...


    I also have mapped :
    /var/run/docker.sock
    /usr/bin/docker
    /usr/lib/x86_64-linux-gnu/libsqlite3.so.0


    so i can use docker cmd insite the nginx container, this works perfect aswell..
    So here comes the issue:


    I need to to install visudo in the container, BUT i noticed i cannot use 'apt-get update' or anything with 'apt-get' thats a HUGE problem


    I have tried a couple days now and tried everything in my mind to resolve this..
    I have tried to install any other containers (both behind traefik proxy network and the host) nothing changes..


    the error i get is :



    apt-get update
    Err:1 http://repo.mysql.com/apt/debian stretch InRelease
    Temporary failure resolving 'repo.mysql.com'
    Err:2 http://deb.debian.org/debian stretch InRelease
    Temporary failure resolving 'deb.debian.org'
    Err:3 http://security.debian.org/debian-security stretch/updates InRelease
    Temporary failure resolving 'security.debian.org'
    Err:4 http://deb.debian.org/debian stretch-updates InRelease
    Temporary failure resolving 'deb.debian.org'
    Reading package lists... Done
    W: Failed to fetch http://deb.debian.org/debian/dists/stretch/InRelease Temporary failure resolving 'deb.debian.org'
    W: Failed to fetch http://security.debian.org/deb…stretch/updates/InRelease Temporary failure resolving 'security.debian.org'
    W: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/InRelease Temporary failure resolving 'deb.debian.org'
    W: Failed to fetch http://repo.mysql.com/apt/debian/dists/stretch/InRelease Temporary failure resolving 'repo.mysql.com'
    W: Some index files failed to download. They have been ignored, or old ones used instead.


    And some of my containers cant even find 'apt-get'


    So please help me , any inputs is appreciated...


    *All my containers is pull from images / git

    I don't use virtualbox and even when I did, I didn't run Windows VMs. Did you install the latest guest tools/drivers? This is one reason to not always run the latest version of virtualbox I guess.

    Hmm yeah i have updated the guest additions also...


    Is there anyway to roll back ?
    I can uninstall virtualbox but when i install it from plugins its still the new version...

    The virtualbox kernel driver needs to be updated to support the newer kernel. It can be fixed by using the proxmox kernel or waiting for virtualbox 5.2.12+ to be in the debian repos or not upgrading or just keep using the 4.16 kernel for now. I will see if the 5.2.16 package from Buster builds on Stretch.
    The virtualbox 5.2.16 package is in the stretch-backports repo now. You just need to update your system.


    Hallo sir


    My vm is running very bad (Windows10 keeps locking and frezzing // In rdp VNC is running fine)
    I have installed the new kernel 4.17 and updated virtualbox to 5.2.16 BUT still having issues..



    I also keep getting this: See attachments


    And the log: See attachments

    @Huberer hmm mine stays the same, but you are right with file vboxdrv, but that doesnt seems to affect or give any errors in log...
    Try this for autoboot:


    I made a workaround solution - i created a script in /etc/init.d/startvm
    startvm file content:
    --------------------------------------------------------------------------------------------------------
    #!/bin/bash
    #
    #This init script autostarts necessary vms at boot
    #and saves running vms on shutdown
    # Sed explanation: sed -e 's/^.//' -e 's/.$//'
    # 1. -e means to allow multiple arguments in a single sed command
    # 2. 's/^.//' means to substitute (s) / at the beginning of the line (^), any character (.) / [substitute with nothing] /
    # 3. 's/.$//' means to substitute (s) / any character (.), at the end of the line / [substitute with nothing] /


    VBOXUSER=vbox
    RUNNINGVMS=$(sudo -H -u $VBOXUSER vboxmanage list runningvms | cut -d " " -f1 | sed -e 's/^.//' -e 's/.$//')
    STOPPEDVMS=$(sudo -H -u $VBOXUSER vboxmanage list vms | cut -d " " -f1 | sed -e 's/^.//' -e 's/.$//')



    case "$1" in
    start)
    for i in $STOPPEDVMS
    do
    echo "Starting" $i "VM"
    sudo -H -u $VBOXUSER vboxmanage startvm $i --type headless
    sleep 5
    done
    ;;
    stop)
    for i in $RUNNINGVMS
    do
    echo "Saving state of" $i "VM"
    sudo -H -u $VBOXUSER vboxmanage controlvm $i savestate
    done
    ;;
    *)
    echo "Usage: /etc/init.d/startvm {start|stop}"
    exit 1
    ;;
    esac
    exit 0
    --------------------------------------------------------------------------------------------------------
    *This script will start all VM's and will put all VM's to savestate



    I ran this cmd to make it execute:
    chmod +x /etc/init.d/startvm


    Then i insalled sysv-rc-conf to mng my rc.d :
    apt-get install sysv-rc-conf


    run the application with:
    sysv-rc-conf


    and here i choose 2 and 6 (2 for startup and 6 for shutdown/reboot)



    And now its working :D


    Feel free to ask any questions :)

    Okay i played a little bit around and im now down to this:
    (I added a rule /follow this guide http://www.mgreene.org/?cat=39 and this solved the problem with 00:00:00.159920 nspr-2 Failed to open "/dev/vboxdrvu", errno=2, rc=VERR_VM_DRIVER_NOT_INSTALLED)


    VirtualBox XPCOM Server 5.2.10_Debian r121806 linux.amd64 (Apr 26 2018 08:56:30) release log
    00:00:00.000152 main Log opened 2018-06-18T20:07:38.253806000Z
    00:00:00.000154 main Build Type: release
    00:00:00.000157 main OS Product: Linux
    00:00:00.000158 main OS Release: 4.16.0-0.bpo.2-amd64
    00:00:00.000159 main OS Version: #1 SMP Debian 4.16.12-1~bpo9+1 (2018-06-03)
    00:00:00.000177 main DMI Product Name: All Series
    00:00:00.000183 main DMI Product Version: System Version
    00:00:00.000232 main Host RAM: 15922MB (15.5GB) total, 14660MB (14.3GB) available
    00:00:00.000236 main Executable: /usr/lib/virtualbox/VBoxSVC
    00:00:00.000237 main Process ID: 8414
    00:00:00.000237 main Package type: LINUX_64BITS_GENERIC (OSE)
    00:00:00.001415 main IPC socket path: /tmp/.vbox-vbox-ipc/ipcd
    00:00:00.104802 nspr-2 VirtualBox: object creation starts
    00:00:00.104886 nspr-2 Home directory: '/var/lib/vbox/.config/VirtualBox'
    00:00:00.105056 nspr-2 Loading settings file "/var/lib/vbox/.config/VirtualBox/VirtualBox.xml" with version "1.12-linux"
    00:00:00.106715 nspr-2 Successfully initialised host USB using sysfs
    00:00:00.110824 nspr-2 NetIfAdpCtlOut: VBoxNetAdpCtl: Error while retrieving link speed for docker0: VBoxNetAdpCtl: ioctl failed: Operation not supported
    00:00:00.111993 nspr-2 NAT: resolv.conf: nameserver 208.67.222.222
    00:00:00.112006 nspr-2 NAT: resolv.conf: nameserver 208.67.220.220
    00:00:00.112023 nspr-2 HostDnsMonitor: old information
    00:00:00.112027 nspr-2 no server entries
    00:00:00.112030 nspr-2 no domain set
    00:00:00.112033 nspr-2 no search string entries
    00:00:00.112035 nspr-2 HostDnsMonitor: new information
    00:00:00.112038 nspr-2 server 1: 208.67.222.222
    00:00:00.112041 nspr-2 server 2: 208.67.220.220
    00:00:00.112044 nspr-2 domain: kekecserver
    00:00:00.112047 nspr-2 search string 1: kekecserver
    00:00:00.112053 nspr-2 HostDnsMonitorProxy::notify
    00:00:00.115329 nspr-2 VD: VDInit finished with VINF_SUCCESS
    00:00:00.115413 nspr-2 ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={0eb668d2-495e-5a36-8890-29999b5f030c} aComponent={SystemPropertiesWrap} aText={Cannot determine default Guest Addition$
    00:00:00.118808 nspr-2 Loading settings file "/srv/dev-disk-by-label-www/virtual/Windows10/Windows10.vbox" with version "1.15-linux"
    00:00:00.121096 nspr-2 VirtualBox: object created



    EDIT: the last error i have is because theres no Guest addtions installed or the path is not set.
    I downloaded the guest.iso called VBoxGuestAdditions_5.2.10.iso
    I renamed it and put it in:
    /usr/share/virtualbox/VBoxGuestAdditions.iso



    and then i used this cmd to see if it worked and it did:
    VBoxManage list systemproperties

    I found this (/var/lib/vbox/.config/VirtualBox.VBoxSVC.log)


    VirtualBox XPCOM Server 5.2.10_Debian r121806 linux.amd64 (Apr 26 2018 08:56:30) release log
    00:00:00.000553 main Log opened 2018-06-18T14:30:37.726895000Z
    00:00:00.000555 main Build Type: release
    00:00:00.000557 main OS Product: Linux
    00:00:00.000558 main OS Release: 4.16.0-0.bpo.2-amd64
    00:00:00.000559 main OS Version: #1 SMP Debian 4.16.12-1~bpo9+1 (2018-06-03)
    00:00:00.000574 main DMI Product Name: All Series
    00:00:00.000579 main DMI Product Version: System Version
    00:00:00.000621 main Host RAM: 15922MB (15.5GB) total, 15753MB (15.3GB) available
    00:00:00.000625 main Executable: /usr/lib/virtualbox/VBoxSVC
    00:00:00.000625 main Process ID: 928
    00:00:00.000626 main Package type: LINUX_64BITS_GENERIC (OSE)
    00:00:00.001754 main IPC socket path: /tmp/.vbox-vbox-ipc/ipcd
    00:00:00.106451 nspr-2 VirtualBox: object creation starts
    00:00:00.107200 nspr-2 Home directory: '/var/lib/vbox/.config/VirtualBox'
    00:00:00.107877 nspr-2 Loading settings file "/var/lib/vbox/.config/VirtualBox/VirtualBox.xml" with version "1.12-linux"
    00:00:00.112525 nspr-2 Successfully initialised host USB using sysfs
    00:00:00.157970 nspr-2 HostDnsMonitorProxy::notify
    00:00:00.159920 nspr-2 Failed to open "/dev/vboxdrvu", errno=2, rc=VERR_VM_DRIVER_NOT_INSTALLED
    00:00:00.163099 nspr-2 VD: VDInit finished with VINF_SUCCESS
    00:00:00.163161 nspr-2 ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={0eb668d2-495e-5a36-8890-29999b5f030c} aComponent={SystemPropertiesWrap} aText={Cannot determine default Guest Additions ISO location. Most likely they are not$
    00:00:00.170843 nspr-2 Loading settings file "/srv/dev-disk-by-label-www/virtual/Windows10/Windows10.vbox" with version "1.15-linux"
    00:00:00.175822 nspr-2 VirtualBox: object created
    00:00:00.207931 nspr-3 ERROR [COM]: aRC=VBOX_E_OBJECT_NOT_FOUND (0x80bb0001) aIID={9570b9d5-f1a1-448a-10c5-e12f5285adad} aComponent={VirtualBoxWrap} aText={Could not find a registered machine named 'exist.'}, preserve=false aResultDet$
    00:00:00.239235 nspr-2 ERROR [COM]: aRC=VBOX_E_OBJECT_NOT_FOUND (0x80bb0001) aIID={9570b9d5-f1a1-448a-10c5-e12f5285adad} aComponent={VirtualBoxWrap} aText={Could not find a registered machine named 'appropriate'}, preserve=false aResu$
    00:00:00.278412 nspr-3 ERROR [COM]: aRC=VBOX_E_OBJECT_NOT_FOUND (0x80bb0001) aIID={9570b9d5-f1a1-448a-10c5-e12f5285adad} aComponent={VirtualBoxWrap} aText={Could not find a registered machine named 'linux-headers-amd64.'}, preserve=fa$
    00:00:00.313855 nspr-2 ERROR [COM]: aRC=VBOX_E_OBJECT_NOT_FOUND (0x80bb0001) aIID={9570b9d5-f1a1-448a-10c5-e12f5285adad} aComponent={VirtualBoxWrap} aText={Could not find a registered machine named 'fixed.'}, preserve=false aResultDet$

    I just deleted all log so i could get a new one.
    (Just restarted the omv server and logged into phpvirtualbox)
    but there's no log files yet?


    so where can i look to get the log file?
    an omv-log?

    Hallo forum


    I have installed Virtualbox (plugin) but i cant seem to start it up automaticly?


    The function in omv web or in phpvirtualbox (set to auto start) is not working?

    Hallo forum


    I need your help!!


    i just reinstalled / fresh omv4 and updated to :
    4.1.8.2-1 from the web gui


    But when i run "systemctl status monit" i get this error:
    Cannot create socket to [localhost]:2812 -- Connection refused


    and i cant see omv4 is listining to to 2812 when i run "netstat -pln"


    please help!!!


    EDIT:
    i ran "systemctl stop rrdcached.service"
    and started it again "systemctl start rrdcached.service"


    and now it seems its working even after reboot?


    a bug?

    Hallo forum -
    I really need you input for these problems i have suddenly after fresh install..
    Its all started with i had some problem runing nginx (my own website , got always 403 forbidden nginx site) so i decided to reinstall all and try agian.. (i had teste a lot with other apps - so wanted to start fresh)
    So now i have a couple problems (See the first 2 pictures) for the first 2 problems:


    1.problem:
    IMG_0281.JPG:
    This is what i see when i boot


    2.problem:
    and sometimes my network will not be runing, so i try to omv-firstaid and try to setuo from there, but then i got some error with:
    Cannot create socket to [localhost]:2812 -- Connection refusedThen i run systemctl status monit:
    and get this: IMG_0282.JPG


    3.problem:(does not have a picture right now)
    when i boot the pc up, i get something like this (Found this on an another website)
    [ 3626.400368] ata3.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) rejected by device (Stat=0x51 Err=0x04)[ 3626.400445] ata3.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out[ 3626.400505] ata3.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out[ 3629.646801] ata3.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) rejected by device (Stat=0x51 Err=0x04)[ 3629.646874] ata3.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out[ 3629.646931] ata3.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out[ 3629.649227] ata3.00: configured for UDMA/100[ 3629.665886] ata3.00: device reported invalid CHS sector 0[ 3629.668636] ata3: EH complete[ 3629.668666] sd 2:0:0:0: [sda] START_STOP FAILED[ 3629.668668] sd 2:0:0:0: [sda][ 3629.668669] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE[ 3629.668671] sd 2:0:0:0: [sda][ 3629.668673] Sense Key : Aborted Command [current] [descriptor][ 3629.668675] sd 2:0:0:0: [sda][ 3629.668686] Add. Sense: No additional sense information[ 3629.690983] mei 0000:00:16.0: stop[ 3629.693846] ACPI: Preparing to enter system sleep state S5and its just keep doing it??? but i have an idea that i coule be ONLY when my RAID1 is plugged - but i got to test first..but yeah ant input will be apreciatetthanks in advice..




    I just installed omv 4.1.3 to a virtualbox and got problem 2..:
    2018-06-14 11_14_47-omv4Oracle VM VirtualBox.jpg