-
[Plugin] LXC Plugin
no thats not a problem since the LXC runs on cache where there is plenty space left. not anymore, removed all of them. Thats why I like to run all python scripts on this lxc
-
[Plugin] LXC Plugin
yeah i had to use kill. I now moved all files to a new cache drive. I tried to start the LXC, but cant, even If i use a backup: lxc-start DebianLXC lxc-start: DebianLXC: ../src/lxc/lxccontainer.c: wait_on_daemonized_start: 837 Received container state "ABORTING" instead of "RUNNING" lxc-start: DebianLXC: ../src/lxc/tools/lxc_start.c: lxc_start_main: 307 The container failed to start lxc-start: DebianLXC: ../src/lxc/tools/lxc_start.c: lxc_start_main: 310 To get more details, run the container in foreground mode lxc-start: DebianLXC: ../src/lxc/tools/lxc_start.c: lxc_start_main: 312 Additional information can be obtained by setting the --logfile and --logpriority options Creating a new container works however EDIT: lxc-start -n DebianLXC -F lxc-start: DebianLXC: ../src/lxc/network.c: setup_hw_addr: 3864 Address already in use - Failed to perform ioctl lxc-start: DebianLXC: ../src/lxc/network.c: lxc_network_setup_in_child_namespaces_common: 3911 Address already in use - Failed to setup hw address for network device "eth0" lxc-start: DebianLXC: ../src/lxc/network.c: lxc_setup_network_in_child_namespaces: 4062 Address already in use - Failed to setup netdev lxc-start: DebianLXC: ../src/lxc/conf.c: lxc_setup: 3896 Failed to setup network lxc-start: DebianLXC: ../src/lxc/start.c: do_start: 1273 Failed to setup container "DebianLXC" lxc-start: DebianLXC: ../src/lxc/sync.c: sync_wait: 34 An error occurred in another process (expected sequence number 3) lxc-start: DebianLXC: ../src/lxc/start.c: __lxc_start: 2114 Failed to spawn container "DebianLXC" lxc-start: DebianLXC: ../src/lxc/tools/lxc_start.c: lxc_start_main: 307 The container failed to start lxc-start: DebianLXC: ../src/lxc/tools/lxc_start.c: lxc_start_main: 312 Additional information can be obtained by setting the --logfile and --logpriority options The same problem as before... I think there is something wring with my network config...
-
[Plugin] LXC Plugin
No idea either... No idea what or who has created those files... I will test this how can I kill no the container? do i need to search the id of the application via ps -ef and then kill it?
-
[Plugin] LXC Plugin
I did now a scrub manually: Scrub started: Fri Jan 17 08:54:00 2025 Status: finished Duration: 0:05:24 Total to scrub: 164.00GiB Rate: 517.33MiB/s Error summary: no errors found and here are the diagnostics nas-diagnostics-20250117-0859.zip
-
[Plugin] LXC Plugin
its me again... Now my container seems to be stuck and I can't even force kill it with: lxc-stop DebianLXC -k
-
[Plugin] LXC Plugin
yeah why not and of course I can help and test things
-
[Plugin] LXC Plugin
Yes I use macvlan since I use an unifi system and when I started with Unraid i had a lot of problems with ipvlan. Reboot is not important for me. I just tested it once and the container did not reboot thats why I wrote here. The container seems now to be damaged somehow. I cant get it back up and running. So i made a new one and copied the data over and now that works again. But I don't know why it failed suddendly No even the new one cant be restarted successfully... So from the beginning I was not able to successfully restart a container via the reboot command within the container.
-
[Plugin] LXC Plugin
Interesting you mention this since this morning i get this error when starting the container: root@NAS:~# lxc-start -F DebianLXC lxc-start: DebianLXC: ../src/lxc/network.c: setup_hw_addr: 3864 Cannot assign requested address - Failed to perform ioctl lxc-start: DebianLXC: ../src/lxc/network.c: lxc_network_setup_in_child_namespaces_common: 3911 Cannot assign requested address - Failed to setup hw address for network device "eth0" lxc-start: DebianLXC: ../src/lxc/network.c: lxc_setup_network_in_child_namespaces: 4062 Cannot assign requested address - Failed to setup netdev lxc-start: DebianLXC: ../src/lxc/conf.c: lxc_setup: 3896 Failed to setup network lxc-start: DebianLXC: ../src/lxc/start.c: do_start: 1273 Failed to setup container "DebianLXC" lxc-start: DebianLXC: ../src/lxc/sync.c: sync_wait: 34 An error occurred in another process (expected sequence number 3) lxc-start: DebianLXC: ../src/lxc/start.c: __lxc_start: 2114 Failed to spawn container "DebianLXC" lxc-start: DebianLXC: ../src/lxc/tools/lxc_start.c: lxc_start_main: 307 The container failed to start lxc-start: DebianLXC: ../src/lxc/tools/lxc_start.c: lxc_start_main: 312 Additional information can be obtained by setting the --logfile and --logpriority options "Cannot assign requested address" What address? Mac address? I can still create a new one that is working but I can't start the one that was running the past few days...
- [Plugin] LXC Plugin
-
[Plugin] LXC Plugin
that's exactly what i did. The restart button in Unraid works but the reboot command withing the LXC does not reboot the LXC.
-
[Plugin] LXC Plugin
Sending SIGTERM to remaining processes... Sending SIGKILL to remaining processes... All filesystems, swaps, loop devices, MD devices and DM devices detached. Halting system.
-
[Plugin] LXC Plugin
Ok here is the last part of the log that might be interesting: All filesystems, swaps, loop devices, MD devices and DM devices detached. Rebooting. lxc-start: DebianLXC: ../src/lxc/network.c: setup_hw_addr: 3864 Address already in use - Failed to perform ioctl lxc-start: DebianLXC: ../src/lxc/network.c: lxc_network_setup_in_child_namespaces_common: 3911 Address already in use - Failed to setup hw address for network device "eth0" lxc-start: DebianLXC: ../src/lxc/network.c: lxc_setup_network_in_child_namespaces: 4062 Address already in use - Failed to setup netdev lxc-start: DebianLXC: ../src/lxc/conf.c: lxc_setup: 3896 Failed to setup network lxc-start: DebianLXC: ../src/lxc/start.c: do_start: 1273 Failed to setup container "DebianLXC" lxc-start: DebianLXC: ../src/lxc/sync.c: sync_wait: 34 An error occurred in another process (expected sequence number 3) lxc-start: DebianLXC: ../src/lxc/start.c: __lxc_start: 2114 Failed to spawn container "DebianLXC" lxc-start: DebianLXC: ../src/lxc/tools/lxc_start.c: lxc_start_main: 307 The container failed to start lxc-start: DebianLXC: ../src/lxc/tools/lxc_start.c: lxc_start_main: 312 Additional information can be obtained by setting the --logfile and --logpriority options the cache is btrfs
-
[Plugin] LXC Plugin
interesting, I made a new container with the save distribution and release and there the reboot does work for the new container! Can I somehow transfer all the settings and installation to the new container? EDIT: Strange. I created a new container, and now the reboot function no longer works. Even in the container where it was working before, the reboot function has stopped working.
-
[Plugin] LXC Plugin
hmm I rebooted unraid and tested again, but still same issue...
-
[Plugin] LXC Plugin
ok here are the files nas-diagnostics-20250113-1445.zip
gekoch
Members
-
Joined