Virtualmin installation issues

Hi all,

I was trying to install virtualmin (GPL) on my server today using the installation script. It failed with a code 0 error. So I ran apt-get -f install, and got the following output:

[code:1]root@x:~# apt-get -f install
Reading package lists… Done
Building dependency tree… Done
0 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_CA.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C"«»).
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up virtualmin-base (1.0-19) …
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_CA.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C"«»).
Setting Webmin theme
Setting Usermin theme
Configuring Postfix
Error: Failed to regenerate table /etc/postfix/virtual: <tt></tt>
Error

Failed to regenerate table /etc/postfix/virtual: <tt></tt>

dpkg: error processing virtualmin-base (–configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
virtualmin-base
E: Sub-process /usr/bin/dpkg returned an error code (1)[/code:1]

The problem seems to be with postfix. A little help here? Thanks. =))<br><br>Post edited by: evilmonkey, at: 2008/07/29 15:03

What does this command show:

grep virtual_alias_maps /etc/postfix/main.cf

In theory, it should look like this:

virtual_alias_maps = hash:/etc/postfix/virtual

It does. What else can I do?

[code:1]root@x:~# grep virtual_alias_maps /etc/postfix/main.cf
virtual_alias_maps = hash:/etc/postfix/virtual[/code:1]

Hmm, I figured out the problem.

My system was overloaded (pronounced: out of RAM). I added more RAM, and everything (well, almost, I’ll post a new topic later) runs nicely.