Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 7th December 2011, 06:07 PM
pnelsonsr's Avatar
pnelsonsr Online
Registered User
 
Join Date: Jan 2007
Location: WA
Posts: 133
windows_7ie
Upgraded f15 to f16 Postfix doesn't start

Upgraded from F15 to F16.

On reboot Postfix is not starting up. I checked with chkconfig postfix --list and its listed as:

postfix 0:off 1:off 2:on 3:on 4:on 5:on 6:off

but when the systems starts it doesn't. I looked at the systemd stuff with:

ls /etc/systemd/system/*.wants/postfix.service

and its not listed. So I tried systemctl enable postfix.service and got:

postfix.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig postfix on
Warning: unit files do not carry install information. No operation executed.

I tried setting up a posfix.service with:

<--snip-->
[Unit]
Description=Postfix Mail Server
After=syslog.target
After=network.target

[Service]
Type=forking
ExecStart=/usr/sbin/postfix -c /etc/postfix start
ExecStop=/usr/sbin/postfix -c /etc/postfix stop
ExecReload=/usr/sbin/postfix -c /etc/postfix reload

[Install]
WantedBy=multi-user.target
<--snip-->

and then enabling it with:

systemctl enable postfix.service
-and-
chkconfig postfix on

and while this works with chkconfig and systemctl commands, it still does not load up at boot. I have checked the mail log and the last entry after a reboot is:

Nov 27 09:46:44 <srv name removed> postfix/postfix-script[1235]: starting the Postfix mail system

so it seems it is stopping there and I cannot find out why. When I run service postfix start or systemctl start postfix.service then it starts with that starting log entry and is followed by a:

Nov 27 10:02:40 <srv name removed> postfix/master[2508]: daemon started -- version 2.8.7, configuration /etc/postfix

After a reboot I run systemctl list-units which should list postfix (in any state) but doesn't and chkconfig --list doesn't list it either. But once I run systemctl start postfix it then shows up in systemctl list-units list.

Kind of clueless as to where else to look.. Any ideas? Maybe moving it further down to the end of the boot process?
Reply With Quote
  #2  
Old 7th December 2011, 10:22 PM
AdamW's Avatar
AdamW Offline
Fedora QA Community Monkey
 
Join Date: Dec 2008
Location: Vancouver, BC
Posts: 3,765
linuxfirefox
Re: Upgraded f15 to f16 Postfix doesn't start

yeah, it does seem like the service is firing but postfix isn't successfully starting.

i'd probably start by removing your hand-made systemd service, it's likely only to confuse things. stick with the legacy service and focus on figuring out why postfix isn't starting successfully. see if the process is still there after boot completes, and see if you can connect to it with strace or gdb and figure out what it's stuck on, maybe. or see if you can make it start up with more verbose logging parameters, and see if that gives a better clue about how it gets stuck.
__________________
Adam Williamson | awilliam AT redhat DOT com
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
http://www.happyassassin.net
Reply With Quote
  #3  
Old 8th December 2011, 02:51 AM
pnelsonsr's Avatar
pnelsonsr Online
Registered User
 
Join Date: Jan 2007
Location: WA
Posts: 133
windows_7ie
Re: Upgraded f15 to f16 Postfix doesn't start

I now did go back to dropping out of the postfix.service systemd thing and back to the system V thing. Same thing happens though. I'll poke around a bit with your suggestions.
Reply With Quote
  #4  
Old 8th December 2011, 03:33 AM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,612
linuxfirefox
Re: Upgraded f15 to f16 Postfix doesn't start

possibly this is that bash bug that happened on F16??

Since sysvinit is basically bash scripts, it is possible that the bash bug bit you, but not sure if it's what is causing your problems or not.

AdamW up there posted it someplace, but the fix is to reinstall bash.

(This is just a shot in the dark, but you really need to do the re-install of bash if you haven't already anyway)

yum reinstall bash

Edit: add link to AdamW's post:

http://forums.fedoraforum.org/showthread.php?t=272671

Last edited by DBelton; 8th December 2011 at 03:43 AM.
Reply With Quote
  #5  
Old 8th December 2011, 05:01 PM
pnelsonsr's Avatar
pnelsonsr Online
Registered User
 
Join Date: Jan 2007
Location: WA
Posts: 133
windows_7ie
Re: Upgraded f15 to f16 Postfix doesn't start

Well I check the /etc/shells file and sure enough it was missing bash and sh entries. So I ran the yum reinstall bash and rebooted. Drat postfix still didn't start on its own.
Reply With Quote
  #6  
Old 13th December 2011, 05:22 PM
pnelsonsr's Avatar
pnelsonsr Online
Registered User
 
Join Date: Jan 2007
Location: WA
Posts: 133
windows_7ie
Re: Upgraded f15 to f16 Postfix doesn't start

After upgrading with the new kernel package (kernel-PAE-3.1.5-1.fc16.i686) postfix started on bootup. So I'll close this for now.
Reply With Quote
Reply

Tags
f15, f16, postfix, start, upgraded

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgraded kernel, upgraded nVidia driver via livna = Wine problems plutus Using Fedora 12 16th June 2008 11:21 PM
postfix doesn't start carlainz Servers & Networking 6 4th July 2006 04:26 PM
how to start postfix ? strongzzj Servers & Networking 3 30th April 2005 02:20 AM
Upgraded kernel2.6.8 via Up2date wont start jimcando77 Using Fedora 9 29th August 2004 09:05 PM
X won't start running an upgraded 2.6 kernel Psyk[o] Fedora Core 2 Test Releases 3 3rd April 2004 09:49 PM


Current GMT-time: 16:12 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat