Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

Dinosaurs aren't extinct. They've just learned to hide in the trees.


computers / Rocksolid Nodes Help / rslight how to start local nntp server?

SubjectAuthor
* rslight how to start local nntp server?Marco Moock
+- rslight how to start local nntp server?Retro Guy
`* rslight how to start local nntp server?SugarBug
 +- rslight how to start local nntp server?SugarBug
 `- rslight how to start local nntp server?Retro Guy

1
rslight how to start local nntp server?

<ulpip4$3gslt$2@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=717&group=rocksolid.nodes.help#717

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!i2pn.org!usenet.network!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: mm+usenet-es@dorfdsl.de (Marco Moock)
Newsgroups: rocksolid.nodes.help
Subject: rslight how to start local nntp server?
Date: Mon, 18 Dec 2023 14:51:32 +0100
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <ulpip4$3gslt$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 18 Dec 2023 13:51:32 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="215a73c4d13a1e7b4dbe146198690eb8";
logging-data="3699389"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19piF7nLVWpRnLEHa7k9zb4"
Cancel-Lock: sha1:KO9yqg6Vbk2wUG1kSHzjijJV2jk=
 by: Marco Moock - Mon, 18 Dec 2023 13:51 UTC

Hello!

I have now installed rslight in a test VM.
I have enabled the local server

It tries to contact the local NNTP server on localhost, but it doesn't
run, so it can't connect.

Is that local nntp server necessary or can it directly connect to a
normal NNTP (NNRP) server?

If it is needed, how is it started?

--
kind regards
Marco

Re: rslight how to start local nntp server?

<ca293cc2102c0b305133d342f5c928b9$1@news.novabbs.org>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=718&group=rocksolid.nodes.help#718

  copy link   Newsgroups: rocksolid.nodes.help
Date: Mon, 18 Dec 2023 14:23:51 +0000
Message-ID: <ca293cc2102c0b305133d342f5c928b9$1@news.novabbs.org>
Organization: Rocksolid Light
From: retroguy@novabbs.org (Retro Guy)
Subject: Re: rslight how to start local nntp server?
Newsgroups: rocksolid.nodes.help
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5
*A|XCDf?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7
|z[.9iv^g>*8_BH0=hZt'[%)4kG|
References: <ulpip4$3gslt$2@dont-email.me>
MIME-Version: 1.0
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
 by: Retro Guy - Mon, 18 Dec 2023 14:23 UTC

On Mon, 18 Dec 2023 14:51:32 +0100, Marco Moock wrote:

> Hello!
>
> I have now installed rslight in a test VM.
> I have enabled the local server
>
> It tries to contact the local NNTP server on localhost, but it doesn't
> run, so it can't connect.
>
> Is that local nntp server necessary or can it directly connect to a
> normal NNTP (NNRP) server?
>
> If it is needed, how is it started?

It is usually started with cron.

When you installed, there should have been a cron string displayed at the
end of install to add to cron for root.

For a test, you can try, as root, go to your web directory, maybe /var/
www/html, or whatever you set up. Go to <web directory>/spoolnews and try
to run cron.php.

So, if your config is in /etc/rslight, it would be (from <web dir>/
spoolnews):
php /etc/rslight/scripts/cron.php (as root). That "should" start the nntp
server, or hopefully display errors if not.

The nntp.php server must be started as root, but it will drop to your web
user once running.

Re: rslight how to start local nntp server?

<ulq2k6$erae$1@paganini.bofh.team>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=719&group=rocksolid.nodes.help#719

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!i2pn.org!paganini.bofh.team!tor-network!not-for-mail
From: 3883@sugar.bug (SugarBug)
Newsgroups: rocksolid.nodes.help
Subject: Re: rslight how to start local nntp server?
Date: Mon, 18 Dec 2023 12:23:12 -0600
Organization: To protect and to server
Message-ID: <ulq2k6$erae$1@paganini.bofh.team>
References: <ulpip4$3gslt$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 18 Dec 2023 18:21:59 -0000 (UTC)
Injection-Info: paganini.bofh.team; logging-data="486734"; posting-host="djagCmCGIsqoDVeGc1WBSw.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A";
Cancel-Lock: sha256:hhd4L3GxLMwOaVESWTx3o8OVMt7HB1JA5Bp83afvZDM=
X-TOR-Router: sha256:MmEwYjpmNGMyOjM6Ojgw --
X-Notice: Filtered by postfilter v. 0.9.3
 by: SugarBug - Mon, 18 Dec 2023 18:23 UTC

On Mon, 18 Dec 2023 14:51:32 +0100
Marco Moock <mm+usenet-es@dorfdsl.de> wrote:

> Hello!
>
> I have now installed rslight in a test VM.
> I have enabled the local server
>
> It tries to contact the local NNTP server on localhost, but it doesn't
> run, so it can't connect.
>
> Is that local nntp server necessary or can it directly connect to a
> normal NNTP (NNRP) server?
>
> If it is needed, how is it started?

This is a systemd script that replaces the crontab entry. It makes it
much easier to enable/disable the cron when testing the server or
troubleshooting connection issues.

In the file below replace the file paths with the paths unique to your
rslight setup. Do not touch or change anything else in the slightest.
Copy and paste the text between the dashed lines and save to a file
named 'rslight.service'. Only change these items:

1. $WEB_DIRECTORY : must be the web directory of your rslight install.
2. ExecStart: the second part after /bin/php/ must be the path to
cron.php. In this example the default /etc/rslight/scripts/cron.php is
provided.

After you double and triple check that your edited paths match your
rslight install, save 'rslight.service' then do these steps:

$ sudo cp rslight.service /etc/systemd/system/rslight.service

$ sudo chown root:root /etc/systemd/system/rslight.service

$ sudo systemctl daemon-reload

$ sudo sytemctl enable rslight.service

$ sudo systemclt start rslight.service

This will run the cron every ten minutes. It will automatically start
the daemon any time the server reboots.

You may then check the status of the rslight cron job:

$ systemctl status rslight.service

---------------------------------------------------
[Unit]
Description=RSLIGHT_CRON_JOB
After=network.target
StartLimitIntervalSec=0

[Service]
User=root
Type=simple
TimeoutSec=930
WorkingDirectory=/${WEB_DIRECTORY}/spoolnews
PIDFile=/var/run/rslight_cron_service.pid
ExecStart=/bin/php /etc/rslight/scripts/cron.php
KillMode=process
Restart=always
RestartSec=600s

[Install]
WantedBy=multi-user.target
---------------------------------------------------

Re: rslight how to start local nntp server?

<ulq8l6$f3m6$1@paganini.bofh.team>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=720&group=rocksolid.nodes.help#720

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!i2pn.org!paganini.bofh.team!tor-network!not-for-mail
From: 3883@sugar.bug (SugarBug)
Newsgroups: rocksolid.nodes.help
Subject: Re: rslight how to start local nntp server?
Date: Mon, 18 Dec 2023 14:06:09 -0600
Organization: To protect and to server
Message-ID: <ulq8l6$f3m6$1@paganini.bofh.team>
References: <ulpip4$3gslt$2@dont-email.me>
<ulq2k6$erae$1@paganini.bofh.team>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 18 Dec 2023 20:04:55 -0000 (UTC)
Injection-Info: paganini.bofh.team; logging-data="495302"; posting-host="VP3Waac8877EAd0L/jWCDA.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A";
Cancel-Lock: sha256:DO1Vr2dXKPJOZt0VdJ1/zgkemy13dcMw2o5P9MMFjLk=
X-TOR-Router: sha256:MTk0LjI2LjE5Mi42NA== --
X-Notice: Filtered by postfilter v. 0.9.3
 by: SugarBug - Mon, 18 Dec 2023 20:06 UTC

On Mon, 18 Dec 2023 12:23:12 -0600
SugarBug <3883@sugar.bug> wrote:

<snip>

> You may then check the status of the rslight cron job:
>
> $ systemctl status rslight.service

View the log of the rslight cron:

$ journalctl -u rslight.service

Any time you wish to stop the service:

$ systemctl stop rslight.service

Disable the service and prevent it from running:

$ systemctl disable rslight.service

Re-enable the service:

$ systemctl enable rslight.service

Restart the service:

$ systemctl restart rslight.service

Re: rslight how to start local nntp server?

<40a8a230f65bbbf9ae04b219e700bb8b@news.novabbs.org>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=726&group=rocksolid.nodes.help#726

  copy link   Newsgroups: rocksolid.nodes.help
Date: Mon, 18 Dec 2023 23:40:47 +0000
Subject: Re: rslight how to start local nntp server?
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on novalink.us
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
X-Rslight-Site: $2y$10$PEmUCZQDx614/HQGN/BNnOg8C.XsSgeZpQ1xeL5GQj1kdE4im0HIy
X-Rslight-Posting-User: 91053d4a47d51b416144568e5a1040f05e31ed1b
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
User-Agent: Rocksolid Light
References: <ulpip4$3gslt$2@dont-email.me> <ulq2k6$erae$1@paganini.bofh.team>
Organization: Rocksolid Light
Message-ID: <40a8a230f65bbbf9ae04b219e700bb8b@news.novabbs.org>
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
 by: Retro Guy - Mon, 18 Dec 2023 23:40 UTC

SugarBug wrote:

> On Mon, 18 Dec 2023 14:51:32 +0100
> Marco Moock <mm+usenet-es@dorfdsl.de> wrote:

>> Hello!
>>
>> I have now installed rslight in a test VM.
>> I have enabled the local server
>>
>> It tries to contact the local NNTP server on localhost, but it doesn't
>> run, so it can't connect.
>>
>> Is that local nntp server necessary or can it directly connect to a
>> normal NNTP (NNRP) server?
>>
>> If it is needed, how is it started?

> This is a systemd script that replaces the crontab entry. It makes it
> much easier to enable/disable the cron when testing the server or
> troubleshooting connection issues.

That's a nice option!

I'm going to give it a try later this week.

--
Retro Guy


computers / Rocksolid Nodes Help / rslight how to start local nntp server?

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor