Hi John,

news@news:/var/lib/news$ /usr/lib/news/bin/ovdb_init
ovdb_init: OVDB: can not open database unless ovdb_monitor is running

Upon investigating things further, I noticed that /etc/news/inn.conf listed pathrun as /run/news, which doesn't exist.

Wouldn't it help if the current log message mentioned the culprit filename?

    if(errno == ENOENT)
       warn("OVDB: can not open database unless ovdb_monitor is running");

=> warn("OVDB: can not open database unless ovdb_monitor is running; %s not found", lockfn);

where lockfn is set to concatpath(innconf->pathrun, OVDB_LOCKFN).

I've improved the log message. Hopefully investigation will be quicker for anybody facing the same issue in the future.


https://github.com/InterNetNews/inn/commit/1338f17e07b2dc1d67617d4f884aca476bdfff94

--
Julien ÉLIE

« Vous savez, les idées, elles sont dans l'air. Il suffit que quelqu'un
  vous en parle de trop près, pour que vous les attrapiez ! » (Raymond
  Devos)

Reply via email to