Solved

Cannot install Postfix

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Microsoft has released various new features which are capable of handling various tasks. One of these tasks is ‘Migration from pop3 to Exchange Server’. Pop3 data stores various data along mailboxes like contacts, tasks, etc. So, it becomes the need…
Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
In this video we show how to create an email address policy 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 Mail Flow…
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

930 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now