LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 08-29-2003, 03:36 PM   #1
Wonko the Sane
LQ Newbie
 
Registered: Nov 2002
Location: Raleigh, NC
Distribution: Gentoo
Posts: 20

Rep: Reputation: 0
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?

-Rob
 
Old 08-29-2003, 03:44 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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.

Cool
 
Old 08-29-2003, 06:13 PM   #3
Wonko the Sane
LQ Newbie
 
Registered: Nov 2002
Location: Raleigh, NC
Distribution: Gentoo
Posts: 20

Original Poster
Rep: Reputation: 0
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.
 
Old 08-29-2003, 07:10 PM   #4
Wonko the Sane
LQ Newbie
 
Registered: Nov 2002
Location: Raleigh, NC
Distribution: Gentoo
Posts: 20

Original Poster
Rep: Reputation: 0
moving /etc/postfix and /var/spool/postfix and upgrading to 2.0.13 had no effect and it still errors out with post-install
 
Old 08-29-2003, 08:32 PM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Can you post up the actual error?

Cool
 
Old 08-29-2003, 09:48 PM   #6
Wonko the Sane
LQ Newbie
 
Registered: Nov 2002
Location: Raleigh, NC
Distribution: Gentoo
Posts: 20

Original Poster
Rep: Reputation: 0
[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.
 
Old 08-29-2003, 11:34 PM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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).

Cool
 
Old 08-29-2003, 11:56 PM   #8
Wonko the Sane
LQ Newbie
 
Registered: Nov 2002
Location: Raleigh, NC
Distribution: Gentoo
Posts: 20

Original Poster
Rep: Reputation: 0
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
 
Old 08-04-2008, 10:14 AM   #9
subaruboi
LQ Newbie
 
Registered: Aug 2008
Distribution: CentOS 5.2
Posts: 1

Rep: Reputation: 0
Same type of error...

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....

Thank you!
 
Old 08-04-2008, 05:48 PM   #10
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
Please, start a new thread. This one was 5 years old, and the details of this old thread are not relevant to your own. Let this one die.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing wlan and driver directories and ath_hal.o file geeksatlarge Linux - Wireless Networking 3 07-22-2005 03:56 PM
trouble deleting files / directories neocontrol Linux - Software 1 07-16-2005 04:09 PM
qmail-inject: trouble creating files in queue ashfaq Linux - Software 1 06-23-2004 07:53 AM
home directories missing after upgrade to 2.4.26 eger Linux - Software 2 05-03-2004 06:11 PM
Missing directories /usr oh my! echoking Slackware 3 09-09-2003 03:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration