Help with new (first ever) install please

23 posts / 0 new
Last post
#1 Sat, 05/14/2011 - 09:53
zac123

Help with new (first ever) install please

hiya,

i'm trying to install onto a Ubuntu 64bit server 10.

ive used both this:

wget -O install.sh http://software.virtualmin.com/cgi-bin/install.cgi?serial=SERIAL\&key=KEY; /bin/sh install.sh

and this:

sh ./install.sh

but i get the same message in the installation log:

INFO - 2011-05-14 15:47:00 - Started installation log in /root/virtualmin-install.log DEBUG - 2011-05-14 15:47:00 - Install mode: full DEBUG - 2011-05-14 15:47:00 - Product: Virtualmin Professional DEBUG - 2011-05-14 15:47:00 - Virtualmin Meta-Package list: virtualmin-base DEBUG - 2011-05-14 15:47:00 - install.sh version: 1.0.5 INFO - 2011-05-14 15:47:00 - Checking for fully qualified hostname... INFO - 2011-05-14 15:47:00 - Hostname OK: fully qualified as XXXXXXXXXXXX.co.uk INFO - 2011-05-14 15:47:00 - Installing serial number and license key into /etc/virtualmin-license INFO - 2011-05-14 15:47:00 - Loading OS selection library... INFO - 2011-05-14 15:47:01 - Download of http://software.virtualmin.com/lib/oschooser.pl Succeeded. INFO - 2011-05-14 15:47:01 - Loading OS list... INFO - 2011-05-14 15:47:01 - Download of http://software.virtualmin.com/lib/os_list.txt Succeeded. INFO - 2011-05-14 15:47:01 - Operating system name: Ubuntu Linux INFO - 2011-05-14 15:47:01 - Operating system version: 10.10 INFO - 2011-05-14 15:47:01 - Configuring package manager for Ubuntu Linux 10.10... INFO - 2011-05-14 15:47:02 - Enabling universe repositories, if not already available... INFO - 2011-05-14 15:47:02 - Disabling cdrom repositories... INFO - 2011-05-14 15:47:02 - Cleaning up apt headers and packages, so we can start fresh... INFO - 2011-05-14 15:47:02 - INFO - 2011-05-14 15:47:02 - Download of http://software.virtualmin.com/lib/apt.conf.noninteractive Succeeded. INFO - 2011-05-14 15:47:03 - Installing Webmin and Virtualmin package signing keys... INFO - 2011-05-14 15:47:03 - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin Succeeded. INFO - 2011-05-14 15:47:04 - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin Succeeded. INFO - 2011-05-14 15:47:04 - OK INFO - 2011-05-14 15:47:04 - OK INFO - 2011-05-14 15:47:04 - Hit INFO - 2011-05-14 15:47:04 - Removing Debian standard Webmin package, if they exist... INFO - 2011-05-14 15:47:04 - Removing Debian apache packages... DEBUG - 2011-05-14 15:47:04 - Reading INFO - 2011-05-14 15:47:04 - Installing dependencies using command: /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install postfix postfix-pcre webmin usermin ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl unzip zip quota Reading package lists... Building dependency tree... Reading state information... FATAL - 2011-05-14 15:47:06 - Fatal Error Occurred: Something went wrong during installation: 0 FATAL - 2011-05-14 15:47:06 - Cannot continue installation. FATAL - 2011-05-14 15:47:06 - Attempting to remove virtualmin repository configuration, so the installation can be FATAL - 2011-05-14 15:47:06 - re-attempted after any problems have been resolved. FATAL - 2011-05-14 15:47:06 - Removing temporary directory and files. FATAL - 2011-05-14 15:47:06 - If you are unsure of what went wrong, you may wish to review the log FATAL - 2011-05-14 15:47:06 - in /root/virtualmin-install.log

it doesnt really tell me where to start looking as the readout from the CLI is the same as whats on the installation log.

anyone got any ideas?

thanks zac

Sat, 05/14/2011 - 09:57
andreychek

Howdy,

From the output above, it looks like you're using Ubuntu 10.10.

Unfortunately, that's not one of the distro versions the installer supports... you may want to try the Ubuntu LTS release, 10.04.

You can see a list of supported distros here:

http://www.virtualmin.com/os-support.html

Sat, 05/14/2011 - 12:16
zac123

hi, thanks for getting back.

yep sorry, i missed that. I have now installed 10.04 version.

this time i didnt bother to install a gui some i'm doing this from the CL

i downloaded the VM install file using this:

wget -O install.sh http://software.virtualmin.com/cgi-bin/install.cgi?serial=SERIAL\&key=KEY; /bin/sh install.sh

that went fine

then i tried to install sing this:

sh ./install.sh

but i get exactly the same error message as above.

P.S. when installing 10.04 from the disk a chose not to install any packages like dns, apache, mysql etc etc so this is a total blank install.

what can i try next please?

thanks zac

Sat, 05/14/2011 - 12:20
zac123

sorry, update...

just readin through the install log thats on the screen, the last entry before the fatal error is:

"Package Webmin is not available; but is refered to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source"

does the routine that i listed above for installing VM not by defualt include the downloading/installing of webmin?

thanks zac

Sat, 05/14/2011 - 13:31
andreychek

Howdy,

Can you attach the /root/virtualmin-install.log file for your new installation? It will hopefully contain some details about what's going on. Thanks!

-Eric

Sat, 05/14/2011 - 13:35
zac123

i'm not sure i can get the log file off the server and onto my laptop to attach it.

i guess if i install a gui on the server i could but how else?

Sat, 05/14/2011 - 13:38
andreychek

There's a few different ways to grab that... one would be to use scp. If your desktop is Windows, WinSCP would allow you log into your server using scp and download that file.

-Eric

Sat, 05/14/2011 - 13:46
zac123

because of my lack of knowledge using the CLI i'll bever be able to install and configure a ftp server without using a gui.

i'll have to install one quickly and grab the file.

Sat, 05/14/2011 - 13:51
andreychek

Howdy,

The SCP protocol works over SSH, which should already be installed and working on your server.

So, if you install WinSCP on your desktop, you can log into your server as root and transfer files.

-Eric

Sat, 05/14/2011 - 14:19
zac123

a ha, ssh wasnt installed so i installed it and started it and scp connected straight away. thanks for that... learning all the time!

please see pic attached. for some reason the virtualmin-install.log does not exist

Sat, 05/14/2011 - 14:28
zac123

a ha, ssh wasnt installed so i installed it and started it and scp connected straight away. thanks for that... learning all the time!

please see pic attached. for some reason the virtualmin-install.log does not exist

Sat, 05/14/2011 - 14:31
zac123

pic

Sat, 05/14/2011 - 14:35
andreychek

The file you're looking for is "/root/virtualmin-install.log", which means it'd be in the "/root" directory.

-Eric

Sat, 05/14/2011 - 14:52
zac123

sorry, i was thinking that root was infact THE ROOT for example like a web root, not an actual name of a dir, silly mistake.

please see log:

Sat, 05/14/2011 - 15:19
andreychek

Hmm, well, it looks like it doesn't like something about your software repositories, though I'm not quite sure why ATM.

Could you attach the install.sh script that you're using to perform the installation, as well as your /etc/apt/sources file?

That should help in determining what's going on there.

Thanks!

-Eric

Sat, 05/14/2011 - 15:21
andreychek

Also, I marked this post as private, so no one will be able to see your serial number / license key that's embedded into the install.sh script.

-Eric

Sat, 05/14/2011 - 15:28
zac123

cool thanks for doing that. i didnt even thinking about removing that info.

here are the files requested.

zac cant upload the sources file because the forum only allows jpg jpeg gif png txt doc xls pdf ppt pps odt ods odp svg

i'll just try a zip.... hang on.....

Sat, 05/14/2011 - 15:30
zac123

you want the dir right? or just one of those individual files?

Sat, 05/14/2011 - 15:33
andreychek

For now, just the sources.list file.

You can rename it to sources.list.txt in order to attach it to your post.

-Eric

Sat, 05/14/2011 - 15:38
zac123

sources.list

Sat, 05/14/2011 - 17:07
andreychek

Okay, I see the issue... your license key in the install.sh file is corrupted. It's possible that when you copied and pasted the command from "virtualmin.com/serial/", that it got mucked up somehow.

You can either try re-downloading it, being sure that there's a "key=YOUR_KEY" in the command line.

Or, you can edit your install.sh script, and you can fix it manually.

If you look in it, you'll see two lines that look like this:

SERIAL=5558036
KEY=

That "KEY=" line shouldn't be blank, it should contain your license key.

If you put your key in there, and then re-run the installer, that should fix your issue.

-Eric

Sun, 05/15/2011 - 04:11
zac123

thanks. the install certainly went through a lot further this tie before finally throwing the fatal error.

it would appear its failing on dovecote package installation.

would VM normally install this or is this for ubuntu to handle?

regards,

zac

Mon, 05/16/2011 - 10:44
zac123

just so you know this is still failling. Ive tried doing two fresh OS installs, each time formatting the drive to ensure there are no files left behind from the old install.

thried the install several times esuring that the serial and key is present in the install.sh file.

as you can see from below its failing.

do you think this might be something to do with FQDN? each time that comes up when i install so i type in my domain, like: cp.360net.co.uk

dpkg: dependency problems prevent configuration of virtualmin-base: virtualmin-base depends on dovecot-common; however: Package dovecot-common is not configured yet. virtualmin-base depends on dovecot-imapd; however: Package dovecot-imapd is not configured yet. virtualmin-base depends on dovecot-pop3d; however: Package dovecot-pop3d is not configured yet. dpkg: error processing virtualmin-base (--configure): dependency problems - leaving unconfigured Processing triggers for libc-bin ... ldconfig deferred processing now taking place Errors were encountered while processing: dovecot-common dovecot-imapd dovecot-pop3d virtualmin-base

Topic locked