[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sto diventando pazzo...



Altra cosa che ho scoperto. 
Ho confrontato l'output di suck che ho precedentemente postato
(era il caso in cui avevo aggiunto un nuovo newsgroup in
/etc/suck/sucknewsrc):

>.,-''-,..,-''-,..,-''-,..,-''-,..,-''-,..,-''-,..,-''-,..,-''-,. 
[....]
>163253 Bytes received in 1 mins 50.04 secs, BPS = 1483.6
>Closed connection to news.inwind.it
>Building INN Batch File
>Downloaded Articles
>You can hang up the modem now
>Posted Articles Locally
 ^^^^^^^^^^^^^^^^^^^^^^^
 ^^^^^^^^^^^^^^^^^^^^^^^
>.,-''-,..,-''-,..,-''-,..,-''-,..,-''-,..,-''-,..,-''-,..,-''-,. 

con un altro nuovo (non ho aggiunto alcun newsgroup):

.,-''-,..,-''-,..,-''-,..,-''-,..,-''-,..,-''-,..,-''-,..,-''-,. 
Attempting to connect to news.inwind.it
Using Port 119
Official host name: news.inwind.it
Address: 212.141.84.62
Address: 212.141.84.61
Connected to news.inwind.it
200 newsserver.inwind.it InterNetNews NNRP server INN 2.3.3 (20010620 prerelease) ready (posting ok).
it.comp.os.linux.sys - 2 articles 43509-43510
it.comp.os.linux.iniziare - 4 articles 150642-150645
it.hobby.radioamatori - 1 articles 50981-50981
Elapsed Time = 0 mins 2.70 seconds
7 Articles to download
Deduping Elapsed Time = 0 mins 0.00 seconds
Deduped, 7 items remaining, 0 dupes removed.
Processing History File Elapsed Time = 0 mins 0.05 seconds
Processed history, 0 dupes removed
Total articles to download: 7
140 Bytes received in 0 mins 2.53 secs, BPS = 55.4
Closed connection to news.inwind.it
Downloaded Articles
You can hang up the modem now
.,-''-,..,-''-,..,-''-,..,-''-,..,-''-,..,-''-,..,-''-,..,-''-,. 

In questo caso manca la dicitura 'Posted Articles Locally'.

Ho guardato il file /usr/sbin/get-news:

.,-''-,..,-''-,..,-''-,..,-''-,..,-''-,..,-''-,..,-''-,..,-''-,. 
STATEDIR=/var/state/suck                        # location for suck state files
OUTFILE=${STATEDIR}/rpost.${REMOTE_SERVER}.$$   # used by rpost as article after it is filtered
BATCHFILE=${STATEDIR}/batch.${REMOTE_SERVER}.$$ # Name of batchfile to build for rnews or innxmit

[...]

if [ -f ${BATCHFILE} ]; then
        # locally post articles
        if [ -f "${INNXMIT}" ]; then
                ${INNXMIT} ${LOCAL_SERVER} ${BATCHFILE}
        else
                ${RNEWS} ${LOCAL_SERVER} < ${BATCHFILE}
        fi

        if [ $? -ne 0 ]; then
                echo "Local posting error"
                exit -1;
        else
                echo "Posted Articles Locally"
                rm -rf ${MSGDIR} ${BATCHFILE}
        fi
fi
.,-''-,..,-''-,..,-''-,..,-''-,..,-''-,..,-''-,..,-''-,..,-''-,. 

E' possibile che non venga creato $BATCHFILE, ovvero il file
/var/state/suck/batch.news.inwind.it.$$ ??

Ho provato a fare:

%watch -n1 'ls -l /var/state/suck/'

ed ho visto creare, durante la connessione, solo suck.db,
suck.lock, ma nessun batchfile. A meno che l'operazioine sia
stata troppo veloce.

Altrimenti non so come spiegare il fatto che le news scaricate
con suck non vengano postate al posto giusto, ovvero sul server
locale.

Basta. Oggi credo di aver perso un altro grado della mia vista :((

-- 
	     .
 ____      _ |   UIN: 103001037 
|_\|_)  /o( -*-. Fiat500Web: http://www.poli.studenti.to.it/~f.sirna 	
|  \ \|\||_) |   mailto: farnis(at)libero(dot)it 
------------ .   Powered by Linux Debian 2.2 (Potato)



Reply to: