Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Cannot install Postfix

Posted on 2009-07-15
2
Medium Priority
?
1,080 Views
Last Modified: 2013-11-15
After installing postfix via apt-get install postfix  I get the below error.  I have attempted, apt-get install upgrade, apt-get install -f upgrade, apt-get install upgrade --configure-missing,  and have even attempted installing postfix from the source code aka the debian package, and using dpkg to install.  All fail.  I have removed postfix altogether, including removing the entire directory.  I would just configure a new server from scratch but I have a web developer that  has done ridiculous amounts of work on the server inquestion already.

Help, suggestions, ideas, this is critical
Running newaliases
 * Stopping Postfix Mail Transport Agent postfix                                                    [ OK ]
 * Starting Postfix Mail Transport Agent postfix                                                           /bin/sh: Can't open /etc/postfix/post-install
postfix/postfix-script: warning: unable to create missing queue directories
postfix/postfix-script: fatal: Postfix integrity check failed!
                                                                                                    [fail]
invoke-rc.d: initscript postfix, action "restart" failed.
dpkg: error processing postfix (--configure):
 subprocess post-installation script returned error exit status 1
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 postfix
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
 
 
root@domU-12-31-38-00-28-64:~# /etc/init.d/postfix reload
 * Reloading Postfix configuration...                                                                                                                                                                                   postfix/postfix-script: fatal: the Postfix mail system is not running

Open in new window

0
Comment
Question by:Illyankesh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 

Author Comment

by:Illyankesh
ID: 24864718
dpkg: error processing postfix (--install):
 subprocess post-installation script returned error exit status 255
Processing triggers for ufw ...
Processing triggers for man-db ...
postfix: fatal: /etc/postfix/postfix-script: No such file or directory
                                                                                                    [fail]
invoke-rc.d: initscript postfix, action "restart" failed.
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 postfix
0
 

Accepted Solution

by:
Illyankesh earned 0 total points
ID: 24865463
Ended up having to scp my entire /etc/postfix directory over to the server with the failed install.
then chmod the postfix-scripts file 777, and make the appropriate changes to the /etc/postfix/main.cf file
then reloaded, and away we went.
0

Featured Post

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Easy CSR creation in Exchange 2007,2010 and 2013
Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…
Suggested Courses

704 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question