0

サーバーをCentos4.9からCentos6.2にアップグレードしました

次の行が私の/etc/ httpd / logs / error_logに記録されています(タイムスタンプはありませんが、少なくとも数秒ごとに記録されます):

sendmail: Not running with correct effective GID.  Is sendmail binary setgid mailtrap?

それが何であるか、またはログに記録するためにこのエラーを停止する方法はありますか?


私が考えることができたのは次のことだけでした...そして長い間、私は同じエラーを受け取ります:

root@vps1 [/]# whereis sendmail
sendmail: /usr/sbin/sendmail /usr/lib/sendmail
root@vps1 [/]# /usr/lib/sendmail stop
sendmail: Not running with correct effective GID.  Is sendmail binary setgid mailtrap?
sendmail: Not running with correct effective GID.  Is sendmail binary setgid mailtrap?
root@vps1 [/]# /usr/lib/sendmail restart
sendmail: Not running with correct effective GID.  Is sendmail binary setgid mailtrap?
sendmail: Not running with correct effective GID.  Is sendmail binary setgid mailtrap?
4

2 に答える 2

0

この問題は、sendmailを再構築するだけで解決されました

ホストサポートからも次のように送信されました(他の誰かがこの同じエラーを検索するのに役立つ可能性があります)

-bash-4.1# hostname
vps1.myhostname.com
-bash-4.1# sendmail
Exim is a Mail Transfer Agent. It is normally called by Mail User Agents,
not directly from a shell command line. Options and/or arguments control
what it does when called. For a list of options, see the Exim documentation.
-bash-4.1# 
于 2012-04-07T23:13:28.733 に答える
0

これは私のためにそれを修正しました:

chown root:mailtrap /usr/sbin/sendmail
chmod 2755 /usr/sbin/sendmail
于 2012-11-27T22:28:55.293 に答える