🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
38 messages
38 total messages Started by Jochen Gensch Mon, 26 Jan 2004 19:37
[INN 2.41] Copying ~/news to another server
#67771
Author: Jochen Gensch
Date: Mon, 26 Jan 2004 19:37
19 lines
1648 bytes
Hi!

I just tried to move an inn server to another machine by copying it with
cpdup, which keeps all flags and permission intact. But when I start inn I
get the follwing messages:

innconfval: hostname does not resolve or domain not set in inn.conf
INND:   No active file!

However I also copied the etc files of the working server. So this cannot be
true, there is an active file and the hostname is set. Could anyone please
explain this to me?

Kind regards, Jochen




Re: [INN 2.41] Copying ~/news to another server
#67770
Author: Jeffrey M. Vinocur
Date: Mon, 26 Jan 2004 19:42
14 lines
1469 bytes
In article <bv3q9m$1kk8$1@redenix.uni-muenster.de>,
Jochen Gensch <mail@nomail.com> wrote:
>
>However I also copied the etc files of the working server. So this cannot be
>true, there is an active file and the hostname is set. Could anyone please
>explain this to me?

Did you compile INN on the new machine with different ./configure
options?


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: [INN 2.41] Copying ~/news to another server
#67773
Author: Jochen Gensch
Date: Mon, 26 Jan 2004 19:50
13 lines
1723 bytes
Jeffrey M. Vinocur wrote:

> Did you compile INN on the new machine with different ./configure
> options?

Actually no. But I have figured out that that inncheck tells me that there
is no /active file and none of the ~/etc files. Very amusing :-)
I checked the compile options, but cannot find a mistake. I will recompile
it and tell you what happened.

Regards, Jochen

Re: [INN 2.41] Copying ~/news to another server
#67772
Author: Jochen Gensch
Date: Mon, 26 Jan 2004 20:15
17 lines
1664 bytes
If I recompile inn, it stops and says:

find: /usr/local/news/etc/: No such file or directory
Creating empty history database...
makedbz: open of /usr/local/etc/inn/inn.conf failed: No such file or
directory
*** Error code 1

I compiled it with the option --with-etc-dir=/usr/local/etc/inn where I do
find the conf files. What the hell....?

Jochen




Re: [INN 2.41] Copying ~/news to another server
#67774
Author: johnny bravo
Date: Mon, 26 Jan 2004 20:29
21 lines
1797 bytes
On Mon, 26 Jan 2004 21:15:21 +0100, "Jochen Gensch" <mail@nomail.com> wrote:

>If I recompile inn, it stops and says:
>
>find: /usr/local/news/etc/: No such file or directory
>Creating empty history database...
>makedbz: open of /usr/local/etc/inn/inn.conf failed: No such file or
>directory
>*** Error code 1
>
>I compiled it with the option --with-etc-dir=/usr/local/etc/inn where I do
>find the conf files. What the hell....?
>
>Jochen
>
>
>
>
Maby the same mistake as I have made.
I forget after configure "make"
hth
Re: [INN 2.41] Copying ~/news to another server
#67775
Author: Jochen Gensch
Date: Mon, 26 Jan 2004 20:33
13 lines
1575 bytes
johnny bravo wrote:
^^^^^^^^^^

Cool name :-)

> Maby the same mistake as I have made.
> I forget after configure "make"

No, I'm using FreeBSD. This is automated here.

Regards, Jochen

Re: [INN 2.41] Copying ~/news to another server
#67776
Author: Russ Allbery
Date: Mon, 26 Jan 2004 20:55
16 lines
1706 bytes
Jochen Gensch <mail@nomail.com> writes:

> If I recompile inn, it stops and says:

> find: /usr/local/news/etc/: No such file or directory
> Creating empty history database...
> makedbz: open of /usr/local/etc/inn/inn.conf failed: No such file or
> directory

So... is there anything in /usr/local/news/etc?  :)

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: [INN 2.41] Copying ~/news to another server
#67777
Author: Jochen Gensch
Date: Mon, 26 Jan 2004 21:08
9 lines
1491 bytes
Russ Allbery wrote:

> So... is there anything in /usr/local/news/etc?  :)

No, why should anything be there? I told it to use /usr/local/etc/inn :-)

Jochen

Re: [INN 2.41] Copying ~/news to another server
#67778
Author: Jochen Gensch
Date: Mon, 26 Jan 2004 21:25
8 lines
1531 bytes
Jochen Gensch wrote:

But actually it's correct. In my specified etc folder there are config
files, but all with the ending ".dist", so a inn.conf cannot be found.

Jochen

Re: [INN 2.41] Copying ~/news to another server
#67780
Author: Jochen Gensch
Date: Mon, 26 Jan 2004 22:09
6 lines
1493 bytes
I recompiled it without the "--with-etc-dir" option and that works fine.
Is that a bug?

Jochen

Re: [INN 2.41] Copying ~/news to another server
#67779
Author: Jochen Gensch
Date: Mon, 26 Jan 2004 22:10
7 lines
1525 bytes
Here the conf files do have the corret naming, not with a ".dist" at the
end.


Jochen

Re: [INN 2.41] Copying ~/news to another server
#67781
Author: Russ Allbery
Date: Mon, 26 Jan 2004 22:19
22 lines
2203 bytes
Jochen Gensch <mail@nomail.com> writes:
> Russ Allbery wrote:

>> So... is there anything in /usr/local/news/etc?  :)

> No, why should anything be there? I told it to use /usr/local/etc/inn :-)

Something very strange happened with your compilation.  I have no idea why
you're having those troubles; I'd have to see what INN put into paths.h
and into Makefile.global.  I'm inclined to suspect that there was
something very wrong with your compilation options or with the version of
INN that you were using.

The .dist thing in particular is not a naming pattern that INN as
distributed is capable of generating, so something really strange is going
on with your INN installation.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: [INN 2.41] Copying ~/news to another server
#67782
Author: Jochen Gensch
Date: Mon, 26 Jan 2004 22:32
12 lines
1891 bytes
On Mon, 26 Jan 2004 14:19:27 -0800
Russ Allbery <rra@stanford.edu> wrote:


> The .dist thing in particular is not a naming pattern that INN as
> distributed is capable of generating, so something really strange is
> going on with your INN installation.

Maybe this is special to FreeBSD Systems? I'm trying to compile in on
two other FreeBSD machines... will back in a few minutes.

Jochen
Re: [INN 2.41] Copying ~/news to another server
#67784
Author: Russ Allbery
Date: Mon, 26 Jan 2004 22:46
22 lines
2309 bytes
Jochen Gensch <incmc@flashmail.com> writes:
> Russ Allbery <rra@stanford.edu> wrote:

>> The .dist thing in particular is not a naming pattern that INN as
>> distributed is capable of generating, so something really strange is
>> going on with your INN installation.

> Maybe this is special to FreeBSD Systems? I'm trying to compile in on
> two other FreeBSD machines... will back in a few minutes.

It may be something that FreeBSD does, yeah, if you're using a version
with FreeBSD patches.

The way to tell if --with-etc-dir was picked up properly is to look in
include/paths.h and make sure that _PATH_CONFIG is set properly to what
you expect.  If it's not, then --with-etc-dir didn't work for some reason.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: [INN 2.41] Copying ~/news to another server
#67786
Author: Jochen Gensch
Date: Mon, 26 Jan 2004 23:09
29 lines
2344 bytes
On Mon, 26 Jan 2004 14:46:24 -0800
Russ Allbery <rra@stanford.edu> wrote:


> >> The .dist thing in particular is not a naming pattern that INN as
> >> distributed is capable of generating, so something really strange
> >is> going on with your INN installation.

How can I check that?

> It may be something that FreeBSD does, yeah, if you're using a version
> with FreeBSD patches.

Yes, patches are applied.

 
> The way to tell if --with-etc-dir was picked up properly is to look in
> include/paths.h and make sure that _PATH_CONFIG is set properly to
> what you expect.  If it's not, then --with-etc-dir didn't work for
> some reason.


There is one line in the paths.h:

#define _PATH_CONFIG   "/usr/local/etc/inn/inn.conf"



Jochen
Re: [INN 2.41] Copying ~/news to another server
#67787
Author: Jochen Gensch
Date: Mon, 26 Jan 2004 23:11
12 lines
1917 bytes
On Mon, 26 Jan 2004 23:32:07 +0100
Jochen Gensch <incmc@flashmail.com> wrote:

> Maybe this is special to FreeBSD Systems? I'm trying to compile in on
> two other FreeBSD machines... will back in a few minutes.

Same problem on two other machines. If I change the etc dir, it doesn't
find the conf files...

BTW: Does Inn create a news user at install time?

Jochen
Re: [INN 2.41] Copying ~/news to another server
#67788
Author: Russ Allbery
Date: Mon, 26 Jan 2004 23:21
25 lines
2445 bytes
Jochen Gensch <incmc@flashmail.com> writes:
> Russ Allbery <rra@stanford.edu> wrote:

>> The way to tell if --with-etc-dir was picked up properly is to look in
>> include/paths.h and make sure that _PATH_CONFIG is set properly to what
>> you expect.  If it's not, then --with-etc-dir didn't work for some
>> reason.

> There is one line in the paths.h:

> #define _PATH_CONFIG   "/usr/local/etc/inn/inn.conf"

That's where all INN binaries will look for the configuration file, so
that looks right.  The problem was that INN when installed didn't put any
configuration files in that directory, right?  The variable to check for
that is the setting of PATHETC in Makefile.global at the top of the INN
source tree.

What did you do to install INN?  make install?

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: [INN 2.41] Copying ~/news to another server
#67789
Author: Russ Allbery
Date: Mon, 26 Jan 2004 23:22
13 lines
1933 bytes
Jochen Gensch <incmc@flashmail.com> writes:

> BTW: Does Inn create a news user at install time?

Not in and of itself, no.  The system administrator has to do that if the
appropriate user doesn't already exist, since creation of a new user isn't
portable (and isn't always what someone would want).

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: [INN 2.41] Copying ~/news to another server
#67793
Author: Jochen Gensch
Date: Tue, 27 Jan 2004 00:00
35 lines
2826 bytes
On Mon, 26 Jan 2004 15:21:26 -0800
Russ Allbery <rra@stanford.edu> wrote:

> The problem was that INN when installed didn't put
> any configuration files in that directory, right?

No. As I said, it puts the config files there, but with the ending
".dist". If I don't use the "--with-etc-dir" option the files are
installed in two version under news/etc. One appears in the correct
version, for instance "inn.conf", the other one appears with the ending
".dist" again. However you do it, if you provide the "--with-etc-dir"
option, then the install process misses to remove the ".dist" ending.

Damn :-(

If I copy some previously created conf file into the special etc dir
(these without the .dist ending) it installs fine (however it still
complains about the missing news/etc dir)


> The variable to
> check for that is the setting of PATHETC in Makefile.global at the top
> of the INN source tree.

SU /:grep PATHETC /usr/ports/news/inn/work/inn-2.4.1/Makefile.global
PATHETC         = /usr/local/etc/inn

Looks fine.

> What did you do to install INN?  make install?

In a nutshell: yes
Is that important?

Jochen
Re: [INN 2.41] Copying ~/news to another server
#67791
Author: Russ Allbery
Date: Tue, 27 Jan 2004 00:05
31 lines
2859 bytes
Jochen Gensch <incmc@flashmail.com> writes:

> No. As I said, it puts the config files there, but with the ending
> ".dist". If I don't use the "--with-etc-dir" option the files are
> installed in two version under news/etc. One appears in the correct
> version, for instance "inn.conf", the other one appears with the ending
> ".dist" again. However you do it, if you provide the "--with-etc-dir"
> option, then the install process misses to remove the ".dist" ending.

> Damn :-(

Okay, I'm fairly certain at this point that this is something that was
introduced by the FreeBSD patches, since INN itself doesn't do anything
with a .dist extension.  In order to fix this, I think you're going to
have to take this up with the FreeBSD people or download a copy of INN
2.4.1 as released and install it the old-fashioned way.

>> What did you do to install INN?  make install?

> In a nutshell: yes
> Is that important?

Wanted to make sure that you weren't running make update instead, since it
intentionally doesn't install configuration files (since it's intended to
update an existing installation).

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: [INN 2.41] Copying ~/news to another server
#67792
Author: Jochen Gensch
Date: Tue, 27 Jan 2004 00:15
17 lines
2337 bytes
On Mon, 26 Jan 2004 16:05:09 -0800
Russ Allbery <rra@stanford.edu> wrote:

> Okay, I'm fairly certain at this point that this is something that was
> introduced by the FreeBSD patches, since INN itself doesn't do
> anything with a .dist extension.  In order to fix this, I think you're
> going to have to take this up with the FreeBSD people or download a
> copy of INN 2.4.1 as released and install it the old-fashioned way.

OK, I agree. I will contact the FreeBSD people. As far as I can remeber
this didn't show up in Inn 2.4, but the FreeBSD internal Makefile
changed recently...

I'll post it here...


Thanks, Jochen
Re: [INN 2.41] Copying ~/news to another server
#67790
Author: Russ Allbery
Date: Tue, 27 Jan 2004 00:22
15 lines
2133 bytes
Jochen Gensch <incmc@flashmail.com> writes:

> OK, I agree. I will contact the FreeBSD people. As far as I can remeber
> this didn't show up in Inn 2.4, but the FreeBSD internal Makefile
> changed recently...

> I'll post it here...

Thanks!  I'll be curious to hear what the problem was.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: [INN 2.41] Copying ~/news to another server
#67794
Author: Clément Laforêt
Date: Tue, 27 Jan 2004 02:38
25 lines
2715 bytes
On Mon, 26 Jan 2004 16:22:40 -0800, Russ Allbery wrote:
Hi !

> Jochen Gensch <incmc@flashmail.com> writes:
> 
>> OK, I agree. I will contact the FreeBSD people. As far as I can remeber
>> this didn't show up in Inn 2.4, but the FreeBSD internal Makefile
>> changed recently...

These changes appears with inn-2.4.0_1
see: http://www.freshports.org/news/inn/

>> I'll post it here...
> 
> Thanks!  I'll be curious to hear what the problem was.

The problem is fairly simple:
When you change something in a port Makefile, you have chances to break it.
In this case, post-install script failed.
To prevent config files removal, inn installation process is patched to
install config files with .dist suffix. And if [ ! -e ${FILENAME} ], the
script copies ${FILENAME}.dist to ${FILENAME}. My script is not designed
to handle "non supported" changes in Makefile, like changing sysconfdir.

clem
Re: [INN 2.41] Copying ~/news to another server
#67795
Author: Russ Allbery
Date: Tue, 27 Jan 2004 04:59
16 lines
2505 bytes
Clément Laforêt <sheepkiller@nerim.net> writes:

> To prevent config files removal, inn installation process is patched to
> install config files with .dist suffix. And if [ ! -e ${FILENAME} ], the
> script copies ${FILENAME}.dist to ${FILENAME}. My script is not designed
> to handle "non supported" changes in Makefile, like changing sysconfdir.

You should be able to write that rule using $(PATHETC) and have it do what
you want, I think.  And that should isolate you against future changes to
INN while still picking up user configuration.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: [INN 2.41] Copying ~/news to another server
#67796
Author: Jochen Gensch
Date: Tue, 27 Jan 2004 10:05
15 lines
2432 bytes
Clément Laforêt <sheepkiller@nerim.net> writes:

>> To prevent config files removal, inn installation process is patched
>> to install config files with .dist suffix. And if [ ! -e ${FILENAME}
>> ], the script copies ${FILENAME}.dist to ${FILENAME}. My script is
>> not designed to handle "non supported" changes in Makefile, like
>> changing sysconfdir.

I agree with Russ, this should be changed. Otherwise you prevent FreeBSD
users from using this compile option (even if only a few seem to use it,
like me :-) ).

Thanks in advance, Jochen

Re: [INN 2.41] Copying ~/news to another server
#67820
Author: Jochen Gensch
Date: Thu, 29 Jan 2004 10:12
23 lines
1689 bytes
Jeffrey M. Vinocur wrote:

> Did you compile INN on the new machine with different ./configure
> options?

Now I'm trying to compile it without changing the etc dir.
When it starts it says:

shell-init: could not get current directory: getcwd: cannot access parent
directories: No such file or directory
innconfval: open of /usr/local/etc/inn/inn.conf failed: No such file or
directory
INND:   No active file!


But the dir /usr/local/etc/inn was the old etc dir. Does this cause all
this? I mean, can't I copy ~/news to another server which has been compiled
with a different etc dir?

Jochen?


Re: [INN 2.41] Copying ~/news to another server
#67822
Author: Jochen Gensch
Date: Thu, 29 Jan 2004 10:15
22 lines
1701 bytes
Jeffrey M. Vinocur wrote:

> Did you compile INN on the new machine with different ./configure
> options?

Now I'm trying to compile it without changing the etc dir.
When it starts it says:

shell-init: could not get current directory: getcwd: cannot access parent
directories: No such file or directory
innconfval: open of /usr/local/etc/inn/inn.conf failed: No such file or
directory
INND:   No active file!


But the dir /usr/local/etc/inn was the old etc dir. Does this cause all
this? I mean, can't I copy ~/news to another server which has been compiled
with a different etc dir?

Jochen

Re: [INN 2.41] Copying ~/news to another server
#67823
Author: Jeffrey M. Vinocur
Date: Thu, 29 Jan 2004 10:29
17 lines
1641 bytes
In article <bvamg6$qjh1o$1@ID-223401.news.uni-berlin.de>,
Jochen Gensch <incmc@gmx.de> wrote:
>
>But the dir /usr/local/etc/inn was the old etc dir. Does this cause all
>this? I mean, can't I copy ~/news to another server which has been compiled
>with a different etc dir?

Did you copy the "bin" directory as well?  That would cause all
sorts of problems.

Also, be sure you've updated "pathetc" and related settings in
your inn.conf.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: [INN 2.41] Copying ~/news to another server
#67826
Author: Jochen Gensch
Date: Thu, 29 Jan 2004 10:39
16 lines
1531 bytes
Jeffrey M. Vinocur wrote:

> Did you copy the "bin" directory as well?  That would cause all
> sorts of problems.

Yes, the whole news folder. So subfolders do I have to copy?
db and...

> Also, be sure you've updated "pathetc" and related settings in
> your inn.conf.

I will check that

Jochen

Re: [INN 2.41] Copying ~/news to another server
#67824
Author: Jeffrey M. Vinocur
Date: Thu, 29 Jan 2004 11:17
22 lines
1850 bytes
In article <bvans5$q18kf$1@ID-223401.news.uni-berlin.de>,
Jochen Gensch <incmc@gmx.de> wrote:
>Jeffrey M. Vinocur wrote:
>
>> Did you copy the "bin" directory as well?  That would cause all
>> sorts of problems.
>
>Yes, the whole news folder. So subfolders do I have to copy?
>db and...

If you copy the bin directory, then you've overwritten all the
files produced by the fresh compile.

The thing to do now is run `make update` in your source
directory; it will install the new binaries but leave the
configuration files alone.  Then edit inn.conf and make sure all
of the paths are correct.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: [INN 2.41] Copying ~/news to another server
#67846
Author: Jochen Gensch
Date: Sat, 31 Jan 2004 23:17
6 lines
1305 bytes
So which folder do I hve to copy from one server to the other?
Anything except the bin folder?

Jochen

Re: [INN 2.41] Copying ~/news to another server
#67847
Author: Jeffrey M. Vinocur
Date: Sun, 01 Feb 2004 06:41
18 lines
1828 bytes
In article <bvhd2c$rvl5k$1@ID-223401.news.uni-berlin.de>,
Jochen Gensch <incmc@gmx.de> wrote:
>So which folder do I hve to copy from one server to the other?
>Anything except the bin folder?

Well, that depends how you've configured your server, but yes,
everything-but-bin is a good start.

However, it's a *much* better idea to copy everything, and then
run `make update` to install the new version.

If you do it with `make update`, the installation process will
automatically perform any necessary changes to bring your
configuration files up to the new version.

-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: [INN 2.41] Copying ~/news to another server
#67851
Author: Dr.Ruud
Date: Sun, 01 Feb 2004 12:56
24 lines
2189 bytes
Toen ik Jeffrey M. Vinocur kietelde, kwam er dit uit:
> Jochen Gensch:
>> Jeffrey M. Vinocur wrote:

>>> Did you copy the "bin" directory as well?  That would cause all
>>> sorts of problems.

>> Yes, the whole news folder. So subfolders do I have to copy?
>> db and...

> If you copy the bin directory, then you've overwritten all the
> files produced by the fresh compile.
>
> The thing to do now is run `make update` in your source
> directory; it will install the new binaries but leave the
> configuration files alone.  Then edit inn.conf and make
> sure all of the paths are correct.

Is 'make update' strong enough, against a cp without -p?

-- 
Affijn, Ruud

Re: [INN 2.41] Copying ~/news to another server
#67852
Author: Jeffrey M. Vinocur
Date: Sun, 01 Feb 2004 15:28
14 lines
1556 bytes
In article <bvj0mv.m0.1@news.isolution.nl>,
Dr.Ruud <(rvtol+news(AT)hacktic.nl) Administrator@[127.0.0.1]> wrote:
>
>Is 'make update' strong enough, against a cp without -p?

Interesting question.

It should be, if you built INN after the cp.  (If not, just do
`make clean; make` in the source directory before `make update`.)


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: [INN 2.41] Copying ~/news to another server
#67853
Author: Russ Allbery
Date: Sun, 01 Feb 2004 20:03
19 lines
1984 bytes
Jeffrey M Vinocur <jeff@litech.org> writes:
> Dr.Ruud <(rvtol+news(AT)hacktic.nl) Administrator@[127.0.0.1]> wrote:

>> Is 'make update' strong enough, against a cp without -p?

> Interesting question.

> It should be, if you built INN after the cp.  (If not, just do
> `make clean; make` in the source directory before `make update`.)

This issue will be fixed in the next release of INN (in fact, I'll
probably generate another release as soon as I get a chance to fix this
issue).

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: [INN 2.41] Copying ~/news to another server
#68284
Author: Jochen Gensch
Date: Mon, 23 Feb 2004 16:07
20 lines
1820 bytes
Jeffrey M. Vinocur wrote:
> In article <bvhd2c$rvl5k$1@ID-223401.news.uni-berlin.de>,
> Jochen Gensch <incmc@gmx.de> wrote:
>> So which folder do I hve to copy from one server to the other?
>> Anything except the bin folder?
>
> Well, that depends how you've configured your server, but yes,
> everything-but-bin is a good start.

That doesn't work. inncheck always says ther are no file in etc and I really
don't understand why!

> However, it's a *much* better idea to copy everything, and then
> run `make update` to install the new version.

Ok, I'm gonna try this.

Jochen

Re: [INN 2.41] Copying ~/news to another server
#68289
Author: Jeffrey M. Vinocur
Date: Mon, 23 Feb 2004 19:05
15 lines
1665 bytes
In article <c1d8g2$1d5r3s$1@ID-223401.news.uni-berlin.de>,
Jochen Gensch <incmc@gmx.de> wrote:
>
>That doesn't work. inncheck always says ther are no file in etc and I really
>don't understand why!

Probably you didn't run ./configure with an appropriate path
option?  The default $pathetc is /usr/local/news/etc, I think,
and if you want it anywhere else you have to specify at compile
time.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: [INN 2.41] Copying ~/news to another server
#68291
Author: Jochen Gensch
Date: Mon, 23 Feb 2004 19:53
16 lines
1794 bytes
Jeffrey M. Vinocur wrote:

> Probably you didn't run ./configure with an appropriate path
> option?  The default $pathetc is /usr/local/news/etc, I think,
> and if you want it anywhere else you have to specify at compile
> time.

On the first Server I compile it with /usr/local/etc/inn on the second one I
compile it without any special option, and the default etc files were
exactly at that place you mentioned. So I copied anything from Server one to
number two except the bin directory. Then changed the etc path in inn.conf.
That's all. However inncheck still thinks there are no files. Huh?

Jochen

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