LSTSRV-L Archives

LISTSERV Site Administrators' Forum

LSTSRV-L

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
"Burnett, James R." <[log in to unmask]>
Wed, 4 Oct 2000 11:46:53 -0500
text/plain (76 lines)
Thanks for the response--unfortunately, it's on an NT4 server.  Can't do a
symlink.  Any other ideas, anyone?

I wanted to just do a search & replace of the notebook= string in the *.list
files, but This did not work.  Here's what I tried:
1) deleted all of the lists first (after making backups, of course)
2) stopped & started & stopped the listserv
3) did a global replace of the notebook keyword on copies of the backups
4) started the listserv

I thought this would "fool" the listserv into thinking that these were brand
new lists & accept them.  As far as I can tell, the new *.list files are not
corrupted in any way.  Nor are there any CR's or LF's in them--I verified
this in hex.


I thought this should work because the manual says :
"A less-desirable method of creating lists is to copy the list header file
into LISTSERV's main directory and restart LISTSERV. LISTSERV will log a
message to the effect that the list is not formatted properly and will then
reformat the list. This assumes that the list header has been constructed
properly and that there are no errors in the file that will cause LISTSERV
to crash or to reject the list file. This method is useful only for creating
lists; never attempt to edit a production list file in place and restart the
server. The GET and PUT operations are the only supported methods for
editing list files. Particularly under unix and Windows, LISTSERV will not
always accept the edited list file because some editors will insert control
characters or CR-LF combinations that LISTSERV cannot parse. "

I got several errors like this one:
4 Oct 2000 11:10:13 Building list indexes...
4 Oct 2000 11:10:14 >>> Error X'00280073' opening file
C:\LISTSERV\MAIN\SPECTRUM.LIST <<<
4 Oct 2000 11:10:14  -> Severity: Error
4 Oct 2000 11:10:14  -> Facility: LFxxx routines
4 Oct 2000 11:10:14  -> Abstract: Internal file structure corrupted
4 Oct 2000 11:10:14  -> I/O mode: Record read


-----Original Message-----
From: [log in to unmask] [mailto:[log in to unmask]]
Sent: Wednesday, October 04, 2000 11:27 AM
To: Burnett, James R.
Cc: LISTSERV give-and-take forum
Subject: Re: Notebook keyword--Moving archives to a different location.


On Wed, 04 Oct 2000 10:17:21 CDT, "Burnett, James R." <[log in to unmask]>
said:
> I'm trying to move the location of my archives to a different disk.  How
do
> I change the notebook keyword in all of my lists at once?  I do not want
to
> do a get & put on every single list!  What is the easiest way to do this?
> I have searched through the manuals, archives, etc & not come up with
> anything.

At least on Unix, the preferred answer is to just move them to the new
place, and then build a symlink to redirect the filenames.  So for
instance, if you had the files in a directory
/home/listserv/notebooks/foobar/
you could do the following:

1) create a new filesystem /notebooks
2) Move /home/listserv/notebooks/* to /notebooks using 'tar' or whatever.
3) rename/remove/whatever /home/listserv/notebooks
4) ln -s /notebooks /home/listserv/notebooks

and everything should work.

Can't help you for the other platforms, sorry...
--
                                Valdis Kletnieks
                                Operating Systems Analyst
                                Virginia Tech

ATOM RSS1 RSS2