FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Problem setting up newsgroups.
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Problem setting up newsgroups. [message #161756] Wed, 03 February 2010 05:59 Go to next message
newbie.john is currently offline  newbie.john
Messages: 45
Registered: January 2010
Karma: 0
Member

I have php CLI installed. It is at..

/usr/lib/php

I got my web hoster to setup my cron job to get newsgroup posts. Unfortunately however I get constant errors eg.

Subject: Cron <user@server> php /home/user/fudforum/scripts/nntp.php

Auto-Submitted: auto-generated
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/home/user>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=user>
X-Cron-Env: <USER=user>

X-Powered-By: PHP/5.2.11
Content-type: text/html

Missing Forum ID Parameter.

How can this be fixed please ? This is from the bottom of my FUD newsgroup page..

Newsgroup Rule Forum Exec Line Action
newsgroup name Forum name nntp.php 1 [Edit] [Delete] [Clear Tracker]


***Notes***
The Exec Line in the table above shows the execution line that you will need to place in your system's job scheduler. It is recommended you run the script on a small interval, we recommend a 2-3 minute interval. Here is a Linux cron example:

*/2 * * * * /home/user/fudforum/scripts/nntp.php 1

Regards, John.


Re: Problem setting up newsgroups. [message #161760 is a reply to message #161756] Wed, 03 February 2010 06:17 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
newbie.john wrote:
Missing Forum ID Parameter.


Remember to add the parameter (number representing the rule; probably '1' for the first rule).
Re: Problem setting up newsgroups. [message #161762 is a reply to message #161760] Wed, 03 February 2010 06:51 Go to previous messageGo to next message
newbie.john is currently offline  newbie.john
Messages: 45
Registered: January 2010
Karma: 0
Member
naudefj wrote on Wed, 03 February 2010 01:17
newbie.john wrote:
Missing Forum ID Parameter.


Remember to add the parameter (number representing the rule; probably '1' for the first rule).


Okay, thanks. I sent him that info. Now the previous errors don't occur but I keep getting error emails saying...

"Unable to establish connection to news.gmane.org on port 119 failed With Error #110 : Connection timed out"

Yet I don't get that going directly to the newsgroup with a newsreader.

Here is some of my error log in case it helps to find the problem.

[Wed Feb 03 17:36:32 2010] [error] [client 119.etc] File does not exist: /home/user/public_html/404.shtml
[Wed Feb 03 17:36:32 2010] [error] [client 119.etc.] File does not exist: /home/user/public_html/robots.txt
[Wed Feb 03 17:19:16 2010] [error] [client 114.etc] File does not exist: /home/user/public_html/404.shtml
[Wed Feb 03 17:19:03 2010] [error] [client 114.etc] File does not exist: /home/user/public_html/404.shtml
[Wed Feb 03 17:11:33 2010] [error] [client 114.etc] File does not exist: /home/user/public_html/404.shtml
[Wed Feb 03 17:11:30 2010] [error] [client 114.etc] File does not exist: /home/user/public_html/404.shtml
[Wed Feb 03 15:39:04 2010] [error] [client 202.etc] File does not exist: /home/user/public_html/404.shtml
[Wed Feb 03 15:38:52 2010] [error] [client 202.etc] File does not exist: /home/user/public_html/404.shtml
[Wed Feb 03 15:38:52 2010] [error] [client 202.etc] File does not exist: /home/user/public_html/favicon.ico
[Wed Feb 03 15:38:52 2010] [error] [client 202.etc] File does not exist: /home/user/public_html/404.shtml

This looks like the error I was getting previously. But in what extra directories do I put the php.ini file(s) now ?

Regards, John.

Re: Problem setting up newsgroups. [message #161769 is a reply to message #161762] Wed, 03 February 2010 16:22 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Try to increase the time-out value.

If it doesn't help, do a trace route to see what blocks it (ask your provider to help you).
Re: Problem setting up newsgroups. [message #161770 is a reply to message #161769] Thu, 04 February 2010 02:09 Go to previous messageGo to next message
newbie.john is currently offline  newbie.john
Messages: 45
Registered: January 2010
Karma: 0
Member
naudefj wrote on Wed, 03 February 2010 11:22
Try to increase the time-out value.


Okay, now at 120 secs. Doesn't seem to have helped yet.


naudefj wrote on Wed, 03 February 2010 11:22

If it doesn't help, do a trace route to see what blocks it (ask your provider to help you).


Here is my trace route..

02/04/10 12:06:30 Fast traceroute news.gmane.org
Trace news.gmane.org (80.91.229.13) ...
1 192.168.1.1 0ms 0ms 0ms TTL: 0 (No rDNS)
2 10.70.0.1 8ms 7ms 10ms TTL: 0 (No rDNS)
3 198.142.192.177 15ms 8ms 7ms TTL: 0 (meb3-ge6.gw.optusnet.com.au ok)
4 211.29.155.12 22ms 21ms 22ms TTL: 0 (sbr3-ge5-0-0-811.gw.optusnet.com.au ok)
5 203.208.191.61 188ms 186ms 188ms TTL: 0 (No rDNS)
6 208.50.13.185 183ms 185ms 184ms TTL: 0 (No rDNS)
7 64.211.83.14 362ms 361ms 362ms TTL: 0 (VENTELO-NORGE-AS-Oslo.TenGigabitEthernet8-3.ar1.OSL2.gblx.net fraudulent rDNS)
8 193.75.9.22 370ms 367ms 365ms TTL: 0 (banetele-peering.xa19.no.catchbone.net fraudulent rDNS)
9 195.204.25.29 363ms 365ms 363ms TTL: 0 (No rDNS)
10 194.19.89.50 385ms 383ms 385ms TTL: 0 (netfonds-gw.banetele.net fraudulent rDNS)
11 80.91.224.2 368ms 369ms 369ms TTL: 0 (orion-r11.netfonds.no ok)
12 80.91.224.19 366ms 366ms 367ms TTL: 0 (thaleia1.netfonds.no ok)
13 80.91.229.13 366ms 366ms 368ms TTL: 45 (ger.gmane.org ok)

Does any of that help ?

I have asked my web hoster to do a trace route too.

Regards, John.

Re: Problem setting up newsgroups. [message #161777 is a reply to message #161770] Thu, 04 February 2010 18:09 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Good, let us know when they get back to you.
Re: Problem setting up newsgroups. [message #161780 is a reply to message #161777] Thu, 04 February 2010 21:39 Go to previous message
newbie.john is currently offline  newbie.john
Messages: 45
Registered: January 2010
Karma: 0
Member
naudefj wrote on Thu, 04 February 2010 13:09
Good, let us know when they get back to you.


They got back to me and said...

"Port 119 has been opened for you."

Shortly after that I was able to get newsgroup posts going to my forum. But not the other way. I have no idea whether I need to tell them to do anything else.

Regards, John.

  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Is there a way to add HTML codes to forum names?
Next Topic: Synch of newsgroup posts with web forum ?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Dec 01 04:05:43 GMT 2024

Total time taken to generate the page: 0.03239 seconds