Problem Installing GPL version

10 posts / 0 new
Last post
#1 Tue, 06/02/2009 - 12:29
paulK

Problem Installing GPL version

I am trying to install on a fresh Cent OS installation using the install script. So far it has gone like this:

Welcome to the Virtualmin GPL installer, version 1.0.3 WARNING: The installation is quite stable and functional when run on a freshly installed supported Operating System, but upgrades from existing .wbm- based systems, or systems that already have Apache VirtualHost directives or mail users, will very likely run into numerous problems. Please read the Virtualmin Administrators Guide before proceeding if your system is not a freshly installed and supported OS. This script is not intended to update your system! It should only be used to install Virtualmin Professional, on a supported OS. If you have previously installed Virtualmin via this script or the GPL version of this script, upgrades and updates should be handled within Virtualmin itself. Once Virtualmin is installed, you never need to run this script again. The systems currently supported by install.sh are: CentOS 4 and 5 on i386 and x86_64 Debian 4.0 and 5.0 on i386 and amd64 Ubuntu 8.04 LTS on i386 and amd64 If your OS is not listed above, this script will fail. More details about the systems supported by the script can be found here: http://www.virtualmin.com/os-support.html Continue? (y/n) y Checking for HTTP client...found /usr/bin/curl -s -O Checking for perl...found /usr/bin/perl Loading log4sh logging library... INFO - Started installation log in /root/virtualmin-install.log INFO - Checking for fully qualified hostname... INFO - Hostname ourwayoflife is not fully qualified. Please enter a fully qualified hostname (for example, example.com): vm1.wol2000.co.uk INFO - Hostname OK: fully qualified as vm1.wol2000.co.uk eth0: error fetching interface information: Device not found INFO - Unable to determine IP address of primary interface. Please enter the name of your primary network interface:

I take where the warning says the script should only be for installing Virtualmin Professional, it doesn't mean that and the script is for installing the GPL version as per the "welcome Message"? I got the script thus: wget http://software.virtualmin.com/gpl/scripts/install.sh

The OS install was done by my ISP and apache seems to be running (& installed as part of the CentOS install. Is this an issue?

Finally, what is my primary network interface? I am running through a terminal session to the server, logged in as root on a Mac.

Tue, 06/02/2009 - 12:56
andreychek

Hmm, what output do you get if you type this command on your server:

ifconfig

It sounds like it's not figuring out what your network device is, the ifconfig output might offer some clues as to why.
-Eric

Tue, 06/02/2009 - 13:34 (Reply to #2)
paulK

Eric - ifconfig returns the following (which means not a lot to a newbie like me!!)

<div class='quote'>
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:127.0.0.1 P-t-P:127.0.0.1 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:83350 errors:0 dropped:0 overruns:0 frame:0
TX packets:85959 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6190831 (5.9 MiB) TX bytes:6540188 (6.2 MiB)

venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:80.82.117.60 P-t-P:80.82.117.60 Bcast:80.82.117.60 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1

venet0:1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:80.82.117.61 P-t-P:80.82.117.61 Bcast:80.82.117.61 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
</div>

I do recognise my IP adresses tho....

Paul K

Tue, 06/02/2009 - 15:10 (Reply to #3)
Joe
Joe's picture

So, it looks like venet0:0 is probably your primary network interface. Try entering that when install.sh asks for the interface name.

I'll try to figure out a way to detect this sort of thing in the future.

--

Check out the forum guidelines!

Tue, 06/02/2009 - 15:11 (Reply to #4)
Joe
Joe's picture

Actually...maybe venet0, but then it'll require some tweaks after installation to the Virtualmin configuration. That's kinda wonky, actually. ;-)

--

Check out the forum guidelines!

Wed, 06/03/2009 - 10:50 (Reply to #5)
paulK

Hi Joe and thanks.

Just to let you know, when I re-tried the install picked up the previous qualified domain name, but didn't ask about a primary network interface. It installed with a few warnings, but when I asked virtualmin to check the configuration it complained at that point.

I guessed this would be where I needed to tweak and managed to find this in the forum: http://www.virtualmin.com/forums/limit/10/limitstart/0/help-home-for-new...

I put 'venet0' in the network settings for virtual address and set the default IP to my primary IP. All fine for now.

Thanks again.

Wed, 06/03/2009 - 13:04 (Reply to #6)
Joe
Joe's picture

Thanks for the update.

Yeah, install.sh doesn't ask any questions if you already have a fully qualified domain name.

--

Check out the forum guidelines!

Tue, 06/02/2009 - 15:09
Joe
Joe's picture

<div class='quote'>I take where the warning says the script should only be for installing Virtualmin Professional, it doesn't mean that and the script is for installing the GPL version as per the &quot;welcome Message&quot;? I got the script thus: wget http://software.virtualmin.com/gpl/scripts/install.sh</div>

Yeah, that's a dumb bug. Fixing now.

--

Check out the forum guidelines!

Mon, 02/21/2011 - 05:08
rebrain

Hallo, I just had such a problem.

I chose venet0:0 and it seems to be working

One problem is that the default adress ist wrong, shows up when I try to login without httpS.

This web server is running in SSL mode. Try the URL https://XX-XX-XX-XX:10000/ instead.

Like the ip but with "-" delimiters. But I don't remember where to change this option.

Mon, 02/21/2011 - 07:21 (Reply to #9)
andreychek

If you go into System Settings -> Virtualmin Configuration -> Server Settings, set the option named "Virtualmin URL for use in email messages". Although it says "email messages", I believe setting that URL may fix what you're seeing there.

-Eric

Topic locked