Postfix configuration error

7 posts / 0 new
Last post
#1 Sun, 12/27/2009 - 09:43
Anirban1987

Postfix configuration error

When I am tryinh to install Postfix mail server through Webmin I am encountering the error given in the screeshot attached. Please help !

Screenshot link : http://bit.ly/7q5aEb

Sun, 12/27/2009 - 11:58
andreychek

What mail server do you have installed at the moment? It's possible you could run into trouble if another mail server is active.

However, to see the error, you might want to log into the shell via SSH, and run this command:

/etc/init.d/postfix start

And see what error message you get. You also may want to look in the mail log, either /var/log/maillog, or /var/log/mail.log, to see what errors are being logged.

-Eric

Sun, 12/27/2009 - 12:26 (Reply to #2)
Anirban1987

I am currently running Postfix and no other mail server is installed on the system.

Here are the following pastebins for your reference :

  1. http://pastebin.com/m46ea0d88
  2. After each attempt to start postfix /var/log/mail.log is throwing up this error : http://pastebin.com/m4f970926
  3. But my server has enough of free memory : http://pastebin.com/m31257fd0
Sun, 12/27/2009 - 20:57
andreychek

Hrm, are you by chance running within a VPS such as OpenVZ? Some VPS's can be quite fickle about their allocation of memory to guest OS's.

While the amount of RAM you have isn't huge, it should be enough to launch Postfix... so the fact that you can't points to some sort of unusual issue such as memory allocation on a VPS :-)

-Eric

Sun, 12/27/2009 - 21:29 (Reply to #4)
Anirban1987

Yeah , I am on an OpenVZ VPS ! But the fact is I have run earlier Postfix on this VPS with my existing LAMP configuration. Recently I have formatted the VPS and since then facing the problem.

Mon, 12/28/2009 - 09:30 (Reply to #5)
andreychek

Well, unfortunately, you certainly aren't the first one to run into memory allocation issues while using OpenVZ... I wish I had a better answer for you -- the best I can offer is to talk to your provider, and say "Hey, I'm trying to run stuff when I have plenty of RAM, but I'm getting memory allocation issues", and to work with them to get it up and running.

That, or perhaps see if they offer different VPS flavors, such Xen-based systems which don't seem to run into those particular issues :-)

-Eric

Mon, 12/28/2009 - 10:04 (Reply to #6)
Anirban1987

Well , for the time being I escaped from the problem . I uninstalled Postfix and tried SendMail . And fortunately it worked :)

Topic locked