[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #34063 [Internal Services/Services Admin Team]: [RT-admin] Check if spam filter script is running
#34063: [RT-admin] Check if spam filter script is running
-------------------------------------------------+-------------------------
Reporter: ggus | Owner: anarcat
Type: task | Status:
| accepted
Priority: Medium | Milestone:
Component: Internal Services/Services Admin | Version:
Team |
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
-------------------------------------------------+-------------------------
Changes (by anarcat):
* status: new => accepted
* owner: (none) => anarcat
Comment:
there's this cronjob in the `rtmailarchive` user:
{{{
@daily /srv/rtstuff/support-tools/train-spam-filters/train_spam_filters &&
bin/spam-learn && find Maildir/.spam.learned Maildir/.xham.learned -type f
-delete
}}}
so it *should* be running... it last ran yesterday:
{{{
May 20 00:00:01 rude/rude CRON[7781]: (rtmailarchive) CMD (/srv/rtstuff
/support-tools/train-spam-filters/train_spam_filters && bin/spam-learn &&
find Maildir/.spam.learned Maildir/.xham.learned -type f -delete)
}}}
and of course, if i run it by hand, it crashes in a flaming heap of this
backtrace:
{{{
rtmailarchive@rude:~$ /srv/rtstuff/support-tools/train-spam-
filters/train_spam_filters && bin/spam-learn && find Maildir/.spam.learned
Maildir/.xham.learned -type f -delete
Traceback (most recent call last):
File "/srv/rtstuff/support-tools/train-spam-filters/train_spam_filters",
line 114, in <module>
con = psycopg2.connect(RT_CONNINFO)
File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 164,
in connect
conn = _connect(dsn, connection_factory=connection_factory,
async=async)
psycopg2.OperationalError: could not translate host name
"drobovi.torproject.org" to address: Name or service not known
}}}
so no, it's not working, thanks for the report.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/34063#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs