vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Usenet gateway (https://vborg.vbsupport.ru/showthread.php?t=7100)

webhost 06-26-2001 12:41 AM

got any idea what would be doing this?

Script was running fine but it ran again from cron and it ran complete but it showed errors stating something about duplicate entries. Any idea?

Joey

Thanks Again Guys

Wouldn't have been able to do it without you guys.

webhost 06-26-2001 01:03 AM

crawler something like this for 20 minute cron job?

0,20,40 * * * * /home/realwebhost.net/newnews.pl > /home/realwebhost.net/cron_usenet.log

fastforward 06-26-2001 01:06 AM

Quote:

Originally posted by webhost
got any idea what would be doing this?

Script was running fine but it ran again from cron and it ran complete but it showed errors stating something about duplicate entries. Any idea?

Joey

Thanks Again Guys

Wouldn't have been able to do it without you guys.

Is it the word table? There were a few posts recently about this. Have a look back through the last 6 pages or so. This table seems to get corrupted very easily with or without the usenet hack. It seems to happen on shared servers which may indicate a problem with the number and frequency of inserts and selects. However, the problem doesn't seem to happen much with the searchindex table which probably receives even more queries.

Your best bet is to empty it out and re-index. If it continues to happen then you will have no choice but to disable indexing for the usenet posts.

NgtCrwlr 06-26-2001 01:42 AM

Quote:

Originally posted by webhost
got any idea what would be doing this?
Common Joey, how the heck are we supposed to know what *this* is? You need to include what the error is if you expect someone to help.
Quote:

Script was running fine but it ran again from cron and it ran complete but it showed errors stating something about duplicate entries. Any idea?
Same as above... until we know exactly what the error is how can you expect an accurate answer.
Quote:

Thanks Again Guys

Wouldn't have been able to do it without you guys.
This may sound a bit sarcastic but sometimes the truth bites... You most likely would have got it running by yourself if you were being charged $150/hr. Every question you have asked you could have figured out by your self... really :)

You ask if this will work... try it and if it doesn't work figure out why not. With the examples I posted earlier you should easily get this working.
0,20,40 * * * * /home/realwebhost.net/newnews.pl > /home/realwebhost.net/cron_usenet.log

If you pretend to yourself that you will have to pay for an answer, you will write a much better question (details). Not as good as if you really had to pay but better nonetheless.

I'm more than willing to help anyone that tries to help themselves. Although, I do have my limits. ;)

No hard feelings, I hope.

webhost 06-26-2001 01:49 AM

Understand No hard feelings. I will run it for a few wweks and then come back if I have any problems area's and then ask, but will try to figure out first.

Thanks Again

Joey

mood 06-26-2001 08:09 AM

Hi All, Hi FF!

New to the Usenet Gateway and loving it BUT:

When picking up msgs from my news server, the Perl script shows it retrieving fine though the posts only show up in VB if I change the counter -1 msg or whatever.

At first I though it could be my news server being misconfigured but tried two others and the problem persisted.

Any chance of fixing this?

Any helpful hint is VERY welcome.

Thanks to all

Alex (aka Mood)

fastforward 06-26-2001 03:25 PM

Quote:

Originally posted by Mood
Hi All, Hi FF!

New to the Usenet Gateway and loving it BUT:

When picking up msgs from my news server, the Perl script shows it retrieving fine though the posts only show up in VB if I change the counter -1 msg or whatever.

At first I though it could be my news server being misconfigured but tried two others and the problem persisted.

Any chance of fixing this?

Any helpful hint is VERY welcome.

Thanks to all

Alex (aka Mood)

I have no idea what you mean. What counter are you talking about? If you mean the 'last message number' then that has absolutely nothing to do with posts suddenly showing up in your forums. The message number is used for retrieving posts from the server and as you stated, that is working OK.

It is the message ID that determines when and if an article is posted to the forums. This ID is unique across all of Usenet and should never be tampered with.

mood 06-26-2001 03:39 PM

[QUOTE]Originally posted by fastforward

I have no idea what you mean. What counter are you talking about? If you mean the 'last message number' then that has absolutely nothing to do with posts suddenly showing up in your forums. The message number is used for retrieving posts from the server and as you stated, that is working OK.

It is the message ID that determines when and if an article is posted to the forums. This ID is unique across all of Usenet and should never be tampered with.

NgtCrwlr 06-26-2001 04:39 PM

I have a suspicion that you are not selecting the right message ID for your news server. I'm hoping that you use Outlook, if so here is a capture showing the number you are looking for.

Pick a message around the date you want to start pulling.

Right-click on the message title
Select properties
Select details

http://www.makeitsimple.com/images/m...ook_usenet.gif

chrome 06-27-2001 05:23 PM

A bit of background first:

Solaris 8 on an E420R
Apache 1.3.20
PHP 4.0.5
MySQL 3.23.39

I've got vB installed fine and it works great. I've downloaded your hack and it works (you need a config option for the path to ps - on solaris the ps you want lives in /usr/ucb - thats where all the BSD compatible binaries live) to the extent that it will allow me to use the control panel, and the newnews.pl script runs without any warnings or obvious errors, happily synching away to the INN server.

However, the bodies of the messages are blank. Any ideas?

vB and the Usenet Hack are installed stock - I've done no customisation to either other than the bare minimum to get them to work properly. I've not got any anti-spam filters or anything in place. Its just borked :)


All times are GMT. The time now is 11:59 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01677 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete