Postfix is having trouble with missing queue directories
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Postfix is having trouble with missing queue directories
I restart my machine, and postfix stops working, so I emerge a newer version 2.0.11
and it errors out when i try to start it saying..
[wonko:/etc/postfix]# postfix start
/etc/postfix/post-install: Error: Usage: /etc/postfix/post-install [name=value] command
create-missing Create missing queue directories.
upgrade-source When installing or upgrading from source code.
upgrade-package When installing or upgrading from pre-built package.
first-install-reminder Remind of mandatory first-time configuration steps.
name=value Specify an installation parameter.
postfix/postfix-script: warning: unable to create missing queue directories
postfix/postfix-script: fatal: Postfix integrity check failed!
so i try to run post-install
but post install stays my syntax is incorrect
that being...
./post-install config_directory=/etc/postfix \
queue_directory=/var/spool/postfix \
create-missing
so i give up and start digging around in the postfix-files file in the config dir and check out all the queue directories, and they all seem to be there and under the proper ownership, permissions and such. so where in postfix check is it crapping out, why, and what do i need to do to fix it?
IIRC what post-install is, is a tool to help you after you install with those various choices, so in your case, it looks like you wanna run:
/etc/postfix/post-install upgrade-package
And it should give you the skinny on what's going on. try the other options as well if you believe they pertain to you.
Alright, i tried /etc/postfix/post-install upgrade-package
and again, it's just returning syntax errors, so i'm thinking that something's shot in my version of postfix. Should I just upgrade to postfix 2.0.13 to see if post-install is fixed, or would it be a more localized problem, such as weird portage patches.
[wonko:/etc/postfix]# postfix start
/etc/postfix/post-install: Error: Usage: /etc/postfix/post-install [name=value] command
create-missing Create missing queue directories.
upgrade-source When installing or upgrading from source code.
upgrade-package When installing or upgrading from pre-built package.
first-install-reminder Remind of mandatory first-time configuration steps.
name=value Specify an installation parameter.
postfix/postfix-script: warning: unable to create missing queue directories
postfix/postfix-script: fatal: Postfix integrity check failed!
same error every time
I've come to the conclusion since i've compiled from source, and from ebuild
that the problem is something in my system, something post-install calls is fubar, i know theres some stuff really wrong on this system, i'd like to fix it, but i can't re install gentoo, that would take a month to do on this p2 440, unles i can find a way to get it to cross compile from gentoo cd on the computer in the other room, there's really no hope for a reformat and reinstall
this is the error i get during make install on the source
/bin/sh postfix-install
postfix-install: Error: Usage: postfix-install [name=value] [option]
-non-interactive Do not ask for installation parameters.
name=value Specify an installation parameter.
make: *** [install] Error 1
Last edited by Wonko the Sane; 08-29-2003 at 09:53 PM.
emerge bootstrap I believe is the command to get back to square one, if that's indeed what you want to do, however check the Gentoo forums or ask around here, I'm not completely sure as I've never done it (yet).
i'm not starting back on a bootstrap, i've only got 72 hours, this box would take about 400 hours to get back to where i am now, i don't have that much time, i must cross compile, and everything's going wrong today, my dad's sytem which i was gonna just drop a gentoo live cd into and set up to be my cross compiling bitch, is flaking out, won't accept any version of bootable nix, the rdram is registering at wrong mb values, so i need to replace them and hopefully it will load vmlinuz properly, the world is against me today you see, so i'm going to have to unlink /dev/world
When starting posdt fix, it does not start. Soo... I typed in "/etc/postfix/post-install command_directory=/some/where."
And this is what it gave me:
create-missing Create missing queue directories.
upgrade-source When installing or upgrading from source code.
upgrade-package When installing or upgrading from pre-built package.
first-install-reminder Remind of mandatory first-time configuration steps.
name=value Specify an installation parameter.
I have been searching the web for the answers... however can not find them....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.