Installazione Crush FTP

Installazione, configurazione e uso di programmi e strumenti.
Paul Martini
Prode Principiante
Messaggi: 7
Iscrizione: venerdì 3 febbraio 2023, 18:14
Desktop: Lubuntu 22.04
Sesso: Maschile

Installazione Crush FTP

Messaggio da Paul Martini »

Buongiorno a tutti, sono nuovo del forum. Su un Lubuntu 22.04 nuovo di zecca sto provando a installare CrushFTP server ma ho qualche problema...

Cmq ho installato java, estratto CrushFTP10, inserito i comandi seguendo il loro tutorial (che si trova qui: https://www.crushftp.com/download.html):

Codice: Seleziona tutto

root@ernestodtp:~# cd CrushFTP10
root@ernestodtp:~/CrushFTP10# ls
CrushFTP32.exe    CrushFTP.jar                OSX_scripts
CrushFTP.command  install_readme_linux.txt    plugins
CrushFTP.exe      install_readme_macos.txt    users
crushftp_init.sh  install_readme_windows.txt  WebInterface
root@ernestodtp:~/CrushFTP10# java -jar CrushFTP.jar -a
java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:79)
        at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
        at CrushFTP.main(CrushFTP.java:56)
Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
        at CrushFTPLauncher.<init>(CrushFTPLauncher.java:381)
        at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:67)
        ... 3 more
root@ernestodtp:~/CrushFTP10# java -jar CrushFTP.jar -a crushadmin password
Admin user written to:./users/MainUsers/
ma quando provo a lanciarlo mi esce questo:

Codice: Seleziona tutto

root@ernestodtp:~/CrushFTP10# ./crushftp_init.sh start
CrushFTP is not currently running...
Starting CrushFTP... ./crushftp_init.sh: line 46: cd: /var/opt/CrushFTP10/: No such file or directory
FAIL
could not change to CrushFTP directory
the directory is setup as:
/var/opt/CrushFTP10/
ho anche provato a fare

Codice: Seleziona tutto

chmod a+x /var/opt/CrushFTP10_PC/crushftp_init.sh
ma senza esito.
Qualcuno mi può aiutare? Grazie
Avatar utente
GjMan78
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2633
Iscrizione: mercoledì 22 novembre 2006, 19:15
Desktop: Gnome + I3WM
Distribuzione: Manjaro
Sesso: Maschile
Località: ~/Italia/Lazio/Viterbo/

Re: Installazione Crush FTP

Messaggio da GjMan78 »

Hai un motivo particolare per dover usare proprio CrushFTP? Immagino saprai che è un software a pagamento la cui licenza free dura soltanto per i primi 30 giorni dall'installazione.
You may try out CrushFTP for 30 days before making a decision to purchase. The download is the full version of the normal license, and if you decide to buy, you just need to enter in your license details.

Magari potresti valutare di usare un software più Linux-friendly come vsftp che non richiede java Server/Ftp
HP Pavilion 15 - AMD A6-5200 - 8 Gbyte Ram DDR3 - SSD Samsung 500 Gbyte Manjaro Gnome+I3 WM
Asus EEEpc - Intel Atom N450 - 2 Gbyte Ram DDR2 - HDD 160 Gbyte - antiX 64bit IceWM
Samsung NP-N130 - Intel Atom N270 - 2 Gbyte Ram DDR2 - HDD 160 Gbyte - antiX 32 bit IceWM
Paul Martini
Prode Principiante
Messaggi: 7
Iscrizione: venerdì 3 febbraio 2023, 18:14
Desktop: Lubuntu 22.04
Sesso: Maschile

Re: Installazione Crush FTP

Messaggio da Paul Martini »

GjMan78 ha scritto:
sabato 4 febbraio 2023, 11:23
Hai un motivo particolare per dover usare proprio CrushFTP? Immagino saprai che è un software a pagamento la cui licenza free dura soltanto per i primi 30 giorni dall'installazione.
You may try out CrushFTP for 30 days before making a decision to purchase. The download is the full version of the normal license, and if you decide to buy, you just need to enter in your license details.

Magari potresti valutare di usare un software più Linux-friendly come vsftp che non richiede java Server/Ftp
Ah, ecco, non avevo capito fosse payware... stavo cercando un server FTP che avesse anche una GUI per la configurazione... cosa che VSFTPD purtroppo non ha

Ormai però vorrei portare comunque a termine l'installazione di CrushFTP, per cui aggiungo anche info sulla mia configurazione java:

Codice: Seleziona tutto

root@ernestodtp:~/CrushFTP10# java -version
openjdk version "18.0.2-ea" 2022-07-19
OpenJDK Runtime Environment (build 18.0.2-ea+9-Ubuntu-222.04)
OpenJDK 64-Bit Server VM (build 18.0.2-ea+9-Ubuntu-222.04, mixed mode, sharing)
Avatar utente
GjMan78
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2633
Iscrizione: mercoledì 22 novembre 2006, 19:15
Desktop: Gnome + I3WM
Distribuzione: Manjaro
Sesso: Maschile
Località: ~/Italia/Lazio/Viterbo/

Re: Installazione Crush FTP

Messaggio da GjMan78 »

Non saprei davvero come aiutarti.

Ho provato a seguire la guida https://www.crushftp.com/crush10wiki/Wi ... %20Install

Lo script di installazione si blocca

Codice: Seleziona tutto

wget -O - https://www.crushftp.com/crush10wiki/attach/Linux%20Install/configure.sh | bash
--2023-02-04 18:17:04--  https://www.crushftp.com/crush10wiki/attach/Linux%20Install/configure.sh
Risoluzione di www.crushftp.com (www.crushftp.com)... 104.236.78.254
Connessione a www.crushftp.com (www.crushftp.com)|104.236.78.254|:443... connesso.
Richiesta HTTP inviata, in attesa di risposta... 200 OK
Lunghezza: 735 [application/x-sh]
Salvataggio in: ‘STDOUT’

-                   100%[===================>]     735  --.-KB/s    in 0s      

2023-02-04 18:17:05 (8,86 MB/s) - scritto su stdout [735/735]

bash: riga 2: yum: comando non trovato
--2023-02-04 18:17:05--  https://www.crushftp.com/early10/CrushFTP10.zip
Risoluzione di www.crushftp.com (www.crushftp.com)... 104.236.78.254
Connessione a www.crushftp.com (www.crushftp.com)|104.236.78.254|:443... connesso.
Richiesta HTTP inviata, in attesa di risposta... 302 Redirect
Posizione: /CrushFTP10.zip [segue]
--2023-02-04 18:17:05--  https://www.crushftp.com/CrushFTP10.zip
Connessione a www.crushftp.com (www.crushftp.com)|104.236.78.254|:443... connesso.
Richiesta HTTP inviata, in attesa di risposta... 200 OK
Lunghezza: non specificato [application/binary]
CrushFTP10.zip: Permesso negato

Impossibile scrivere in ‘CrushFTP10.zip’ (Successo).
unzip:  cannot find or open CrushFTP10.zip, CrushFTP10.zip.zip or CrushFTP10.zip.ZIP.
/bin/rm: impossibile rimuovere 'CrushFTP10.zip': File o directory non esistente
--2023-02-04 18:17:11--  https://download.oracle.com/java/17/latest/jdk-17_linux-x64_bin.tar.gz
Risoluzione di download.oracle.com (download.oracle.com)... 2.22.32.99
Connessione a download.oracle.com (download.oracle.com)|2.22.32.99|:443... connesso.
Richiesta HTTP inviata, in attesa di risposta... 200 OK
Lunghezza: 181577323 (173M) [application/x-gzip]
jdk-17_linux-x64_bin.tar.gz: Permesso negato

Impossibile scrivere in ‘jdk-17_linux-x64_bin.tar.gz’ (Successo).
tar (child): jdk-17_linux-x64_bin.tar.gz: funzione "open" non riuscita: File o directory non esistente
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
/bin/rm: impossibile rimuovere 'jdk-17_linux-x64_bin.tar.gz': File o directory non esistente
mv: impossibile eseguire stat di 'jdk-17*/': File o directory non esistente
bash: riga 10: cd: CrushFTP10/: File o directory non esistente
bash: riga 12: Java/bin/java: File o directory non esistente
chmod: impossibile accedere a 'crushftp_init.sh': File o directory non esistente
bash: riga 14: ./crushftp_init.sh: File o directory non esistente
bash: riga 16: ./crushftp_init.sh: File o directory non esistente
La versione di Java è quella richiesta dalla guida

Codice: Seleziona tutto

java -version
openjdk version "17.0.5" 2022-10-18
OpenJDK Runtime Environment (build 17.0.5+8-Ubuntu-2ubuntu122.04)
OpenJDK 64-Bit Server VM (build 17.0.5+8-Ubuntu-2ubuntu122.04, mixed mode, sharing)
HP Pavilion 15 - AMD A6-5200 - 8 Gbyte Ram DDR3 - SSD Samsung 500 Gbyte Manjaro Gnome+I3 WM
Asus EEEpc - Intel Atom N450 - 2 Gbyte Ram DDR2 - HDD 160 Gbyte - antiX 64bit IceWM
Samsung NP-N130 - Intel Atom N270 - 2 Gbyte Ram DDR2 - HDD 160 Gbyte - antiX 32 bit IceWM
Paul Martini
Prode Principiante
Messaggi: 7
Iscrizione: venerdì 3 febbraio 2023, 18:14
Desktop: Lubuntu 22.04
Sesso: Maschile

Re: Installazione Crush FTP

Messaggio da Paul Martini »

GjMan78 ha scritto:
sabato 4 febbraio 2023, 18:35
Non saprei davvero come aiutarti.

Ho provato a seguire la guida https://www.crushftp.com/crush10wiki/Wi ... %20Install

Lo script di installazione si blocca

Codice: Seleziona tutto

wget -O - https://www.crushftp.com/crush10wiki/attach/Linux%20Install/configure.sh | bash
--2023-02-04 18:17:04--  https://www.crushftp.com/crush10wiki/attach/Linux%20Install/configure.sh
Risoluzione di www.crushftp.com (www.crushftp.com)... 104.236.78.254
Connessione a www.crushftp.com (www.crushftp.com)|104.236.78.254|:443... connesso.
Richiesta HTTP inviata, in attesa di risposta... 200 OK
Lunghezza: 735 [application/x-sh]
Salvataggio in: ‘STDOUT’

-                   100%[===================>]     735  --.-KB/s    in 0s      

2023-02-04 18:17:05 (8,86 MB/s) - scritto su stdout [735/735]

bash: riga 2: yum: comando non trovato
--2023-02-04 18:17:05--  https://www.crushftp.com/early10/CrushFTP10.zip
Risoluzione di www.crushftp.com (www.crushftp.com)... 104.236.78.254
Connessione a www.crushftp.com (www.crushftp.com)|104.236.78.254|:443... connesso.
Richiesta HTTP inviata, in attesa di risposta... 302 Redirect
Posizione: /CrushFTP10.zip [segue]
--2023-02-04 18:17:05--  https://www.crushftp.com/CrushFTP10.zip
Connessione a www.crushftp.com (www.crushftp.com)|104.236.78.254|:443... connesso.
Richiesta HTTP inviata, in attesa di risposta... 200 OK
Lunghezza: non specificato [application/binary]
CrushFTP10.zip: Permesso negato

Impossibile scrivere in ‘CrushFTP10.zip’ (Successo).
unzip:  cannot find or open CrushFTP10.zip, CrushFTP10.zip.zip or CrushFTP10.zip.ZIP.
/bin/rm: impossibile rimuovere 'CrushFTP10.zip': File o directory non esistente
--2023-02-04 18:17:11--  https://download.oracle.com/java/17/latest/jdk-17_linux-x64_bin.tar.gz
Risoluzione di download.oracle.com (download.oracle.com)... 2.22.32.99
Connessione a download.oracle.com (download.oracle.com)|2.22.32.99|:443... connesso.
Richiesta HTTP inviata, in attesa di risposta... 200 OK
Lunghezza: 181577323 (173M) [application/x-gzip]
jdk-17_linux-x64_bin.tar.gz: Permesso negato

Impossibile scrivere in ‘jdk-17_linux-x64_bin.tar.gz’ (Successo).
tar (child): jdk-17_linux-x64_bin.tar.gz: funzione "open" non riuscita: File o directory non esistente
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
/bin/rm: impossibile rimuovere 'jdk-17_linux-x64_bin.tar.gz': File o directory non esistente
mv: impossibile eseguire stat di 'jdk-17*/': File o directory non esistente
bash: riga 10: cd: CrushFTP10/: File o directory non esistente
bash: riga 12: Java/bin/java: File o directory non esistente
chmod: impossibile accedere a 'crushftp_init.sh': File o directory non esistente
bash: riga 14: ./crushftp_init.sh: File o directory non esistente
bash: riga 16: ./crushftp_init.sh: File o directory non esistente
La versione di Java è quella richiesta dalla guida

Codice: Seleziona tutto

java -version
openjdk version "17.0.5" 2022-10-18
OpenJDK Runtime Environment (build 17.0.5+8-Ubuntu-2ubuntu122.04)
OpenJDK 64-Bit Server VM (build 17.0.5+8-Ubuntu-2ubuntu122.04, mixed mode, sharing)
Ok. grazie mille comunque, GjMan78. Visto che non riesco ad andare avanti, e che oltrettutto (cosa che non sapevo) il server è payware, credo che cambierò server ftp, sperando di trovare minori criticità.
Probabilmente c'è qualche problema di configurazione che impedisce di proseguire
Scrivi risposta

Ritorna a “Applicazioni”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 9 ospiti