Controllo e riavvio servizi » Cronologia » Versione 10
Diego Sorrentino, 20-07-2018 16:56
| 1 | 1 | Diego Sorrentino | h1. Controllo e riavvio servizi |
|---|---|---|---|
| 2 | |||
| 3 | h2. Server con servizi web |
||
| 4 | 2 | Diego Sorrentino | |
| 5 | _Server_: terremoto-web.webfarm.rm.ingv.it |
||
| 6 | _IP_: 192.168.0.11 |
||
| 7 | 10 | Diego Sorrentino | _Situato_: CED CORDIS, armadio in fondo, al centro |
| 8 | 5 | Diego Sorrentino | |
| 9 | 1 | Diego Sorrentino | Utenti CSI presenti, accesso con chiave SSH: |
| 10 | * ficeli |
||
| 11 | * sbarra |
||
| 12 | * sensale |
||
| 13 | * sorrentino |
||
| 14 | * vazzoler |
||
| 15 | * zanolin |
||
| 16 | 5 | Diego Sorrentino | |
| 17 | La password di root si trova nel keepass del CSI, al percorso: |
||
| 18 | @ServerINGV -> WebFarm -> HaiSentitoIlTerremoto -> HaiSentitoIlTerremoto Web -> Console root@ |
||
| 19 | |||
| 20 | I problemi che sono ricorsi piu' spesso nel tempo sono: |
||
| 21 | |||
| 22 | 7 | Diego Sorrentino | [[Controllo_e_riavvio_servizi#Il-server-per-qualche-motivo-e-spento|Il server, per qualche motivo, e' spento]] |
| 23 | [[Controllo_e_riavvio_servizi#Non-si-aggiorna-la-lista-terremoti|Non si aggiorna la lista terremoti]] |
||
| 24 | [[Controllo_e_riavvio_servizi#Non-vengono-spedite-le-mail|Non vengono spedite le mail]] |
||
| 25 | 5 | Diego Sorrentino | |
| 26 | 1 | Diego Sorrentino | h3. Il server, per qualche motivo, e' spento |
| 27 | |||
| 28 | 6 | Diego Sorrentino | Riaccendere il server. |
| 29 | Entrare come root (o da console, o da remoto e diventare root) e lanciare i seguenti comandi: |
||
| 30 | <pre> |
||
| 31 | # su - sorrentino |
||
| 32 | sorrentino$ cd hsit |
||
| 33 | sorrentino:~/hsit$ screen _(aprira' una nuova sessione di screen)_ |
||
| 34 | ========= START SESSIONE SCREEN============== |
||
| 35 | sorrentino:~/hsit$ ./UpdateEventDB-solo-eventi.php >> UpdateEventDB-solo-eventi.log 2>&1 |
||
| 36 | 8 | Diego Sorrentino | sorrentino:~/hsit$ PREMERE LA COMBINAZIONE CTRL+A+C (A e C sono in maiuscolo) E SI APRIRA' UNA NUOVA FINESTRA DI SCREEN |
| 37 | 6 | Diego Sorrentino | sorrentino:~/hsit$ ./UpdateEventDB-solo-mail.php >> UpdateEventDB-solo-mail.log 2>&1 |
| 38 | 8 | Diego Sorrentino | sorrentino:~/hsit$ PREMERE LA COMBINAZIONE CTRL+A+D (A e D sono in maiuscolo) PER USCIRE DA SCREEN |
| 39 | 6 | Diego Sorrentino | ========= END SESSIONE SCREEN============== |
| 40 | sorrentino:~/hsit$ logout |
||
| 41 | # logout |
||
| 42 | </pre> |
||
| 43 | 1 | Diego Sorrentino | |
| 44 | 6 | Diego Sorrentino | h3. Non si aggiorna la lista terremoti |
| 45 | 1 | Diego Sorrentino | |
| 46 | 6 | Diego Sorrentino | Collegarsi al server e lanciare i seguenti comandi: |
| 47 | 1 | Diego Sorrentino | <pre> |
| 48 | utente$ su - |
||
| 49 | 6 | Diego Sorrentino | Password: ******* |
| 50 | # su - sorrentino |
||
| 51 | 1 | Diego Sorrentino | sorrentino$ screen -r |
| 52 | 6 | Diego Sorrentino | ========= START SESSIONE SCREEN============== |
| 53 | 8 | Diego Sorrentino | sorrentino$ PREMERE LA COMBINAZIONE CTRL+A+0 (A maiuscolo e ZERO) PER ACCEDERE ALLA FINESTRA DI AGGIORNAMENTO EVENTI |
| 54 | 1 | Diego Sorrentino | sorrentino@terremoto-web:~/hsit$ ./UpdateEventDB-solo-eventi.php >> UpdateEventDB-solo-eventi.log 2>&1 |
| 55 | 6 | Diego Sorrentino | 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 |
| 56 | 8 | Diego Sorrentino | sorrentino:~/hsit$ PREMERE LA COMBINAZIONE CTRL+A+D (A e D sono in maiuscolo) PER USCIRE DA SCREEN |
| 57 | 6 | Diego Sorrentino | ========= END SESSIONE SCREEN============== |
| 58 | sorrentino:~/hsit$ exit |
||
| 59 | # logout |
||
| 60 | utente$ logout |
||
| 61 | 1 | Diego Sorrentino | </pre> |
| 62 | |||
| 63 | |||
| 64 | 6 | Diego Sorrentino | h3. Non vengono spedite le mail |
| 65 | 8 | Diego Sorrentino | |
| 66 | 6 | Diego Sorrentino | Collegarsi al server e lanciare i seguenti comandi: |
| 67 | 1 | Diego Sorrentino | <pre> |
| 68 | utente$ su - |
||
| 69 | 6 | Diego Sorrentino | Password: ******* |
| 70 | 1 | Diego Sorrentino | # su - sorrentino |
| 71 | 6 | Diego Sorrentino | sorrentino$ screen -r |
| 72 | ========= START SESSIONE SCREEN============== |
||
| 73 | 8 | Diego Sorrentino | sorrentino$ PREMERE LA COMBINAZIONE CTRL+A+2 (A maiuscolo e 2) PER ACCEDERE ALLA FINESTRA DI INVIO MAIL |
| 74 | 1 | Diego Sorrentino | sorrentino@terremoto-web:~/hsit$ ./UpdateEventDB-solo-mail.php >> UpdateEventDB-solo-mail.log 2>&1 |
| 75 | 6 | Diego Sorrentino | 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 |
| 76 | 8 | Diego Sorrentino | sorrentino:~/hsit$ PREMERE LA COMBINAZIONE CTRL+A+D (A e D sono in maiuscolo) PER USCIRE DA SCREEN |
| 77 | 6 | Diego Sorrentino | ========= END SESSIONE SCREEN============== |
| 78 | sorrentino:~/hsit$ exit |
||
| 79 | # logout |
||
| 80 | utente$ logout |
||
| 81 | 1 | Diego Sorrentino | </pre> |
| 82 | |||
| 83 | |||
| 84 | |||
| 85 | |||
| 86 | h2. Server di generazione mappe |
||
| 87 | 8 | Diego Sorrentino | |
| 88 | _Server_: terremoto-maps.webfarm.rm.ingv.it |
||
| 89 | _IP_: 192.168.0.16 |
||
| 90 | _Situato_: XEN |
||
| 91 | |||
| 92 | Utenti CSI presenti, accesso con chiave SSH: |
||
| 93 | * pietro.ficeli |
||
| 94 | * manuela.sbarra |
||
| 95 | * gianpaolo.sensale |
||
| 96 | * diego.sorrentino |
||
| 97 | * simona.bergamini |
||
| 98 | * stefano.vazzoler |
||
| 99 | * francesco.zanolin |
||
| 100 | |||
| 101 | La password di root si trova nel keepass del CSI, al percorso: |
||
| 102 | @ServerINGV -> WebFarm -> HaiSentitoIlTerremoto -> HaiSentitoIlTerremoto Maps -> Console root@ |
||
| 103 | 1 | Diego Sorrentino | |
| 104 | 9 | Diego Sorrentino | I problemi che sono ricorsi piu' spesso nel tempo sono: |
| 105 | |||
| 106 | [[Controllo_e_riavvio_servizi#Il-server-per-qualche-motivo-e-spento|Il server, per qualche motivo, e' spento]] |
||
| 107 | [[Controllo_e_riavvio_servizi#Non-si-aggiornano-le-mappe|Non si aggiornano (o non escono) le mappe]] |
||
| 108 | |||
| 109 | h3. Il server per qualche motivo e' spento |
||
| 110 | |||
| 111 | Riaccendere il server. |
||
| 112 | Entrare come root (o da console, o da remoto e diventare root) e lanciare i seguenti comandi: |
||
| 113 | <pre> |
||
| 114 | # su - diego.sorrentino |
||
| 115 | diego.sorrentino$ cd hsit/web |
||
| 116 | diego.sorrentino:~/hsit/web$ screen _(aprira' una nuova sessione di screen)_ |
||
| 117 | ========= START SESSIONE SCREEN============== |
||
| 118 | diego.sorrentino:~/hsit/web$ rm /tmp/DYFI_Routine.lock ; ./DYFI-Routine-process.php >> DYFI-Routine-process.log 2>&1 |
||
| 119 | diego.sorrentino:~/hsit$ PREMERE LA COMBINAZIONE CTRL+A+D (A e D sono in maiuscolo) PER USCIRE DA SCREEN |
||
| 120 | ========= END SESSIONE SCREEN============== |
||
| 121 | diego.sorrentino:~/hsit$ logout |
||
| 122 | # logout |
||
| 123 | </pre> |
||
| 124 | |||
| 125 | |||
| 126 | h3. Non si aggiornano le mappe |
||
| 127 | Collegarsi al server e lanciare i seguenti comandi: |
||
| 128 | <pre> |
||
| 129 | utente$ su - |
||
| 130 | Password: ******* |
||
| 131 | # su - diego.sorrentino |
||
| 132 | diego.sorrentino$ screen -r |
||
| 133 | ========= START SESSIONE SCREEN============== |
||
| 134 | diego.sorrentino$ PREMERE LA COMBINAZIONE CTRL+A+0 (A maiuscolo e 0) PER ACCEDERE ALLA FINESTRA GENERAZIONE MAPPE |
||
| 135 | diego.sorrentino@terremoto-web:~/hsit/web$ rm /tmp/DYFI_Routine.lock ; ./DYFI-Routine-process.php >> DYFI-Routine-process.log 2>&1 |
||
| 136 | 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 |
||
| 137 | diego.sorrentino:~/hsit$ PREMERE LA COMBINAZIONE CTRL+A+D (A e D sono in maiuscolo) PER USCIRE DA SCREEN |
||
| 138 | ========= END SESSIONE SCREEN============== |
||
| 139 | diego.sorrentino:~/hsit$ exit |
||
| 140 | # logout |
||
| 141 | utente$ logout |
||
| 142 | </pre> |
||
| 143 | |||
| 144 | |||
| 145 | 1 | Diego Sorrentino | h2. Server DBMS |
| 146 | 10 | Diego Sorrentino | |
| 147 | _Server_: terremotodb.webfarm.rm.ingv.it |
||
| 148 | _IP_: 192.168.0.14 |
||
| 149 | _Situato_: CED CORDIS, armadio in fondo, al centro |
||
| 150 | |||
| 151 | Utenti CSI presenti, accesso con chiave SSH: |
||
| 152 | * pietro.ficeli |
||
| 153 | * manuela.sbarra |
||
| 154 | * gianpaolo.sensale |
||
| 155 | * diego.sorrentino |
||
| 156 | * simona.bergamini |
||
| 157 | * stefano.vazzoler |
||
| 158 | * francesco.zanolin |
||
| 159 | |||
| 160 | La password di root si trova nel keepass del CSI, al percorso: |
||
| 161 | @ServerINGV -> WebFarm -> HaiSentitoIlTerremoto -> HaiSentitoIlTerremoto DB -> Console root@ |
||
| 162 | |||
| 163 | I problemi che sono ricorsi piu' spesso nel tempo sono: |
||
| 164 | |||
| 165 | [[Controllo_e_riavvio_servizi#Il-server-per-qualche-motivo-e-spento|Il server, per qualche motivo, e' spento]] |
||
| 166 | |||
| 167 | h3. Il server, per qualche motivo, e' spento |
||
| 168 | |||
| 169 | Riaccendere il server |