No Virtualmin menu in Webmin after install.sh

Me again :slight_smile:

http://www.virtualmin.com/forums/help-home-for-newbies/re:fresh-install-on-virtual-server-xen-based.-x64.html

Following:
http://www.virtualmin.com/documentation/id,virtualmin_installation_quickstart/

I’m down now to preparing the fresh install for the install.sh:

echo "deb http://archive.ubuntu.com/ubuntu hardy universe" >> /etc/apt/sources.list
echo "deb http://archive.ubuntu.com/ubuntu hardy-updates universe" >> /etc/apt/sources.list
apt-get update
apt-get upgrade
apt-get install screen wget
wget http://software.virtualmin.com/gpl/scripts/install.sh
chmod +x install.sh

I run the install.sh from within screen.

It does all the "…" dots and then at some point I get a network disconection from putty.

I reconnect and the uptime is fine but there’s no screen session.

Webmin seems to have installed but no virtualmin.

Not sure what to do from here.

Suggestions?

[code:1]
root@qwer:~# cat virtualmin-install.log
INFO - 2008-09-17 00:50:42 - Started installation log in /root/virtualmin-install.log
DEBUG - 2008-09-17 00:50:42 - Install mode: full
DEBUG - 2008-09-17 00:50:42 - Virtualmin Meta-Package list: virtualmin-base
DEBUG - 2008-09-17 00:50:42 - install.sh version: EA5.0
INFO - 2008-09-17 00:50:42 - Checking for fully qualified hostname…
INFO - 2008-09-17 00:50:42 - Hostname OK: fully qualified as qwer.ninja.net.au
INFO - 2008-09-17 00:50:42 - Installing serial number and license key into /etc/virtualmin-license
INFO - 2008-09-17 00:50:42 - Loading OS selection library…
INFO - 2008-09-17 00:50:43 - Download of http://software.virtualmin.com/lib/oschooser.pl Succeeded.
INFO - 2008-09-17 00:50:43 - Loading OS list…
INFO - 2008-09-17 00:50:44 - Download of http://software.virtualmin.com/lib/os_list.txt Succeeded.
INFO - 2008-09-17 00:50:44 - Operating system name: Ubuntu Linux
INFO - 2008-09-17 00:50:44 - Operating system version: 8.04
INFO - 2008-09-17 00:50:44 - Configuring package manager for Ubuntu Linux 8.04…
INFO - 2008-09-17 00:50:44 - Enabling universe repositories, if not already available…
INFO - 2008-09-17 00:50:44 - Disabling cdrom repositories…
INFO - 2008-09-17 00:50:46 - Cleaning up apt headers and packages, so we can start fresh…
INFO - 2008-09-17 00:50:46 -
INFO - 2008-09-17 00:50:47 - Download of http://software.virtualmin.com/lib/apt.conf.noninteractive Succeeded.
INFO - 2008-09-17 00:50:47 - Installing Webmin and Virtualmin package signing keys…
INFO - 2008-09-17 00:50:48 - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin Succeeded.
INFO - 2008-09-17 00:50:48 - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin Succeeded.
INFO - 2008-09-17 00:50:48 - OK
INFO - 2008-09-17 00:50:48 - OK
INFO - 2008-09-17 00:50:54 - Hit
INFO - 2008-09-17 00:50:54 - Removing Debian standard Webmin package, if they exist (because they’re broken)…
INFO - 2008-09-17 00:50:54 - Removing Debian apache packages…
DEBUG - 2008-09-17 00:50:54 - Reading
INFO - 2008-09-17 00:50:54 - 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…
The following extra packages will be installed:
apache2-utils apache2.2-common libapache-ruby1.8 libapr1 libaprutil1
libauthen-pam-perl libexpat1 libio-pty-perl libmagic1 libmd5-perl
libnet-ssleay-perl libpcre3 libpq5 libruby1.8 liburi-perl
libxml-libxml-common-perl libxml-libxml-perl libxml-namespacesupport-perl
libxml-sax-perl libxml2 openssl openssl-blacklist perl perl-modules ruby1.8
ssl-cert
Suggested packages:
apache2-doc www-browser liberuby file libmime-base64-perl libwww-perl
ca-certificates openssl-doc libterm-readline-gnu-perl
libterm-readline-perl-perl mail-reader postfix-cdb postfix-ldap
postfix-mysql postfix-pgsql procmail resolvconf sasl2-bin libnet-ldap-perl
rdoc1.8 ri1.8 ruby1.8-examples
Recommended packages:
xml-core perl-doc
The following NEW packages will be installed:
apache2-utils apache2.2-common libapache-ruby1.8 libapache2-mod-ruby libapr1
libaprutil1 libauthen-pam-perl libcrypt-ssleay-perl libexpat1 libio-pty-perl
libmagic1 libmd5-perl libnet-ssleay-perl libpcre3 libpq5 libruby1.8
liburi-perl libxml-libxml-common-perl libxml-libxml-perl
libxml-namespacesupport-perl libxml-sax-perl libxml-simple-perl libxml2
openssl openssl-blacklist perl perl-modules postfix postfix-pcre quota ruby
ruby1.8 ssl-cert unzip usermin webmin zip
0 upgraded, 37 newly installed, 0 to remove and 0 not upgraded.
Need to get 39.8MB of archives.
After this operation, 178MB of additional disk space will be used.
Get:1 http://software.virtualmin.com virtualmin-hardy/main usermin 1.360 [5652kB]
Get:2 http://archive.ubuntu.com hardy/main perl-modules 5.8.8-12 [2300kB]
Get:3 http://security.ubuntu.com hardy-security/main openssl 0.9.8g-4ubuntu3.3 [391kB]
Get:4 http://security.ubuntu.com hardy-security/main openssl-blacklist 0.3.3+0.4-0ubuntu0.8.04.3 [6333kB]
Get:5 http://archive.ubuntu.com hardy/main perl 5.8.8-12 [4055kB]
Get:6 http://security.ubuntu.com hardy-security/main libruby1.8 1.8.6.111-2ubuntu1.1 [1450kB]
Get:7 http://security.ubuntu.com hardy-security/main libpcre3 7.4-1ubuntu2.1 [206kB]
Get:8 http://security.ubuntu.com hardy-security/main libxml2 2.6.31.dfsg-2ubuntu1.2 [832kB]
Get:9 http://security.ubuntu.com hardy-security/main ssl-cert 1.0.14-0ubuntu2.1 [12.3kB]
Get:10 http://security.ubuntu.com hardy-security/main postfix 2.5.1-2ubuntu1.2 [1230kB]
Get:11 http://security.ubuntu.com hardy-security/main postfix-pcre 2.5.1-2ubuntu1.2 [42.1kB]
Get:12 http://security.ubuntu.com hardy-security/main ruby1.8 1.8.6.111-2ubuntu1.1 [25.1kB]
Get:13 http://archive.ubuntu.com hardy/main libnet-ssleay-perl 1.30-1 [186kB]
Get:14 http://archive.ubuntu.com hardy/universe libauthen-pam-perl 0.16-1 [32.3kB]
Get:15 http://archive.ubuntu.com hardy/universe libio-pty-perl 1:1.07-1 [40.1kB]
Get:16 http://archive.ubuntu.com hardy/universe libmd5-perl 2.03-1 [5680B]
Get:17 http://archive.ubuntu.com hardy/main libexpat1 2.0.1-0ubuntu1 [68.3kB]
Get:18 http://archive.ubuntu.com hardy/main libmagic1 4.21-3 [333kB]
Get:19 http://archive.ubuntu.com hardy/main liburi-perl 1.35.dfsg.1-1 [88.0kB]
Get:20 http://archive.ubuntu.com hardy/main libapr1 1.2.11-1 [119kB]
Get:21 http://archive.ubuntu.com hardy/main libpq5 8.3.1-1 [264kB]
Get:22 http://archive.ubuntu.com hardy/main libaprutil1 1.2.12+dfsg-3 [75.4kB]
Get:23 http://archive.ubuntu.com hardy/universe libapache-ruby1.8 1.2.6-1.2 [24.5kB]
Get:24 http://archive.ubuntu.com hardy/universe libapache2-mod-ruby 1.2.6-1.2 [69.9kB]
Get:25 http://archive.ubuntu.com hardy/universe libcrypt-ssleay-perl 0.55-1 [53.5kB]
Get:26 http://archive.ubuntu.com hardy/main libxml-libxml-common-perl 0.13-6 [14.1kB]
Get:27 http://archive.ubuntu.com hardy/main libxml-namespacesupport-perl 1.09-3 [15.3kB]
Get:28 http://archive.ubuntu.com hardy/main libxml-sax-perl 0.16-0.1 [79.4kB]
Get:29 http://archive.ubuntu.com hardy/main libxml-libxml-perl 1.63-1.1 [335kB]
Get:30 http://archive.ubuntu.com hardy/main libxml-simple-perl 2.18-1 [68.7kB]
Get:31 http://archive.ubuntu.com hardy/main quota 3.15-6 [468kB]
Get:32 http://archive.ubuntu.com hardy/main ruby 4.1 [20.7kB]
Get:33 http://archive.ubuntu.com hardy/main unzip 5.52-10ubuntu2 [167kB]
Get:34 http://archive.ubuntu.com hardy/main zip 2.32-1 [118kB]
Get:35 http://software.virtualmin.com virtualmin-hardy/main webmin 1.430 [13.6MB]
Get:36 http://software.virtualmin.com virtualmin-hardy/main apache2-utils 2.2.8-10vm [139kB]
Get:37 http://software.virtualmin.com virtualmin-hardy/main apache2.2-common 2.2.8-10vm [814kB]
Preconfiguring packages …
Preconfiguring packages …
Fetched 39.8MB in 17min7s (38.7kB/s)
Selecting previously deselected package perl-modules.
(Reading database … 9137 files and directories currently installed.)
Unpacking perl-modules (from …/perl-modules_5.8.8-12_all.deb) …
Selecting previously deselected package perl.
Unpacking perl (from …/perl_5.8.8-12_amd64.deb) …
Selecting previously deselected package libnet-ssleay-perl.
Unpacking libnet-ssleay-perl (from …/libnet-ssleay-perl_1.30-1_amd64.deb) …
Selecting previously deselected package openssl.
Unpacking openssl (from …/openssl_0.9.8g-4ubuntu3.3_amd64.deb) …
Selecting previously deselected package libauthen-pam-perl.
Unpacking libauthen-pam-perl (from …/libauthen-pam-perl_0.16-1_amd64.deb) …
Selecting previously deselected package libio-pty-perl.
Unpacking libio-pty-perl (from …/libio-pty-perl_1%3a1.07-1_amd64.deb) …
Selecting previously deselected package libmd5-perl.
Unpacking libmd5-perl (from …/libmd5-perl_2.03-1_all.deb) …
Setting up perl-modules (5.8.8-12) …

Configuration file `/etc/perl/Net/libnet.cfg’, does not exist on system.
Installing new config file as you request.
Setting up perl (5.8.8-12) …

Selecting previously deselected package usermin.
(Reading database … 10824 files and directories currently installed.)
Unpacking usermin (from …/archives/usermin_1.360_all.deb) …
Selecting previously deselected package webmin.
Unpacking webmin (from …/archives/webmin_1.430_all.deb) …
Selecting previously deselected package openssl-blacklist.
Unpacking openssl-blacklist (from …/openssl-blacklist_0.3.3+0.4-0ubuntu0.8.04.3_all.deb) …
Selecting previously deselected package libexpat1.
Unpacking libexpat1 (from …/libexpat1_2.0.1-0ubuntu1_amd64.deb) …
Selecting previously deselected package libmagic1.
Unpacking libmagic1 (from …/libmagic1_4.21-3_amd64.deb) …
Selecting previously deselected package liburi-perl.
Unpacking liburi-perl (from …/liburi-perl_1.35.dfsg.1-1_all.deb) …
Selecting previously deselected package libapr1.
Unpacking libapr1 (from …/libapr1_1.2.11-1_amd64.deb) …
Selecting previously deselected package libpq5.
Unpacking libpq5 (from …/libpq5_8.3.1-1_amd64.deb) …
Selecting previously deselected package libaprutil1.
Unpacking libaprutil1 (from …/libaprutil1_1.2.12+dfsg-3_amd64.deb) …
Selecting previously deselected package apache2-utils.
Unpacking apache2-utils (from …/apache2-utils_2.2.8-10vm_amd64.deb) …
Selecting previously deselected package apache2.2-common.
Unpacking apache2.2-common (from …/apache2.2-common_2.2.8-10vm_amd64.deb) …
Selecting previously deselected package libruby1.8.
Unpacking libruby1.8 (from …/libruby1.8_1.8.6.111-2ubuntu1.1_amd64.deb) …
Selecting previously deselected package libapache-ruby1.8.
Unpacking libapache-ruby1.8 (from …/libapache-ruby1.8_1.2.6-1.2_all.deb) …
Selecting previously deselected package libapache2-mod-ruby.
Unpacking libapache2-mod-ruby (from …/libapache2-mod-ruby_1.2.6-1.2_amd64.deb) …
Selecting previously deselected package libcrypt-ssleay-perl.
Unpacking libcrypt-ssleay-perl (from …/libcrypt-ssleay-perl_0.55-1_amd64.deb) …
Selecting previously deselected package libpcre3.
Unpacking libpcre3 (from …/libpcre3_7.4-1ubuntu2.1_amd64.deb) …
Selecting previously deselected package libxml2.
Unpacking libxml2 (from …/libxml2_2.6.31.dfsg-2ubuntu1.2_amd64.deb) …
Selecting previously deselected package libxml-libxml-common-perl.
Unpacking libxml-libxml-common-perl (from …/libxml-libxml-common-perl_0.13-6_amd64.deb) …
Selecting previously deselected package libxml-namespacesupport-perl.
Unpacking libxml-namespacesupport-perl (from …/libxml-namespacesupport-perl_1.09-3_all.deb) …
Selecting previously deselected package libxml-sax-perl.
Unpacking libxml-sax-perl (from …/libxml-sax-perl_0.16-0.1_all.deb) …
Selecting previously deselected package libxml-libxml-perl.
Unpacking libxml-libxml-perl (from …/libxml-libxml-perl_1.63-1.1_amd64.deb) …
Selecting previously deselected package libxml-simple-perl.
Unpacking libxml-simple-perl (from …/libxml-simple-perl_2.18-1_all.deb) …
Selecting previously deselected package ssl-cert.
Unpacking ssl-cert (from …/ssl-cert_1.0.14-0ubuntu2.1_all.deb) …
Selecting previously deselected package postfix.
Unpacking postfix (from …/postfix_2.5.1-2ubuntu1.2_amd64.deb) …
Selecting previously deselected package postfix-pcre.
Unpacking postfix-pcre (from …/postfix-pcre_2.5.1-2ubuntu1.2_amd64.deb) …
Selecting previously deselected package quota.
Unpacking quota (from …/quota_3.15-6_amd64.deb) …
Selecting previously deselected package ruby1.8.
Unpacking ruby1.8 (from …/ruby1.8_1.8.6.111-2ubuntu1.1_amd64.deb) …
Selecting previously deselected package ruby.
Unpacking ruby (from …/apt/archives/ruby_4.1_all.deb) …
Selecting previously deselected package unzip.
Unpacking unzip (from …/unzip_5.52-10ubuntu2_amd64.deb) …
Selecting previously deselected package zip.
Unpacking zip (from …/archives/zip_2.32-1_amd64.deb) …
Setting up libnet-ssleay-perl (1.30-1) …
Setting up openssl (0.9.8g-4ubuntu3.3) …

Configuration file `/etc/ssl/openssl.cnf’, does not exist on system.
Installing new config file as you request.

Setting up libauthen-pam-perl (0.16-1) …
Setting up libio-pty-perl (1:1.07-1) …
Setting up libmd5-perl (2.03-1) …
Setting up usermin (1.360) …
Usermin install complete. You can now login to https://qwer.ninja.net.au:20000/
as any user on the system.

Setting up webmin (1.430) …
[/code:1]

So, what’s the output of:

dpkg -l ‘webmin*’|grep ii

You should see this, amongst others:

ii webmin-virtual-server 3.61 Webmin module for ‘Virtualmin Virtual Servers’

Also, are you able to start Webmin? You can run:

/etc/init.d/webmin start

And then log into https://qwer.ninja.net.au:10000

If you don’t see the webmin-virtual-server package, I might recommend re-running the install.sh, it’s possible it didn’t finish.
-Eric

Yeah. I sort of thought that the install script was dying but as to why the screen session I was running under dies to I have no idea.

No webmin-virtual-server getting installed.

This is on a Virtual Server so rebuilding it is no problem.

It’s installing all the way to webmin. I can login to webmin & usermin on ports 10000 & 20000.

So I’ll try once more with the script and post back any logs I can find.

I’ve run the script straight from the terminal through putty and from within screen also through putty.

Do you think an exploding miniserv.pl due to lack of memory is to blame?

There’s nothing I can find in the documents about minimum memory requirements.

[code:1]root@qwer:~# dmesg | tail -n 50
12 pages shared
0 pages swap cached
Out of memory: Killed process 997 (klogd).
run-postinstall invoked oom-killer: gfp_mask=0x201d2, order=0, oomkilladj=-17

Call Trace:
[<ffffffff802bb6fd>] out_of_memory+0x8b/0x203
[<ffffffff8020f5e0>] __alloc_pages+0x245/0x2ce
[<ffffffff80213271>] __do_page_cache_readahead+0xd0/0x21c
[<ffffffff8026371c>] __wait_on_bit_lock+0x5b/0x66
[<ffffffff802415e3>] __lock_page+0x5e/0x64
[<ffffffff80213b4a>] filemap_nopage+0x148/0x322
[<ffffffff80208dad>] __handle_mm_fault+0x440/0x11bd
[<ffffffff8020622a>] hypercall_page+0x22a/0x1000
[<ffffffff802648f1>] _spin_lock_irqsave+0x9/0x14
[<ffffffff802673c4>] do_page_fault+0xf7b/0x12e0
[<ffffffff8029bad3>] autoremove_wake_function+0x0/0x2e
[<ffffffff80260823>] error_exit+0x0/0x6e

Mem-info:
DMA per-cpu:
cpu 0 hot: high 90, batch 15 used:64
cpu 0 cold: high 30, batch 7 used:7
DMA32 per-cpu: empty
Normal per-cpu: empty
HighMem per-cpu: empty
Free pages: 2076kB (0kB HighMem)
Active:57386 inactive:0 dirty:0 writeback:0 unstable:0 free:519 slab:1759 mapped-file:1 mapped-anon:57362 pagetables:341
DMA free:2076kB min:2076kB low:2592kB high:3112kB active:229544kB inactive:0kB present:270336kB pages_scanned:3683916 all_unreclaimable? yes
lowmem_reserve[]: 0 0 0 0
DMA32 free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
Normal free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
DMA: 14kB 18kB 116kB 032kB 264kB 1128kB 1256kB 1512kB 11024kB 02048kB 0*4096kB = 2076kB
DMA32: empty
Normal: empty
HighMem: empty
24 pagecache pages
Swap cache: add 0, delete 0, find 0/0, race 0+0
Free swap = 0kB
Total swap = 0kB
Free swap: 0kB
67584 pages of RAM
4287 reserved pages
12 pages shared
0 pages swap cached
Out of memory: Killed process 1049 (miniserv.pl).
[/code:1]

[code:1]root@qwer:~# cat /proc/meminfo
MemTotal: 262144 kB
MemFree: 175704 kB
Buffers: 3712 kB
Cached: 47208 kB
SwapCached: 0 kB
Active: 19972 kB
Inactive: 35580 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 262144 kB
LowFree: 175704 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 4652 kB
Mapped: 2372 kB
Slab: 8236 kB
PageTables: 952 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 131072 kB
Committed_AS: 10032 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 180 kB
VmallocChunk: 34359738187 kB[/code:1]

[code:1]root@qwer:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel® Xeon® CPU E5410 @ 2.33GHz
stepping : 6
cpu MHz : 2333.414
cache size : 6144 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu tsc msr pae mce cx8 apic mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm
bogomips : 5836.61
clflush size : 64
cache_alignment : 64
address sizes : 38 bits physical, 48 bits virtual
power management:[/code:1]

$ tail -n 150 /var/log/mesages

[code:1]Sep 17 02:39:44 qwer kernel: Swap cache: add 0, delete 0, find 0/0, race 0+0
Sep 17 02:39:44 qwer kernel: Free swap = 0kB
Sep 17 02:39:44 qwer kernel: Total swap = 0kB
Sep 17 02:39:44 qwer kernel: Free swap: 0kB
Sep 17 02:39:44 qwer kernel: 67584 pages of RAM
Sep 17 02:39:44 qwer kernel: 4287 reserved pages
Sep 17 02:39:44 qwer kernel: 6045 pages shared
Sep 17 02:39:44 qwer kernel: 0 pages swap cached
Sep 17 02:39:52 qwer kernel: miniserv.pl invoked oom-killer: gfp_mask=0x201d2, order=0, oomkilladj=0
Sep 17 02:39:52 qwer kernel:
Sep 17 02:39:52 qwer kernel: Call Trace:
Sep 17 02:39:52 qwer kernel: [<ffffffff802bb6fd>] out_of_memory+0x8b/0x203
Sep 17 02:39:52 qwer kernel: [<ffffffff8020f5e0>] __alloc_pages+0x245/0x2ce
Sep 17 02:39:52 qwer kernel: [<ffffffff80213271>] __do_page_cache_readahead+0xd0/0x21c
Sep 17 02:39:52 qwer kernel: [<ffffffff8026371c>] __wait_on_bit_lock+0x5b/0x66
Sep 17 02:39:52 qwer kernel: [<ffffffff802415e3>] __lock_page+0x5e/0x64
Sep 17 02:39:52 qwer kernel: [<ffffffff80213b4a>] filemap_nopage+0x148/0x322
Sep 17 02:39:52 qwer kernel: [<ffffffff80208dad>] __handle_mm_fault+0x440/0x11bd
Sep 17 02:39:52 qwer kernel: [<ffffffff802648f1>] _spin_lock_irqsave+0x9/0x14
Sep 17 02:39:52 qwer kernel: [<ffffffff802673c4>] do_page_fault+0xf7b/0x12e0
Sep 17 02:39:52 qwer kernel: [<ffffffff8022f331>] __wake_up+0x38/0x4f
Sep 17 02:39:52 qwer kernel: [<ffffffff80260823>] error_exit+0x0/0x6e
Sep 17 02:39:52 qwer kernel:
Sep 17 02:39:52 qwer kernel: Mem-info:
Sep 17 02:39:52 qwer kernel: DMA per-cpu:
Sep 17 02:39:52 qwer kernel: cpu 0 hot: high 90, batch 15 used:27
Sep 17 02:39:52 qwer kernel: cpu 0 cold: high 30, batch 7 used:9
Sep 17 02:39:52 qwer kernel: DMA32 per-cpu: empty
Sep 17 02:39:52 qwer kernel: Normal per-cpu: empty
Sep 17 02:39:52 qwer kernel: HighMem per-cpu: empty
Sep 17 02:39:52 qwer kernel: Free pages: 2076kB (0kB HighMem)[/code:1]

Hrm, quite possibly.

I hadn’t run into that oom-killer message before, but poking around on Google, it looks like that’s the Linux version of the Reaper, killing processes taking up too much memory.

There’s some suggestions in this article on how to get Virtualmin comfortably running on a low-memory system:

http://www.virtualmin.com/documentation/id,virtualmin_on_low_memory_systems/

Some of those suggestions may make a pretty big difference.
-Eric

Thanks andreychek but that link is to running it post install.

I’ve got top running on another terminal open and it gets to “run-postinstall” with Free memory getting down to 2MB and exploding after two “Extracting templates from packages: 100%”

More dots passing by. run-postinstall using 7.2% CPU & 79.4% Memory.

Boom! Explodey die!

Done that 5 times now :slight_smile:

So, can someone confirm/deny installation with 256MB RAM?

FYI:

[code:1]root@qwer:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 25G 745M 23G 4% /
varrun 128M 28K 128M 1% /var/run
varlock 128M 0 128M 0% /var/lock
udev 128M 16K 128M 1% /dev
devshm 128M 0 128M 0% /dev/shm/
[/code:1]

[code:1]root@qwer:~# mount
/dev/sda1 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)[/code:1]

Well, I guess I was wondering if you might be able to take advantage of some of the tips in the low memory document, even before installation.

One thought is that if you haven’t already, I’d recommend shutting down any daemon you don’t require. That might free up a little RAM.

Next, did Webmin itself get installed, even if it won’t launch?

For example, does this show the config file:

ls -l /etc/webmin/miniserv.conf

If so, you can configure it not to pre-load it’s modules as the installer launches Webmin, which should also save a bunch of RAM.

To do that, just comment out the line beginning with "preload=".

You can then edit /etc/webmin/virtual-server/config, and set preload_mode to 0.

Also, from the above /proc/meminfo output, it looks like your server may not have any swap space setup. Having some swap might be beneficial especially on a low-memory system.
-Eric

Thanks Eric.

I had another problem with the install script but the swap was indeed the problem.

Following the four steps to adding swap sorted it https://help.ubuntu.com/community/SwapFaq