Beiträge von afxomv

    Hi all,


    well I'm working a bit better but something still isn't right. On boot no interfaces actually come up although all are visible with ipconfig -a - /etc/network/interfaces have all the correct addresses but just arent 'loaded'. I manually configure eth0 with ifconfig and I can get onto OMV - resolv.conf also has to be manually updated too. If I make a change to a network interface in OMV gui it updates /etc/network/interfaces but doesnt apply the changes to the live interface...same for deleting in the gui. If the loopback interface hasn't been brought up I get the error #4000 when making changes in gui.


    Is OMV overriding something in networking to stop the interfaces cfg being loaded? I dont know Linux well enough to troubleshoot further...I have tried!


    Cheers,


    Kev

    Hi,


    I tried the last 2 commands - they went ok and omv-firstaid ran ok taking the addresses for each interface. I see the IP is there in config.xml but it didnt apply to the 'real' interface. I then rebooted to see if it would apply and now I have no interfaces up. /etc/network/interfaces has the correct cfg for eth0 but this hasn't applied...I have brought eth0 up but it hasnt assigned the IP in /etc/network/interfaces


    I ran firstaid again but this now fails with the #4000 error with failed to execute RPC.

    Thanks votdev,


    I tried the restart but got an error:
    monit restart omv-engined
    monit: Cannot connect to the monit daemon. Did you start it with http support?


    I get a similar error when logging into the gui on the dhcp address and it has changes to commit :


    Failed to execute command 'export LANG=C; monit restart collectd 2>&1': monit: Cannot connect to the monit daemon. Did you start it with http support?


    Error #4000:
    exception 'OMVException' with message 'Failed to execute command 'export LANG=C; monit restart collectd 2>&1': monit: Cannot connect to the monit daemon. Did you start it with http support?' in /usr/share/php/openmediavault/monit.inc:113
    Stack trace:
    #0 /usr/share/php/openmediavault/monit.inc(70): OMVMonit->action('restart', 'collectd', false)
    #1 /usr/share/openmediavault/engined/module/collectd.inc(53): OMVMonit->restart('collectd')
    #2 /usr/share/openmediavault/engined/rpc/config.inc(206): OMVModuleCollectd->startService()
    #3 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
    #4 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
    #5 /usr/share/php/openmediavault/rpcservice.inc(158): OMVRpcServiceAbstract->callMethod('applyChanges', Array, Array)
    #6 /usr/share/openmediavault/engined/rpc/config.inc(224): OMVRpcServiceAbstract->callMethodBg('applyChanges', Array, Array)
    #7 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
    #8 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
    #9 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('applyChangesBg', Array, Array)
    #10 /usr/sbin/omv-engined(500): OMVRpc::exec('Config', 'applyChangesBg', Array, Array, 1)
    #11 {main}



    I'm prepared to rebuild if this isn't an easy fix but I do appreciate you troubleshooting!

    Good morning,


    Please find output below as requested.


    Hi all,


    I've been running OMV since 0.5 on my N54L and all has been well until I had to power off the NAS. On power on I had no gui/ssh so hooked KVM up and saw OMV was running ok but I had no interfaces in ifconfig, no IP address so no external access. Since my last reboot I have applied all updates pushed out to the box. I am running 1.14.


    I have the onboard eth0 and an intel 2x gig-e pci card.eth0 was for wifi access, eth1 for direct to mac and eth2 direct to Mint box.


    I am able to get an ip via dhcp using the dhclient eth0 command but even though I get an address I can't use any services such as CIFS to this DHCP address.


    After the networking 'died' on boot I did try to re-create the /etc/network/interfaces cfg to manually assign the interfaces but this didnt work. I also haven't had any luck with omv-firstaid on each i/f. I'm also seeing a monit error asking if it was setup for http. I've apt-get install --resintall omvmediavault but no change.


    Configuring network interface. Please wait ...
    {"response":null,"error":{"code":7003,"message":"Failed to read from socket: Resource temporarily unavailable","trace":"exception 'OMVException' with message 'Failed to read from socket: Resource temporarily unavailable' in \/usr\/share\/php\/openmediavault\/rpc.inc:168\nStack trace:\n#0 \/usr\/sbin\/omv-rpc(107): OMVRpc::exec('Network', 'setIface', Array, Array, 2)\n#1 {main}"}}
    Failed to execute RPC (service=Network, method=setIface)


    Mar 16 22:23:53 lilbit omv-firstaid: Failed to execute RPC (service=Config, method=applyChanges)
    Mar 16 22:25:32 lilbit omv-firstaid: Failed to execute RPC (service=Network, method=setIface)
    Mar 16 22:26:35 lilbit omv-firstaid: Failed to execute RPC (service=Network, method=setIface)
    Mar 16 22:32:14 lilbit monit[6637]: 'nginx' failed, cannot open a connection to INET[127.0.0.1:443] via TCPSSL
    Mar 16 22:32:14 lilbit monit[6637]: 'nginx' trying to restart
    Mar 16 22:32:14 lilbit monit[6637]: 'nginx' stop: /etc/init.d/nginx
    Mar 16 22:32:14 lilbit monit[6637]: 'nginx' start: /etc/init.d/nginx
    Mar 16 22:32:49 lilbit monit[6637]: 'nginx' failed, cannot open a connection to INET[127.0.0.1:443] via TCPSSL
    Mar 16 22:32:49 lilbit monit[6637]: 'nginx' trying to restart
    Mar 16 22:32:49 lilbit monit[6637]: 'nginx' stop: /etc/init.d/nginx
    Mar 16 22:32:49 lilbit monit[6637]: 'nginx' start: /etc/init.d/nginx
    Mar 16 22:33:25 lilbit monit[6637]: 'nginx' failed, cannot open a connection to INET[127.0.0.1:443] via TCPSSL
    Mar 16 22:33:25 lilbit monit[6637]: 'nginx' trying to restart
    Mar 16 22:33:25 lilbit monit[6637]: 'nginx' stop: /etc/init.d/nginx
    Mar 16 22:33:25 lilbit monit[6637]: 'nginx' start: /etc/init.d/nginx
    Mar 16 22:34:00 lilbit monit[6637]: 'nginx' failed, cannot open a connection to INET[127.0.0.1:443] via TCPSSL
    Mar 16 22:34:00 lilbit monit[6637]: 'nginx' trying to restart


    Really appreciate any advice/time someone has to point me towards the resolution



    Kind regards,


    Kev

    I understand this is will need fstab tweaking to stop auto mounting after researching more but dont want to bork my system due to beginner linux skills :-/


    root@lilbit:~# sudo blkid
    /dev/sda1: UUID="8e695060-c3a6-44ee-9f04-8bed6cb48482" TYPE="ext4" LABEL="DATA4"
    /dev/sdb1: LABEL="DATA3" UUID="8acce34a-ed94-404d-9af1-1d55d9940b76" TYPE="ext4"
    /dev/sdc1: LABEL="DATA2" UUID="2ee57202-cd49-44f8-be1c-e45708864411" TYPE="ext4"
    /dev/sdd1: LABEL="DATA1" UUID="6f0525d4-97ac-49b0-b8d5-d3154e9ecfe0" TYPE="ext4"
    /dev/sde1: LABEL="SSD" UUID="d27d3cc0-bfea-46f5-ba61-f8f6c5e4e8be" TYPE="ext4"
    /dev/sde5: UUID="011b8279-5107-49ae-81f3-189b45aac175" TYPE="swap"
    /dev/sdf1: LABEL="DATA5" UUID="29cfd4a2-ffad-4edf-b94b-e4ee5dd2983b" TYPE="ext4"


    Current fstab


    root@lilbit:~# cat /etc/fstab
    # /etc/fstab: static file system information.
    #
    # Use 'blkid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    # / was on /dev/sde1 during installation
    UUID=d27d3cc0-bfea-46f5-ba61-f8f6c5e4e8be / ext4 errors=remount-ro 0 1
    # swap was on /dev/sde5 during installation
    UUID=011b8279-5107-49ae-81f3-189b45aac175 none swap sw 0 0
    /dev/sdf1 /media/usb0 auto rw,user,noauto 0 0
    tmpfs /tmp tmpfs defaults 0 0
    # >>> [openmediavault]
    UUID=8e695060-c3a6-44ee-9f04-8bed6cb48482 /media/8e695060-c3a6-44ee-9f04-8bed6cb48482 ext4 defaults,nofail,acl,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0 2
    UUID=8acce34a-ed94-404d-9af1-1d55d9940b76 /media/8acce34a-ed94-404d-9af1-1d55d9940b76 ext4 defaults,nofail,acl,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0 2
    UUID=2ee57202-cd49-44f8-be1c-e45708864411 /media/2ee57202-cd49-44f8-be1c-e45708864411 ext4 defaults,nofail,acl,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0 2
    UUID=6f0525d4-97ac-49b0-b8d5-d3154e9ecfe0 /media/6f0525d4-97ac-49b0-b8d5-d3154e9ecfe0 ext4 defaults,nofail,acl,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0 2
    UUID=29cfd4a2-ffad-4edf-b94b-e4ee5dd2983b /media/29cfd4a2-ffad-4edf-b94b-e4ee5dd2983b ext4 defaults,nofail,acl,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0 2
    none /media/STORAGEPOOL aufs br:/media/6f0525d4-97ac-49b0-b8d5-d3154e9ecfe0/DRIVE1SHARE/=rw:/media/2ee57202-cd49-44f8-be1c-e45708864411/DRIVE2SHARE/=rw:/media/8acce34a-ed94-404d-9af1-1d55d9940b76/DRIVE3SHARE/=rw,sum,create=mfs,udba=reval 0 0
    /media/STORAGEPOOL /media/6f0525d4-97ac-49b0-b8d5-d3154e9ecfe0/POOLSHARE/ none bind 0 0
    /media/6f0525d4-97ac-49b0-b8d5-d3154e9ecfe0/POOLSHARE/ /home/ftp/POOLSHARE none bind 0 0
    /media/6f0525d4-97ac-49b0-b8d5-d3154e9ecfe0//LILNFS /export/LILNFS none bind 0 0
    /media/8acce34a-ed94-404d-9af1-1d55d9940b76//wardhole /export/WARDHOLE none bind 0 0
    # <<< [openmediavault]

    Hi,


    Is there a way to reoder the disk usage drive tabs in System Information>Status>Disk Usage? Over the past 6months I'd made a few changes and now have my drive labels not 'matching' my dev/sdX
    So:


    /dev/sda1/ > DATA4
    /dev/sdb1/ > DATA3
    /dev/sdc1/ > DATA2
    /dev/sdd1/ > DATA1
    /dev/sdf1/ > DATA5



    This is reflected in the order of the tabs in System Info>Status>Disk Usage with sda1 to sde1. I checked in config.xml but didn't find anything to modify.


    Many thanks


    Afx

    Hi,


    new registered user on the forum here but been using OMV for the past 6months and I'm enjoying using it. As I'm getting older I am appreciating more the time and effort people put into opensource projects and developers alike so have been donating more...maybe trying to equalize the amount of 'free' software I've had over the years!


    Anyways, question is 'are there a key few people in the development team who get the money donated and how is this shared?' I'll defo be donating OMV is my only NAS solution and I want to see it maintained/developed!


    Cheers,


    Afx