Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12th August 2012, 10:55 PM
modal1's Avatar
modal1 Offline
Registered User
 
Join Date: Nov 2010
Location: Canada
Posts: 14
windows_98_nt_2000firefox
FC16 - spamassassin fails on boot, succeeds when restarted

Not having much luck finding a solution for this issue anywhere. Perhaps someone here can shed some light.

After rebooting:

/var/log/messages:
Code:
sendmail[1535]: WARNING: Xspamassassin: local socket name /var/run/spamass-milter/spamass-milter.sock missing
but the file exists:
Code:
srwxr-xr-x 1 sa-milt sa-milt 0 Aug 12 14:47 /var/run/spamass-milter/spamass-milter.sock
/var/log/maillog:
Code:
sendmail[1934]: q7CLPViK001934: Milter (spamassassin): local socket name /var/run/spamass-milter/spamass-milter.sock unsafe
sendmail[1934]: q7CLPViK001934: Milter (spamassassin): to error state
If I restart spamassassin and spamass-milter manually, everything works fine - no errors.


Thanks.
Reply With Quote
  #2  
Old 13th August 2012, 02:47 AM
William Haller Offline
Registered User
 
Join Date: Jul 2005
Age: 52
Posts: 1,013
linuxchrome
Re: FC16 - spamassassin fails on boot, succeeds when restarted

/var/run is a tmpfs. It is possible that it is not yet created when spamassassin tries to create the socket and exists by the time you do a restart. Thus the first run through of sendmail fails. You might also need to add a dependency of SA in the sendmail run tree so it for sure starts first.

The systemd modification to start which still doesn't appear to be complete has several ordering issues. This may be one of them.
Reply With Quote
  #3  
Old 15th August 2012, 01:40 AM
modal1's Avatar
modal1 Offline
Registered User
 
Join Date: Nov 2010
Location: Canada
Posts: 14
windows_xp_2003firefox
Re: FC16 - spamassassin fails on boot, succeeds when restarted

I think you've done it!

Adding
Code:
After = spamassassin.service spamass-milter.service
to /lib/systemd/system/sendmail.service

still generated the same errors in /var/log/messages after a reboot but spamassassin works without having to be restarted!

I am still seeing the following in the messages log:
Code:
systemd[1]: PID file /var/run/akmodsd.pid not readable (yet?) after start.
systemd[1]: Unit akmods.service entered failed state.
systemd[1]: PID file /run/nmbd.pid not readable (yet?) after start.
systemd[1]: PID file /run/smbd.pid not readable (yet?) after start.
systemd[1]: PID file /var/run/httpd/httpd.pid not readable (yet?) after start.
despite the fact that all these processes (except akmods) run without issue.

I can live with the extra log entries and the akmods failure I can deal with later.

Thank you!
Reply With Quote
Reply

Tags
boot, fails, fc16, restarted, spamassassin, succeeds, unsafe

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
NMB service fails on boot, needing to be restarted manually. zero-x Servers & Networking 3 30th March 2009 11:32 PM
Winbind not working after boot; needs to be restarted SunGloom Servers & Networking 0 30th October 2008 03:21 PM
SNMPd needs restarted on each boot rob2000007 Using Fedora 1 9th February 2007 06:19 AM


Current GMT-time: 07:17 (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