Thread View: news.software.nntp
5 messages
5 total messages
Started by Alexander Sanda
Tue, 12 Mar 1996 00:00
expire problem
Author: Alexander Sanda
Date: Tue, 12 Mar 1996 00:00
Date: Tue, 12 Mar 1996 00:00
23 lines
1234 bytes
1234 bytes
I'am running INN1.4unoff4 under linux 1.3.72. Most of my configuration files are in /etc/news, the remaining are in /var/lib/news (history, active etc.). Running news.daily produces a error message in /var/log/news/expire.log saying: Warning: can't remove history.n permission denied Warning: Can't open history.n in w mode permission denied. The file and directory permissions are o.k. running makehistory produces history.n.dir and history.n.pag, but no history.n. So what's going wrong here ? BTW: There is enough freespace on the filesystem. -- A. Sanda Vienna, Austria email: alex@darkstar.ping.at powered by Linux ------------------------------------------------------------------
Re: expire problem
Author: Alexander Sanda
Date: Tue, 12 Mar 1996 00:00
Date: Tue, 12 Mar 1996 00:00
24 lines
1355 bytes
1355 bytes
In article <slrn4kbd5u.95l.hwr@pilhuhn.de> Heiko W.Rupp (hwr@pilhuhn.de) wrote: > :|Warning: can't remove history.n permission denied > :|Warning: Can't open history.n in w mode permission denied. > > :|The file and directory permissions are o.k. running makehistory produces > :|history.n.dir and history.n.pag, but no history.n. > > How about permissions for the directory? What are the owners of the files? > Run inncheck .. All files are owned by news (as mentioned in the config.data). /var/lib/news is also owned by news and has rw permissions. Inncheck doesn't find any problems. -- A. Sanda Vienna, Austria email: alex@darkstar.ping.at powered by Linux ------------------------------------------------------------------
Re: expire problem
Author: Alexander Sanda
Date: Tue, 12 Mar 1996 00:00
Date: Tue, 12 Mar 1996 00:00
35 lines
1874 bytes
1874 bytes
In article <slrn4kbd5u.95l.hwr@pilhuhn.de> Heiko W.Rupp (hwr@pilhuhn.de) wrote: > > > :|Warning: can't remove history.n permission denied > > :|Warning: Can't open history.n in w mode permission denied. > > > > :|The file and directory permissions are o.k. running makehistory produces > > :|history.n.dir and history.n.pag, but no history.n. > > > > How about permissions for the directory? What are the owners of the files? > > Run inncheck .. > > All files are owned by news (as mentioned in the config.data). /var/lib/news > is also owned by news and has rw permissions. > > Inncheck doesn't find any problems. Well, it seems that I have found something: Running news.daily expdir=/usr/lib/news solves the new-history problem. I don't know why, but it might be possible that the /var filesystem is low on space. Normally, I have between 10 and 30 MB free on /var, but perhaps this is not enough. (I get only a small feed from my ISP; about 20 groups ~1000 articles a day; normally, the history is about 0.5 MB). Any way to configure this somewhere ? regards -- A. Sanda Vienna, Austria email: alex@darkstar.ping.at powered by Linux ------------------------------------------------------------------
Re: expire problem
Author: bshelton
Date: Fri, 15 Mar 1996 00:00
Date: Fri, 15 Mar 1996 00:00
21 lines
1390 bytes
1390 bytes
In <4i4qo9$233@darkstar.ping.at>, alex@darkstar.ping.at (Alexander Sanda) writes: >In article <slrn4kbd5u.95l.hwr@pilhuhn.de> >Heiko W.Rupp (hwr@pilhuhn.de) wrote: >> >> > :|Warning: can't remove history.n permission denied >> > :|Warning: Can't open history.n in w mode permission denied. >> > >> > :|The file and directory permissions are o.k. running makehistory produces >> > :|history.n.dir and history.n.pag, but no history.n. >> > >> > How about permissions for the directory? What are the owners of the files? >> > Run inncheck .. >> >> All files are owned by news (as mentioned in the config.data). /var/lib/news >> is also owned by news and has rw permissions. Are you running the script as a news crontab, or root?
Re: expire problem
Author: Alexander Sanda
Date: Sat, 16 Mar 1996 00:00
Date: Sat, 16 Mar 1996 00:00
30 lines
1788 bytes
1788 bytes
In article <4iam14$r16@news.ole.net> bshelton@ole.net wrote: > >> > :|The file and directory permissions are o.k. running makehistory produces > >> > :|history.n.dir and history.n.pag, but no history.n. > >> > > >> > How about permissions for the directory? What are the owners of the files? > >> > Run inncheck .. > >> > >> All files are owned by news (as mentioned in the config.data). /var/lib/news > >> is also owned by news and has rw permissions. > > Are you running the script as a news crontab, or root? The news.daily is run from the news crontab. Meanwhile, I was already able to solve the problem. It seems that, there is not enough diskspace on my /var drive. Now I'am running "news.daily expdir=/some/other/dir" and this works for me. Seems a little bit strange to me, because my history has an average size of about 500 K (only small feed), usually there are about 10-20 MB free on /var. regards -- A. Sanda Vienna, Austria email: alex@darkstar.ping.at powered by Linux ------------------------------------------------------------------
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads