Virtualmin installation failed

4 posts / 0 new
Last post
#1 Fri, 07/08/2011 - 08:59
mtartare

Virtualmin installation failed

Dear All,

I'm trying to install virtualmin on a fresh CentOS 5 distro via the install script. The installation failed, when checking the log files here is where it fails :

-----------------------------------------------------------------------------------
Starting saslauthd: saslauthd[23617] :detach_tty      : Cannot start saslauthd
saslauthd[23617] :detach_tty      : Another instance of saslauthd is currently running
[FAILED]
Configuring Virtualmin
Configuring Procmail
Configuring Webalizer
Updating /etc/shells
Enabling MySQL and PostgreSQL
Enabling Apache
Configuring and enabling BIND
Configuring resolv.conf to use local DNS server
Configuring and enabling Mailman
List creation error : List creation command failed :
Enabling status monitoring
Error occurred while enabling status monitoring: An error was detected in the new Cron configuration : <pre></pre> <pre>0,5,10,15,20,25,30,35,40,45,50,55 * * * * /etc/webmin/status/monitor.pl
</pre> at ../web-lib-funcs.pl line 1360.

Hiding the Webmin upgrade page
Error occurred hiding Webmin upgrade page:
Configuring firewall rules
  Allowing traffic on TCP port: ssh
  Allowing traffic on TCP port: smtp
  Allowing traffic on TCP port: domain
  Allowing traffic on TCP port: ftp
  Allowing traffic on TCP port: ftp-data
  Allowing traffic on TCP port: pop3
  Allowing traffic on TCP port: pop3s
  Allowing traffic on TCP port: imap
  Allowing traffic on TCP port: imaps
  Allowing traffic on TCP port: http
  Allowing traffic on TCP port: https
  Allowing traffic on TCP port: 10000
  Allowing traffic on TCP port: 20000
  Allowing traffic on UDP port: domain
  Allowing traffic on UDP port: ftp
  Allowing traffic on UDP port: ftp-data
Re-checking supported Webmin modules

error: %post(virtualmin-base-1.0-61.rh.noarch) scriptlet failed, exit status 255

-------------------------------------------------------------------------------------

Any idea of what's wrong ? Thanks, Mathieu

Fri, 07/08/2011 - 09:35
andreychek

Hmm, you're getting a few errors there it looks like.

Are you by chance using a VPS? If so, what type of VPS are you using?

Also, what's the output of this command:

free -m

Fri, 07/08/2011 - 10:06 (Reply to #2)
mtartare

Yes i'm using a VPS, this one : http://www.hostsign.co.uk/site/onedollarvps.html with only 128Mb of RAM.

free -m returns me :

free -m total used free shared buffers cached

Mem: 256 20 235 0 0 0

-/+ buffers/cache: 20 235

Swap: 0 0 0

(no swap at all ?)

Thanks for your quick answer :)

Fri, 07/08/2011 - 10:16
andreychek

Howdy,

Ah, I suspect that's your issue. Let me guess... that's an OpenVZ-based VPS? :-)

They tend to be a bit low on memory, and don't come with swap.

You'd really want at least 512MB of dedicated memory, but possibly more if there isn't any swap to work with.

During the installation process, it's likely running out of RAM in several places, causing the errors you were seeing.

It may be worth shelling out the extra $4/month for the VPS that comes with 640MB of RAM :-)

I'd suggest getting more dedicated RAM, then re-running the installer and see if that helps.

-Eric

Topic locked