These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for HELP! I changed VPS and Virtualmin won't install :( on the new forum.
I just got a new VPS, installed the exact same os (Ubuntu 8.04 x86) and it fails when I go through the virtualmin install!!
I am using the install.sh method to install it and here is a link to my log file (its long)
http://www.kthxhost.com/virtualmin.log
I don't know why this is happening... I even added the repos and tried apt-get install virtualmin-base with no different results....
Please help! Thanks in advance!
Hrm, I'm looking through your log file, and I'm not seeing any errors there, it appears like it completed successfully.
What problems are you having at the moment? Are you receiving any errors, for example? Did you get an error of some sort after the install?
What happens if you try browsing to port 10000 on your VPS?
Lastly, how much RAM do you have -- can you paste in the output of "free"?
Thanks,
-Eric
root@server1:~# free total used free shared buffers cached Mem: 524288 334156 190132 0 0 0 -/+ buffers/cache: 334156 190132 Swap: 0 0 0 root@server1:~#
Yes tonnes of problems.... First, no webpages loading when I go to the address...
Second when I go https://mysite:10000/ either it shows page not found, or only webmin with no virtualmin.... right now its showing webmin only.
I dont know what you mean theres no errors because it didnt even finish the install... and it said errors were encountered... hence the reason it created the log....
Should I reinstall ubuntu for the 5th time tonight and start over?
Howdy,
Well, the install.sh script generates a install log whether it finishes successfully or not. In your case, it's a complete log, stopping where I'd expect it to... and looking in the log, I don't see any errors in installing or configuring the various packages.
What happens if you try restarting Virtualmin:
/etc/init.d/webmin restart
Also, do you see any errors in the Webmin logfile -- /var/webmin/miniserv.error?
How about in the dmesg output, or in /var/log/syslog?
Lastly, no, I don't recommend reinstalling the OS... the problem is likely elsewhere.
A lot of strange issues seem to crop up in low memory situations. In your case, you have 500+ MB of RAM. While that's not a lot, it should be enough to get things up and running.
That said, with the strange issues you're seeing, I'm a little concerned that you may be seeing memory related issues... especially without having any swap setup, which is typical for OpenVZ based VPS's.
Are there any services you can stop that you don't need, in order to free up some additional RAM?
-Eric
When I restart Virtualmin it still shows only webmin
contents of /var/webmin/miniserv.error:
[19/Jan/2010:07:09:04 +0300] miniserv.pl started [19/Jan/2010:07:09:04 +0300] PAM authentication enabled [19/Jan/2010:07:14:06 +0300] [72.39.75.198] Bad Request : This web server is ru$ Failed to initialize SSL connection [19/Jan/2010:07:35:08 +0300] miniserv.pl started [19/Jan/2010:07:35:08 +0300] PAM authentication enabled [19/Jan/2010:08:11:35 +0300] miniserv.pl started [19/Jan/2010:08:11:35 +0300] PAM authentication enabled
/var/log/syslog is http://kthxhost.com/syslog.log
Its funny you say memory issues, I thought maybe it was, but then I saw 190 M free... But now I think, wait, that was a snapshot of the memory at that time... My limit is 512, and with ubuntu installed and basic virtualmin, it sucks 300-400 M.
You know how much memory on average ubuntu will take with no swap space?
With re-installing at least id get virtualmin back, and I would select not to load everything into memory this time... See if that works...
How much memory is needed is completely dependent on your install, what daemons are running, and that sort of thing. A custom Ubuntu install can probably take under 100MB of RAM if needed. OTOH, people are buying servers with over 16GB of RAM these days, fully intending on using all of it :-)
I guess what I'm saying is, it just depends on what daemons are running.
500+ MB of RAM is usually enough to get by for a typical server install for light usage, but that is a bit limiting, and not having any swap makes it kind of tough...
However, the email processing is what gets you -- SpamAssassin and ClamAV are both pretty RAM intensive.
I was wondering if /var/log/syslog might show any memory errors, but I don't see any. Does "dmesg" show anything unusual? (especially towards the end of the output)
Even though you have some free RAM now, the problems you're seeing may be because there wasn't enough RAM available when it was needed. For example, a package could have been corrupted during installation.
My concern in your case is that even if you manage to get it up and running now, you'd be in a constant battle against available RAM. Having as little free RAM as you do, without any swap, means there's really not much room to grow (or even briefly burst).
However, I'd certainly recommend trying to remove any/all daemons you don't absolutely need. I'd be sure to remove PostgresSQL and Mailman, for example, as well as run clam and spamassassin via the command line scanners rather than as daemons.
I'd also remove any Apache and PHP modules that you don't need, in order to save some RAM there.
-Eric
Ok, sounds good...
I was just stopping some processes and running "free" after each one...
after stopping apache I gained 300 M lol....
You mentioning burstable reminds me, my VPS package is 512 guarenteed ram and 1024 burstable...
That doesnt help does it?
How much ram would you think I would need to hav say an IRCD plus all of this on one server?
actions.conf authz_host.load dir.conf rewrite.load actions.load authz_user.load dir.load ruby.load alias.conf autoindex.conf env.load setenvif.conf alias.load autoindex.load mime.conf setenvif.load auth_basic.load cgid.conf mime.load ssl.conf auth_digest.load cgid.load negotiation.conf ssl.load authn_file.load dav.load negotiation.load status.conf authz_default.load dav_fs.conf proxy.conf status.load authz_groupfile.load dav_fs.load proxy.load suexec.load
Which should I take out? I know I need suexec, ssl, and rewrite..... I took out ruby cause I dont use ROR.
Well, in theory, burstable to 1024MB is great... all I can offer is that some really weird stuff is going on with your server :-) And the only time I see that sort of stuff is on OpenVZ based servers without any swap space...
It's difficult to offer exactly how much RAM you need... you need as much as the daemons you're using as well as how much the amount of traffic you're pulling in requires :-)
I'm curious about the status of your Virtualmin packages... what output do you get when typing this:
dpkg --configure -a
And how about this:
dpkg -l 'webmin*'
Yeah I heard virtuozzo causes problems... Are OpenVZ and virtuozzo the same thing?
I am starting to get scared I went with yet another bad host... I thought I had it good because this one actually allows IRCD....
I think im screwed again >.< All I wanted was a working IRCD capable of 20K users, never reaching that, and a webserver that I could sell out and use for myself :-/
Anyways dpkg --configure -a returns nothing, and dpkg -l 'webmin*' returns:
root@server1:/etc/apache2/mods-enabled# dpkg -l 'webmin*' Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-==============-==============-============================================ ii webmin 1.500 A web-based administration interface for Uni un webmin-adsl (no description available) un webmin-apache (no description available) un webmin-bandwid (no description available) un webmin-bind (no description available) un webmin-burner (no description available) un webmin-cfengin (no description available) un webmin-cluster (no description available) un webmin-core (no description available) un webmin-cpan (no description available) un webmin-dhcpd (no description available) un webmin-exim (no description available) un webmin-exports (no description available) un webmin-fetchma (no description available) un webmin-firewal (no description available) un webmin-freeswa (no description available) un webmin-frox (no description available) un webmin-fsdump (no description available) un webmin-grub (no description available) un webmin-heartbe (no description available) un webmin-htacces (no description available) un webmin-inetd (no description available) un webmin-jabber (no description available) un webmin-ldap-ne (no description available) un webmin-ldap-us (no description available) un webmin-ldap-us (no description available) un webmin-lilo (no description available) un webmin-logrota (no description available) un webmin-lpadmin (no description available) un webmin-lvm (no description available) un webmin-mailbox (no description available) un webmin-mon (no description available) un webmin-mysql (no description available) un webmin-nis (no description available) un webmin-openslp (no description available) un webmin-postfix (no description available) un webmin-postgre (no description available) un webmin-ppp (no description available) un webmin-pptp-cl (no description available) un webmin-pptp-se (no description available) un webmin-procmai (no description available) un webmin-proftpd (no description available) un webmin-pserver (no description available) un webmin-quota (no description available) un webmin-samba (no description available) un webmin-sarg (no description available) in webmin-securit (no description available) un webmin-sendmai (no description available) un webmin-shorewa (no description available) un webmin-slbacku (no description available) un webmin-smart-s (no description available) un webmin-snort (no description available) un webmin-softwar (no description available) un webmin-spamass (no description available) un webmin-squid (no description available) un webmin-sshd (no description available) un webmin-status (no description available) un webmin-stunnel (no description available) un webmin-updown (no description available) un webmin-usermin (no description available) un webmin-vgetty (no description available) in webmin-virtual (no description available) in webmin-virtual (no description available) in webmin-virtual (no description available) in webmin-virtual (no description available) in webmin-virtual (no description available) in webmin-virtual (no description available) in webmin-virtual (no description available) un webmin-webaliz (no description available) un webmin-wuftpd (no description available) un webmin-wvdial (no description available) un webmin-xinetd (no description available)
so you dont think its apache sucking 300 M thats a problem?
I think I am going to look for another host that allows IRCD and has decent packages.... and im def getting xen not openvz. I came from a xen server, that would explain it... If this server I am on is indeed OpenVZ. Is there a way to tell?
Ok well good news, I seem to have got it working again... somewhat.....
I reinstalled the OS and started from scratch and somehow it semi-works. I still get postfix errors when I refresh sys info on the front page but that is ok.
At least now I got my site back up and my IRCD running :D
I could not be more happier, thanks for your help!
Not many ppl would stay up as long as you did just to help me out, I gratly appreciate it!
I'm glad to hear you've largely got things up and running.
Regarding OpenVZ, your host, and such, I'm not at all attempting to imply that any of them are bad, only that I've seen issues in the past with RAM limitations.
In regards to OpenVZ and Virtuozzo, they are related projects... VIrtuozzo is based on OpenVZ.
I'm unfortunately not sure how you'd determine if that's the VPS in use.
As far as your Postfix errors go -- you may want to take a peek in /var/log/mail.log to see if any errors show up in there.
Feel free to post any entries from your mail log, and the errors you see in Virtualmin, we'll try to help, if we can :-)
Good luck!
-Eric