Showing posts with label Troubleshooting. Show all posts
Pagi ini,
Host server mengalami hang dan harus di power off.
Setelah power on, salah satu virtual machine tidak mau start dengan error seperti ini.

Failed to lock the file 
Cannot open the disk ... or one of the snapshot disks it depends on. 
Module Disk power on failed. 
Failed to start the virtual machine.

VMware - Failed to lock the file

Ok..kita buka folder virtual machinenya
dan ternyata ada dua folder lock (yang ada .lck nya).
Delete kedua folder tadi

VMware virtual machine folder content

Kemudian, start kembali virtual machinenya.

referensi: https://www.vmware.com/support/ws55/doc/ws_disks_lockfiles.html

Read more »
Logo Postfix Email Server
Langkah-langkah berikut digunakan untuk memeriksa kondisi queue/antrian email di postfix email server.
iRedmail adalah paket instalasi Email Server yang mudah,gratis dan open source, yang menggunakan postfix sebagai MTA-nya.

Melihat isi queue

Bisa menggunakan command mailq atau postqueue -p
hasilnya akan sama. Contoh output:
jefri@mail:~$ mailq
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
7C751B0765  4185571 Fri Mar 18 17:23:40  pengirim@example.com
   (connect to mta7.am0.yahoodns.net[98.138.112.34]:25: Connection refused)
                                         penerima@yahoo.com
-- 4088 Kbytes in 1 Request.

jefri@mail:~$

Melihat status/shape queue

Command yang digunakan adalah qshape
Contoh penggunaan:
jefri@mail:~$ sudo qshape
                                         T  5 10 20 40 80 160 320 640 1280 1280+
                                  TOTAL  0  0  0  0  0  0   0   0   0    0     0
jefri@mail:~$ sudo qshape deferred
                                         T  5 10 20 40 80 160 320 640 1280 1280+
                                  TOTAL  1  0  0  0  0  0   0   0   1    0     0
                              yahoo.com  1  0  0  0  0  0   0   0   1    0     0


Mengirim email yang ada di dalam antrian

Mengirim satu email
postqueue -i 7C751B0765
7C751B0765 adalah email queue ID yang kita dapat dari command mailq

Mengirim seluruh email
postqueue -f

Menghapus email dari queue

Menghapus semua email yang tertunda
postsuper -d ALL deferred
Menghapus satu email
postsuper -d 7C751B0765
Menghapus email ke alamat tertentu
mailq | tail -n +2 | grep -v '^ *(' | awk  'BEGIN { RS = "" } { if ($8 == "penerima@example.com" && $9 == "") print $1 } ' | tr -d '*!' | postsuper -d -
Menghapus email dari alamat tertentu
mailq | awk '$7 ~/^pengirim@example.com$/ { print $1 }' | tr -d '*!' | postsuper -d -
Menghapus email dari domain tertentu
mailq | awk '$7 ~ /@example.com$/ { print $1 }' | tr -d '*!' | postsuper -d -


Membaca email dalam queue

postcat -q  DA80E24A0A




Read more »
Tadi siang saya coba update AVG Antivirus 8 Free edition di laptop client saya
Tapi saya malah dapat pesan error:

Invalid Update Control CTF File

Seperti biasa, saya cari di google, dan cara untuk mengatasinya adalah :

  • Windows XP : Buka explorer, masuk ke folder
    C:\Documents and Settings\All Users\Application Data\Avg8\update\download
  • Windows Vista : Buka explorer, masuk ke folder
    C:\ProgramData\avg8\update\download

kemudian hapus atau pindahkan file yang extension nya .ctf,
nah di laptop tadi ada 2 file yang extensionnya .ctf : avginfoavi.ctf dan avginfowin.ctf

lalu coba update lagi AVG.

referensi : AVG Forum




Read more »
I've just installed OOo 3.0 on WinXP SP3.

I opened a .ppt file, then i tried to save the file as another .ppt file
but i got the following error.

Error saving the document mypptfile.ppt.
Write Error.
The file could not be written.

Affter searching in google i found this post from Open Office Community forum.

I then changed OOo temporary files location, restarted OOo.
I tried again and my problem solved.
Read more »