OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Unable to look up public/qmgr

From: Alex Teugels (ateugelsnet-watch.org)
Date: Tue Sep 30 2003 - 18:44:20 CDT


I'm sorry if this has been asked before but I can't find any
information on the web. Any help is appreciated (bit of a
newbie).

When I try to execute "postfix flush" at the command prompt
under root user it comes back with the following message:

------------------------------------------------------------
[rootserver postfix]# postfix flush
postqueue: warning: unable to look up public/qmgr: No such
file or directory
postqueue: fatal: Cannot flush mail queue - mail system is
down
------------------------------------------------------------

The directory (/var/spool/postfix/public) is empty and
copying qmgr from /usr/libexec/postfix results in:

------------------------------------------------------------
[rootP4-9018 public]# postfix flush
postqueue: warning: public/qmgr is not a socket or a fifo
postqueue: fatal: Cannot flush mail queue - mail system is
down
------------------------------------------------------------

This is PostFix 1.1.11 running on a default RedHat/x86 8.0
(Psyche) install (provided by UK2.net) - I have made minimal
configuration changes to /etc/postfix/main.cf.

/var/log/maillog:
------------------------------------------------------------
Sep 30 22:06:22 P4-9018 postfix/postqueue[2063]: warning:
  unable to look up public/qmgr: No such file or directory
Sep 30 22:06:22 P4-9018 postfix/postqueue[2063]: fatal:
  Cannot flush mail queue - mail system is down
------------------------------------------------------------

postconf -n:
------------------------------------------------------------
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain
mydomain = internet-report.com
myhostname = mail.internet-report.com
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-1.1.11/
  README_FILES
sample_directory = /usr/share/doc/postfix-1.1.11/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
------------------------------------------------------------

I saw a post on a mailing list that said this was a common
problem with RedHat 8, but there was no solution posted
before/during/after. I'm flummoxed!

Thanks in advance

Alex