特殊:Badtitle/NS100:Troubleshooting:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
(未显示同一用户的7个中间版本) | |||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/Troubleshooting}} | {{From|https://help.ubuntu.com/community/Troubleshooting}} | ||
{{Languages|UbuntuHelp:Troubleshooting}} | {{Languages|UbuntuHelp:Troubleshooting}} | ||
== Introduction == | == Introduction == | ||
This page contains links to the best fixes for the most common Ubuntu problems. | This page contains links to the best fixes for the most common Ubuntu problems. | ||
If you think problem's link could be improved or could have a better link, please propose the change in [http://ubuntuforums.org/showthread.php?t=452538 this Ubuntu Forums thread] for further discussion. | If you think problem's link could be improved or could have a better link, please propose the change in [http://ubuntuforums.org/showthread.php?t=452538 this Ubuntu Forums thread] for further discussion. | ||
'''Warning!''' Please note down any errors and warnings you encounter as many issues are actually similar but not identical. Thus, a solution applied might not have any effect or might even worsen the problem. | '''Warning!''' Please note down any errors and warnings you encounter as many issues are actually similar but not identical. Thus, a solution applied might not have any effect or might even worsen the problem. | ||
Useful tools for recording errors and warning messages include a text editor, the Print Screen command, a digital camera(preferably one capable of recording movies of ), etc. | Useful tools for recording errors and warning messages include a text editor, the Print Screen command, a digital camera(preferably one capable of recording movies of ), etc. | ||
Below are a few locations where you can find logs which might aid you in reproducing or pinpointing the errors: | Below are a few locations where you can find logs which might aid you in reproducing or pinpointing the errors: | ||
/var/log | /var/log | ||
Some of these logs in /var/log can be accessed via System ======>Administration ====> System logs | Some of these logs in /var/log can be accessed via System ======>Administration ====> System logs | ||
/home/user/.xsession-errors | /home/user/.xsession-errors | ||
Any file with a "." in front of it is a hidden file. To view all hidden files, press Ctrl + H. If you wish to view all hidden files permanently and are using Nautilus, go to Edit =====> Preferences ====> View. Under "Default View", check the box "Show hidden and backup files". | Any file with a "." in front of it is a hidden file. To view all hidden files, press Ctrl + H. If you wish to view all hidden files permanently and are using Nautilus, go to Edit =====> Preferences ====> View. Under "Default View", check the box "Show hidden and backup files". | ||
You can use Text Editor to view the .xsession-errors. | You can use Text Editor to view the .xsession-errors. | ||
/home/user/.bash_history | /home/user/.bash_history | ||
This is yet another hidden file and again, you can use Text Editor view .bash_history. .bash_history can be very useful for pinpointing commands responsible for certain error messages. | This is yet another hidden file and again, you can use Text Editor view .bash_history. .bash_history can be very useful for pinpointing commands responsible for certain error messages. | ||
If you do not want to open .bash_history, you can launch [[UbuntuHelp:UsingTheTerminal#head-2fa31364ee2acb07982a2fd5f52c983130565f8f|the|terminal]] and then in [[UbuntuHelp:UsingTheTerminal#head-2fa31364ee2acb07982a2fd5f52c983130565f8f|the|terminal]], press Ctrl+R. Then, use your arrow keys to cycle through the commands. | |||
If you do not want to open .bash_history, you can launch [ | |||
== Initial Setup == | == Initial Setup == | ||
*'''Problem''': I can't get the installer on the Ubuntu Livecd to run. | *'''Problem''': I can't get the installer on the Ubuntu Livecd to run. | ||
'''Solution''': This is one of many possible solutions. If you have a laptop, the ACPI might be causing the installer to not run. At the initial boot screen(where one can see options like "Install to the hard disk, Check cd for defects, etc.") press F6 and type the following code into the command prompt and press Enter. The installer should be able to run now. | '''Solution''': This is one of many possible solutions. If you have a laptop, the ACPI might be causing the installer to not run. At the initial boot screen(where one can see options like "Install to the hard disk, Check cd for defects, etc.") press F6 and type the following code into the command prompt and press Enter. The installer should be able to run now. | ||
<pre><nowiki> | |||
<pre><nowiki> linux acpi=off | linux acpi=off | ||
</nowiki></pre> | </nowiki></pre> | ||
*'''Problem''': The Ubuntu CD freezes in the middle of installation | *'''Problem''': The Ubuntu CD freezes in the middle of installation | ||
'''Solution''': The CD image was probably corrupted during download or burn, or you do not have enough RAM (less than 256 MB) to run the Desktop CD. [http://www.psychocats.net/ubuntu/iso These instructions] will help you get an intact (uncorrupted) CD. If you don't have enough RAM, [http://users.bigpond.net.au/hermanzone use the Alternate CD] | '''Solution''': The CD image was probably corrupted during download or burn, or you do not have enough RAM (less than 256 MB) to run the Desktop CD. [http://www.psychocats.net/ubuntu/iso These instructions] will help you get an intact (uncorrupted) CD. If you don't have enough RAM, [http://users.bigpond.net.au/hermanzone use the Alternate CD] | ||
*[http://users.bigpond.net.au/hermanzone/SuperGrubDiskPage.html#Common_Booting_Errors_and_Some_Possible Fixes for common booting errors] | *[http://users.bigpond.net.au/hermanzone/SuperGrubDiskPage.html#Common_Booting_Errors_and_Some_Possible Fixes for common booting errors] | ||
*[http://www.psychocats.net/ubuntu/nox If you're stuck at the command prompt after installation] | *[http://www.psychocats.net/ubuntu/nox If you're stuck at the command prompt after installation] | ||
== Partitions == | == Partitions == | ||
*'''Problem''': I can't create or delete or modify a partition using Gnome Parted Editor (GParted) | *'''Problem''': I can't create or delete or modify a partition using Gnome Parted Editor ([[UbuntuHelp:GParted|GParted]]) | ||
'''or''' I have problems creating or deleting or altering my partitions using GParted on the Ubuntu Live CD. | '''or''' I have problems creating or deleting or altering my partitions using [[UbuntuHelp:GParted|GParted]] on the Ubuntu Live CD. | ||
'''or''' the Ubuntu Live CD keeps auto-mounting my partitions, thus deleting or altering a partition via GParted on Live CD has no effect. | '''or''' the Ubuntu Live CD keeps auto-mounting my partitions, thus deleting or altering a partition via [[UbuntuHelp:GParted|GParted]] on Live CD has no effect. | ||
'''Solution''': Download a partitioning dedicated [[UbuntuHelp:LiveCD|LiveCD]] such as the [[UbuntuHelp:GParted|GParted]] Live CD or the Parted Magic [[UbuntuHelp:LiveCD|LiveCD]] and boot from it. You should have no problems modifying, deleting, or creating partitions using the [[UbuntuHelp:LiveCd|LiveCd]]. [[UbuntuHelp:GParted|GParted]] Live CD can be found at http://gparted.sourceforge.net/. Parted Magic [[UbuntuHelp:LiveCd|LiveCd]] can be found at http://partedmagic.com/. | |||
'''Solution''': Download a partitioning dedicated LiveCD such as the GParted Live CD or the Parted Magic LiveCD and boot from it. You should have no problems modifying, deleting, or creating partitions using the LiveCd. GParted Live CD can be found at http://gparted.sourceforge.net/. Parted Magic LiveCd can be found at http://partedmagic.com/. | |||
*[http://ubuntuforums.org/showthread.php?t=217009 How do I make my Windows partition writable?] | *[http://ubuntuforums.org/showthread.php?t=217009 How do I make my Windows partition writable?] | ||
*[http://ubuntuforums.org/showthread.php?t=370121&highlight=gpart+partition+table Restore Lost Partitions to a Deleted or Corrupt Partition Table] | *[http://ubuntuforums.org/showthread.php?t=370121&highlight=gpart+partition+table Restore Lost Partitions to a Deleted or Corrupt Partition Table] | ||
== Peripherals == | == Peripherals == | ||
=== Printers === | === Printers === | ||
*[http://www.linuxprinting.org/printer_list.cgi OpenPrinting Database of Linux-compatible printers] | |||
*[http://ubuntuforums.org/showthread.php?t=49714 HOWTO: Lexmark Printers] | *[http://ubuntuforums.org/showthread.php?t=49714 HOWTO: Lexmark Printers] | ||
=== Video === | === Video === | ||
*[http://ubuntuforums.org/showthread.php?p=454217 I can't get the proper screen resolution] | *[http://ubuntuforums.org/showthread.php?p=454217 I can't get the proper screen resolution] | ||
=== Keyboard === | === Keyboard === | ||
*[http://ubuntuforums.org/showpost.php?p=2736463&postcount=2 How do I use multimedia keys?] | *[http://ubuntuforums.org/showpost.php?p=2736463&postcount=2 How do I use multimedia keys?] | ||
== Software Issues == | == Software Issues == | ||
*'''Question:''' Ubuntu keeps crashing on me and complains about cupsd errors. | *'''Question:''' Ubuntu keeps crashing on me and complains about cupsd errors. | ||
'''Solution:''' Go to System ====> Administration ====> Services. From the Services window, disable Cupsd and Bluetooth printing services. This will stop the Cupsd server from being initiated when Ubuntu starts. | '''Solution:''' Go to System ====> Administration ====> Services. From the Services window, disable Cupsd and Bluetooth printing services. This will stop the Cupsd server from being initiated when Ubuntu starts. | ||
=== Desktop Environments === | === Desktop Environments === | ||
*'''Question:''' I was installing certain updates or softwares when Gnome or Xserver crashed. Now, when an application or window is open, it doesn't have an icon on the taskbar or the close, maximise and minimise buttons in all my application and windows are gone, or have changed position on the menu bar! | *'''Question:''' I was installing certain updates or softwares when Gnome or Xserver crashed. Now, when an application or window is open, it doesn't have an icon on the taskbar or the close, maximise and minimise buttons in all my application and windows are gone, or have changed position on the menu bar! | ||
'''Solution:''' This is one of many possible solutions. Try pasting the following command into [[UbuntuHelp:UsingTheTerminal#head-2fa31364ee2acb07982a2fd5f52c983130565f8f|the|terminal]] | |||
'''Solution:''' This is one of many possible solutions. Try pasting the following command into [ | <pre><nowiki> | ||
<pre><nowiki>sudo dpkg --configure -a | sudo dpkg --configure -a | ||
</nowiki></pre> | </nowiki></pre> | ||
There is a possibility that Gnome might have crashed while updating gnome-panel. After the updates or softwares have finished installing, | There is a possibility that Gnome might have crashed while updating gnome-panel. After the updates or softwares have finished installing, restart X by logging out and back in, or typing <code><nowiki>sudo /etc/init.d/gdm restart</nowiki></code> or simply restart the computer. Gnome should be functioning properly now. | ||
*[http://ubuntuforums.org/showpost.php?p=2055878&postcount=4 Applications disappear when I minimize windows] | *[http://ubuntuforums.org/showpost.php?p=2055878&postcount=4 Applications disappear when I minimize windows] | ||
*'''Problem:''' I get the ''your session lasted less than 10 seconds'' error when I try to log into Gnome. | *'''Problem:''' I get the ''your session lasted less than 10 seconds'' error when I try to log into Gnome. | ||
'''Possible solution #1:''' This can happen if you're out of disk space. Press Control-Alt-F1 to get to a command prompt. Log in. Then type <pre><nowiki> | |||
'''Possible solution #1:''' This can happen if you're out of disk space. Press Control-Alt-F1 to get to a command prompt. Log in. Then type | sudo apt-get clean | ||
<pre><nowiki>sudo apt-get clean | |||
rm /tmp/* | rm /tmp/* | ||
</nowiki></pre> Then, press Control-Alt-F7 and try logging into Gnome again. | </nowiki></pre> Then, press Control-Alt-F7 and try logging into Gnome again. | ||
'''Possible solution #2:''' This can also happen if you've somehow changed ownership of the ~/.ICEauthority file. So you can change it back by pressing Control-Alt-F1, logging in, and typing <pre><nowiki> | |||
'''Possible solution #2:''' This can also happen if you've somehow changed ownership of the ~/.ICEauthority file. So you can change it back by pressing Control-Alt-F1, logging in, and typing | sudo chown username:username ~/.ICEauthority | ||
<pre><nowiki>sudo chown username:username ~/.ICEauthority | |||
</nowiki></pre> where ''username'' is your username. Then press Control-Alt-F7 and try logging into Gnome again. | </nowiki></pre> where ''username'' is your username. Then press Control-Alt-F7 and try logging into Gnome again. | ||
*'''Problem:''' I use Xubuntu and my top and/or bottom pannel disappeared or are "messed up". | |||
'''Solution:''' If you use Xubuntu and Xfce, this will happen sooner or later, it seems. Try the procedures at [[UbuntuHelp:XubuntuPanels|Xubuntu|- Xfce Panels]]. This works in most cases. | |||
=== Email === | === Email === | ||
*[http://ubuntuforums.org/showthread.php?p=321569#post321569 Clicking on links in Thunderbird won't open Firefox] | *[http://ubuntuforums.org/showthread.php?p=321569#post321569 Clicking on links in Thunderbird won't open Firefox] | ||
=== Web browser === | === Web browser === | ||
*[http://ubuntuforums.org/showthread.php?t=255422 HowTo: Fix Firefox Flash Sound Issues] | *[http://ubuntuforums.org/showthread.php?t=255422 HowTo: Fix Firefox Flash Sound Issues] | ||
*[http://ubuntuforums.org/showthread.php?p=2612806#post2612806 Firefox won't open new windows as tabs] | *[http://ubuntuforums.org/showthread.php?p=2612806#post2612806 Firefox won't open new windows as tabs] | ||
*[http://kb.mozillazine.org/Profile_in_use#How_to_unlock_your_profile Firefox is already running error message] | *[http://kb.mozillazine.org/Profile_in_use#How_to_unlock_your_profile Firefox is already running error message] | ||
*[http://ubuntuforums.org/showthread.php?p=1692197#post1692197 Flash makes Firefox crash] | *[http://ubuntuforums.org/showthread.php?p=1692197#post1692197 Flash makes Firefox crash] | ||
*'''Problem''': How do I deal with Internet Explorer-only websites? | *'''Problem''': How do I deal with Internet Explorer-only websites? | ||
'''Solution''': Apart from not using them? Try [https://addons.mozilla.org/en-US/firefox/addon/59 Firefox's User Agent Switcher extension] (set to "Internet Explorer" user agent), [https://addons.mozilla.org/en-US/firefox/addon/6455 IE NetRender] for Firefox, [https://addons.mozilla.org/en-US/firefox/addon/10422 the Web Page Fixer extension] or, if that doesn't work, try [http://www.tatanka.com.br/ies4linux/page/Main_Page ILinux] | |||
'''Solution''': Apart from not using them? Try [https://addons.mozilla.org/en-US/firefox/addon/59 Firefox's User Agent Switcher extension] or, if that doesn't work, try [http://www.tatanka.com.br/ies4linux/page/Main_Page | |||
=== Sound === | === Sound === | ||
*[http://www.psychocats.net/ubuntu/audacity How do I find libmp3lame.so in Audacity?] | *[http://www.psychocats.net/ubuntu/audacity How do I find libmp3lame.so in Audacity?] | ||
=== Software Management === | === Software Management === | ||
*'''Problem''': I get this error message: | *'''Problem''': I get this error message: <pre><nowiki> | ||
<pre><nowiki>E: Could not get lock /var/lib/apt/lists/lock - open (11 Resource temporarily unavailable) | E: Could not get lock /var/lib/apt/lists/lock - open (11 Resource temporarily unavailable) | ||
</nowiki></pre> | </nowiki></pre> | ||
'''Solution''': If you have Synaptic Package Manager, Adept Package Manager, Update Manager, or Add/Remove open, close it. Otherwise, issue this command | '''Solution''': If you have Synaptic Package Manager, Adept Package Manager, Update Manager, or Add/Remove open, close it. Otherwise, issue this command <pre><nowiki> | ||
<pre><nowiki>sudo killall dpkg | sudo killall dpkg | ||
</nowiki></pre> | </nowiki></pre> | ||
More details [http://ubuntuforums.org/showthread.php?p=2750296#post2750296 here] | More details [http://ubuntuforums.org/showthread.php?p=2750296#post2750296 here] | ||
*[http://ubuntuforums.org/showthread.php?p=1209484#post1209484 When I use apt-get, I get a 403 forbidden error message] | *[http://ubuntuforums.org/showthread.php?p=1209484#post1209484 When I use apt-get, I get a 403 forbidden error message] | ||
== User Permissions == | == User Permissions == | ||
*[http://www.psychocats.net/ubuntu/sudo I lost the ability to sudo] | *[http://www.psychocats.net/ubuntu/sudo I lost the ability to sudo] | ||
*[http://ubuntuforums.org/showthread.php?p=2619991#post2619991 $HOME/.dmrc file is being ignored when logging in] | *[http://ubuntuforums.org/showthread.php?p=2619991#post2619991 $HOME/.dmrc file is being ignored when logging in] | ||
*[http://ubuntuforums.org/showthread.php?p=2654159#post2654159 I don't have permission to write to the desktop] | *[http://ubuntuforums.org/showthread.php?p=2654159#post2654159 I don't have permission to write to the desktop] | ||
== File Issues == | == File Issues == | ||
*[http://linux.sys-con.com/read/117909.htm Can I recover deleted files on an Ext3 drive?] | *[http://linux.sys-con.com/read/117909.htm Can I recover deleted files on an Ext3 drive?] | ||
*'''Problem''': Help! I get I/O and CRC errors when I'm copying or moving certain files/folders. | *'''Problem''': Help! I get I/O and CRC errors when I'm copying or moving certain files/folders. | ||
'''Solution''': This depends on where you are trying to copy the file or folder from. If the source is a dvd or cd-rom, then the disc might be damaged. | '''Solution''': This depends on where you are trying to copy the file or folder from. If the source is a dvd or cd-rom, then the disc might be damaged. | ||
If the source is another partition on your computer, then it could be a hard disk issue like bad sectors. To check for hard disk problems, download smartmontools by running sudo apt-get install smartmontools. To run smartmontools, use <pre><nowiki> | |||
If the source is another partition on your computer, then it could be a hard disk issue like bad sectors. To check for hard disk problems, download smartmontools by running sudo apt-get install smartmontools. To run smartmontools, use | sudo smartctl -d ata -a /dev/sda | ||
<pre><nowiki>sudo smartctl -d ata -a /dev/sda | |||
</nowiki></pre> | </nowiki></pre> | ||
where sda can be substituted with the device label of your hard disk like hdc, hda, etc. The following article explains more about bad sectors while the site itself contains various articles about hard disk backup, recovery and other issues: [http://www.datarecovery.com.sg/data_recovery/bad_sector_on_hard_disk.htm Article about bad sectors.] | where sda can be substituted with the device label of your hard disk like hdc, hda, etc. The following article explains more about bad sectors while the site itself contains various articles about hard disk backup, recovery and other issues: [http://www.datarecovery.com.sg/data_recovery/bad_sector_on_hard_disk.htm Article about bad sectors.] | ||
== Upgrade Problems == | == Upgrade Problems == | ||
*[http://ubuntuforums.org/showthread.php?p=2565564#post2565564 Virtual terminals don't appear after an upgrade to Feisty Fawn] | *[http://ubuntuforums.org/showthread.php?p=2565564#post2565564 Virtual terminals don't appear after an upgrade to Feisty Fawn] | ||
---- | ---- | ||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2010年5月20日 (四) 00:26的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/Troubleshooting }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/af | • {{#if: UbuntuHelp:Troubleshooting|Afrikaans| [[::Troubleshooting/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/ar | • {{#if: UbuntuHelp:Troubleshooting|العربية| [[::Troubleshooting/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/az | • {{#if: UbuntuHelp:Troubleshooting|azərbaycanca| [[::Troubleshooting/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/bcc | • {{#if: UbuntuHelp:Troubleshooting|جهلسری بلوچی| [[::Troubleshooting/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/bg | • {{#if: UbuntuHelp:Troubleshooting|български| [[::Troubleshooting/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/br | • {{#if: UbuntuHelp:Troubleshooting|brezhoneg| [[::Troubleshooting/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/ca | • {{#if: UbuntuHelp:Troubleshooting|català| [[::Troubleshooting/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/cs | • {{#if: UbuntuHelp:Troubleshooting|čeština| [[::Troubleshooting/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/de | • {{#if: UbuntuHelp:Troubleshooting|Deutsch| [[::Troubleshooting/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/el | • {{#if: UbuntuHelp:Troubleshooting|Ελληνικά| [[::Troubleshooting/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/es | • {{#if: UbuntuHelp:Troubleshooting|español| [[::Troubleshooting/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/fa | • {{#if: UbuntuHelp:Troubleshooting|فارسی| [[::Troubleshooting/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/fi | • {{#if: UbuntuHelp:Troubleshooting|suomi| [[::Troubleshooting/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/fr | • {{#if: UbuntuHelp:Troubleshooting|français| [[::Troubleshooting/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/gu | • {{#if: UbuntuHelp:Troubleshooting|ગુજરાતી| [[::Troubleshooting/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/he | • {{#if: UbuntuHelp:Troubleshooting|עברית| [[::Troubleshooting/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/hu | • {{#if: UbuntuHelp:Troubleshooting|magyar| [[::Troubleshooting/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/id | • {{#if: UbuntuHelp:Troubleshooting|Bahasa Indonesia| [[::Troubleshooting/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/it | • {{#if: UbuntuHelp:Troubleshooting|italiano| [[::Troubleshooting/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/ja | • {{#if: UbuntuHelp:Troubleshooting|日本語| [[::Troubleshooting/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/ko | • {{#if: UbuntuHelp:Troubleshooting|한국어| [[::Troubleshooting/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/ksh | • {{#if: UbuntuHelp:Troubleshooting|Ripoarisch| [[::Troubleshooting/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/mr | • {{#if: UbuntuHelp:Troubleshooting|मराठी| [[::Troubleshooting/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/ms | • {{#if: UbuntuHelp:Troubleshooting|Bahasa Melayu| [[::Troubleshooting/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/nl | • {{#if: UbuntuHelp:Troubleshooting|Nederlands| [[::Troubleshooting/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/no | • {{#if: UbuntuHelp:Troubleshooting|norsk| [[::Troubleshooting/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/oc | • {{#if: UbuntuHelp:Troubleshooting|occitan| [[::Troubleshooting/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/pl | • {{#if: UbuntuHelp:Troubleshooting|polski| [[::Troubleshooting/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/pt | • {{#if: UbuntuHelp:Troubleshooting|português| [[::Troubleshooting/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/ro | • {{#if: UbuntuHelp:Troubleshooting|română| [[::Troubleshooting/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/ru | • {{#if: UbuntuHelp:Troubleshooting|русский| [[::Troubleshooting/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/si | • {{#if: UbuntuHelp:Troubleshooting|සිංහල| [[::Troubleshooting/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/sq | • {{#if: UbuntuHelp:Troubleshooting|shqip| [[::Troubleshooting/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/sr | • {{#if: UbuntuHelp:Troubleshooting|српски / srpski| [[::Troubleshooting/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/sv | • {{#if: UbuntuHelp:Troubleshooting|svenska| [[::Troubleshooting/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/th | • {{#if: UbuntuHelp:Troubleshooting|ไทย| [[::Troubleshooting/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/tr | • {{#if: UbuntuHelp:Troubleshooting|Türkçe| [[::Troubleshooting/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/vi | • {{#if: UbuntuHelp:Troubleshooting|Tiếng Việt| [[::Troubleshooting/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/yue | • {{#if: UbuntuHelp:Troubleshooting|粵語| [[::Troubleshooting/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/zh | • {{#if: UbuntuHelp:Troubleshooting|中文| [[::Troubleshooting/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/zh-hans | • {{#if: UbuntuHelp:Troubleshooting|中文(简体)| [[::Troubleshooting/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Troubleshooting | UbuntuHelp:Troubleshooting | {{#if: | :}}Troubleshooting}}/zh-hant | • {{#if: UbuntuHelp:Troubleshooting|中文(繁體)| [[::Troubleshooting/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:Troubleshooting|:Troubleshooting|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :Troubleshooting/zh | | {{#ifexist: Troubleshooting/zh | | {{#ifeq: {{#titleparts:Troubleshooting|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Troubleshooting|1|-1|}} | zh | | }}
Introduction
This page contains links to the best fixes for the most common Ubuntu problems. If you think problem's link could be improved or could have a better link, please propose the change in this Ubuntu Forums thread for further discussion. Warning! Please note down any errors and warnings you encounter as many issues are actually similar but not identical. Thus, a solution applied might not have any effect or might even worsen the problem. Useful tools for recording errors and warning messages include a text editor, the Print Screen command, a digital camera(preferably one capable of recording movies of ), etc. Below are a few locations where you can find logs which might aid you in reproducing or pinpointing the errors: /var/log Some of these logs in /var/log can be accessed via System ======>Administration ====> System logs /home/user/.xsession-errors Any file with a "." in front of it is a hidden file. To view all hidden files, press Ctrl + H. If you wish to view all hidden files permanently and are using Nautilus, go to Edit =====> Preferences ====> View. Under "Default View", check the box "Show hidden and backup files". You can use Text Editor to view the .xsession-errors. /home/user/.bash_history This is yet another hidden file and again, you can use Text Editor view .bash_history. .bash_history can be very useful for pinpointing commands responsible for certain error messages. If you do not want to open .bash_history, you can launch the|terminal and then in the|terminal, press Ctrl+R. Then, use your arrow keys to cycle through the commands.
Initial Setup
- Problem: I can't get the installer on the Ubuntu Livecd to run.
Solution: This is one of many possible solutions. If you have a laptop, the ACPI might be causing the installer to not run. At the initial boot screen(where one can see options like "Install to the hard disk, Check cd for defects, etc.") press F6 and type the following code into the command prompt and press Enter. The installer should be able to run now.
linux acpi=off
- Problem: The Ubuntu CD freezes in the middle of installation
Solution: The CD image was probably corrupted during download or burn, or you do not have enough RAM (less than 256 MB) to run the Desktop CD. These instructions will help you get an intact (uncorrupted) CD. If you don't have enough RAM, use the Alternate CD
Partitions
- Problem: I can't create or delete or modify a partition using Gnome Parted Editor (GParted)
or I have problems creating or deleting or altering my partitions using GParted on the Ubuntu Live CD. or the Ubuntu Live CD keeps auto-mounting my partitions, thus deleting or altering a partition via GParted on Live CD has no effect. Solution: Download a partitioning dedicated LiveCD such as the GParted Live CD or the Parted Magic LiveCD and boot from it. You should have no problems modifying, deleting, or creating partitions using the LiveCd. GParted Live CD can be found at http://gparted.sourceforge.net/. Parted Magic LiveCd can be found at http://partedmagic.com/.
- How do I make my Windows partition writable?
- Restore Lost Partitions to a Deleted or Corrupt Partition Table
Peripherals
Printers
Video
Keyboard
Software Issues
- Question: Ubuntu keeps crashing on me and complains about cupsd errors.
Solution: Go to System ====> Administration ====> Services. From the Services window, disable Cupsd and Bluetooth printing services. This will stop the Cupsd server from being initiated when Ubuntu starts.
Desktop Environments
- Question: I was installing certain updates or softwares when Gnome or Xserver crashed. Now, when an application or window is open, it doesn't have an icon on the taskbar or the close, maximise and minimise buttons in all my application and windows are gone, or have changed position on the menu bar!
Solution: This is one of many possible solutions. Try pasting the following command into the|terminal
sudo dpkg --configure -a
There is a possibility that Gnome might have crashed while updating gnome-panel. After the updates or softwares have finished installing, restart X by logging out and back in, or typing sudo /etc/init.d/gdm restart
or simply restart the computer. Gnome should be functioning properly now.
- Applications disappear when I minimize windows
- Problem: I get the your session lasted less than 10 seconds error when I try to log into Gnome.
Possible solution #1: This can happen if you're out of disk space. Press Control-Alt-F1 to get to a command prompt. Log in. Then type
sudo apt-get clean rm /tmp/*
Then, press Control-Alt-F7 and try logging into Gnome again. Possible solution #2: This can also happen if you've somehow changed ownership of the ~/.ICEauthority file. So you can change it back by pressing Control-Alt-F1, logging in, and typing
sudo chown username:username ~/.ICEauthority
where username is your username. Then press Control-Alt-F7 and try logging into Gnome again.
- Problem: I use Xubuntu and my top and/or bottom pannel disappeared or are "messed up".
Solution: If you use Xubuntu and Xfce, this will happen sooner or later, it seems. Try the procedures at Xubuntu|- Xfce Panels. This works in most cases.
Web browser
- HowTo: Fix Firefox Flash Sound Issues
- Firefox won't open new windows as tabs
- Firefox is already running error message
- Flash makes Firefox crash
- Problem: How do I deal with Internet Explorer-only websites?
Solution: Apart from not using them? Try Firefox's User Agent Switcher extension (set to "Internet Explorer" user agent), IE NetRender for Firefox, the Web Page Fixer extension or, if that doesn't work, try ILinux
Sound
Software Management
- Problem: I get this error message:
E: Could not get lock /var/lib/apt/lists/lock - open (11 Resource temporarily unavailable)
Solution: If you have Synaptic Package Manager, Adept Package Manager, Update Manager, or Add/Remove open, close it. Otherwise, issue this command
sudo killall dpkg
More details here
User Permissions
- I lost the ability to sudo
- $HOME/.dmrc file is being ignored when logging in
- I don't have permission to write to the desktop
File Issues
- Can I recover deleted files on an Ext3 drive?
- Problem: Help! I get I/O and CRC errors when I'm copying or moving certain files/folders.
Solution: This depends on where you are trying to copy the file or folder from. If the source is a dvd or cd-rom, then the disc might be damaged.
If the source is another partition on your computer, then it could be a hard disk issue like bad sectors. To check for hard disk problems, download smartmontools by running sudo apt-get install smartmontools. To run smartmontools, use
sudo smartctl -d ata -a /dev/sda
where sda can be substituted with the device label of your hard disk like hdc, hda, etc. The following article explains more about bad sectors while the site itself contains various articles about hard disk backup, recovery and other issues: Article about bad sectors.