newsyslog: can’t notify daemon, pid 2090: No such process

I keep getting this message in my email, daily, at midnight UTC:

newsyslog: can't notify daemon, pid 2090: No such process

This is generated by this entry:

$ grep hp http /etc/newsyslog.conf
/var/log/httpd-*.log                    640  28    *    $D5   BG  /var/run/httpd.pid 30

This rolls over the log files for me.

The message has been the same every day: pid 2090.

However, there is no process with that ID:

$ ps auwx | grep 2090
$ 

And that’s not the PID it should be using:

$ cat /var/run/httpd.pid
2442

And that process is definitely running:

$ ps auwx | grep 2442
root     2442  0.0  1.2 29368 18428  ??  Ss    8Jul13   3:34.00 /usr/local/sbin/httpd -DNOHTTPACCEPT

So… the question is: where is the system getting 2090 from?

Website Pin Facebook Twitter Myspace Friendfeed Technorati del.icio.us Digg Google StumbleUpon Premium Responsive

1 thought on “newsyslog: can’t notify daemon, pid 2090: No such process”

  1. I think this issue has been resolved.

    I had a number of entries in /etc/newsyslog.conf which referenced other log files. I cleaned them up. The entries referred to files which no longer existed. The websites in question had been moved to other servers.

    Not sure what solved the issue, but that’s something to look into if you encounter the same thing.

Leave a Comment

Scroll to Top