OK. It looks that this is a bug in the watchdog package of the distro I'm currently using. It hangs when starting/restarting (no error just wait forever). I made a custom systemd unit to fake watchdog restart, so OMV now installs ok, and everything seems to work fine. Is dangerous not to have a right watchdog service running in OMV?
Beiträge von dantefff
-
-
I have digged a bit more and it seems that is the watchdog service the one that hangs when restarted in the postinst script. In fact it hangs even if I run /etc/init.d/watchdog restart or systemctl restart watchdog
-
Thanks a lot for the quick reply @ryecoaaron
I know I'm in a beta/alfa version. I do not expect production stability and I'm able of fixing things I have long term experience in debian systems.
I would use weezy if the only odroid c1 purpose would be OMV but the emulation purpose makes me use jessie so I know this is kind of an experiment.I have of course done a dpkg --reconfigure -a and in this process is where postinstall scripts try to restart services (I don't know which ones).
If I log into omv web interface and start ssh server manually it starts asking me for a password, but only root user can access (trying with normal users result in bad login/password).
I think this should be a fair simple bug to solve (maybe it's only a service which is failing to restart) but I don't know in which log can I view which service is exactly hanging.
EDIT: This is the exact output when running dpkg --configure -a
Updating local package archive ...
Updating init scripts actions ...
Configuring web server
Site configuration file 'default' not found.
Site configuration file 'openmediavault-webgui' is already enabled.
update-initramfs: Generating /boot/initrd.img-3.10.80-16-odrobian
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
W: mdadm: no arrays defined in configuration file.
Image Name: uInitrd
Created: Sat Jan 16 17:25:30 2016
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 4154539 Bytes = 4057.17 kB = 3.96 MB
Load Address: 00000000
Entry Point: 00000000
/etc/initramfs-tools/scripts/local-top/c1_init.sh: 83: /etc/initramfs-tools/scripts/local-top/c1_init.sh: cannot create /sys/class/net/eth0/queues/rx-0/rps_flow_cnt: Directory nonexistent
/etc/initramfs-tools/scripts/local-top/c1_init.sh: 84: /etc/initramfs-tools/scripts/local-top/c1_init.sh: cannot create /sys/class/net/eth0/queues/rx-0/rps_cpus: Directory nonexistent
/etc/initramfs-tools/scripts/local-top/c1_init.sh: 85: /etc/initramfs-tools/scripts/local-top/c1_init.sh: cannot create /sys/class/net/eth0/queues/tx-0/xps_cpus: Directory nonexistent
/boot/initrd.img-3.10.80 does not exist. Cannot update.
Restarting services ... -
First of all thank you all for this community and piece of software.
I have an Odroid C1+ that I use to emulate old games, and I would like to use it also as a NAS. This is runing Jessie, so I added the OMV erasmus repository and installed OMV. The problem comes when apt is finishing the configuration. It hangs on "Restarting services...". OMV is installed (I can log in) but the package is not completely configured so my apt is break.
Another strange think is that ssh is down. I can activate it through web interface but once active I can not log in as before.
Any suggest on getting more useful information on how to continue is welcome.