Skip to main content

Mengetahui Log System Ubuntu Linux

[REFERENSI]

sumber :http://www.cyberciti.biz/faq/ubuntu-linux-gnome-system-log-viewer/

View log files in Ubuntu Linux

by on August 2, 2007 · 18 comments· LAST UPDATED August 2, 2007
Q. Can you explain me log files in Ubuntu Linux and how do I view logs?
A. All logs are stored in /var/log directory under Ubuntu (and other Linux distro).

Linux Log files and usage

=> /var/log/messages : General log messages
=> /var/log/boot : System boot log
=> /var/log/debug : Debugging log messages
=> /var/log/auth.log : User login and authentication logs
=> /var/log/daemon.log : Running services such as squid, ntpd and others log message to this file
=> /var/log/dmesg : Linux kernel ring buffer log
=> /var/log/dpkg.log : All binary package log includes package installation and other information
=> /var/log/faillog : User failed login log file
=> /var/log/kern.log : Kernel log file
=> /var/log/lpr.log : Printer log file
=> /var/log/mail.* : All mail server message log files
=> /var/log/mysql.* : MySQL server log file
=> /var/log/user.log : All userlevel logs
=> /var/log/xorg.0.log : X.org log file
=> /var/log/apache2/* : Apache web server log files directory
=> /var/log/lighttpd/* : Lighttpd web server log files directory
=> /var/log/fsck/* : fsck command log
=> /var/log/apport.log : Application crash report / log file

To view log files at shell prompt

Use tail, more, less and grep command.
tail -f /var/log/apport.log
more /var/log/xorg.0.log
cat /var/log/mysql.err
less /var/log/messages
grep -i fail /var/log/boot

View log files using GUI tools using the GNOME System Log Viewer

System Log Viewer is a graphical, menu-driven viewer that you can use to view and monitor your system logs. System Log Viewer comes with a few functions that can help you manage your logs, including a calendar, log monitor and log statistics display. System Log Viewer is useful if you are new to system administration because it provides an easier, more user-friendly display of your logs than a text display of the log file. It is also useful for more experienced administrators, as it contains a calendar to help you locate trends and track problems, as well as a monitor to enable you to continuously monitor crucial logs.
You can start System Log Viewer in the following ways:
Click on System menu > Choose Administration > System Log:
View log files in Ubuntu Linux
(The GNOME System Log Viewer)
Note you can start the GNOME System Log Viewer from a shell prompt, by entering the following command:

Comments

Popular posts from this blog

Membuat FTP server menggunakan Windows 7[Updated]

 Just Share biar Ga Lupa .... FTP merupakan singkatan dari File Transfer Protocol. singkat aja FTP merupakan aplikasi yang memberikan akses &  transfer data antara dua komputer ( client dan server ) klo lengkapnya silahkan cek di  Wikipedia tentang FTP Saat ini saya share membuat FTP server menggunakan OS windows 7 32 bit  1. Install Terlebih dahulu FTP service      Control Panel - Program , Klik Turn Windows Feature On or off lalu Check di FTP server, Web        Management tools 2. Menunggu Installasi      3. Buka Start . ketik di Search box IIS, lalu klik IIS 4. Tampilan FTP Server , Klik Add FTP Site 5.Input FTP site name , isikan juga path Address dimana folder tersebut akan kita akses , klik next 6. Input IP Address server FTP Masukan Port Default FTP yaitu 21 , atau silahkan ubah sesuai kebutuhan  7.Pilih Authentication , saya memilih Basic agar user yang mengakses diberikan ...
Problem LDAP service  pada Zimbra  [Solved] terjadi pada server replikasi zimbra di kantor saya pada tanggal 5 November 2016 tiba-tiba error LDAP tidak mau startup service. service zimbra start Host test.domainku.com Starting ldap...Done. Failed. Failed to start slapd. Attempting debug start to determine error. daemon: bind(7) failed errno=98 (Address already in use) slap_open_listener: failed on ldap://mail.domain.com:389 Setelah cari-cari di google berhasil yaitu dengan menjalankan ulang file zmsetup.pl -Login sebagai root - /opt/zimbra/libexec/zmsetup.pl root@mailserver:~# /opt/zimbra/libexec/zmsetup.pl Operations logged to /tmp/zmsetup.11072016-131240.log Running bdb db_recover...done. Running zmldapapplyldif...done. Reboot mailserver kemudian berjalan normal ada juga yang menggunakan tutorial seperti dibawah ini (bisa dicoba): Untuk melihat service openldap yang sudah aktif : # ps -ef | grep slap openldap 1129 1 0 15:28 ? 00:00:00 /usr/sbin/slapd -h ldap:/// ldapi:/// -g...

Setup Printer HP Officejet 7000 Wide Format Via Ethernet [Updated]

Halloo ..... Kali ini saya akan share cara menginstall Printer HP OfficeJet 7000 Wide Format , Printer yang Support Kertas A3 , instalasi koneksi yang digunakan adalah Via Ethernet ( Network  agar printer digunakan secara Stand Alone , dimana tidak terinstall di PC / Laptop , jika di instal di Laptop / PC disamping perlunya PC untuk dijadikan installer printer , juga apabila PC / laptop tersebut sedang rusak atau berpindah tempat , client lain tidak bisa menggunakannya. Maka akan lebih baik apabila memang printer tersebut Support Ethernet kita bisa manfaatkan Fiturenya ... Pertama adalah install Via Installer Driver Printer HP 7000 jika temen-temen belum punya drivernya silahkan download di : Download Disini.....!! Silahkan pilih OS yang sesuai dengan PC anda , file installer nya +/- 116 MB . Setelah Download drivernya silahkan jalankan drivernya klik Extract , setelah extract akan autorun ke menu installer HP . Ceklist I Accept the installation lalu Next Pilih Wired network conne...