🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.misc
Article #15

Re: How do I move my news spool directory inn 1.5

#15
From: John R. Campbell
Date: Fri, 20 Dec 1996 00:00
56 lines
2652 bytes
On Wed, 18 Dec 1996 15:30:03 +0000, Mike Phillips <Mike.Phillips@Cambridge.SIMOCO.com> wrote:
>Using inn 1.5 on Solaris 2.5 SPARC
>
>I searched the FAQ but could not find how to :
>
>Move my /var/news/spool directory onto a different disk.
>
>I tried :
>
>cd /var/news/spool
>tar -cf - . | (cd /disk2/news-spool ; tar -xf -)
>mv /var/news/spool /var/news/spool-moved
>ln -s /disk2/news-spool /var/news/spool
>stop and restart innd.

	Did you do this *as* root or as the news owner?

	Additionally, if you did this as root, what was your umask
	set to?  You normally need to set "umask 000" to guarantee
	no confusion (a lot depends on the TAR utility you're using).

	You may've been better off using find+cpio to do this move.

>After this I was unable to post any more news so I moved
>the spool directory back into place and spent a day searching
>the FAQs.

	If incoming news working properly?  If so, it's not a permissions
	issue.

	Also, it is likely that your outbound directories got smoked
	since empty directories have not (historically) been tarrable.
	There is a "togo" (not correct name, just a hint) directory tree
	with a subdirectory for each system you forward to;  ensure that
	these exist w/ reasonable permissions.

	I thought that the tar would've skipped over any empty directories
	but I was wrong.  I just ran a test using the Sun's tar on Solaris
	2.3 and it (properly?) inserted the directories into the tree.

	I'd double-check permissions and ensure that innd isn't allergic
	to symbolic links (I seem to remember some comment about that
	but my total recall seems to have been totalled...).

	Good Luck!

-- 
 John R. Campbell, Speaker to Machines, Resident Heckler          soup@jtan.com
  "As a SysAdmin, yes, I CAN read your e-mail, but I DON'T get that bored!"-me
   Disclaimer:	I'm just a consultant at the bottom of the food chain, so,
		if you're thinking I speak for anyone but myself, you must
		have more lawyers than sense.


Technical Details
Message-ID: <slrn45blhtd.3n8.campbejr@phu989.um.us.sbphrd.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.misc.mbox.zip!not-for-mail
References: <32B80DFB.431B@Cambridge.SIMOCO.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn45blhtd.3n8.campbejr@phu989.um.us.sbphrd.com>
Subject: Re: How do I move my news spool directory inn 1.5
Date: Fri, 20 Dec 1996 00:00:00 +0000
From: campbejr@phu989.mms.sbphrd.com (John R. Campbell)
References: <32B80DFB.431B@Cambridge.SIMOCO.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.misc.mbox.zip!not-for-mail
X-Deja-AN: 205135491
Organization: SmithKline Beecham Pharmaceuticals Research & Development
Reply-to: soup@jtan.com
Newsgroups: news.software.nntp,news.software.misc