LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-26-2006, 02:51 AM   #1
justkeny2k
Member
 
Registered: Oct 2005
Posts: 34

Rep: Reputation: 15
Update postfix mail server failed


I want update postfix from current version(2.3.3) to 2.3.5. The update process is normally and no error occur.

But, i saw error in maillog:
Quote:
Dec 21 22:00:50 localhost postfix/master[19676]: warning: process /usr/libexec/postfix/smtpd pid 20386 exit status 127
Dec 21 22:00:50 localhost postfix/master[19676]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
And telnet localhost 25:
Quote:
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Stopped here.
 
Old 01-17-2007, 07:14 AM   #2
justkeny2k
Member
 
Registered: Oct 2005
Posts: 34

Original Poster
Rep: Reputation: 15
Please can any one help me?
 
Old 01-17-2007, 12:05 PM   #3
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
The logs should describe the problem. It should be several lines below the "throttling" message. By the way, it might help to know how you upgraded: did you do it from source, did you use a package manager (if so, which distro are you using), etc.

/* Edit */ below, meaning, above.

Last edited by Berhanie; 01-18-2007 at 11:54 AM.
 
Old 01-18-2007, 08:20 PM   #4
justkeny2k
Member
 
Registered: Oct 2005
Posts: 34

Original Poster
Rep: Reputation: 15
I am using source code tar ball install. My mail server is running RedHat 9.0.
I completed installation of postfix and run it up. But in the maillog i see the error message and the postfix does not work on smtp port 25. It no response.
 
Old 01-18-2007, 08:36 PM   #5
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
So, your previous postfix installation (2.2.3) was from source, and you upgraded to 2.3.5 with "make upgrade". Is this correct?

What do you get for
Code:
egrep '(reject|warning|error|fatal|panic):' /path/to/maillog
 
Old 01-18-2007, 09:47 PM   #6
justkeny2k
Member
 
Registered: Oct 2005
Posts: 34

Original Poster
Rep: Reputation: 15
Yes, i use "make upgrade" and in maillog i get "warning" error.
Werther or not my db version is wrong? I use red hat 9 default db4.
 
Old 01-18-2007, 09:53 PM   #7
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Since you're compiling from source, you don't have to worry about db versions. Please type the following as root and post the output (replace /var/log/maillog with the correct path to your log file):
Code:
egrep '(warning|error|fatal|panic):' /var/log/maillog

Last edited by Berhanie; 01-18-2007 at 09:55 PM.
 
Old 01-19-2007, 08:34 AM   #8
justkeny2k
Member
 
Registered: Oct 2005
Posts: 34

Original Poster
Rep: Reputation: 15
Code:
Jan 19 22:30:24 localhost postfix/master[26829]: warning: process /usr/libexec/postfix/smtpd pid 26937 exit status 127
Jan 19 22:30:24 localhost postfix/master[26829]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Jan 19 22:31:24 localhost postfix/master[26829]: warning: process /usr/libexec/postfix/smtpd pid 26986 exit status 127
Jan 19 22:31:24 localhost postfix/master[26829]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Jan 19 22:32:24 localhost postfix/master[26829]: warning: process /usr/libexec/postfix/smtpd pid 27041 exit status 127
Jan 19 22:32:24 localhost postfix/master[26829]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
 
Old 01-19-2007, 10:04 PM   #9
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
That's disappointing. I was hoping for more information in the logs. If nothing is showing up, maybe turning on debugging for smtpd will show something. In master.cf, you can add a "-v" to smtpd; so change
Code:
smtp      inet  n       -       n       -       -       smtpd
to
Code:
smtp      inet  n       -       n       -       -       smtpd -v
Then check the logs again.

Another simple thing is to make sure permissions are correct:
Code:
postfix set-permissions
But, this is just shooting in the dark.

Back to your original db worries, googling around, I did find someone who had a case of a db version mismatch. The postfix documentation has this to say about it:
Quote:
Some Linux systems ship with multiple Berkeley DB implementations. Normally, Postfix builds with the default DB version that ships with the system.

Warning: some Linux system libraries use Berkeley DB. If you compile Postfix with a non-default Berkeley DB implementation, then every Postfix program will dump core because either the system library or Postfix itself ends up using the wrong version.
 
Old 02-04-2007, 04:13 AM   #10
justkeny2k
Member
 
Registered: Oct 2005
Posts: 34

Original Poster
Rep: Reputation: 15
I found the RPM version in internet suit for Red Hat 9 and install it and work fine. But the difference on RPM and tarball are what. Due to i wanted use tarball version.
 
  


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
problem receiving pop3 mail from postfix mail server GEN_Electric Linux - Software 2 02-14-2005 02:43 PM
Mail server postfix barrys Mandriva 1 09-29-2004 01:26 PM
Postfix - 554 Transaction failed (in reply to MAIL FROM command) FastFeet Linux - Networking 1 02-03-2004 10:55 PM
Postfix mail server not accepting incoming mail from the external interface rexmundi Linux - Networking 7 12-22-2003 03:41 PM
Postfix relaying mail to internal mail server tradecraft1 Linux - Networking 2 10-28-2003 03:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:37 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