Difference between revisions of "Ubuntu"

477 bytes removed ,  3 months ago
no edit summary
Line 493: Line 493:
<small>Removing linux-modules-5.19.0-50-generic (5.19.0-50.50) ...</small>
<small>Removing linux-modules-5.19.0-50-generic (5.19.0-50.50) ...</small>


<small>Log ended: 2025-01-04  09:43:55</small></blockquote>'''Aggiorna la lista dei pacchetti con un mirror alternativo:'''{{Tooltip|2={{Tooltip|File di configurazione dei repository APT|Il file <code>/etc/apt/sources.list</code> definisce i repository da cui il sistema scarica pacchetti e aggiornamenti. Contiene: 1) Repository principali (<code>main</code> e <code>restricted</code>), per software supportato ufficialmente. 2) Repository <code>universe</code> e <code>multiverse</code> per software comunitario o non libero. 3) Repository <code>backports</code> per pacchetti aggiornati non inclusi nel rilascio originale. 4) Repository <code>security</code> per aggiornamenti critici. Questo file è fondamentale per gestire i pacchetti software su Ubuntu.}}}}<blockquote>  <small>GNU nano 6.2                                                                /etc/apt/sources.list                                                                         </small>
<small>Log ended: 2025-01-04  09:43:55</small></blockquote>'''Aggiorna la lista dei pacchetti con un mirror alternativo:'''{{Tooltip|2={{Tooltip|File di configurazione dei repository APT|Il file <code>/etc/apt/sources.list</code> definisce i repository da cui il sistema scarica pacchetti e aggiornamenti. Contiene: 1) Repository principali (<code>main</code> e <code>restricted</code>), per software supportato ufficialmente. 2) Repository <code>universe</code> e <code>multiverse</code> per software comunitario o non libero. 3) Repository <code>backports</code> per pacchetti aggiornati non inclusi nel rilascio originale. 4) Repository <code>security</code> per aggiornamenti critici. Questo file è fondamentale per gestire i pacchetti software su Ubuntu.}}}}<blockquote>parallels@ubuntu-linux-22-04-02-desktop''':~$ tail /var/log/apt/term.log'''


<small>#deb cdrom:[Ubuntu 22.04.2 LTS _Jammy Jellyfish_ - Release amd64 (20230223)]/ jammy main restricted</small>
Log started: 2025-01-04  09:43:38


<small># See <nowiki>http://help.ubuntu.com/community/UpgradeNotes</nowiki> for how to upgrade to</small>
(Reading database ... 247516 files and directories currently installed.)


<small># newer versions of the distribution.</small>
Removing linux-modules-extra-5.19.0-50-generic (5.19.0-50.50) ...


<small>deb <nowiki>http://us.archive.ubuntu.com/ubuntu/</nowiki> jammy main restricted</small>
Log ended: 2025-01-04  09:43:44


<small># deb-src <nowiki>http://us.archive.ubuntu.com/ubuntu/</nowiki> jammy main restricted</small>
Log started: 2025-01-04  09:43:54


<small>## Major bug fix updates produced after the final release of the</small>
(Reading database ... 241413 files and directories currently installed.)


<small>## distribution.</small>
Removing linux-modules-5.19.0-50-generic (5.19.0-50.50) ...


<small>deb <nowiki>http://us.archive.ubuntu.com/ubuntu/</nowiki> jammy-updates main restricted</small>
Log ended: 2025-01-04  09:43:55</blockquote>


<small># deb-src <nowiki>http://us.archive.ubuntu.com/ubuntu/</nowiki> jammy-updates main restricted</small>
== 2. Problemi con MySQL ==
'''Errore comune:''' <code>Can't connect to local MySQL server through socket</code>.


<small>## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu</small>
'''Controlla lo stato del servizio MySQL:'''{{Tooltip|2={{Tooltip|Stato del servizio MySQL|Il comando <code>sudo systemctl status mysql</code> verifica lo stato del servizio MySQL. L'output indica: 1) Il servizio è caricato e abilitato per l'avvio automatico. 2) Attualmente è in fase di avvio (<code>activating</code>), con lo stato <code>"Server startup in progress"</code>. 3) Il processo principale <code>mysqld</code> ha il PID <code>172943</code>. 4) Il server utilizza 12 task, 255.1 MB di memoria, e 477 ms di CPU. Questo comando è utile per monitorare l'avvio o eventuali problemi del server MySQL.}}}}<blockquote><small>parallels@ubuntu-linux-22-04-02-desktop:'''~$ sudo systemctl status mysql'''</small>


<small>## team. Also, please note that software in universe WILL NOT receive any</small>
<small>● mysql.service - MySQL Community Server</small>


<small>## review or updates from the Ubuntu security team.</small>
<small>     Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)</small>


<small>deb <nowiki>http://us.archive.ubuntu.com/ubuntu/</nowiki> jammy universe</small>
<small>     Active: activating (start) since Sun 2025-01-05 10:42:35 CET; 1min 11s ago</small>


<small># deb-src <nowiki>http://us.archive.ubuntu.com/ubuntu/</nowiki> jammy universe</small>
<small>    Process: 172935 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS)</small>


<small>deb <nowiki>http://us.archive.ubuntu.com/ubuntu/</nowiki> jammy-updates universe</small>
<small>   Main PID: 172943 (mysqld)</small>


<small># deb-src <nowiki>http://us.archive.ubuntu.com/ubuntu/</nowiki> jammy-updates universe</small>
<small>     Status: "Server startup in progress"</small>


<small>## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu</small>  
<small>      Tasks: 12 (limit: 2258)</small>


<small>## team, and may not be under a free licence. Please satisfy yourself as to</small>  
<small>     Memory: 255.1M</small>


<small>## your rights to use the software. Also, please note that software in</small>  
<small>        CPU: 477ms</small>


<small>## multiverse WILL NOT receive any review or updates from the Ubuntu</small>
<small>     CGroup: /system.slice/mysql.service</small>


<small>## security team.</small>
<small>             └─172943 /usr/sbin/mysqld</small></blockquote>'''Verifica il log degli errori di MySQL''':{{Tooltip|2={{Tooltip|Errore di blocco del file InnoDB|Il comando <code>sudo tail -n 50 /var/log/mysql/error.log</code> mostra che MySQL non riesce a bloccare il file <code>ibdata1</code>, con l'errore <code>[MY-012574] Unable to lock ./ibdata1 error: 11</code>. Questo errore può essere causato da: 1) Un altro processo che sta accedendo al file. 2) Un arresto non corretto del server MySQL. Per risolvere, verifica i processi attivi con <code>ps aux | grep mysqld</code> e termina eventuali processi in conflitto con <code>sudo kill [PID]</code>.}}}}


<small>deb <nowiki>http://us.archive.ubuntu.com/ubuntu/</nowiki> jammy multiverse</small>
<small>parallels@ubuntu-linux-22-04-02-desktop:'''~$ sudo tail -n 50 /var/log/mysql/error.log'''</small>


<small># deb-src <nowiki>http://us.archive.ubuntu.com/ubuntu/</nowiki> jammy multiverse</small>
<small>2025-01-05T09:45:58.228564Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.40-0ubuntu0.22.04.1) starting as process 173527</small>


<small>deb <nowiki>http://us.archive.ubuntu.com/ubuntu/</nowiki> jammy-updates multiverse</small>
<small>2025-01-05T09:45:58.238366Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.</small>


<small># deb-src <nowiki>http://us.archive.ubuntu.com/ubuntu/</nowiki> jammy-updates multiverse</small>
<small>2025-01-05T09:45:58.261113Z 1 [ERROR] [MY-012574] [InnoDB] Unable to lock ./ibdata1 error: 11</small>


<small>## N.B. software from this repository may not have been tested as</small>
<small>2025-01-05T09:45:59.262471Z 1 [ERROR] [MY-012574] [InnoDB] Unable to lock ./ibdata1 error: 11</small>


<small>## extensively as that contained in the main release, although it includes</small>
<small>2025-01-05T09:46:00.275078Z 1 [ERROR] [MY-012574] [InnoDB] Unable to lock ./ibdata1 error: 11</small>


<small>## newer versions of some applications which may provide useful features.</small>
<small>2025-01-05T09:46:01.302288Z 1 [ERROR] [MY-012574] [InnoDB] Unable to lock ./ibdata1 error: 11</small>


<small>## Also, please note that software in backports WILL NOT receive any review</small>
<small>2025-01-05T09:46:02.303078Z 1 [ERROR] [MY-012574] [InnoDB] Unable to lock ./ibdata1 error: 11</small>


<small>## or updates from the Ubuntu security team.</small>
<small>.................</small>
 
<small>deb <nowiki>http://us.archive.ubuntu.com/ubuntu/</nowiki> jammy-backports main restricted universe multiverse</small>
 
<small># deb-src <nowiki>http://us.archive.ubuntu.com/ubuntu/</nowiki> jammy-backports main restricted universe multiverse</small>
 
<small>deb <nowiki>http://security.ubuntu.com/ubuntu</nowiki> jammy-security main restricted</small>
 
<small># deb-src <nowiki>http://security.ubuntu.com/ubuntu</nowiki> jammy-security main restricted</small>
 
<small>deb <nowiki>http://security.ubuntu.com/ubuntu</nowiki> jammy-security universe</small>
 
<small># deb-src <nowiki>http://security.ubuntu.com/ubuntu</nowiki> jammy-security universe</small>
 
<small>deb <nowiki>http://security.ubuntu.com/ubuntu</nowiki> jammy-security multiverse</small>
 
<small># deb-src <nowiki>http://security.ubuntu.com/ubuntu</nowiki> jammy-security multiverse</small>
 
<small># This system was installed using small removable media</small>
 
<small># (e.g. netinst, live or single CD). The matching "deb cdrom"</small>
 
<small># entries were disabled at the end of the installation process.</small>
 
<small># For information about how to configure apt package sources,</small>
 
<small># see the sources.list(5) manual.</small></blockquote>
Editor, Editors, USER, admin, Bureaucrats, Check users, dev, editor, founder, Interface administrators, member, oversight, Suppressors, Administrators, translator
11,485

edits