Server con servizi web » Cronologia » Versione 6
Diego Sorrentino, 10-12-2018 13:18
1 | 1 | Diego Sorrentino | h1. Server con servizi web |
---|---|---|---|
2 | |||
3 | _Server_: terremoto-web.webfarm.rm.ingv.it |
||
4 | _IP_: 192.168.0.11 |
||
5 | _Situato_: CED CORDIS, armadio in fondo, al centro |
||
6 | |||
7 | Utenti CSI presenti, accesso con chiave SSH: |
||
8 | * ficeli |
||
9 | * sbarra |
||
10 | * sensale |
||
11 | * sorrentino |
||
12 | * vazzoler |
||
13 | * zanolin |
||
14 | |||
15 | La password di root si trova nel keepass del CSI, al percorso: |
||
16 | @ServerINGV -> WebFarm -> HaiSentitoIlTerremoto -> HaiSentitoIlTerremoto Web -> Console root@ |
||
17 | |||
18 | I problemi che sono ricorsi piu' spesso nel tempo sono: |
||
19 | |||
20 | [[Server_con_servizi_web#Il-server-per-qualche-motivo-e-spento|Il server, per qualche motivo, e' spento]] |
||
21 | [[Server_con_servizi_web#Non-si-aggiorna-la-lista-terremoti|Non si aggiorna la lista terremoti]] |
||
22 | [[Server_con_servizi_web#Non-vengono-spedite-le-mail|Non vengono spedite le mail]] |
||
23 | 5 | Diego Sorrentino | [[Server_con_servizi_web#Non-vengono-spedite-le-comunicazioni|Non vengono spedite le comunicazioni]] |
24 | 1 | Diego Sorrentino | |
25 | h2. Il server, per qualche motivo, e' spento |
||
26 | |||
27 | Riaccendere il server. |
||
28 | Entrare come root (o da console, o da remoto e diventare root) e lanciare i seguenti comandi: |
||
29 | <pre> |
||
30 | # su - sorrentino |
||
31 | sorrentino$ cd hsit |
||
32 | 2 | Diego Sorrentino | sorrentino:~/hsit$ ./files2cache.php (inserisce nella cache di sistema -memcached- i dati piu' usati) |
33 | sorrentino:~/hsit$ screen (si aprira' una nuova sessione di screen) |
||
34 | 1 | Diego Sorrentino | ========= START SESSIONE SCREEN============== |
35 | 6 | Diego Sorrentino | sorrentino:~/hsit$ ./Routine-update-event-list.php | tee -a Routine-update-event-list.log |
36 | 1 | 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$ ./Routine-notify-subscribers.php | tee -a Routine-notify-subscribers.log |
38 | 5 | Diego Sorrentino | sorrentino:~/hsit$ PREMERE LA COMBINAZIONE CTRL+A+C (A e C sono in maiuscolo) E SI APRIRA' UNA NUOVA FINESTRA DI SCREEN |
39 | 6 | Diego Sorrentino | sorrentino:~/hsit$ ./Routine-send-communications.php | tee -a Routine-send-communications.log |
40 | 1 | Diego Sorrentino | sorrentino:~/hsit$ PREMERE LA COMBINAZIONE CTRL+A+D (A e D sono in maiuscolo) PER USCIRE DA SCREEN |
41 | ========= END SESSIONE SCREEN============== |
||
42 | sorrentino:~/hsit$ logout |
||
43 | # logout |
||
44 | </pre> |
||
45 | |||
46 | h2. Non si aggiorna la lista terremoti |
||
47 | |||
48 | Collegarsi al server e lanciare i seguenti comandi: |
||
49 | <pre> |
||
50 | utente$ su - |
||
51 | Password: ******* |
||
52 | # su - sorrentino |
||
53 | sorrentino$ screen -r |
||
54 | ========= START SESSIONE SCREEN============== |
||
55 | sorrentino$ PREMERE LA COMBINAZIONE CTRL+A+0 (A maiuscolo e ZERO) PER ACCEDERE ALLA FINESTRA DI AGGIORNAMENTO EVENTI |
||
56 | 6 | Diego Sorrentino | sorrentino@terremoto-web:~/hsit$ ./Routine-update-event-list.php | tee -a Routine-update-event-list.log |
57 | 1 | 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 |
58 | sorrentino:~/hsit$ PREMERE LA COMBINAZIONE CTRL+A+D (A e D sono in maiuscolo) PER USCIRE DA SCREEN |
||
59 | ========= END SESSIONE SCREEN============== |
||
60 | sorrentino:~/hsit$ exit |
||
61 | # logout |
||
62 | utente$ logout |
||
63 | </pre> |
||
64 | |||
65 | |||
66 | h2. Non vengono spedite le mail |
||
67 | |||
68 | Collegarsi al server e lanciare i seguenti comandi: |
||
69 | <pre> |
||
70 | utente$ su - |
||
71 | Password: ******* |
||
72 | # su - sorrentino |
||
73 | sorrentino$ screen -r |
||
74 | ========= START SESSIONE SCREEN============== |
||
75 | sorrentino$ PREMERE LA COMBINAZIONE CTRL+A+2 (A maiuscolo e 2) PER ACCEDERE ALLA FINESTRA DI INVIO MAIL |
||
76 | 6 | Diego Sorrentino | sorrentino@terremoto-web:~/hsit$ ./Routine-notify-subscribers.php | tee -a Routine-notify-subscribers.log |
77 | 5 | 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 |
78 | sorrentino:~/hsit$ PREMERE LA COMBINAZIONE CTRL+A+D (A e D sono in maiuscolo) PER USCIRE DA SCREEN |
||
79 | ========= END SESSIONE SCREEN============== |
||
80 | sorrentino:~/hsit$ exit |
||
81 | # logout |
||
82 | utente$ logout |
||
83 | </pre> |
||
84 | |||
85 | h2. Non vengono spedite le comunicazioni |
||
86 | |||
87 | Collegarsi al server e lanciare i seguenti comandi: |
||
88 | <pre> |
||
89 | utente$ su - |
||
90 | Password: ******* |
||
91 | # su - sorrentino |
||
92 | sorrentino$ screen -r |
||
93 | ========= START SESSIONE SCREEN============== |
||
94 | sorrentino$ PREMERE LA COMBINAZIONE CTRL+A+3 (A maiuscolo e 3) PER ACCEDERE ALLA FINESTRA DI INVIO MAIL |
||
95 | 6 | Diego Sorrentino | sorrentino@terremoto-web:~/hsit$ ./Routine-send-communications.php | tee -a Routine-send-communications.log |
96 | 1 | 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 |
97 | sorrentino:~/hsit$ PREMERE LA COMBINAZIONE CTRL+A+D (A e D sono in maiuscolo) PER USCIRE DA SCREEN |
||
98 | ========= END SESSIONE SCREEN============== |
||
99 | sorrentino:~/hsit$ exit |
||
100 | # logout |
||
101 | utente$ logout |
||
102 | </pre> |