Some Software not installed.

12 posts / 0 new
Last post
#1 Wed, 10/12/2005 - 23:18
FaisalMehmood

Some Software not installed.

Hi.

I just installed Webmin and Usermin manually and then installed the virtualmin pro ... with this .. i have had to manually install every single thing. Like Dovecot, ClamAV .. etc etc etc I had to manually enable quaotas configure Postfix etc etc....... I thought the installer took care of this, or at least gave options afterwards to install stuff. So making this short. Is there any way you can tell me what to see i have installed BEFORE i start adding websites and what not. Is there a checklist ? SHould i remove everything and reinstall using only the installer ?

Secondly, is there a dovecot and Clamac configuration module ? ...

Third, Am i supposed to configure procmail with Postfix ... how do i do that ? I got the message:

SpamAssassin and Procmail are installed. Make sure your mail server is configured to deliver using Procmail.

Third. How do i install Scponly ? Because i dont think the installer did that.

Wed, 10/12/2005 - 23:57
Joe
Joe's picture

Hey Faisal,

Whoah! Something went horribly wrong. It appears I've utterly broken the installer sometime during the updates. All of that stuff should have been setup. You shouldn't have to touch anything beyond customizations that you want to do when it is finished. I'm looking into it right now. A new version of the virtualmin-base package will be released in an hour or two that corrects this problem. I will also send you a virtualmin-uninstall script that will allow you to start over close enough to "from scratch" to where the "already installed" checks won't come back positive and you'll have the post-installation script in virtualmin-base run again (which is where all of the configuration and stuff happens).

There is a Dovecot module in the next release of Webmin (and in the current devel package here: http://www.webmin.com/devel/rpm ). You shouldn't need it, though--the installer was supposed to set it up for you.

The installer (actually me) doesn't quite know what to do with scponly yet--it will be in EA2 in a day or two. There is nothing easy about it, unfortunately, and it is not at all a normal/simple package. It's a bear do deal with, but folks wanted a restricted shell, and it seems to be the best choice.

Procmail should already be configured. But it sounds like the post-install script didn't get run at all (one of the additions in this release was a test to be sure the virtualmin-base package isn't already installed), in which case procmail won't be configured either.

Anyway, I'll post in an hour or two after I've resolved these issues.

--

Check out the forum guidelines!

Thu, 10/13/2005 - 02:04
Joe
Joe's picture

Hey Faisal,

Ok, I've been able to reproduce this--my earlier tests weren't catching the problem as I was only uninstalling the Virtualmin packages (and not all of the other stuff). A fresh install revealed that in the new virtualmin-base package I had removed several deps without adding them to the install script, so they never got installed, and then the postinstall script in virtualmin-base crapped out before finishing in addition to some stuff not getting installed. So, in short, everything went pear-shaped due to a few missing dependencies.

The following instructions also apply to anyone else who has run into this issue--the offending virtualmin-base package went up about 36 hours ago, so any installs during that time are probably broken in many ways, so reinstalling is a great idea if you haven't begun adding domains yet--if you have, let me know and I'll assist you with resolving all of the issues...I have a standalone script that can fix most problems without a lot of hassle.

The old installation script (install.sh) is also broken, and you'll need to download the newest one from http://www.virtualmin.com/serial . This makes me realize I need to figure out a way to automatically update to the latest version of the install script...

First, run the uninstallation script so we're starting fresh. You can get it here:

http://software.virtualmin.com/lib/virtualmin-uninstall.sh

This will remove all of our packages and flush the yum header and package caches.

Next up, just run the new install:

./install.sh

This time it should all Just Work, and if it doesn't I, of course, want to know about it.

Oh, yeah, I've also uploaded an scponly package into the repository and added it to the deps list so it gets installed during the installation process. It also gets added to the /etc/shells file, so you can access it from the dropdowns. It's not chroot-enabled yet, but it is still a very nice restricted shell. chrooted scponly will come in EA2 or EA3, or as soon as I figure out how to package it and make it work seamlessly, just like any other shell.

I have tested this pretty thoroughly on Fedora Core 4. I am now booting up my Xen kernel so I can test it on CentOS3/4 and FC3. RHEL3/4 will have to wait until I'm back in the office, as I have to set the BIOS in one of my servers to re-install (it's got SUSE on it now). If you've been burned often enough by my shoddily tested installer, you can wait an hour or two and it will be extremely well-tested and ready for mainstream consumption.

Apologies for the rough early experience with the installer...I've been so focused on issues with SUSE that I didn't even notice that the changes I was making might break installation on the already supported systems. Gotta get a better test procedure in place for the installer script and file...

--

Check out the forum guidelines!

Thu, 10/13/2005 - 12:21
FaisalMehmood

I get a permission denied when using the un-installer.

Thu, 10/13/2005 - 14:02
FaisalMehmood

unsigned package mod_fastcgi-2.4.2-1.vm.i386.rpm
Installation failed: 1
Removing virtualmin-release package, so that installation can be re-attempted
after any problems reported are resolved.

I just cant get it to install :(

Thu, 10/13/2005 - 14:08
FaisalMehmood

Downloading Packages:
unsigned package mod_fastcgi-2.4.2-1.vm.i386.rpm
Installation failed: 1
Removing virtualmin-release package, so that installation can be re-attempted
after any problems reported are resolved.

Ok ... Faisal goes and jumps off the building. :( will i ever be able to insall this ?

Thu, 10/13/2005 - 14:15
FaisalMehmood

Ok here is the latest.

I was installing Virtualmin and it frooze in the middle of it while downloading usermin. So i Control C'ed it and then ran the uninstaller script (Oh by the way, had to chmod +x it - my bad - Wrong prior post for permission denied) ... Any ways ... now i ran the install process again and the FastCGI pakcage seems to be unsigned.

Downloading Packages:
unsigned package mod_fastcgi-2.4.2-1.vm.i386.rpm
Installation failed: 1

Yup. This is the latest with Faisal and his installation woes :)

Having said that i do appreciate the timely detailed replies. So far the support has been fantastic, even though the installer seems inherently broken :).

Thu, 10/13/2005 - 14:34 (Reply to #7)
Joe
Joe's picture

Hey Faisal,

Egads, package signing is going to be the death of me.

Signatures are all fixed now (I resigned every darned package in the repository), run "yum clean all" and then re-run the installer. You shouldn't need to run the uninstall script (I don't think), since it looks like nothing would have actually gotten installed.

I'm sorry for the inconvenience. I just can't seem to remember to always sign my packages. I just need to figure out how to sign them automatically via my build scripts (problem is that RPM waits for input even if I have a blank passphrase for my key...life is hard).

I promise installation won't always be this ornery!

--

Check out the forum guidelines!

Thu, 10/13/2005 - 15:15
FaisalMehmood

--> Finished Dependency Resolution
Error: Missing Dependency: usermin]= 1.160 is needed by package virtualmin-base
Error: Missing Dependency: webmin]= 1.230 is needed by package virtualmin-base
Error: Missing Dependency: /usr/libexec/webmin is needed by package wbt-virtualmin-nuvola-dusk
Error: Missing Dependency: /usr/libexec/webmin is needed by package wbm-virtualmin-awstats
Error: Missing Dependency: /usr/libexec/webmin is needed by package wbt-virtualmin-nuvola-chocmint
Error: Missing Dependency: /usr/libexec/webmin is needed by package wbt-virtualmin-nuvola
Error: Missing Dependency: /usr/libexec/webmin is needed by package wbm-virtualmin-dav
Error: Missing Dependency: /usr/libexec/webmin is needed by package wbm-virtualmin-mailman
Error: Missing Dependency: /usr/libexec/webmin is needed by package wbm-virtualmin-svn
Error: Missing Dependency: /usr/libexec/webmin is needed by package wbt-virtualmin-nuvola-raspberry
Error: Missing Dependency: /usr/libexec/webmin is needed by package wbm-virtualmin-htpasswd
Error: Missing Dependency: /usr/libexec/webmin is needed by package wbm-virtual-server
Error: Missing Dependency: /usr/libexec/webmin is needed by package wbt-virtualmin-nuvola-green
Error: Missing Dependency: /usr/libexec/usermin is needed by package ust-virtualmin-nuvola
Error: Missing Dependency: /usr/libexec/webmin is needed by package wbt-virtualmin-nuvola-pushup
Installation failed: 1
Removing virtualmin-release package, so that installation can be re-attempted
after any problems reported are resolved.

Thu, 10/13/2005 - 15:52
FaisalMehmood

After installing webmin and usermin manually, i get this.

http://software.virtualmin.com/fedora/3/i386/mod_fastcgi-2.4.2-1.vm.i386... [[Errno -1]] Package does not match checksum
Trying other mirror.
Error Downloading Packages:
mod_fastcgi - 2.4.2-1.vm.i386: failure: mod_fastcgi-2.4.2-1.vm.i386.rpm from virtualmin: [[Errno 256]] No more mirrors to try.
Installation failed: 1
Removing virtualmin-release package, so that installation can be re-attempted
after any problems reported are resolved.

Thu, 10/13/2005 - 15:54
FaisalMehmood

YEs yes ....

Faisal Dances around .... finally i have it installed. And the post install script did run this time .. i saw it. So lets see now what happens.

Thu, 10/13/2005 - 19:24 (Reply to #11)
Joe
Joe's picture

Excellent.

I've also re-fixed the Webmin and Usermin packages. I can't believe I got corrupted versions twice. Clearly my favorite SourceForge mirror has a corrupted copy of those files. I should have checked immediately after downloading them the second time (knowing that they were corrupt the previous time). Sorry for the inconvenience.

Now we can get onto more interesting things!

Thanks for your Patience, Faisal. We'll get this thing running smoothly if it kills me (and it's trying).

--

Check out the forum guidelines!

Topic locked