Modul Troubleshooting Ubuntu

download Modul Troubleshooting Ubuntu

of 77

  • date post

    02-Aug-2015
  • Category

    Documents

  • view

    153
  • download

    13

Embed Size (px)

Transcript of Modul Troubleshooting Ubuntu

Modul Pelatihan Open Source Berlisensi Open Content

Ubuntu Troubleshooting

Ubuntu Troubleshooting

Modul Pelatihan Open Source Software dengan lisensi Open Content (Copyleft)

Hak Cipta 2010 Modul ini disusun oleh Toto Harjendro dan Tim Pengajar IGOS Center Depok www.depok.igoscenter.web.id LP3T-Nurul Fikri www.nurulfikri.com

Lisensi modul ini copyleft, artinya mengizinkan Anda dan siapa saja untuk menggunakan, mengcopy atau menyebarluaskan dan mengubah tanpa harus mengajukan izin atau tanpa membayar lisensi kepada penulis, dengan syarat tetap mencantumkan pernyataan Hak Cipta, nama penulis, dan Lisensi di halaman ini. Dilarang mengubah lisensi modul ini, artinya jika Anda melakukan penyebaran modul ini, maka lisensi dokumen Anda harus tetap Open Content atau Copyleft.

LP3T Nurul Fikri IGOS Center Depok

1

Modul Pelatihan Open Source Berlisensi Open Content

Ubuntu Troubleshooting

LP3T Nurul Fikri IGOS Center Depok

2

Modul Pelatihan Open Source Berlisensi Open Content

Ubuntu Troubleshooting

DAFTAR ISI1.1Tujuan :........................................................................................................................................1 1.2Menimilasir adanya Kerusakan...................................................................................................1 1.3Hal-hal yang dibutuhkan dalam troubleshooting.........................................................................1 1.4Metodologi troubleshooting ........................................................................................................2 2.1Tujuan :........................................................................................................................................4 2.2Proses boot dari switch-on sampai bash shell..............................................................................4 2.3Boot Loader.................................................................................................................................5 2.3.1GRUB (GRand Unified Bootloader)...................................................................................5 2.3.2Troubleshooting GRUB ......................................................................................................6 2.3.2.1Hanya muncul grub >...........................................................................................7 2.3.2.2Grub hilang, hanya bisa ke Windows saja ..............................................................7 2.3.2.3Grub Ubuntu hilang, diganti grub Linux lain..........................................................8 2.3.2.4Grub tidak terinstall ketika Ubuntu diinstall...........................................................8 2.3.2.5Ketika dipilih menu GRUB muncul tulisan Error 15 : File not found....................8 2.3.2.6Ketika dipilih menu GRUB, kernel dijalankan dan berhenti dan muncul kata Gave up waiting for root device .....................................................................................9 2.3.3Instalasi ulang GRUB .........................................................................................................9 2.3.3.1Cara Pertama...........................................................................................................9 2.3.3.2Cara Kedua ...........................................................................................................10 2.4Mounting Local File System.....................................................................................................10 2.4.1Troubleshooting Mounting Local File System .................................................................11 2.4.1.1Terdapat partisi yang belum bisa digunakan secara langsung. .............................11 2.4.1.2Swap belum aktif ketika masuk ke dalam Ubuntu ...............................................11 2.5Menjalankan Daemon Init ........................................................................................................12 2.6Service / Daemon ......................................................................................................................14 2.6.1sysv-rc-conf........................................................................................................................15 2.6.2Troubleshooting Service / Daemon ..................................................................................16 2.6.2.1Suatu service tidak dijalankan ketika startup........................................................16 2.6.2.2Suatu program diinstall dari source dan tidak dapat aktif ketika startup..............17 2.6.2.3Suatu service membuat sistem menjadi crash (selalu reboot ulang).....................17 3.1Tujuan:.......................................................................................................................................18 3.2Pengantar...................................................................................................................................18 3.3User dan Group di Linux...........................................................................................................18 3.4Manajemen group......................................................................................................................19 3.5Manajemen user.........................................................................................................................19 3.6Password....................................................................................................................................21 3.7File Konfigurasi Manajemen User.............................................................................................21 3.7.1/etc/passwd.........................................................................................................................21 3.7.2/etc/shadow........................................................................................................................22 3.7.3/etc/group...........................................................................................................................23 3.7.4/etc/gshadow......................................................................................................................23 3.8Konfigurasi User dari Grafis.....................................................................................................23 3.9 Troubleshooting Login di Linux...............................................................................................25 LP3T Nurul Fikri IGOS Center Depok 3

Modul Pelatihan Open Source Berlisensi Open Content

Ubuntu Troubleshooting

3.9.1Tidak bisa login sebagai root ............................................................................................25 3.9.2Tidak bisa melakukan sudo ...............................................................................................26 3.9.3Username dan Password sudah benar tetapi tidak bisa login............................................26 3.9.4Lupa password user admnistrator......................................................................................27 3.9.5Muncul tulisan Your home directory is listed as : '/home/???' but does not appear to exist pada saat login.................................................................................................................27 3.9.6Muncul tulisan User's $HOME/.dmrc file is being ignored ketika login.......................27 3.9.7Muncul tulisan Your session only lasted less than 10 seconds... ketika login dan gagal ....................................................................................................................................................28 4.1Tujuan:.......................................................................................................................................29 4.2Pengantar...................................................................................................................................29 4.3Program-program identifikasi Hardware...................................................................................29 4.4Program identifikasi Software ..................................................................................................32 5.1Tujuan:.......................................................................................................................................36 5.2Memonitor status filesystem......................................................................................................36 5.2.1fdisk....................................................................................................................................36 5.2.2du........................................................................................................................................37 5.2.3df........................................................................................................................................37 5.2.4vmstat.................................................................................................................................37 5.3Memonitor user..........................................................................................................................38 5.3.1w.........................................................................................................................................38 5.3.2who.....................................................................................................................................38 5.3.3whoami...............................................................................................................................38 5.4Memonitor layanan....................................................................................................................39 5.4.1netstat..............................................................................