OMV-Firstaid: ERROR: [Errno 2] No such file or directory.

  • Thanks for all the work here. I updated omv to version 3. The upgrade went very far but at after a long time I got an error. After reboot the interface does not work any more. I dit apt-get upgrade and now the shares are working, but not the interface. Omv-init is not found. OMV-firstaid starts but the option 2 gives: ERROR: [Errno 2] No such file or directory.
    any assistance would be greatly appriciated.

    • Offizieller Beitrag

    What is the output of: dpkg -l | grep openm

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | 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!

  • Thank you!!1


    root@opennas:~# dpkg -l | grep openm
    ii openmediavault 3.0.59 all Open network attached storage solution
    ii openmediavault-clamav 3.2.7 all OpenMediaVault ClamAV plugin
    ii openmediavault-extplorer 1.3.1 all OpenMediaVault eXtplorer plugin
    ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive
    ii openmediavault-omvextrasorg 3.4.16 all OMV-Extras.org Package Repositories for OpenMediaVault
    ii openmediavault-owncloud 2.0.3 all OpenMediaVault ownCloud plugin
    ii openmediavault-plexmediaserver 3.8.1 all OpenMediaVault Plex Media Server plugin

    • Offizieller Beitrag

    apt-get purge openmediavault-extplorer openmediavault-owncloud

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | 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!

  • i have got same problem but not resolved


    my output is.


    root@omv3:~# dpkg -l | grep openm
    ii openmediavault 3.0.97 all Open network attached storage solution
    ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive
    ii openmediavault-omvextrasorg 3.4.29 all OMV-Extras.org Package Repositories for OpenMediaVault

  • i can't access.


    Failed to connect to socket: No such file or directory


    Error #0:exception 'OMV\Rpc\Exception' with message 'Failed to connect to socket: No such file or directory' in /usr/share/php/openmediavault/rpc/rpc.inc:140Stack trace:#0 /var/www/openmediavault/rpc/session.inc(56): OMV\Rpc\Rpc::call('UserMgmt', 'authUser', Array, Array, 2, true)#1 [internal function]: OMVRpcServiceSession->login(Array, Array)#2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)#3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('login', Array, Array)#4 /usr/share/php/openmediavault/rpc/proxy/json.inc(95): OMV\Rpc\Rpc::call('Session', 'login', Array, Array, 3)#5 /var/www/openmediavault/rpc.php(45): OMV\Rpc\Proxy\Json->handle()#6 {main}

  • root@omv3:~# apt-get install --reinstall openmediavault
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following package was automatically installed and is no longer required:
    dkms
    Use 'apt-get autoremove' to remove it.
    0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
    Need to get 928 kB of archives.
    After this operation, 0 B of additional disk space will be used.
    Get:1 http://packages.openmediavault.org/public/ erasmus/main openmediavault all 3.0.97 [928 kB]
    Fetched 928 kB in 6s (140 kB/s)
    Preconfiguring packages ...
    (Reading database ... 74765 files and directories currently installed.)
    Preparing to unpack .../openmediavault_3.0.97_all.deb ...
    Unpacking openmediavault (3.0.97) over (3.0.97) ...
    Setting up openmediavault (3.0.97) ...
    Updating configuration database ...
    Updating configuration ...
    Processing triggers for openmediavault (3.0.97) ...
    Restarting engine daemon ...
    Updating locale files ...
    Updating file permissions ...
    Purging internal cache ...
    root@omv3:~#




    then omv-firstaid


    configure web control panel


    ERROR: [Errno 2] No such file or directory

  • root@omv3:~# omv-engined -f -d
    Registered data models:
    conf.service
    conf.service.ftp
    conf.service.ftp.modban.rule
    conf.service.ftp.modtls
    conf.service.ftp.share
    conf.service.nfs
    conf.service.nfs.share
    conf.service.rsync.job
    conf.service.rsyncd
    conf.service.rsyncd.module
    conf.service.smartmontools
    conf.service.smartmontools.device
    conf.service.smartmontools.job
    conf.service.smb
    conf.service.smb.share
    conf.service.snmp
    conf.service.ssh
    conf.service.zeroconf.service
    conf.system.apt.distribution
    conf.system.certificate.ssh
    conf.system.certificate.ssl
    conf.system.cron.job
    conf.system.email
    conf.system.filesystem.mountpoint
    conf.system.filesystem.quota
    conf.system.hdparm
    conf.system.mdadm.device
    conf.system.monitoring.perfstats
    conf.system.network.dns
    conf.system.network.interface
    conf.system.network.iptables.rule
    conf.system.network.proxy
    conf.system.notification.email
    conf.system.notification.notification
    conf.system.powermngmnt
    conf.system.sharedfolder
    conf.system.sharedfolder.privilege
    conf.system.syslog.remote
    conf.system.time
    conf.system.usermngmnt.group
    conf.system.usermngmnt.homedir
    conf.system.usermngmnt.user
    conf.webadmin
    rpc.apt.getchangelog
    rpc.apt.setsettings
    rpc.apt.upgrade
    rpc.apt.upload
    rpc.certificatemgmt.create
    rpc.certificatemgmt.createssh
    rpc.certificatemgmt.set
    rpc.certificatemgmt.setssh
    rpc.common.devicefile
    rpc.common.getlist
    rpc.common.objectuuid
    rpc.config.applychanges
    rpc.config.revertchanges
    rpc.cron.getlist
    rpc.cron.set
    rpc.diskmgmt.sethdparm
    rpc.diskmgmt.wipe
    rpc.emailnotification.set
    rpc.exec.getoutput
    rpc.exec.isrunning
    rpc.exec.stop
    rpc.filesystemmgmt.create
    rpc.filesystemmgmt.delete
    rpc.filesystemmgmt.enumeratemountedfilesystems
    rpc.filesystemmgmt.hasfilesystem
    rpc.filesystemmgmt.mount
    rpc.filesystemmgmt.resize
    rpc.filesystemmgmt.umount
    rpc.folderbrowser.get
    rpc.fstab.getbydir
    rpc.fstab.getbyfsname
    rpc.fstab.set
    rpc.ftp.setmodbanrule
    rpc.ftp.setmodtlssettings
    rpc.ftp.setsettings
    rpc.ftp.setshare
    rpc.iptables.setrule
    rpc.iptables.setrules
    rpc.iptables.setrules6
    rpc.logfile.clear
    rpc.logfile.getcontent
    rpc.logfile.getlist
    rpc.network.enumeratebondslaves
    rpc.network.identify
    rpc.network.setbondiface
    rpc.network.setethernetiface
    rpc.network.setgeneralsettings
    rpc.network.setproxy
    rpc.network.setvlaniface
    rpc.network.setwirelessiface
    rpc.nfs.setsettings
    rpc.nfs.setshare
    rpc.notification.isenabled
    rpc.notification.set
    rpc.perfstats.set
    rpc.plugin.install
    rpc.plugin.remove
    rpc.plugin.upload
    rpc.powermgmt.set
    rpc.powermgmt.setscheduledjob
    rpc.quota.set
    rpc.raidmgmt.add
    rpc.raidmgmt.create
    rpc.raidmgmt.delete
    rpc.raidmgmt.getdetail
    rpc.raidmgmt.getslaves
    rpc.raidmgmt.grow
    rpc.raidmgmt.remove
    rpc.rsync.set
    rpc.rsyncd.setmodule
    rpc.rsyncd.setsettings
    rpc.session.login
    rpc.sharemgmt.delete
    rpc.sharemgmt.getfileacl
    rpc.sharemgmt.getprivilegesbyrole
    rpc.sharemgmt.set
    rpc.sharemgmt.setfileacl
    rpc.sharemgmt.setprivileges
    rpc.sharemgmt.setprivilegesbyrole
    rpc.smart.setdevicesettings
    rpc.smart.setscheduledtest
    rpc.smart.setsettings
    rpc.smb.setsettings
    rpc.smb.setshare
    rpc.snmp.set
    rpc.ssh.set
    rpc.syslog.setsettings
    rpc.system.reboot
    rpc.system.setdate
    rpc.system.settimesettings
    rpc.system.shutdown
    rpc.system.standby
    rpc.usermngmt.authuser
    rpc.usermngmt.deletegroup
    rpc.usermngmt.deleteuser
    rpc.usermngmt.getgroup
    rpc.usermngmt.getuser
    rpc.usermngmt.importgroup
    rpc.usermngmt.importuser
    rpc.usermngmt.setgroup
    rpc.usermngmt.setsettings
    rpc.usermngmt.setuser
    rpc.usermngmt.setuserbycontext
    rpc.webgui.setpassword
    rpc.webgui.setsettings
    rpc.zeroconf.set
    Registered filesystem backends:
    btrfs
    exfat
    ext
    ext2
    ext3
    ext4
    fuseblk
    hfsplus
    iso9660
    jfs
    msdos
    none
    ntfs
    reiserfs
    udf
    ufs
    umsdos
    vfat
    xfs
    Registered RPC services:
    apt
    certificatemgmt
    config
    cron
    diskmgmt
    emailnotification
    exec
    filesystemmgmt
    folderbrowser
    fstab
    ftp
    iptables
    logfile
    network
    nfs
    notification
    perfstats
    plugin
    powermgmt
    quota
    raidmgmt
    rrd
    rsync
    rsyncd
    services
    sharemgmt
    smart
    smb
    snmp
    ssh
    syslog
    system
    usermgmt
    webgui
    zeroconf
    Registered modules:
    acpid
    apt
    certificatemgmt
    collectd
    cpufrequtils
    cron
    cronapt
    email
    fstab
    ftp
    halt
    hdparm
    hostname
    hosts
    interfaces
    iptables
    mdadm
    monit
    networking
    nfs
    ntp
    pam
    php5fpm
    profile
    quota
    rrdcached
    rsync
    rsyncd
    samba
    smartmontools
    snmp
    ssh
    sysctl
    syslog
    timezone
    webadmin
    webserver
    zeroconf
    SIGCHLD received ...



    SIGCHLD received ...
    Child (pid=2620) terminated with exit code 0
    Child process forked (pid=2621)
    Executing RPC (service=System, method=getInformation, params=[], context={"username":"admin","role":1}) ...
    RPC response (service=System, method=getInformation): {"response":[{"name":"Hostname","value":"omv3.local","type":"string","index":0},{"name":"Version","value":"3.0.97 (Erasmus)","type":"string","index":1},{"name":"Processor","value":"AMD Athlon(tm) II X3 450 Processor","type":"string","index":2},{"name":"Kernel","value":"Linux 4.9.0-0.bpo.5-amd64","type":"string","index":3},{"name":"System time","value":"Mon 12 Feb 2018 12:07:08 AM +03","type":"string","index":4},{"name":"Uptime","value":"0 days 0 hours 30 minutes 26 seconds","type":"string","index":5},{"name":"Load average","value":"0.20, 0.08, 0.04","type":"string","index":6},{"name":"CPU usage","value":{"text":"0%","value":0},"type":"progress","index":7},{"name":"Memory usage","value":{"text":"2% of 9.52 GiB","value":2},"type":"progress","index":8}],"error":null}
    SIGCHLD received ...
    Child (pid=2621) terminated with exit code 0
    Child process forked (pid=2628)
    Executing RPC (service=Config, method=isDirty, params=null, context={"username":"admin","role":1}) ...
    RPC response (service=Config, method=isDirty): {"response":false,"error":null}
    SIGCHLD received ...
    Child (pid=2628) terminated with exit code 0
    Child process forked (pid=2629)
    Executing RPC (service=System, method=getInformation, params=[], context={"username":"admin","role":1}) ...
    Child process forked (pid=2632)
    Executing RPC (service=Services, method=getStatus, params=[], context={"username":"admin","role":1}) ...
    RPC response (service=Services, method=getStatus): {"response":{"total":6,"data":[{"name":"ftp","title":"FTP","enabled":false,"running":false},{"name":"nfs","title":"NFS","enabled":false,"running":false},{"name":"rsyncd","title":"RSync server","enabled":false,"running":false},{"name":"samba","title":"SMB\/CIFS","enabled":false,"running":true},{"name":"snmp","title":"SNMP","enabled":false,"running":false},{"name":"ssh","title":"SSH","enabled":true,"running":true}]},"error":null}
    SIGCHLD received ...
    Child (pid=2632) terminated with exit code 0
    RPC response (service=System, method=getInformation): {"response":[{"name":"Hostname","value":"omv3.local","type":"string","index":0},{"name":"Version","value":"3.0.97 (Erasmus)","type":"string","index":1},{"name":"Processor","value":"AMD Athlon(tm) II X3 450 Processor","type":"string","index":2},{"name":"Kernel","value":"Linux 4.9.0-0.bpo.5-amd64","type":"string","index":3},{"name":"System time","value":"Mon 12 Feb 2018 12:07:13 AM +03","type":"string","index":4},{"name":"Uptime","value":"0 days 0 hours 30 minutes 31 seconds","type":"string","index":5},{"name":"Load average","value":"0.18, 0.08, 0.04","type":"string","index":6},{"name":"CPU usage","value":{"text":"10%","value":10.666666666667},"type":"progress","index":7},{"name":"Memory usage","value":{"text":"2% of 9.52 GiB","value":2},"type":"progress","index":8}],"error":null}

  • root@omv3:/etc/openmediavault# sudo apt-get remove --purge openmediavault openmediavault-keyring
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
    apt-transport-https avahi-daemon beep bind9-host collectd collectd-core cpufrequtils cron-apt dkms gdisk hdparm libavahi-core7 libcpufreq0 libcurl3-gnutls libdaemon0 libdbi1
    libfile-copy-recursive-perl libjavascript-minifier-xs-perl libjson-perl liblocale-po-perl libltdl7 libmagic1 libnss-mdns libonig2 libossp-uuid16 libqdbm14 librrd4 lvm2 nginx nginx-common
    nginx-full ntfs-3g openssh-blacklist-extra php5-cgi php5-cli php5-fpm php5-pam pm-utils proftpd-basic proftpd-mod-vroot python-apt-common python3-apt quotatool rrdcached rrdtool rsync samba
    samba-common samba-common-bin sdparm smartmontools snmpd socat update-inetd uuid wpasupplicant xmlstarlet
    Use 'apt-get autoremove' to remove them.
    The following packages will be REMOVED:
    openmediavault* openmediavault-keyring*
    0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
    After this operation, 6,631 kB disk space will be freed.
    Do you want to continue? [Y/n]
    (Reading database ... 74764 files and directories currently installed.)
    Removing openmediavault (3.0.97) ...
    Purging configuration files for openmediavault (3.0.97) ...
    dpkg: warning: while removing openmediavault, directory '/var/www/openmediavault/js/omv/util' not empty so not removed
    dpkg: warning: while removing openmediavault, directory '/var/log/openmediavault' not empty so not removed
    dpkg: warning: while removing openmediavault, directory '/var/lib/openmediavault/apt' not empty so not removed
    dpkg: warning: while removing openmediavault, directory '/var/cache/openmediavault/archives' not empty so not removed
    dpkg: warning: while removing openmediavault, directory '/usr/share/openmediavault/firstaid/modules.d' not empty so not removed
    dpkg: warning: while removing openmediavault, directory '/usr/share/openmediavault/confdbadm/commands.d' not empty so not removed
    dpkg: warning: while removing openmediavault, directory '/usr/lib/python3/dist-packages/openmediavault/json' not empty so not removed
    dpkg: warning: while removing openmediavault, directory '/usr/lib/python3/dist-packages/openmediavault/datamodel' not empty so not removed
    dpkg: warning: while removing openmediavault, directory '/usr/lib/python3/dist-packages/openmediavault/config' not empty so not removed
    dpkg: warning: while removing openmediavault, directory '/etc/openmediavault' not empty so not removed
    dpkg: warning: while removing openmediavault, directory '/etc/nginx/openmediavault-webgui.d' not empty so not removed
    Removing openmediavault-keyring (1.0) ...
    Purging configuration files for openmediavault-keyring (1.0) ...
    root@omv3:/etc/openmediavault# apt-get install --reinstall openmediavault
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following package was automatically installed and is no longer required:
    dkms
    Use 'apt-get autoremove' to remove it.
    The following NEW packages will be installed:
    openmediavault
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0 B/928 kB of archives.
    After this operation, 6,605 kB of additional disk space will be used.
    Preconfiguring packages ...
    Selecting previously unselected package openmediavault.
    (Reading database ... 73501 files and directories currently installed.)
    Preparing to unpack .../openmediavault_3.0.97_all.deb ...
    Unpacking openmediavault (3.0.97) ...
    Setting up openmediavault (3.0.97) ...
    Creating users/groups ...
    Updating local package archive ...
    Updating service units ...
    Updating configuration database ...
    Generate service configurations ...
    update-initramfs: Generating /boot/initrd.img-4.9.0-0.bpo.5-amd64
    update-initramfs: Generating /boot/initrd.img-3.16.0-5-amd64
    update-initramfs: Generating /boot/initrd.img-3.2.0-5-amd64
    Configuring web server ...
    Site configuration file 'default' not found.
    Site configuration file 'openmediavault-webgui' is already enabled.
    Restarting services ...
    Updating configuration ...
    Processing triggers for openmediavault (3.0.97) ...
    Restarting engine daemon ...
    Socket error -- Connection refused
    Cannot connect to the monit daemon. Did you start it with http support?
    Updating locale files ...
    Updating file permissions ...
    Purging internal cache ...
    root@omv3:/etc/openmediavault# Socket error -- Connection refused
    -bash: Socket: command not found
    root@omv3:/etc/openmediavault# Cannot connect to the monit daemon. Did you start it with http support?
    -bash: Cannot: command not found

Jetzt mitmachen!

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