Solved

Cannot install Postfix

Posted on 2009-07-15
2
926 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
Comment Utility
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
Comment Utility
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

This short article will present "How to import ICS Calendar onto Office 365 Calendar". I was searching for free (or not free) tools to convert ICS to CSV without success. The only tools I found & working well were online tools...this was too hard to…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
In this video we show how to create an Address List 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 Organization >> Ad…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

762 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

7 Experts available now in Live!

Get 1:1 Help Now