Solved

Cannot install Postfix

Posted on 2009-07-15
2
982 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
  • 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
In this video we show how to create a User Mailbox 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 Recipients >> Mailb…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

830 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