You are here
PMK159 - Fri, 2024/02/23 - 14:43
Hi,
Since updating system can no longer get access to Fileserver config screen but just keep getting this screen. Have tried running turnkey-init but still get this.
Forum:
Hi,
Since updating system can no longer get access to Fileserver config screen but just keep getting this screen. Have tried running turnkey-init but still get this.
(No subject)
Following from 'apt upgrade'
Sorry, very new to this package and forums :(
root@turnkey-fileserver ~# apt update
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://security.debian.org bullseye-security InRelease
Ign:3 http://archive.turnkeylinux.org/debian bullseye-security InRelease
Ign:4 http://archive.turnkeylinux.org/debian bullseye InRelease
Hit:5 http://archive.turnkeylinux.org/debian bullseye-security Release
Hit:7 http://archive.turnkeylinux.org/debian bullseye Release
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
root@turnkey-fileserver ~# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
22 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up webmin-fail2ban (2.001-turnkey+0) ...
/var/lib/dpkg/info/webmin-fail2ban.postinst: 6: ./install-module.pl: not found
dpkg: error processing package webmin-fail2ban (--configure):
installed webmin-fail2ban package post-installation script subprocess returned error exit status 127
Setting up webmin-apache (2.001-turnkey+0) ...
/var/lib/dpkg/info/webmin-apache.postinst: 6: ./install-module.pl: not found
dpkg: error processing package webmin-apache (--configure):
installed webmin-apache package post-installation script subprocess returned error exit status 127
Setting up webmin-mount (2.001-turnkey+0) ...
/var/lib/dpkg/info/webmin-mount.postinst: 6: ./install-module.pl: not found
dpkg: error processing package webmin-mount (--configure):
installed webmin-mount package post-installation script subprocess returned error exit status 127
Setting up webmin-software (2.001-turnkey+0) ...
/var/lib/dpkg/info/webmin-software.postinst: 6: ./install-module.pl: not found
dpkg: error processing package webmin-software (--configure):
installed webmin-software package post-installation script subprocess returned error exit status 127
dpkg: dependency problems prevent configuration of webmin-fdisk:
webmin-fdisk depends on webmin-mount; however:
Package webmin-mount is not configured yet.
dpkg: error processing package webmin-fdisk (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of webmin-exports:
webmin-exports depends on webmin-mount; however:
Package webmin-mount is not configured yet.
dpkg: error processing package webmin-exports (--configure):
dependency problems - leaving unconfigured
Setting up webmin-useradmin (2.001-turnkey+0) ...
/var/lib/dpkg/info/webmin-useradmin.postinst: 6: ./install-module.pl: not found
dpkg: error processing package webmin-useradmin (--configure):
installed webmin-useradmin package post-installation script subprocess returned error exit status 127
Setting up webmin-postfix (2.001-turnkey+0) ...
/var/lib/dpkg/info/webmin-postfix.postinst: 6: ./install-module.pl: not found
dpkg: error processing package webmin-postfix (--configure):
installed webmin-postfix package post-installation script subprocess returned error exit status 127
Setting up webmin-authentic-theme (2.001-turnkey+0) ...
/var/lib/dpkg/info/webmin-authentic-theme.postinst: 6: ./install-module.pl: not found
dpkg: error processing package webmin-authentic-theme (--configure):
installed webmin-authentic-theme package post-installation script subprocess returned error exit status 127
Setting up webmin-sshd (2.001-turnkey+0) ...
/var/lib/dpkg/info/webmin-sshd.postinst: 6: ./install-module.pl: not found
dpkg: error processing package webmin-sshd (--configure):
installed webmin-sshd package post-installation script subprocess returned error exit status 127
Setting up webmin-samba (2.001-turnkey+0) ...
/var/lib/dpkg/info/webmin-samba.postinst: 6: ./install-module.pl: not found
dpkg: error processing package webmin-samba (--configure):
installed webmin-samba package post-installation script subprocess returned error exit status 127
Setting up webmin-syslog (2.001-turnkey+0) ...
/var/lib/dpkg/info/webmin-syslog.postinst: 6: ./install-module.pl: not found
dpkg: error processing package webmin-syslog (--configure):
installed webmin-syslog package post-installation script subprocess returned error exit status 127
Setting up webmin-updown (2.001-turnkey+0) ...
/var/lib/dpkg/info/webmin-updown.postinst: 6: ./install-module.pl: not found
dpkg: error processing package webmin-updown (--configure):
installed webmin-updown package post-installation script subprocess returned error exit status 127
Setting up webmin-net (2.001-turnkey+0) ...
/var/lib/dpkg/info/webmin-net.postinst: 6: ./install-module.pl: not found
dpkg: error processing package webmin-net (--configure):
installed webmin-net package post-installation script subprocess returned error exit status 127
Setting up webmin-custom (2.001-turnkey+0) ...
/var/lib/dpkg/info/webmin-custom.postinst: 6: ./install-module.pl: not found
dpkg: error processing package webmin-custom (--configure):
installed webmin-custom package post-installation script subprocess returned error exit status 127
Setting up webmin-shell (2.001-turnkey+0) ...
/var/lib/dpkg/info/webmin-shell.postinst: 6: ./install-module.pl: not found
dpkg: error processing package webmin-shell (--configure):
installed webmin-shell package post-installation script subprocess returned error exit status 127
Setting up webmin-firewall (2.001-turnkey+0) ...
/var/lib/dpkg/info/webmin-firewall.postinst: 6: ./install-module.pl: not found
dpkg: error processing package webmin-firewall (--configure):
installed webmin-firewall package post-installation script subprocess returned error exit status 127
Setting up webmin-filemin (2.001-turnkey+0) ...
/var/lib/dpkg/info/webmin-filemin.postinst: 6: ./install-module.pl: not found
dpkg: error processing package webmin-filemin (--configure):
installed webmin-filemin package post-installation script subprocess returned error exit status 127
dpkg: dependency problems prevent configuration of webmin-lvm:
webmin-lvm depends on webmin-fdisk; however:
Package webmin-fdisk is not configured yet.
webmin-lvm depends on webmin-mount; however:
Package webmin-mount is not configured yet.
dpkg: error processing package webmin-lvm (--configure):
dependency problems - leaving unconfigured
Setting up webmin-firewall6 (2.001-turnkey+0) ...
/var/lib/dpkg/info/webmin-firewall6.postinst: 6: ./install-module.pl: not found
dpkg: error processing package webmin-firewall6 (--configure):
installed webmin-firewall6 package post-installation script subprocess returned error exit status 127
dpkg: dependency problems prevent configuration of webmin-raid:
webmin-raid depends on webmin-fdisk; however:
Package webmin-fdisk is not configured yet.
webmin-raid depends on webmin-mount; however:
Package webmin-mount is not configured yet.
dpkg: error processing package webmin-raid (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of webmin-passwd:
webmin-passwd depends on webmin-useradmin; however:
Package webmin-useradmin is not configured yet.
dpkg: error processing package webmin-passwd (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
webmin-fail2ban
webmin-apache
webmin-mount
webmin-software
webmin-fdisk
webmin-exports
webmin-useradmin
webmin-postfix
webmin-authentic-theme
webmin-sshd
webmin-samba
webmin-syslog
webmin-updown
webmin-net
webmin-custom
webmin-shell
webmin-firewall
webmin-filemin
webmin-lvm
webmin-firewall6
webmin-raid
webmin-passwd
Enumerating objects: 1577, done.
Counting objects: 100% (1577/1577), done.
Compressing objects: 100% (974/974), done.
Writing objects: 100% (1577/1577), done.
Total 1577 (delta 112), reused 1577 (delta 112), pack-reused 0
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@turnkey-fileserver ~#
Looks like a few issues
As per the subject, I think that there are a few unrelated problems.
TBH that doesn't bode well for your server. Have you checked that there are no issues with the host disk that this server is running on? To have all those issues occurring around the same time, disk corruption in the region where this server is running is my first guess. If you check that and are sure that's not a problem (or if you just want to try some other stuff) please read on
Have you logged in via SSH? If not try that and see if the first boot scripts appear. If not, then again please read on.
The first, the one relating to the "init fence" running (that's what we call that screen) is a bit strange. That should only ever be enabled on firstboot. And then be disabled after running through the fiirstboot questions.
You could try manually disabling it and rebooting your server. Do that like this:
It's probably worth disabling the firstboot script that meant to disable it too:
Regarding the second issue, i.e. this error:
The first thing to try is to see if apt can fix itself. Again log in via SSH (or this can also be done via the Proxmox NoVNC window) and run this:
If that results in the same error, try reinstalling Webmin itself (that script should be in the main Webmin package):
If that still doesn't work, try actually removing Webmin and all the Webmin modules first, then reinstalling them. First save a list of the installed webmin packages, then remove them:
Assuming that works, then reinstall all those packages like this:
If you're still having issues, please post back and I'll try to see if I can reproduce it and devise a workaround. I probably won't get a chance to do that until next week.
The next is probably a bit trickier. First I suggest restarting Apache, just in case that fixes it:
If that makes no difference, then I'd check the Apache logs for any errors. If you find some and don't know what to do with them, please post back (ideally copy/paste the text of them) and I'll see if there is anything I can see. The error log should be here:
If you don't see any errors there, then check the access files (in the same directory). Again feel free to post any errors and I'll get back to you ASAP (although that will probably be later next week).
Good luck.
Some success
This is hosted on same SSD as Proxmox and some other containers and is 2 months old.
The "init fence" is still there after trying your commands. I have been in using Putty a few times and still get fence.
I get this after reboot in the console,
Webmin seems to be fixed with below and will update and upgrade.
When I try restarting apache2 I get, this error log:
Looks like some cert errors so will investigate if have time over weekend. Would this stop the fence dropping??
Apologies on slow response.
Apologies on slow response. I had a (non TurnKey related) emergency that I needed to deal with.
Could you please give me the output of this:
Re the Apache logs, that is expected until/unless you get a proper SSL/TLS certificate (e.g via Let's Encrypt). Otherwise they are harmless and should make no difference.
-- Journal begins at Wed 2024
I reformatted your post for easier reading
But it's certainly a super weird issued! There's clearly an error there and that's certainly not the output I expected and I have no idea how/why it might be like that!? I checked line 13 of the default /usr/lib/inithooks/run file and while I could be overlooking something, on face value I can't see anything that would be causing that sort of error. Without being able to understand the issue, then I'm really not sure how that happened or how to fix it?
Perhaps it's worth trying to reinstall the inithooks package? I.e.:
I still don't understand how this could happen though. It seems like a very strange issue and especially strange to have those 2 issues occur at the same time. The only thing that occurs to me is perhaps there some sort of proxy and/or network filtering happening between this appliance and the internet? Perhaps there is some data corruption occurring in transit?
Add new comment