Server di generazione mappe » Cronologia » Versione 3
Diego Sorrentino, 20-07-2018 17:43
| 1 | 1 | Diego Sorrentino | h1. Server di generazione mappe |
|---|---|---|---|
| 2 | |||
| 3 | _Server_: terremoto-maps.webfarm.rm.ingv.it |
||
| 4 | _IP_: 192.168.0.16 |
||
| 5 | _Situato_: XEN |
||
| 6 | |||
| 7 | Utenti CSI presenti, accesso con chiave SSH: |
||
| 8 | * pietro.ficeli |
||
| 9 | * manuela.sbarra |
||
| 10 | * gianpaolo.sensale |
||
| 11 | * diego.sorrentino |
||
| 12 | * simona.bergamini |
||
| 13 | * stefano.vazzoler |
||
| 14 | * francesco.zanolin |
||
| 15 | |||
| 16 | La password di root si trova nel keepass del CSI, al percorso: |
||
| 17 | @ServerINGV -> WebFarm -> HaiSentitoIlTerremoto -> HaiSentitoIlTerremoto Maps -> Console root@ |
||
| 18 | |||
| 19 | I problemi che sono ricorsi piu' spesso nel tempo sono: |
||
| 20 | |||
| 21 | 2 | Diego Sorrentino | [[Server_di_generazione_mappe#Il-server-per-qualche-motivo-e-spento|Il server, per qualche motivo, e' spento]] |
| 22 | [[Server_di_generazione_mappe#Non-si-aggiornano-le-mappe|Non si aggiornano (o non escono) le mappe]] |
||
| 23 | 1 | Diego Sorrentino | |
| 24 | h2. Il server per qualche motivo e' spento |
||
| 25 | |||
| 26 | Riaccendere il server. |
||
| 27 | Entrare come root (o da console, o da remoto e diventare root) e lanciare i seguenti comandi: |
||
| 28 | <pre> |
||
| 29 | # su - diego.sorrentino |
||
| 30 | diego.sorrentino$ cd hsit/web |
||
| 31 | 3 | Diego Sorrentino | diego.sorrentino:~/hsit/web$ screen (aprira' una nuova sessione di screen) |
| 32 | 1 | Diego Sorrentino | ========= START SESSIONE SCREEN============== |
| 33 | diego.sorrentino:~/hsit/web$ rm /tmp/DYFI_Routine.lock ; ./DYFI-Routine-process.php >> DYFI-Routine-process.log 2>&1 |
||
| 34 | diego.sorrentino:~/hsit$ PREMERE LA COMBINAZIONE CTRL+A+D (A e D sono in maiuscolo) PER USCIRE DA SCREEN |
||
| 35 | ========= END SESSIONE SCREEN============== |
||
| 36 | diego.sorrentino:~/hsit$ logout |
||
| 37 | # logout |
||
| 38 | </pre> |
||
| 39 | |||
| 40 | |||
| 41 | h2. Non si aggiornano le mappe |
||
| 42 | |||
| 43 | Collegarsi al server e lanciare i seguenti comandi: |
||
| 44 | <pre> |
||
| 45 | utente$ su - |
||
| 46 | Password: ******* |
||
| 47 | # su - diego.sorrentino |
||
| 48 | diego.sorrentino$ screen -r |
||
| 49 | ========= START SESSIONE SCREEN============== |
||
| 50 | diego.sorrentino$ PREMERE LA COMBINAZIONE CTRL+A+0 (A maiuscolo e 0) PER ACCEDERE ALLA FINESTRA GENERAZIONE MAPPE |
||
| 51 | diego.sorrentino@terremoto-web:~/hsit/web$ rm /tmp/DYFI_Routine.lock ; ./DYFI-Routine-process.php >> DYFI-Routine-process.log 2>&1 |
||
| 52 | si dovra' trovare questo comando attivo (quindi nessun prompt in attesa di comandi), in caso contrario premere la FRECCETTA SU e lanciare nuovamente il comando |
||
| 53 | diego.sorrentino:~/hsit$ PREMERE LA COMBINAZIONE CTRL+A+D (A e D sono in maiuscolo) PER USCIRE DA SCREEN |
||
| 54 | ========= END SESSIONE SCREEN============== |
||
| 55 | diego.sorrentino:~/hsit$ exit |
||
| 56 | # logout |
||
| 57 | utente$ logout |
||
| 58 | </pre> |