[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [leafnode-list] Cannot obtain lock file, aborting.



Nicolas <oxstone@xxxxxxx> writes:

> Hello,
>
> Some days ago, I sent an email to this mailing-list about a problem I had with 
> the lock file. You advised me to update to a recent version. That's what I 
> did, and I now use this version: leafnode 1.9.27.
> When trying to fetch the news (/usr/local/sbin/fetchnews), I have the 
> following error message:
> Cannot obtain lock file, aborting.
>
> That happens with both users root and news.
> I tried to chmod -R 755 /usr/lock/news but that changed nothing.
>
> What should I do?

Look at the exact error message and show it to us. Make sure the "news"
group may write to the directory containing the lock
file. /var/lock/news/fetchnews.lck is the default, so

chown root:news /var/lock/news
chmod 775 /var/lock/news

should fix this for a leafnode default install.

-- 
Matthias Andree

http://sourceforge.net/projects/leafnode/   - leafnode-1 tarballs
http://mandree.home.pages.de/leafnode/beta/ - leafnode-2 tarballs

-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list