Desperate with fresh installation

16 posts / 0 new
Last post
#1 Wed, 05/22/2013 - 04:34
carlos_mm

Desperate with fresh installation

Hi. I have problems with fresh install virtualmin. Vps Centos 6, 4096 Mb Openvz.

Only Real memory 1024 MB total, and Postfix Mail Server not start.

"The Postfix server does not appear to be installed on your system, or has not yet been set up properly in Webmin's Postfix Configuration module. If you are running a different mail server, select it on the module configuration page."

A week ago instaled virtualmin in this vps witth no problem.

can you help? Thks.

Wed, 05/22/2013 - 07:37
miner

Hi. What happens when you start the postfix server?

Wed, 05/22/2013 - 09:51 (Reply to #2)
carlos_mm

Error while checking current Postfix configuration. Please manually fix Postfix configuration.

postfix: fatal: parameter inet_interfaces: no local interface found for ::1

Wed, 05/22/2013 - 10:13
bunglehaze

What interfaces are configured in webmin > networking >network configuration > network interfaces?

That to me looks as though it is looking for a virtual interface - I may be wrong though

Wed, 05/22/2013 - 12:39 (Reply to #4)
miner

::1 is ipv6 localhost loopback

Wed, 05/22/2013 - 13:59 (Reply to #5)
carlos_mm
lo Loopback 127.0.0.1 255.0.0.0
Yes
venet0 OpenVZ 127.0.0.1 255.255.255.255 2a03:f80:ed15:ed15:ed15:ed15:2b9c:b12b
2a03:f80:ed15:ed15:ed15:ed15:c678:b27d
2a03:f80:ed15:ed15:ed15:ed15:fc27:6ed4
2a03:f80:ed15:ed15:ed15:ed15:945:2652
2a03:f80:ed15:ed15:ed15:ed15:9691:8ce5
2a03:f80:ed15:ed15:ed15:ed15:a0e8:43ac
2a03:f80:ed15:ed15:ed15:ed15:79c:bd71
2a03:f80:ed15:ed15:ed15:ed15:d1d5:e8d5
2a03:f80:ed15:ed15:ed15:ed15:d53f:9f04
2a03:f80:ed15:ed15:ed15:ed15:dade:d4cd Yes
  venet0:0 OpenVZ (Virtual) xx.xx.xx.xx 255.255.255.255
Wed, 05/22/2013 - 15:55 (Reply to #6)
miner

venet0:0 shows your public IP

Wed, 05/22/2013 - 11:06
andreychek

Howdy,

What output do you receive if you run the command "postconf -n"?

-Eric

Wed, 05/22/2013 - 14:01 (Reply to #8)
carlos_mm
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = localhost
inet_protocols = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
sample_directory = /usr/share/doc/postfix-2.6.6/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/virtual
Wed, 05/22/2013 - 15:10
andreychek

If you don't require ipv6 support, you could set the inet_protocols line you have to this:

inet_protocols = ipv4

And then restart Postfix:

/etc/init.d/postfix restart

Thu, 05/23/2013 - 04:06 (Reply to #10)
carlos_mm

Hi, work fine. Now all I need why I have only recognizes 1024 of real memory, when in vps have 4096.

Thanks all for your attention, greetings.

Thu, 05/23/2013 - 08:40
andreychek

Howdy,

What does the command "free -m" show?

-Eric

Thu, 05/23/2013 - 09:53 (Reply to #12)
carlos_mm
[root@vps ~]# free -m
             total       used       free     shared    buffers     cached
Mem:          4096        471       3624          0          0        137
-/+ buffers/cache:        334       3761
Swap:            0          0          0
Thu, 05/23/2013 - 11:14
andreychek

Okay, and where are you seeing it say 1024MB of memory?

-Eric

Thu, 05/23/2013 - 13:13 (Reply to #14)
carlos_mm

In the first page of panel virtualmin where is the features resume.

Mon, 05/27/2013 - 05:39
carlos_mm

Solved memory info with update "Fixes total and free memory display on OpenVZ systems".

-Carlos.

Topic locked