You are here
Drew Ruggles - Sat, 2011/11/19 - 08:57
uh... what's this mean? It's looking like webmin-tklbam is creating some sort of error on my installs, but can't figure out what's going on... any thoughts?
Drew
Installing package(s) with command apt-get -y --force-yes -f install proftpd ..
Setting up webmin-tklbam (1.0+4+gb0c7a4c) ... /var/lib/dpkg/info/webmin-tklbam.postinst: 4: ./install-module.pl: not found dpkg: error processing webmin-tklbam (--configure): subprocess installed post-installation script returned error exit status 127 Errors were encountered while processing: webmin-tklbam Reading package lists... Building dependency tree... Reading state information... Note, selecting proftpd-basic instead of proftpd Suggested packages: proftpd-doc proftpd-mod-mysql proftpd-mod-pgsql proftpd-mod-ldap proftpd-mod-odbc proftpd-mod-sqlite The following packages will be REMOVED: ftpd The following NEW packages will be installed: proftpd-basic 0 upgraded, 1 newly installed, 1 to remove and 1 not upgraded. 1 not fully installed or removed. Need to get 867kB of archives. After this operation, 2007kB of additional disk space will be used. Get:1 http://us.archive.ubuntu.com/ubuntu/ lucid-security/universe proftpd-basic 1.3.2c-1ubuntu0.1 [867kB] [master e6cb7ca] saving uncommitted changes in /etc prior to apt run 19 files changed, 59 insertions(+), 5 deletions(-) create mode 100644 webmin/proftpd/config rewrite webmin/system-status/info (80%) debconf: delaying package configuration, since apt-utils is not installed Fetched 867kB in 2s (383kB/s) (Reading database ... 51061 files and directories currently installed.) Removing ftpd ... Processing triggers for man-db ... Selecting previously deselected package proftpd-basic. (Reading database ... 51052 files and directories currently installed.) Unpacking proftpd-basic (from .../proftpd-basic_1.3.2c-1ubuntu0.1_i386.deb) ... Processing triggers for man-db ... Setting up webmin-tklbam (1.0+4+gb0c7a4c) ... /var/lib/dpkg/info/webmin-tklbam.postinst: 4: ./install-module.pl: not found dpkg: error processing webmin-tklbam (--configure): subprocess installed post-installation script returned error exit status 127 Setting up proftpd-basic (1.3.2c-1ubuntu0.1) ... Installing new version of config file /etc/ftpusers ... Warning: The home dir /var/run/proftpd you specified can't be accessed: No such file or directory Adding system user `proftpd' (UID 107) ... Adding new user `proftpd' (UID 107) with group `nogroup' ... Not creating home directory `/var/run/proftpd'. Adding system user `ftp' (UID 108) ... Adding new user `ftp' (UID 108) with group `nogroup' ... Creating home directory `/home/ftp' ... `/usr/share/proftpd/templates/welcome.msg' -> `/home/ftp/welcome.msg.proftpd-new' * Starting ftp server proftpd ...done. Errors were encountered while processing: webmin-tklbam [master 0b4ca49] committing changes in /etc after apt run 22 files changed, 671 insertions(+), 5 deletions(-) create mode 100644 default/proftpd create mode 100755 init.d/proftpd create mode 100644 logrotate.d/proftpd-basic create mode 100644 pam.d/proftpd create mode 100644 proftpd/ldap.conf create mode 100644 proftpd/modules.conf create mode 100644 proftpd/proftpd.conf create mode 100644 proftpd/sql.conf create mode 100644 proftpd/tls.conf create mode 120000 rc0.d/K50proftpd create mode 120000 rc1.d/K50proftpd create mode 120000 rc2.d/S50proftpd create mode 120000 rc3.d/S50proftpd create mode 120000 rc4.d/S50proftpd create mode 120000 rc5.d/S50proftpd create mode 120000 rc6.d/K50proftpd E: Sub-process /usr/bin/dpkg returned an error code (1)
.. install failed!
Forum:
Tags:
It looks like the install of proftpd was successful
But it can't find a file that it needs to install webmin-tklbam. Did you do an apt-get upgrade at some point? Personally on server systems I tend to shy away from apt-get upgrade whenever possible. But that's obviously not an option for you now.
You could try this:
This should remove the webmin-tklbam, purge (all) the cached package(s) and then redownload and reinstall it. Assuming it was a corrupted package this should hopefully fix it.
Geez you've been having some troubles Drew... Hope you get it all sorted out real soon.
3 Good, 1 Error
Thanks, Jeremy.
I did indeed do an apt-get upgrade at some point...
I ran the commands you listed, and the first three ran fine, but the fourth came back with an error:
Drew
Bugger!
You got something messed up going on. I found an old v11.0 ISO and installed and updated that package and it worked fine. Just to be sure I download the deb package and extracted it and from what I can gather everything is all good there.
Out of interest what does the command return?:
If you get an error or something like that then I think your problem is actually with the Webmin package itself rather than the webmin-tklbam package.
So how about you try this:
Hopefully that'll work for you...
If not, try purging the webmin package and reinstalling it.
Here it is
response:
and of course...
Sorry my bad
I meant to get you to remove webmin, not webmin-tklbam, the fact that the required file isn't found demonstrates that there is something messed up with the Webmin package. Not sure how or why (because it reports as already at the latest) version.
But in retrospect it's probably a good thing, as now I think about it, I imagine that all the other Webmin modules will depend on the Webmin package and they'd all need to be reinstalled afterwards too. So plan B.
If you download the webmin package directly from the TKL repo using wget and then manually install with dpkg like this (remove the tklbam package again first):
wget http://archive.turnkeylinux.org/ubuntu/pool/lucid/main/w/webmin/webmin_1...
(The middle line is code too it just cuts of if it's formatted here) Fingers crossed that will work this time...
Sorry to lead you astray, but as I said it's probably a good thing...
I think that worked
and just for the hell of it:
I didn't see any errors, and ran the above command, which looks different from when it failed, before.
...except, now I don't have any Webmin interface. Oops!
Drew
I got issues...
Looks like the version of tklbam you sent the link to was 1.520, but I was on 1.570 webmin, so I think things are a bit hosed, at the moment. Can I just reinstall webmin updates?
Drew
Oops... Now it's really broken
Before I was just getting some errors, but now she's gone. I can get to shell, but not to Webmin at all. I did a wget of the webmin 1.520 turnkey deb file and a dpkg as you mentioned, but it's not working. Any thoughts?
Drew
Oh no! Ahh... I guess that was your problem all along then...
I suspect that the webmin-tklbam module is incompatible with Webmin 1.570 (at least OOTB). Unless there is a good reason, it is generally not recommended to update software to a newer version in Linux. I sometimes ignore that sound advice myself, especially when on a desktop system but it rarely ever ends in anything but pain!
If you are comming from a Windows background perhaps much of the "Linux way" of doing things is foreign. Generally Linux favours stability and security over having the latest version and maximum functionality (in the sense that newer versions of software often have enhanced functionality). Rather than updating software, security fixes are backported to the version of the software that the particular version of Linux shipped with. Generally TKL follows this lead, although sometimes not (there are various reasons why you wouldn't or can't). Because of this build design, things should be generally very stable and as soon as you start adding additional repos and updating versions of software etc that stability is gradually but almost surely erroded.
TBH personally I'd be inclined to start again (but copy out config files of anything that you have already got working as you'd want). If you don't want to do that you could try uninstalling Webmin completely (apt-get remove --purge webmin which should completely remove it all as well as all the Webmin modules). Take note of all the Webmin modules it uninstalls and then reinstall (apt-get install webmin) and add the names of the Webmin modules to reinstall too (ie apt-get install webmin webmin-samba webmin-tklbam webmin-whatever). Then unless you have a need to update to v1.570, just leave it at 1.520. Any additional modules you might want can be found using apt-cache search webmin. If you do really want/need Webmin 1.570 then you'll need to manually install the TKLBAM module (assuming that you want it). To do that you'll need to manually download it, extract it (IIRC correctly debs are just tar.gz archives) and then upload the tar.gz archive you'll find inside the deb using the Webmin interface (look for something like "instal new module").
Hope that's of some help to you. Sorry i my advice has led you astray... again!
No worries
OK, no problem fumbling a bit. However, I have uninstalled and reinstalled 1.520-tkl version, but it's not displaying when I go to port 12321. Is my webmin user db hosed? Is there some other way of starting it?
Thanks,
Drew
Changed port
A little digging took me to /etc/webmin/miniserv.conf and a quick peak in vi told me that it was set to port 10000.
It's 1.520, but a lot is missing from the standard TKL version -- e.g. File Manager. When I try to install the file module, it complains I'm not running 1.570. Anyway to tell it to give me the 1.520 version?
Thanks,
Drew
I'd uninstall and then manually delete the /etc/webmin folder
So apt-get remove --purge webmin
the --purge switch should delete the /etc folder but it obviously isn't properly. So manually get rid of the /etc/webmin folder (just rename it just in case) mv /etc/webmin /etc/webmin-old then reinstall: apt-get install webmin webmin-whatever pretty much like I said above.
Out of interest port 10000 is the default webmin port
And TBH I'm flailing on the dark here a bit. I'm only going on what I think, not what I know (I've never done any of this before - back when I first played with TKL I updated Webmin and got into all sorts of troubles and just reinstalled the appliance and have never looked back).
Also, another thought... TKL appliances all come with etckeeper installed by default. It version control softwware which leverages the git repository system to version all the settings files in /etc. So if you have a hunt around online perhaps you can work out how to restore the files in /etc/webmin back to their defaults? I reckon it'd just be with git commands (although I'm only guessing...) Sorry I can't give you anymore hints than I have cause I just don't know, but could be worth a try? Also it be great info to have (it ideally should be in the TKL docs IMO!)
Still working on it...
This was a nice command to come in to. I found a bunch of stuff I had loaded that I had skipped. Thanks!
The modules are installed, but not "active" in Webmin. I'm going to hunt for some info re: the etckeeper you referenced. FYI, I couldn't remove the /etc/webmin directory as it had /tklbam /grub and a couple other items that I'm forgetting at the moment. This *feels* like the right track. Thanks!
I really appreciate all the time and effort you put in to these posts. It would not be possible to do this without your contributions. If you're ever this way, and you haven't frozen to death, look me up for a beer or six.
Drew
Add new comment