Controllo e riavvio servizi » Cronologia » Versione 6
Diego Sorrentino, 20-07-2018 16:29
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 | 5 | Diego Sorrentino | _Situato_: CED CORDIS, armadio in fondo, al cenro |
8 | |||
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 | Il server, per qualche motivo, e' spento. |
||
23 | 6 | Diego Sorrentino | Non si aggiorna la lista terremoti. |
24 | 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 | sorrentino:~/hsit$ PREMERE LA COMBINAZIONE *CTRL+A+C* (A e C sono in maiuscolo) E SI APRIRA' UNA NUOVA FINESTRA DI SCREEN |
||
37 | sorrentino:~/hsit$ ./UpdateEventDB-solo-mail.php >> UpdateEventDB-solo-mail.log 2>&1 |
||
38 | sorrentino:~/hsit$ PREMERE LA COMBINAZIONE *CTRL+A+D* (A e D sono in maiuscolo) PER USCIRE DA SCREEN |
||
39 | ========= 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 | 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 | sorrentino:~/hsit$ PREMERE LA COMBINAZIONE *CTRL+A+D* (A e D sono in maiuscolo) PER USCIRE DA SCREEN |
||
57 | ========= END SESSIONE SCREEN============== |
||
58 | sorrentino:~/hsit$ exit |
||
59 | # logout |
||
60 | utente$ logout |
||
61 | 1 | Diego Sorrentino | </pre> |
62 | |||
63 | 6 | Diego Sorrentino | |
64 | h3. Non vengono spedite le mail |
||
65 | Collegarsi al server e lanciare i seguenti comandi: |
||
66 | 1 | Diego Sorrentino | <pre> |
67 | 6 | Diego Sorrentino | utente$ su - |
68 | Password: ******* |
||
69 | # su - sorrentino |
||
70 | sorrentino$ screen -r |
||
71 | ========= START SESSIONE SCREEN============== |
||
72 | sorrentino$ PREMERE LA COMBINAZIONE *CTRL+A+2* (A maiuscolo e 2) PER ACCEDERE ALLA FINESTRA DI INVIO MAIL |
||
73 | 1 | Diego Sorrentino | sorrentino@terremoto-web:~/hsit$ ./UpdateEventDB-solo-mail.php >> UpdateEventDB-solo-mail.log 2>&1 |
74 | 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 |
75 | sorrentino:~/hsit$ PREMERE LA COMBINAZIONE *CTRL+A+D* (A e D sono in maiuscolo) PER USCIRE DA SCREEN |
||
76 | ========= END SESSIONE SCREEN============== |
||
77 | sorrentino:~/hsit$ exit |
||
78 | # logout |
||
79 | utente$ logout |
||
80 | 1 | Diego Sorrentino | </pre> |
81 | |||
82 | |||
83 | |||
84 | |||
85 | h2. Server di generazione mappe |
||
86 | |||
87 | h2. Server DBMS |