Posts

Showing posts from 2011

なんかsshがよく切れる

なんかsshがよく切れるので、/etc/ssh/sshd_config に KeepAlive yes ClientAliveInterval 60 を追加 これでOKかな 参考 SSHトンネルが切れる - まつぼ x Web

Can't exec "sendmail" - logwatchで

centosです。sakuraのvpsで。 logwatch使おうとして下記のエラー。 $ sudo /usr/sbin/logwatch Can't exec "sendmail": No such file or directory at /usr/sbin/logwatch line 1010, line 2. まず、sendmailは、/usr/sbinにあります。 で、 /etc/logwatch/conf/logwatch.conf に下記の記述を使いでOKでした。 mailer = "/usr/sbin/sendmail -t"