Problemi con Freenet

Postate qui per tutte le discussioni legate a Linux in generale.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Gnu/Linux in genere, se l'argomento è specifico alla Slackware usate uno dei forum Slackware o Slackware64.
3) Leggere attentamente le risposte ricevute
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Rispondi
Avatar utente
gallows
Staff
Staff
Messaggi: 3471
Iscritto il: lun 20 set 2004, 0:00
Desktop: cwm
Distribuzione: OpenBSD
Località: ~/
Contatta:

Problemi con Freenet

Messaggio da gallows »

Non riesco a far partire Freenet, ecco quello che avviene quando lo lancio:

Codice: Seleziona tutto

> ./start-freenet.sh 
Detected freenet-ext.jar
Detected freenet.jar
Sun java detected.
head: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
sed: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
Sun Java 1.4.2 detected.
uname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
Starting Freenet now: Command line: java -Xmx128m freenet.node.Main
nice: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
Done
Pensavo fosse colpa della JVM ma non va nè con JRE della current, nè con l'ultima versione di JRE presente sul sito della sun.
Ho anche tentato di installare la versione 1.4.2: stesso risultato :?
(Ma comunque altri programmi scritti in java mi funzionano...)
Ovviamente le glibc sono installate...

Qualche idea? A voi funziona? Devo aspettare il port in C ? :lol:

kobaiachi
Linux 4.x
Linux 4.x
Messaggi: 1368
Iscritto il: gio 14 lug 2005, 0:00
Località: roma
Contatta:

Messaggio da kobaiachi »

io lo avevo provato un annetto fa su windows e comunque non è che mi ci trovassi molto bene (tra l'altro c'è tantissima me**a molto peggio di amule ) , quando ho provato a metterlo su linux anche io ho incontrato un sacco di problemi ed alla fine ho desistito.

Avatar utente
Firetux
Linux 4.x
Linux 4.x
Messaggi: 1465
Iscritto il: gio 10 giu 2004, 0:00
Località: Lecco
Contatta:

Messaggio da Firetux »

non è che hai una versione di libc.so diversa? cio+ libc.so.ALTRONUMERO?

Avatar utente
gallows
Staff
Staff
Messaggi: 3471
Iscritto il: lun 20 set 2004, 0:00
Desktop: cwm
Distribuzione: OpenBSD
Località: ~/
Contatta:

Messaggio da gallows »

No.
Peraltro non funziona neanche su un'altra Slack con le glibc-2.3.5

Avatar utente
Firetux
Linux 4.x
Linux 4.x
Messaggi: 1465
Iscritto il: gio 10 giu 2004, 0:00
Località: Lecco
Contatta:

Messaggio da Firetux »

sto facendo delle prove: (sono su archlinux)
effettivamente ho il tuo stesso problema. Richiede anche a me la libc.so.6 che ho.
Ora ho modificato il file "start-freenet.sh" aggiungendo alla riga 130 questo parte

Codice: Seleziona tutto

#archlinux
elif test -f /etc/arch-release
then
  LD_ASSUME_KERNEL=2.6.14
  export LD_ASSUME_KERNEL
in questo modo capisce che uso archlinux e ora non mi da più problemi chiedendomi le libc.so.6 e questo è quello che mi scrive nel terminale:

Codice: Seleziona tutto

[firetux@p3 freenet]$ sh start-freenet.sh
Detected freenet-ext.jar
Detected freenet.jar
Sun java detected.
Sun Java 1.4.2 detected.
Starting Freenet now: Command line: java -Xmx128m -XX:MaxDirectMemorySize=128m freenet.node.Main
Done
os.arch = i386
Loading native...
Attempting to load freenet/support/CPUInformation/libjcpuid-x86-linux.so
Written to /tmp/jcpuid15664lib.tmp: 55692
INFO: Native CPUID library 'freenet/support/CPUInformation/libjcpuid-x86-linux.so' loaded from resource
INFO: Optimized native BigInteger library 'net/i2p/util/libjbigi-linux-pentium3.so' loaded from resource
ma il programma non mi parte lo stesso...

Avatar utente
gallows
Staff
Staff
Messaggi: 3471
Iscritto il: lun 20 set 2004, 0:00
Desktop: cwm
Distribuzione: OpenBSD
Località: ~/
Contatta:

Messaggio da gallows »

Intuizione giusta Firetux ;)
Ho modificato con:

Codice: Seleziona tutto

elif test -f /etc/slackware-version; then                                                 
LD_ASSUME_KERNEL=`uname -r`                                                               
export LD_ASSUME_KERNEL  
Adesso funziona, thanks.

Ps. credo funzioni anche a te, prova http://127.0.0.1:8888

Avatar utente
Firetux
Linux 4.x
Linux 4.x
Messaggi: 1465
Iscritto il: gio 10 giu 2004, 0:00
Località: Lecco
Contatta:

Messaggio da Firetux »

vero hai ragione ...dimenticavo di guardare la pagine locale :lol:
problema sistemato per entrambi! :D

Avatar utente
IceSlack
Linux 4.x
Linux 4.x
Messaggi: 1313
Iscritto il: dom 30 ott 2005, 13:27

Messaggio da IceSlack »

ma cosa e' squesto programma?

Avatar utente
Firetux
Linux 4.x
Linux 4.x
Messaggi: 1465
Iscritto il: gio 10 giu 2004, 0:00
Località: Lecco
Contatta:

Messaggio da Firetux »

dal sito:
What is Freenet?
Freenet is free software which lets you publish and obtain information on the Internet without fear of censorship. To achieve this freedom, the network is entirely decentralized and publishers and consumers of information are anonymous. Without anonymity there can never be true freedom of speech, and without decentralization the network will be vulnerable to attack.

Communications by Freenet nodes are encrypted and are "routed-through" other nodes to make it extremely difficult to determine who is requesting the information and what its content is.

Users contribute to the network by giving bandwidth and a portion of their hard drive (called the "data store") for storing files. Unlike other peer-to-peer file sharing networks, Freenet does not let the user control what is stored in the data store. Instead, files are kept or deleted depending on how popular they are, with the least popular being discarded to make way for newer or more popular content. Files in the data store are encrypted to reduce the likelihood of prosecution by persons wishing to censor Freenet content.

The network can be used in a number of different ways and isn't restricted to just sharing files like other peer-to-peer networks. It acts more like an Internet within an Internet. For example Freenet can be used for:

* Publishing websites or 'freesites'
* Communicating via message boards
* Content distribution

Unlike many cutting edge projects, Freenet long ago escaped the science lab, it has been downloaded by over 2 million users since the project started, and it is used for the distribution of censored information all over the world including countries such as China and the Middle East. Ideas and concepts pioneered in Freenet have had a significant impact in the academic world. Our 2000 paper "Freenet: A Distributed Anonymous Information Storage and Retrieval System" was the most cited computer science paper of 2000 according to Citeseer, and Freenet has also inspired papers in the worlds of law and philosophy. Ian Clarke, Freenet's creator and project coordinator, was selected as one of the top 100 innovators of 2003 by MIT's Technology Review magazine.

Rispondi