Thread View: news.software.nntp
6 messages
6 total messages
Started by Mason Sin-Fai Leung
Wed, 16 Jun 2004 21:21
Perl version requirement
Author: Mason Sin-Fai Leung
Date: Wed, 16 Jun 2004 21:21
Date: Wed, 16 Jun 2004 21:21
10 lines
1520 bytes
1520 bytes
Hi, I have gotten the PERL auth and group access to work on a test server running PERL 5.8. When I install INN over to a production server which has PERL 5.005_03 running, everytime I try to authenticate, the server drops my connection. If I don't use the authentication script, I can see all the created newgroup. Looked at the installation note and the min PERL requirement is 5.004 for PERL support. Has anyone tried to use INN 2.4.1 with PERL 5.005_03? Thanks, Mason
Re: Perl version requirement
Author: Jeffrey M. Vinocur
Date: Thu, 17 Jun 2004 00:55
Date: Thu, 17 Jun 2004 00:55
25 lines
2125 bytes
2125 bytes
In article <caqdle$dlu$1@woodrow.ucdavis.edu>, Mason Sin-Fai Leung <leungm@pc36.cs.ucdavis.edu> wrote: > >I have gotten the PERL auth and group access to work on a test >server running PERL 5.8. When I install INN over to a >production server which has PERL 5.005_03 running, everytime I >try to authenticate, the server drops my connection. If I don't >use the authentication script, I can see all the created >newgroup. Looked at the installation note and the min PERL >requirement is 5.004 for PERL support. Has anyone tried to use >INN 2.4.1 with PERL 5.005_03? I'm not sure if the minimum requirement is out of date; considering your Perl dates to 1999-Mar-28 I wonder if you might not be convinced to upgrade your system. However, several things to try. Is there anything logged in news.crit/news.err/news.notice or $pathlog/errlog at the time of your failed attempts? And if your INN is compiled with large file support, is your Perl also compiled with large file support? -- Jeffrey M. Vinocur jeff@litech.org
Re: Perl version requirement
Author: Mason Sin-Fai Leung
Date: Thu, 17 Jun 2004 16:11
Date: Thu, 17 Jun 2004 16:11
33 lines
2678 bytes
2678 bytes
Jeffrey M. Vinocur <jeff@litech.org> wrote: : In article <caqdle$dlu$1@woodrow.ucdavis.edu>, : Mason Sin-Fai Leung <leungm@pc36.cs.ucdavis.edu> wrote: :> :>I have gotten the PERL auth and group access to work on a test :>server running PERL 5.8. When I install INN over to a :>production server which has PERL 5.005_03 running, everytime I :>try to authenticate, the server drops my connection. If I don't :>use the authentication script, I can see all the created :>newgroup. Looked at the installation note and the min PERL :>requirement is 5.004 for PERL support. Has anyone tried to use :>INN 2.4.1 with PERL 5.005_03? : I'm not sure if the minimum requirement is out of date; : considering your Perl dates to 1999-Mar-28 I wonder if you might : not be convinced to upgrade your system. : However, several things to try. Is there anything logged in : news.crit/news.err/news.notice or $pathlog/errlog at the time of : your failed attempts? And if your INN is compiled with large : file support, is your Perl also compiled with large file support? The INN did not compile with large file support and I didn't see anything suspicious in the news.* log files. Under normal circumstance, I see the username and the groups they are allow to look in the log file when I authenticate. But now, I only see the computer name that connects to the server and the next line is PERL filtering enable. Any suggestion on what to try other than updating PERL? Thanks, Mason : -- : Jeffrey M. Vinocur : jeff@litech.org
Re: Perl version requirement
Author: Jeffrey M. Vinocur
Date: Fri, 18 Jun 2004 12:52
Date: Fri, 18 Jun 2004 12:52
14 lines
1588 bytes
1588 bytes
In article <casfrc$cgf$1@woodrow.ucdavis.edu>, Mason Sin-Fai Leung <leungm@pc36.cs.ucdavis.edu> wrote: > >But now, I only see the computer name that connects to the server and >the next line is PERL filtering enable. Any suggestion on what to try >other than updating PERL? Well, perhaps there's something wrong with your Perl script itself. I guess if you post it here we could take a look at it. -- Jeffrey M. Vinocur jeff@litech.org
Re: Perl version requirement
Author: Mason Sin-Fai Leung
Date: Fri, 18 Jun 2004 17:36
Date: Fri, 18 Jun 2004 17:36
19 lines
2419 bytes
2419 bytes
Jeffrey M. Vinocur <jeff@litech.org> wrote: : In article <casfrc$cgf$1@woodrow.ucdavis.edu>, : Mason Sin-Fai Leung <leungm@pc36.cs.ucdavis.edu> wrote: :> :>But now, I only see the computer name that connects to the server and :>the next line is PERL filtering enable. Any suggestion on what to try :>other than updating PERL? : Well, perhaps there's something wrong with your Perl script : itself. I guess if you post it here we could take a look at it. I tested both the perl scripts as standalone scripts. They both return the expected result. The problem I am seeing is if I don't use the perl_auth and perl_access in readers.conf, I can post and read msgs w/o any problem. But the minute I put perl_auth and perl_access in, the news reader will ask me for login and password, once I enter them, the nnrpd process disappear. It was there when INN prompt me for a password and username. Is there a way to see what is happening to nnrpd through some kind of debugger? Also, try to do a telnet to the INN server through port 119. I ke pt getting connection closed by foreign host after I put in my username and password. Any help is greatly appreciated!! Mason : -- : Jeffrey M. Vinocur : jeff@litech.org
Re: Perl version requirement
Author: Jeffrey M. Vinocur
Date: Sat, 19 Jun 2004 11:40
Date: Sat, 19 Jun 2004 11:40
28 lines
2275 bytes
2275 bytes
In article <cav96d$ifk$1@woodrow.ucdavis.edu>, Mason Sin-Fai Leung <leungm@pc36.cs.ucdavis.edu> wrote: > >I tested both the perl scripts as standalone scripts. They both return the >expected result. The problem I am seeing is if I don't use the >perl_auth and perl_access in readers.conf, I can post and read msgs w/o >any problem. But the minute I put perl_auth and perl_access in, the >news reader will ask me for login and password, once I enter them, the >nnrpd process disappear. It was there when INN prompt me for a password >and username. Is there a way to see what is happening to nnrpd through >some kind of debugger? This could just be your script exiting properly, although if there's really nothing in the log files it's possible it's crashing. You can get more output on nnrpd by enabling news.debug logging (in syslog, just copy the line for news.notice and change "notice" to "debug" and then HUP syslogd). This may or may not help you. You can also attach gdb to nnrpd, if you're comfortable with the standard unix debugging tools. -- Jeffrey M. Vinocur jeff@litech.org
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