Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Other Versions > EOL (End Of Life) Versions
FedoraForum Search

Forgot Password? Join Us!

EOL (End Of Life) Versions This is a Forum to discuss problems and workarounds for versions of Fedora that have passed End of Life.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 14th August 2006, 11:40 PM
kpearsonxyz's Avatar
kpearsonxyz Offline
Registered User
 
Join Date: Jul 2006
Location: Lehi, UTAH
Age: 58
Posts: 71
Exclamation Update from RH8 to FC4 sendmail failures

I get the following errors:
Shutting down sm-client: [FAILED]
Shutting down sendmail: [ OK ]
Starting sendmail: [ OK ]
Starting sm-client: [ OK ]

When restarting, sm-client always fails with /var/log/maillog entry that says:
sm-msp-queue[23066]: unable to write pid to /var/run/sm-client.pid: Permission denied

I've checked permissions and eveything looks fine but correct me if I'm wrong:
/var/run = drwxr-xr-x 21 root root 4096 Aug 14 16:05
/var/run/sm-client.pid = -rw-r--r-- 1 smmsp smmsp 0 Aug 14 16:05

Also, in maillog, there's this error every time an email is sent, or submitted via cgi:
sendmail[798]: NOQUEUE: SYSERR(apache): can not chdir(/var/spool/mqueue/): Permission denied

Permission in /var/spool:
drwxr-xr-x 20 root root 4096 Aug 11 06:49 .
drwxr-xr-x 30 root root 4096 Aug 11 07:15 ..
drwxrwx--- 2 smmsp smmsp 20480 Jul 20 04:21 clientmqueue
drwx------ 2 root apache 24576 Aug 14 16:22 mqueue

This is keeping this small-time server from accepting many emails.

Last edited by kpearsonxyz; 14th August 2006 at 11:58 PM. Reason: Not obvious enough, or whatever...
Reply With Quote
  #2  
Old 15th August 2006, 04:41 AM
kpearsonxyz's Avatar
kpearsonxyz Offline
Registered User
 
Join Date: Jul 2006
Location: Lehi, UTAH
Age: 58
Posts: 71
I solve the first error, badly, but soved, nonetheless. I added a line in /etc/rc.d/init.d/sendmail.

After /var/run/sm-client.pid is 'touched' I added:

chmod 666 /var/run/sm-client.pid

One down...
Reply With Quote
  #3  
Old 15th August 2006, 04:49 AM
wshawn Offline
Registered User
 
Join Date: Apr 2004
Location: Daytona Beach, FL
Age: 47
Posts: 423
The sendmail fail issue is a common one. The script has the order reversed for the shutdown. They should be in the same order as the start up....
__________________
Registered Linux user: 358599
Reply With Quote
  #4  
Old 17th August 2006, 08:32 PM
kpearsonxyz's Avatar
kpearsonxyz Offline
Registered User
 
Join Date: Jul 2006
Location: Lehi, UTAH
Age: 58
Posts: 71
Solved:

The permission issue went away after changing a dnl to no dnl in submit.mc:

dnl FEATURE(`msp', `[127.0.0.1]')dnl

should not have the first dnl on it...

That solved a myriad of permission issues in the OS.
Reply With Quote
Reply

Tags
failures, fc4, rh8, sendmail, update

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
Yum update dependency failures daryllee Installation and Live Media 2 1st November 2005 11:52 PM
sendmail startup delay and mail delivery failures pcharris Servers & Networking 4 1st September 2005 02:54 PM
strange dependency failures when running yum update c0ldshadow Using Fedora 5 26th July 2005 07:42 PM


Current GMT-time: 18:28 (Wednesday, 22-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