Friday, August 06, 2010

Masalah umum koneksi dengan Wireless di Laptop

Masalah-masalah yang umum dihadapi dalam melakukan koneksi via wireless di Laptop antara lain switch on/off wireless adapter, ada 2 manager wireless, menggunakan IP Static (padahal AP menerapkan IP Dynamic, kerusakan pada wireless adapter, pilihan AP yang sinyalnya lemah.
Sebagai contoh adalah saat mengatasi masalah koneksi wireless di Compaq Presario CQ45. Koneksi wireless tampaknya sukses, namun tidak bisa ke Internet. Ketika mouse diarahkan ke ikon wireless, tampak pesan :
"Currently connected to:
BATANHQ_6 4(BATANHQ_6)
Access: Local only"

Setelah dicek dengan perintah baris ipconfig/all, tampak bahwa IP yang ada adalah 192.168.1.*. padahal AP menggunakan IP 172.16.1.x . Setelah

Thursday, August 05, 2010

Mengurus perpanjangan STNK di Kota Bekasi

Mengurus perpanjangan STNK kendaraan cukup mudah, apalagi jika tersedia pengurusan STNK keliling seperti di Polda Metro Jaya. Mengurus perpanjangan STNK di Pemkot Bekasi perlu datang ke Kantor Samsat Kota Bekasi. Namun jika tidak punya cukup waktu, bisa menggunakan biro jasa. Atau jika tidak ingin berdesakan, bisa memanfaatkan jasa di sekitar Kantor Samsat. Hebatnya, dana pengurusan bisa dibayar setelah STNK selesai diperpanjang. Dana tidak perlu dibayar di muka. Setelah selesai, selain membayar seperti yang tertera pada STNK, anda cukup menambah sekitar 100 ribu rupiah saja.
Karena dorongan rasa ingin tahu, kali ini saya mencoba menyatu dengan pembayar pajak lainnya dalam mengurus perpanjangan STNK. Ternyata prosesnya hanya memakan waktu sekitar 30 menit-an. Yang penting kita tahu urutan prosesnya. Jika kita tidak faham urutan proses, anda akan bingung dan proses menjadi lebih lama.

Langkah-langkah yang anda lakukan setelah memarkir kendaraan adalah
  1. Pergi ke counter Foto Copy. Serahkan saja BPKB, KTP dan STNK. Selesai di-foto-copy, anda tinggal menerima berkas yang sudah di-stepless.
  2. Masuk ke Gedung Samsat Kota Bekasi untuk mengambil formulir. Sayangnya lupa mencatat nama kedua formulir yang diberikan. Yang satu seukuran Legal dan yang satu lagi setengan ukuran A4. Awal mengisi formulir rada bingung, bagian mana saja yang diisi dan tidak diisi. Setelah dibaca dengan teliti, akhirnya tahu mana yang perlu diisi dan tidak perlu diisi. Jangan lupa keluarkan STNK dari dalam plastik dan simpan plastik pembungkus tersebut.
  3. Naik ke Lantai 3, yaitu bagian Proses Kendaraan Roda 4 (R4). Serahkan ke BPKP, KTP dan STNK, baik asali maupun foto copy-an ke Loket 1 atau LOKET IIIC, PENDAFTARAN PERPANJANGAN MOBIL (R4). Tunggu beberapa saat untuk mendapatkan secarik tanda bukti (seukuran 5 x 10 cm) dan jangan lupa ambil BPKP Asli-nya.
  4. Setelah menunggu 20 menit, akhirnya dipanggil oleh petugas Loket 2 atau LOKET X, PEMBAYARAN PKB (KASIR). Serahkan sejumlah uang untuk membayar pajak. Kebetulan nilainya sama dengan yang tertera di STNK tahun lalu.
  5. Setelah menunggu 5 menit, dipanggil kembali oleh petugas lain yaitu petugas Loket 4. Petugas menyerahkan STNK asli yang telah diperbaharui (di-stempel) dan KTP Asli.
  6. Pulang dan meninggalkan Kantor Samsat Bekasi.
Mudahkan, selamat mencoba dan semoga bermanfaat.

Ada satu hal yang lucu, tampaknya banyak orang yang berwajah bingung. Bingung karena tidak tahu alur proses. Saya mencoba tidak bertanya kepada sembarang orang, sebab jika bertanya biasanya orang-orang dengan sangat ramah menyapa "perlu dibantu Pak?". Untuk itu saya mencoba bertanya kepada sesama pembayar pajak saja, khususnya yang tampaknya sudah selesai melakukan pengurusan.

Membayar pajak kenapa jadi agar repot ya? Maklum ritual ini hanya setahun sekali, jadi cenderung orang lupa alur prosesnya. Itupun jika alur proses masih sama seperti tahun lalu.

Awalnya pengurusan ini akan memanfaatkan biro jasa, namun hingga jam 0800, kantor Biro Jasa tidak buka juga. Bertanya kepada tukang beca yang mangkal di depannya, kantor Biro Jasa buka sekitar jam 0900. Dan karena saya ingin segera selesai dan bisa kembali "ngantor", akhirnya saya putuskan untuk mengurus sendiri. Katanya sih, jasa pengurusan menggunakan Biro Jasa hanya 50 rupiah.

Pengalaman Urus STNK Tahun 2011

Pada Agustus 2011 saya harus mengurus STNK lagi namun sekaligus dengan pembuatan plat nomor baru. Karena saya melihat lahan parkir samsat Bekasi sangat-sangat terbatas, saya harus parkir di luar. Dan ternyata di luar juga sangat padat, sehingga saya harus berputar satu kali untuk mendapatkan tempat parkir.

Selama ini urus pembuatan plat nomor di Samsat Kabupaten Bogor di Cibinong bisa lebih dari satu hari. Makanya saya memutuskan untuk memanfaatkan jasa, karena rasanya biayanya sama saja jika harus urus sendiri dan besok harus balik lagi. Ketika ada yang menawarkan jasa, langsung saya iyakan. Saya mengambil mobil yang cukup jauh parkirnya untuk dibawa masuk ke halaman belakang Samsat untuk digesek. Setelah digesek mobil saya kembalikan ke parkir di luar. Namun dokumen seperti KTP, STNK, BPKP sudah saya serahkan ke ybs.

Ketika sambil parkir saya mikir, gemana kalau dokumennya hilang? Saya lupa tanya yang bantu menguruskannya. Saya begitu percaya dan biasa cepat percaya sama orang setelah melihat beberapa parameter inti.

Ketika kembali ke halaman Samsat, saya celingak-celinguk mencari orangnya. Saya sara kenal denga bajunya saja. Supaya nanti gampang melacak orangnya, saya mencoba mengambil tustel yang saya lengkapi tele 300 mm. Langsung saya jepret sambil sembunyi-sembunyi, takutnya ada polisi yang gak suka dengan tindakan saya. Meskipun saya melakukan ini sekedar precaution.

Ternyata ada polisi yang liat, kemudian saya diajak masuk. Ditanya ini itu. Tapi untungnya tidak mencoba melihat hasil jepretan dan kemudian menghapusnya. Untuk antisipasi, saya mencoba mengeluarkan SD dan mengganti dengan SD lain. Ini prosedur standar jika memasuki daerah rawan. Biar hilang tustel, namun jangan sampai hilang datanya.

Akhirnya polisi tersebut ingin membantu saya. Namun saya khawatir, nanti orang yang tadi akan diapa-apakan. Tapi karena polisi memaksa untuk membantu, apa boleh buat. Dalam waktu 1 jam, STNK baru dan plat nomor baru dan amsih basah bisa saya bawa pulang. Saya menjadi merasa tidak enak 2 kali, ke yang bantu saya saat awal dan ke pak polisi. Tapi bagaiaman lagi.

Ketika saya jalan keluar menuju parkiran, saya ketemu orang yang bantu saya. Namun wajahnya tidak ceria. Meskipun saya kasih 100rb, ia tetap saja tidak ceria. Mudah-mudahan ia tidak mendapatkan kesusahan gara-gara saya mengambil gambar.

Menurut tafsiran saya mengenai UU Republik Indonesia No. 14 Tahun 2008 tentang Keterbukaan Informasi Publik (KIP), khususnya BAB V tentang Informasi Yang Dikecualikan, dan lebih khusus lagi Pasal 17, maka area Samsat bukanlah daerah yang dikecualikan. Jadi secara hukum saya bisa mengambil gambar. Apalagi gambar yang saya ambil adalah urusan pribadi saya.

Memang tidak semua orang tahu tentang UU KIP ini. Sampai-sampai saya dilarang mengambil foto traktor di dermaga Tanjung Priok. Ada-ada saja. Dari pada eyel-eyelan mendingan mundur. Toh saya sudah dapet gambar dengan tele 300 mm yang saya bawa. Mudah-mudahan tahun 2012 saya bisa punya  tele 500 mm dari Tamron, biar gak perlu berdebat dengan orang yang belum faham arti dan makna UU KIP hanya untuk urusan foto. Banyak aparat yang masih pakai cara pandang lama.

UU No. 14 Tahun 2008 bisa lihat disini.


Tool untuk enumerasi

Beberapa tool yang dapat digunakan untuk enumerasi adalah Nikto, W3bfukkor, sqlier.sh, hping, dan nmap. Nikto adalah scanner web server berbasis open source yang mampu melakukan pengujian komprehensif untuk berbagai aspek,termasuk lebih dari 3300 file/CGI berbahaya yang potensial 625 versi server, dan 230 masalah spesifik server.

Download Nikto di http://www.net-security.org/. Setelah ter-download, unzip file nikto-current.tar.gz. Hasil unzip menghasilkan folder baru dengan nama nikto-2.1.1.

Untuk menjalankan Nikto, masuk ke folder nikto-2.1.1, lalu jalankan file nikto.pl.

[msmunir@localhost nikto-2.1.1]$ ./nikto.pl -h 202.46.3.71
- ***** SSL support not available (see docs for SSL install instructions) *****
- Nikto v2.1.1
---------------------------------------------------------------------------
+ Target IP: 202.46.3.71
+ Target Hostname: 202.46.3.71
+ Target Port: 80
+ Start Time: 2010-08-06 14:06:25
---------------------------------------------------------------------------
+ Server: Apache/2.2.13 (Fedora)
+ No CGI Directories found (use '-C all' to force check all possible dirs)
+ Uncommon header 'proxy-connection' found, with contents: close
+ Uncommon header 'x-cache' found, with contents: HIT from proxy.batan.go.id
+ Uncommon header 'x-cache-lookup' found, with contents: HIT from proxy.batan.go.id:8080
+ ETag header found on server, inode: 1254085, size: 441, mtime: 0x4668a5e45df00
+ Allowed HTTP Methods: GET, HEAD, POST, OPTIONS, TRACE
+ OSVDB-877: HTTP TRACE method is active, suggesting the host is vulnerable to XST
+ Apache/2.2.13 appears to be outdated (current is at least Apache/2.2.14). Apache 1.3.41 and 2.0.63 are also current.
+ OSVDB-637: Enumeration of users is possible by requesting ~username (responds with 'Forbidden' for users, 'not found' for non-existent users).
+ OSVDB-3092: /download/: This might be interesting...
+ OSVDB-3268: /icons/: Directory indexing is enabled: /icons
+ OSVDB-3233: /icons/README: Apache default file found.
+ 3818 items checked: 11 item(s) reported on remote host
+ End Time: 2010-08-06 14:10:55 (270 seconds)
---------------------------------------------------------------------------
+ 1 host(s) tested
[msmunir@localhost nikto-2.1.1]$


Lihat : http://cirt.net/nikto2

OS : IGN2010
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.35.6-37.ign5.i686.PAE #1 SMP Sun Oct 3 09:23:05 WIT 2010 i686 i686 i386 GNU/Linux

Install :
# yum install nikto

Menjalankan
# nikto -host x.y.70.165

Hasil :
[root@localhost ~]# nikto -host x.y.70.165
- ***** SSL support not available (see docs for SSL install instructions) *****
- Nikto v2.1.1
---------------------------------------------------------------------------
+ Target IP: x.y.70.165
+ Target Hostname: x.y.70.165
+ Target Port: 80
+ Start Time: 2011-05-09 4:35:04
---------------------------------------------------------------------------
+ Server: Apache/2.2.8 (Fedora)
+ Number of sections in the version string differ from those in the database, the server reports: apache/2.2.8 while the database has: 2.2.14. This may cause false positives.
+ DEBUG HTTP verb may show server debugging information. See http://msdn.microsoft.com/en-us/library/e8z01xdh%28VS.80%29.aspx for details.
+ OSVDB-877: HTTP TRACE method is active, suggesting the host is vulnerable to XST
+ Retrieved X-Powered-By header: PHP/5.2.5
+ OSVDB-3233: /phpinfo.php: Contains PHP configuration information
+ OSVDB-12184: /index.php?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000: PHP reveals potentially sensitive information via certain HTTP requests which contain specific QUERY strings.
+ OSVDB-3092: /download/: This might be interesting...
+ OSVDB-3092: /temp/: This might be interesting...
+ 3818 items checked: 8 item(s) reported on remote host
+ End Time: 2011-05-09 4:50:04 (932 seconds)
---------------------------------------------------------------------------
+ 1 host(s) tested


*********************************************************************
Portions of the server's ident string (Apache/2.2.8) are not in
the Nikto database or is newer than the known string. Would you like
to submit this information (*no server specific data*) to CIRT.net
for a Nikto update (or you may email to sullo@cirt.net) (y/n)? y

- Sent updated info to CIRT.net -- Thank you!
[root@localhost ~]#


[root@localhost ~]# nikto -host x.y.70.162
- ***** SSL support not available (see docs for SSL install instructions) *****
- Nikto v2.1.1
---------------------------------------------------------------------------
+ Target IP: x.y.70.162
+ Target Hostname: x.y.70.162
+ Target Port: 80
+ Start Time: 2011-05-09 7:21:07
---------------------------------------------------------------------------
+ Server: Apache/2.2.17 (FreeBSD) mod_ssl/2.2.17 OpenSSL/0.9.8n DAV/2 PHP/5.3.3 with Suhosin-Patch
- Root page / redirects to: http://mail.batan.go.id/squirrelmail/index.php
+ mod_ssl/2.2.17 appears to be outdated (current is at least 2.8.31) (may depend on server version)
+ Number of sections in the version string differ from those in the database, the server reports: php/5.3.3 while the database has: 5.2.11. This may cause false positives.
+ OSVDB-877: HTTP TRACE method is active, suggesting the host is vulnerable to XST
+ Retrieved X-Powered-By header: PHP/5.3.3
+ mod_ssl/2.2.17 OpenSSL/0.9.8n DAV/2 PHP/5.3.3 with Suhosin-Patch - mod_ssl 2.8.7 and lower are vulnerable to a remote buffer overflow which may allow a remote shell (difficult to exploit). http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2002-0082, OSVDB-756.
+ OSVDB-12184: /index.php?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000: PHP reveals potentially sensitive information via certain HTTP requests which contain specific QUERY strings.
+ OSVDB-3093: /squirrelmail/src/read_body.php: This might be interesting... has been seen in web logs from an unknown scanner.
+ 3818 items checked: 7 item(s) reported on remote host
+ End Time: 2011-05-09 7:42:07 (1260 seconds)
---------------------------------------------------------------------------
+ 1 host(s) tested


*********************************************************************
Portions of the server's ident string (OpenSSL/0.9.8n Apache/2.2.17 PHP/5.3.3) are not in
the Nikto database or is newer than the known string. Would you like
to submit this information (*no server specific data*) to CIRT.net
for a Nikto update (or you may email to sullo@cirt.net) (y/n)? y

- Sent updated info to CIRT.net -- Thank you!
[root@localhost ~]#

[root@localhost ~]# nikto -host x.y.70.163
- ***** SSL support not available (see docs for SSL install instructions) *****
- Nikto v2.1.1
---------------------------------------------------------------------------
+ Target IP: x.y.70.163
+ Target Hostname: x.y.70.163
+ Target Port: 80
+ Start Time: 2011-05-09 8:16:08
---------------------------------------------------------------------------
+ Server: Apache/2.2.17 (FreeBSD) mod_ssl/2.2.17 OpenSSL/1.0.0d PHP/5.3.5 with Suhosin-Patch
+ mod_ssl/2.2.17 appears to be outdated (current is at least 2.8.31) (may depend on server version)
+ Number of sections in the version string differ from those in the database, the server reports: php/5.3.5 while the database has: 5.2.11. This may cause false positives.
+ OSVDB-877: HTTP TRACE method is active, suggesting the host is vulnerable to XST
+ Retrieved X-Powered-By header: PHP/5.3.5
+ mod_ssl/2.2.17 OpenSSL/1.0.0d PHP/5.3.5 with Suhosin-Patch - mod_ssl 2.8.7 and lower are vulnerable to a remote buffer overflow which may allow a remote shell (difficult to exploit). http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2002-0082, OSVDB-756.
+ ERROR: /splashAdmin.php returned an error: error reading HTTP response
+ ERROR: /help.html returned an error: error reading HTTP response
+ ERROR: /blah_badfile.shtml returned an error: error reading HTTP response
+ ERROR: /SiteServer/Admin/commerce/foundation/DSN.asp returned an error: error reading HTTP response
+ ERROR: /fpdb/shop.mdb returned an error: error reading HTTP response
+ ERROR: /servlet/com.livesoftware.jrun.plugins.ssi.SSIFilter returned an error: error reading HTTP response
+ ERROR: /admin-serv/tasks/configuration/ViewLog?file=passwd&num=5000&str=&directories=admin-serv%2Flogs%2f..%2f..%2f..%2f..%2f..%2f..%2fetc&id=admin-serv returned an error: error reading HTTP response
+ ERROR: /servlet/sunexamples.BBoardServlet returned an error: error reading HTTP response
+ ERROR: /php/php.exe?c:\boot.ini returned an error: error reading HTTP response
+ ERROR: /samples/search.dll?query= returned an error: error reading HTTP response
+ ERROR: /phpimageview.php?pic=javascript:alert('Vulnerable') returned an error: error reading HTTP response
+ ERROR: /add.php3?url=ja&adurl=javascript: returned an error: error reading HTTP response
+ ERROR: /admin.html returned an error: error reading HTTP response
+ ERROR: /examples/jsp/snp/anything.snp returned an error: error reading HTTP response
+ ERROR: /cgi-bin/cgiwrap returned an error: error reading HTTP response
+ ERROR: /pmlite.php returned an error: error reading HTTP response
+ ERROR: /servlet/allaire.jrun.ssi.SSIFilter returned an error: error reading HTTP response
+ OSVDB-12184: /index.php?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000: PHP reveals potentially sensitive information via certain HTTP requests which contain specific QUERY strings.
+ OSVDB-3092: /download/: This might be interesting...
+ ERROR: /hits.txt returned an error: Total transaction timed out
+ OSVDB-3092: /img/: This may be interesting...
+ OSVDB-3092: /test/: This might be interesting...
+ OSVDB-3268: /images/: Directory indexing is enabled: /images
+ ERROR: /syshelp/stmex.stm?foo= returned an error: error reading HTTP response
+ OSVDB-3092: /qa/: This might be interesting... potential country code (Qatar)
+ 3818 items checked: 11 item(s) reported on remote host
+ End Time: 2011-05-09 8:37:08 (1280 seconds)
---------------------------------------------------------------------------
+ 1 host(s) tested


*********************************************************************
Portions of the server's ident string (Apache/2.2.17 PHP/5.3.5 OpenSSL/1.0.0d) are not in
the Nikto database or is newer than the known string. Would you like
to submit this information (*no server specific data*) to CIRT.net
for a Nikto update (or you may email to sullo@cirt.net) (y/n)? y

- Sent updated info to CIRT.net -- Thank you!
[root@localhost ~]#

[root@localhost ~]# nikto -host x.y.z3.5
- ***** SSL support not available (see docs for SSL install instructions) *****
- Nikto v2.1.1
---------------------------------------------------------------------------
+ Target IP: x.y.z3.5
+ Target Hostname: x.y.z3.5
+ Target Port: 80
+ Start Time: 2011-05-09 11:47:57
---------------------------------------------------------------------------
+ Server: Apache/2.2.4 (Win32) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.2
- Root page / redirects to: http:///xampp/
+ Number of sections in the version string differ from those in the database, the server reports: apache/2.2.4 while the database has: 2.2.14. This may cause false positives.
+ Number of sections in the version string differ from those in the database, the server reports: mod_ssl/2.2.4 while the database has: 2.8.31. This may cause false positives.
+ mod_ssl/2.2.4 appears to be outdated (current is at least 2.8.31) (may depend on server version)
+ OpenSSL/0.9.8e appears to be outdated (current is at least 0.9.8i) (may depend on server version)
+ Number of sections in the version string differ from those in the database, the server reports: php/5.2.2 while the database has: 5.2.11. This may cause false positives.
+ OSVDB-877: HTTP TRACE method is active, suggesting the host is vulnerable to XST
+ Retrieved X-Powered-By header: PHP/5.2.2
+ ETag header found on server, inode: 12421, size: 202, mtime: 0x2cddf680
+ mod_ssl/2.2.4 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.2 - mod_ssl 2.8.7 and lower are vulnerable to a remote buffer overflow which may allow a remote shell (difficult to exploit). http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2002-0082, OSVDB-756.
+ OSVDB-682: /webalizer/: Webalizer may be installed. Versions lower than 2.01-09 vulnerable to Cross Site Scripting (XSS).
+ OSVDB-12184: /index.php?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000: PHP reveals potentially sensitive information via certain HTTP requests which contain specific QUERY strings.
+ OSVDB-3092: /phpmyadmin/: phpMyAdmin is for managing MySQL databases, and should be protected or limited to authorized hosts.
+ OSVDB-3092: /restricted/: This might be interesting...
+ OSVDB-3233: /info.php: PHP is installed, and a test script which runs phpinfo() was found. This gives a lot of system information.
+ OSVDB-3268: /icons/: Directory indexing is enabled: /icons
+ OSVDB-3233: /icons/README: Apache default file found.
+ 3818 items checked: 16 item(s) reported on remote host
+ End Time: 2011-05-09 12:08:15 (1218 seconds)
---------------------------------------------------------------------------
+ 1 host(s) tested


*********************************************************************
Portions of the server's ident string (PHP/5.2.2 (Win32) Apache/2.2.4) are not in
the Nikto database or is newer than the known string. Would you like
to submit this information (*no server specific data*) to CIRT.net
for a Nikto update (or you may email to sullo@cirt.net) (y/n)? y

- Sent updated info to CIRT.net -- Thank you!
[root@localhost ~]#

Wednesday, August 04, 2010

Problem with updating My Fedora 11

Setiap kali mau mengupdate Fedora 11, selalu saja ada pesan kesalahan. Pesan kesalahannya terkait update OpenOffice.org, khususnya keberadaan paket "openoffice.org-brand". Bunyi pesan kesalahan tersebut kira-kira :

Dependency resolution failed :
A packet could not be found that allows the action to complete. More information is available in the detailed report.

openoffice.org-brand = 1:3.1.1-19.13.fc11 is needed by package 1:openoffice.org-impress-3.1.1-19.13.fc11.i586 (updates)
openoffice.org-brand = 1:3.1.1-19.13.fc11 is needed by package 1:openoffice.org-writer-3.1.1-19.13.fc11.i586 (updates)
openoffice.org-brand = 1:3.1.1-19.13.fc11 is needed by package 1:openoffice.org-calc-3.1.1-19.13.fc11.i586 (updates)
libprotobuf.so.2 is needed by package libcompizconfig-0.8.3-1.fc11.i586
openoffice.org-core = 1:3.1.1-19.2.fc11 is needed by package 1:openoffice.org-brand-3.1.1-20.ign.i586
openoffice.org-brand = 1:3.1.1-19.13.fc11 is needed by package 1:openoffice.org-base-3.1.1-19.13.fc11.i586 (updates)
openoffice.org-brand = 1:3.1.1-19.13.fc11 is needed by package 1:openoffice.org-draw-3.1.1-19.13.fc11.i586 (updates)
openoffice.org-brand = 1:3.1.1-19.13.fc11 is needed by package 1:openoffice.... : Success - empty transaction


Dicoba update secara manual, juga menemui kegagalan

[root@localhost ~]# yum update
Loaded plugins: refresh-packagekit
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package openoffice.org-base.i586 1:3.1.1-19.13.fc11 set to be updated
--> Processing Dependency: openoffice.org-brand = 1:3.1.1-19.13.fc11 for package: 1:openoffice.org-base-3.1.1-19.13.fc11.i586
---> Package openoffice.org-base-core.i586 1:3.1.1-19.13.fc11 set to be updated
---> Package openoffice.org-calc.i586 1:3.1.1-19.13.fc11 set to be updated
--> Processing Dependency: openoffice.org-brand = 1:3.1.1-19.13.fc11 for package: 1:openoffice.org-calc-3.1.1-19.13.fc11.i586
---> Package openoffice.org-calc-core.i586 1:3.1.1-19.13.fc11 set to be updated
--> Processing Dependency: openoffice.org-core = 1:3.1.1-19.2.fc11 for package: 1:openoffice.org-brand-3.1.1-20.ign.i586
---> Package openoffice.org-core.i586 1:3.1.1-19.13.fc11 set to be updated
---> Package openoffice.org-draw.i586 1:3.1.1-19.13.fc11 set to be updated
--> Processing Dependency: openoffice.org-brand = 1:3.1.1-19.13.fc11 for package: 1:openoffice.org-draw-3.1.1-19.13.fc11.i586
---> Package openoffice.org-draw-core.i586 1:3.1.1-19.13.fc11 set to be updated
---> Package openoffice.org-emailmerge.i586 1:3.1.1-19.13.fc11 set to be updated
---> Package openoffice.org-graphicfilter.i586 1:3.1.1-19.13.fc11 set to be updated
---> Package openoffice.org-impress.i586 1:3.1.1-19.13.fc11 set to be updated
--> Processing Dependency: openoffice.org-brand = 1:3.1.1-19.13.fc11 for package: 1:openoffice.org-impress-3.1.1-19.13.fc11.i586
---> Package openoffice.org-impress-core.i586 1:3.1.1-19.13.fc11 set to be updated
---> Package openoffice.org-javafilter.i586 1:3.1.1-19.13.fc11 set to be updated
---> Package openoffice.org-math.i586 1:3.1.1-19.13.fc11 set to be updated
--> Processing Dependency: openoffice.org-brand = 1:3.1.1-19.13.fc11 for package: 1:openoffice.org-math-3.1.1-19.13.fc11.i586
---> Package openoffice.org-math-core.i586 1:3.1.1-19.13.fc11 set to be updated
---> Package openoffice.org-pdfimport.i586 1:3.1.1-19.13.fc11 set to be updated
---> Package openoffice.org-presenter-screen.i586 1:3.1.1-19.13.fc11 set to be updated
---> Package openoffice.org-pyuno.i586 1:3.1.1-19.13.fc11 set to be updated
---> Package openoffice.org-writer.i586 1:3.1.1-19.13.fc11 set to be updated
--> Processing Dependency: openoffice.org-brand = 1:3.1.1-19.13.fc11 for package: 1:openoffice.org-writer-3.1.1-19.13.fc11.i586
---> Package openoffice.org-writer-core.i586 1:3.1.1-19.13.fc11 set to be updated
---> Package openoffice.org-xsltfilter.i586 1:3.1.1-19.13.fc11 set to be updated
--> Processing Dependency: libprotobuf.so.2 for package: libcompizconfig-0.8.3-1.fc11.i586
---> Package protobuf.i586 0:2.2.0-2.fc11 set to be updated
--> Finished Dependency Resolution
1:openoffice.org-math-3.1.1-19.13.fc11.i586 from updates has depsolving problems
--> Missing Dependency: openoffice.org-brand = 1:3.1.1-19.13.fc11 is needed by package 1:openoffice.org-math-3.1.1-19.13.fc11.i586 (updates)
1:openoffice.org-impress-3.1.1-19.13.fc11.i586 from updates has depsolving problems
--> Missing Dependency: openoffice.org-brand = 1:3.1.1-19.13.fc11 is needed by package 1:openoffice.org-impress-3.1.1-19.13.fc11.i586 (updates)
1:openoffice.org-brand-3.1.1-20.ign.i586 from installed has depsolving problems
--> Missing Dependency: openoffice.org-core = 1:3.1.1-19.2.fc11 is needed by package 1:openoffice.org-brand-3.1.1-20.ign.i586 (installed)
1:openoffice.org-draw-3.1.1-19.13.fc11.i586 from updates has depsolving problems
--> Missing Dependency: openoffice.org-brand = 1:3.1.1-19.13.fc11 is needed by package 1:openoffice.org-draw-3.1.1-19.13.fc11.i586 (updates)
1:openoffice.org-base-3.1.1-19.13.fc11.i586 from updates has depsolving problems
--> Missing Dependency: openoffice.org-brand = 1:3.1.1-19.13.fc11 is needed by package 1:openoffice.org-base-3.1.1-19.13.fc11.i586 (updates)
1:openoffice.org-calc-3.1.1-19.13.fc11.i586 from updates has depsolving problems
--> Missing Dependency: openoffice.org-brand = 1:3.1.1-19.13.fc11 is needed by package 1:openoffice.org-calc-3.1.1-19.13.fc11.i586 (updates)
libcompizconfig-0.8.3-1.fc11.i586 from installed has depsolving problems
--> Missing Dependency: libprotobuf.so.2 is needed by package libcompizconfig-0.8.3-1.fc11.i586 (installed)
1:openoffice.org-writer-3.1.1-19.13.fc11.i586 from updates has depsolving problems
--> Missing Dependency: openoffice.org-brand = 1:3.1.1-19.13.fc11 is needed by package 1:openoffice.org-writer-3.1.1-19.13.fc11.i586 (updates)
Error: Missing Dependency: openoffice.org-brand = 1:3.1.1-19.13.fc11 is needed by package 1:openoffice.org-impress-3.1.1-19.13.fc11.i586 (updates)
Error: Missing Dependency: openoffice.org-brand = 1:3.1.1-19.13.fc11 is needed by package 1:openoffice.org-writer-3.1.1-19.13.fc11.i586 (updates)
Error: Missing Dependency: openoffice.org-brand = 1:3.1.1-19.13.fc11 is needed by package 1:openoffice.org-calc-3.1.1-19.13.fc11.i586 (updates)
Error: Missing Dependency: libprotobuf.so.2 is needed by package libcompizconfig-0.8.3-1.fc11.i586 (installed)
Error: Missing Dependency: openoffice.org-core = 1:3.1.1-19.2.fc11 is needed by package 1:openoffice.org-brand-3.1.1-20.ign.i586 (installed)
Error: Missing Dependency: openoffice.org-brand = 1:3.1.1-19.13.fc11 is needed by package 1:openoffice.org-base-3.1.1-19.13.fc11.i586 (updates)
Error: Missing Dependency: openoffice.org-brand = 1:3.1.1-19.13.fc11 is needed by package 1:openoffice.org-draw-3.1.1-19.13.fc11.i586 (updates)
Error: Missing Dependency: openoffice.org-brand = 1:3.1.1-19.13.fc11 is needed by package 1:openoffice.org-math-3.1.1-19.13.fc11.i586 (updates)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest


Begitu juga dengan saran seperti di atas ini :
[root@localhost ~]# yum update --skip-broken
...
Packages skipped because of dependency problems:
1:openoffice.org-base-3.1.1-19.13.fc11.i586 from updates
1:openoffice.org-base-core-3.1.1-19.13.fc11.i586 from updates
1:openoffice.org-calc-3.1.1-19.13.fc11.i586 from updates
1:openoffice.org-calc-core-3.1.1-19.13.fc11.i586 from updates
1:openoffice.org-core-3.1.1-19.13.fc11.i586 from updates
1:openoffice.org-draw-3.1.1-19.13.fc11.i586 from updates
1:openoffice.org-draw-core-3.1.1-19.13.fc11.i586 from updates
1:openoffice.org-emailmerge-3.1.1-19.13.fc11.i586 from updates
1:openoffice.org-graphicfilter-3.1.1-19.13.fc11.i586 from updates
1:openoffice.org-impress-3.1.1-19.13.fc11.i586 from updates
1:openoffice.org-impress-core-3.1.1-19.13.fc11.i586 from updates
1:openoffice.org-javafilter-3.1.1-19.13.fc11.i586 from updates
1:openoffice.org-math-3.1.1-19.13.fc11.i586 from updates
1:openoffice.org-math-core-3.1.1-19.13.fc11.i586 from updates
1:openoffice.org-pdfimport-3.1.1-19.13.fc11.i586 from updates
1:openoffice.org-presenter-screen-3.1.1-19.13.fc11.i586 from updates
1:openoffice.org-pyuno-3.1.1-19.13.fc11.i586 from updates
1:openoffice.org-writer-3.1.1-19.13.fc11.i586 from updates
1:openoffice.org-writer-core-3.1.1-19.13.fc11.i586 from updates
1:openoffice.org-xsltfilter-3.1.1-19.13.fc11.i586 from updates
protobuf-2.2.0-2.fc11.i586 from updates


Dari pesan kesalahan di atas, untuk meng-update beberapa paket, butuh paket
"openoffice.org-brand = 1:3.1.1-19.13.fc11". Padahal kalau di-update secara manual paket openoffice.org-brand, jawabannya sudah ada.

[root@localhost ~]# yum install openoffice.org-brand
Loaded plugins: refresh-packagekit
Setting up Install Process
Package matching 1:openoffice.org-brand-3.1.1-19.13.fc11.i586 already installed. Checking for update.
Nothing to do

Apa lagi yang musti dikerjakan ya???

Pegawai Pusat Pengembangan Informatika era 1990

Pusat Pengembangan Informatika (PPI) awalnya dibentuk untuk melayani komputasi. Namun perkembangan kebutuhan lembaga menyebabkan PPI harus mengurusi Perpustakaan, pengembangan sistem informasi, dan pengelolaan jaringan komputer berbasis mainframe DEC VAX 8550. Pemilihan DEC VAX 8550 untuk menggantikan IBM 4331 adalah hasil kerja sama antara Pemerintah Indonesia dan Pemerintah Canada melalui Atomic Energy of Canada Limited (AECL) atau Energie atomique du Canada.

Sekedar untuk sejarah, pegawai yang pernah bertugas di PPI era 1990 (sebelum saya bergabung adalah :
  1. Drs. M. Bunjamin (Retired), Kepala Pusat pertama (1986-1992)
  2. Ir. Surtipanti (Retired)
  3. Drs. Karsono, M.Sc., Kepala Pusat ke 6 (2009-sekarang)
  4. Ismono Sudirman, B.Sc. (Retired)
  5. Drs. M. Syamsa Ardisasmita (Kemenristek), Kepala Pusat ke 4 (1999-2004)
  6. Dra. Rulijanti Pardewi (Retired), Kepala Pusat ke 5 (2005-2009)
  7. Dra. Mutiara
  8. Dra. Maria Magdalena Kasih Widyastuti
  9. Dra. M.B. Mike Susmikanti
  10. Dra. Khairina NS.
  11. Drs. JMJ. Hendro Cahyono (Re-sign)
  12. Drs. Syafedi (Mutasi)
  13. Endang Rosadi, B.ST. (Retired)
  14. Suhali Adin Surjadi (Retired)
  15. Dra. Sri Peni (Retired)
  16. Dra. Sri Ningsih (Retired)
  17. Drs. Nurdin Effendi (Mutasi)
  18. Drs. Riyanto, M.Sc. (Re-sign)
  19. Drs. Dedy Tia Erizal (Pemda Sumbar/Padang)
  20. Drs. R.B. Wahyu
  21. Drs. Suharna Surapranata (Re-sign)
  22. Dra. Sri Anastasia Yudistirani (Re-sign)
  23. Dra. Hermitri Widyastuti (Re-sign)
  24. Drs. Antoni Lufti (Re-sign)
  25. Drs. Nur Hadisukmana (Re-sign)
  26. Ir. Hadi Susilo
  27. Ir. THM. Budi Utomo Prabowo (Re-sign)
  28. Drs. R. Rudi Kusnadi Sultana (Re-sign)
  29. Drs. Marsodi (Bapeten)
  30. Drs. R. Ali Lingga Moerti (Re-sign)
  31. Drs. Agung Santoso (Alm)
  32. Drs. Yogi Paryana Sutejo (Re-sign)
  33. Drs. Irawan
  34. Dra. Lusia Tri Sanylinggarsari (Re-sign)
  35. Drs. I Made Sudjana (Re-sign)
  36. Junaidi S.
  37. Raden Suhendani
  38. Tunas Wiryawan, B.Sc
  39. Mince Trisye Patty (Re-sign)
  40. Rusmiyati
  41. Indrijatmaka Susila Tama
  42. Suparsi (Mutasi)
  43. Diah Pristiowati (Mutasi)
  44. Aswan Edisyah Putra
  45. Ir. Saiful Iman (Re-sign)
  46. Ghofir
  47. Iis Sustini
  48. Moh. Zen
  49. I Gusti Ketut Pribadi
  50. Roliana Sugiman
  51. Erwan Supriatno (Re-sign)
  52. Ahmad Remi Nasibu (Re-sign)
  53. Yulianti
  54. Setiawati
  55. Sugihartono (KPK)
  56. Eko Prasetyo
Yang Re-sign lainnya setelah tahun 1990 :
  1. Dr. Arko, M.Sc.
  2. Ir. Syaiful Iman (Balikpapan)
  3. Ir. Esti Krisnawardhani, M.Sc. (karena sakit)
  4. Drs. Musoli (Nurul Fikri)
  5. Drs. Rusdiyanto (Brunei)
  6. Ir. M. Handy Trisakti (Australia)
  7. Ir. Mira Hidayati
  8. Ir. Pambudi Haju Tri Soenarsihanto
  9. Ir. Agnes Maria Rina Istiani (Jepang)
  10. Ir. Ma'ruf Patimura
  11. Ir. M. Reza Luthfi Hasni
  12. Ir. Dwifiandika Suprihadi Faulus
  13. Drs. Nur Hadisukmana, M.Sc. (President University, Cikarang)
  14. Mangara Tambun
  15. Joko Nugroho
Yang penah bekerja di PPI setelah tahun 1990 :
  1. Dr. R.S. Lasijo (Retired), Kepala Pusat ke 2 (1992-1996)
  2. Drs. Mudjono (Retired)
  3. Agusri Fanie, B.A., (Retired)
  4. Drs. Alar Darlan (Mutasi antar unit)
  5. Drs. Purdoko Sulistyo (Mutasi antar unit)
  6. Dr. Ferhat Aziz (Mutasi antar unit)
  7. Drs. Heryudo Kusumo, M.Sc. (Bapeten), Kepala Pusat ke 3 (1996-1999)
  8. Sulistyo Nugroho, S.T., (Kemenristek)
  9. Dra. Rosyida Somad (Kemenpora)
  10. Ir. Mustangimah, MSi. (Kemenristek)
  11. Sugihartono (KPK)
  12. Dr. Marsodi (Bapeten)
  13. Dr. Syafedi (UIN Syarif Hidayatullah Jakarta)
  14. Dr. Sangadji (Wafat Des 2011)
  15. Agus Juwana (Kemenkumham Surakarta)
Kepala PPI dari waktu ke waktu :
  1. Drs. M. Bunjamin (1986-1992)
  2. Dr. R.S. Lasijo (1992-1996)
  3. Drs. Heryudo Kusumo, M.Sc. (1996-1999)
  4. Prof. Dr. H. M. Syamsa Ardisasmita (1999-2004). Wafat 20-11-2011.
  5. Dra. Rulijanti Pardewi, MM., (2005-2009)
  6. Drs. Karsono, M.Sc., (2009-2012)

Tuesday, August 03, 2010

Update Security Patch IGOS Nusantara 2009

[igos@localhost ~]$ su -
Password:
[root@localhost ~]# yum check-update
Loaded plugins: refresh-packagekit
[root@localhost ~]#
[root@localhost ~]# more /etc/yum.repos.d/fedora.repo
[fedora]
name=fedora
failovermethod=priority
baseurl=http://kambing.ui.ac.id/fedora/releases/11/Everything/i386/os/
enabled=1
gpgcheck=0
[root@localhost ~]#
[root@localhost ~]# yum check-update
Loaded plugins: refresh-packagekit
fedora | 3.8 kB 00:00
fedora/primary_db | 8.4 MB 00:08
ign2009-updates | 2.6 kB 00:00
ign2009-updates/primary_db | 34 kB 00:00

firefox.i586 3.5.8-2 ign2009-updates
gnome-panel.i386 2.26.3-2009.3 ign2009-updates
gnome-panel-libs.i386 2.26.3-2009.3 ign2009-updates
ign-bookmarks.noarch 2010-3 ign2009-updates
openoffice.org-brand.i586 1:3.1.1-22.ign ign2009-updates
xulrunner.i586 1.9.1.8-1.fc11 ign2009-updates
[root@localhost ~]#
[root@localhost ~]# yum update
Loaded plugins: refresh-packagekit
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package firefox.i586 0:3.5.8-2 set to be updated
---> Package gnome-panel.i386 0:2.26.3-2009.3 set to be updated
---> Package gnome-panel-libs.i386 0:2.26.3-2009.3 set to be updated
---> Package ign-bookmarks.noarch 0:2010-3 set to be updated
---> Package openoffice.org-brand.i586 1:3.1.1-22.ign set to be updated
---> Package xulrunner.i586 0:1.9.1.8-1.fc11 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Updating:
firefox i586 3.5.8-2 ign2009-updates 1.4 M
gnome-panel i386 2.26.3-2009.3 ign2009-updates 2.9 M
gnome-panel-libs i386 2.26.3-2009.3 ign2009-updates 121 k
ign-bookmarks noarch 2010-3 ign2009-updates 5.2 k
openoffice.org-brand i586 1:3.1.1-22.ign ign2009-updates 611 k
xulrunner i586 1.9.1.8-1.fc11 ign2009-updates 10 M

Transaction Summary
================================================================================
Install 0 Package(s)
Upgrade 6 Package(s)

Total download size: 15 M
Is this ok [y/N]: y
Downloading Packages:
(1/6): firefox-3.5.8-2.i586.rpm | 1.4 MB 00:01
(2/6): gnome-panel-2.26.3-2009.3.i386.rpm | 2.9 MB 00:02
(3/6): gnome-panel-libs-2.26.3-2009.3.i386.rpm | 121 kB 00:00
(4/6): ign-bookmarks-2010-3.noarch.rpm | 5.2 kB 00:00
(5/6): openoffice.org-brand-3.1.1-22.ign.i586.rpm | 611 kB 00:00
(6/6): xulrunner-1.9.1.8-1.i586.rpm | 10 MB 00:07
--------------------------------------------------------------------------------
Total 375 kB/s | 15 MB 00:41
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : xulrunner-1.9.1.8-1.fc11.i586 1/12
Updating : gnome-panel-libs-2.26.3-2009.3.i386 2/12
Updating : ign-bookmarks-2010-3.noarch 3/12
Updating : gnome-panel-2.26.3-2009.3.i386 4/12
Updating : 1:openoffice.org-brand-3.1.1-22.ign.i586 5/12
Updating : firefox-3.5.8-2.i586 6/12
Cleanup : gnome-panel-libs-2.26.3-1.fc11.i586 7/12
Cleanup : ign-bookmarks-2009-1.noarch 8/12
Cleanup : gnome-panel-2.26.3-1.fc11.i586 9/12
Cleanup : 1:openoffice.org-brand-3.1.1-20.ign.i586 10/12
Cleanup : xulrunner-1.9.1.3-3.i586 11/12
Cleanup : firefox-3.5.3-4.ign.i586 12/12

Updated:
firefox.i586 0:3.5.8-2 gnome-panel.i386 0:2.26.3-2009.3
gnome-panel-libs.i386 0:2.26.3-2009.3 ign-bookmarks.noarch 0:2010-3
openoffice.org-brand.i586 1:3.1.1-22.ign xulrunner.i586 0:1.9.1.8-1.fc11

Complete!
[root@localhost ~]#

Sunday, July 25, 2010

Tips OpenOffice.org

OpenOffice.org Writer
Membuat agar bagian header sebuah tabel terulang pada halaman selanjutnya :
Blok baris atau header yang mau diulang lalu pilih menu Tabel --> Heading rows repeate

Saat menuliskan angka 4.2.1 dalam sebuah tabel, writer akan mengubahnya secara otomatis ke 04/02/01, padahal kita tidak ingin menuliskan dalam format date. Supaya tulisan 4.2.1 tampil apa adanya, formatlah sel tabel tersebut ke text.
Blok sel tsb lalu pilih menu Table --> Number Format... --> pilih Text

OpenOffice.org Calc
Insert text file ke dalam Sheet:
Insert --> Sheet From File... --> Tentukan nama filenya --> Open --> muncul jendela Text Import -> Tentukan Separator Options, jika sudah sesuai --> OK --> Jika pilihan pada jendela Insert Sheet sudah sesuai --> OK

OpenOffice.org Impress

Wednesday, July 21, 2010

Pemindahan Mailbox dari Vol1 ke Vol2

Pemindahan mailbox dilakukan mengingat kapasitas hard disk pada vol1 sudah mengkhawatirkan. Sementara vol2 adalah hard disk yang baru saja ditambahkan ke dalam sistem. Sebelum melakukan pemindahan mailbox, sebaiknya periksa kapasitas pada vol1. Hasil pengecekan menunjukkan kapasitas ruang yang terpakai mencapai 94%. Diharapkan kapasitas ruang yang terpakai hanya 75% saja. Vol1 disini identik dengan device /dev/da1s1d.
# df
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/da0s1a 10154158 1316332 8025494 14% /
devfs 1 1 0 100% /dev
/dev/da0s2g 176093910 71198144 90808254 44% /home
/dev/da0s2f 1012974 37608 894330 4% /tmp
/dev/da0s1d 43661490 11559072 28609500 29% /usr
/dev/da0s2d 40622796 8001694 29371280 21% /var
/dev/da0s2e 10154158 8274918 1066908 89% /var/log
/dev/da1s1d 283743762 246068516 14975746 94% /vol1/virtualmail
devfs 1 1 0 100% /var/named/dev
/dev/da2s1d 283743762 2652 261041610 0% /vol2
Untuk melakukan pemindahan mailbox, langkah yang dilakukan adalah
  1. Stop service postfix. Ini untuk menjaga konsistensi isi folder.
  2. Copy mailbox user dari folder asal ke folder tujuan
  3. Move folder mailbox user dari folder asal ke home
  4. Buat symbolic link di folder asal
  5. Selalu mencatat proses ke dalam file log
  6. Start kembali service postfix
Agar proses bisa dilakukan dengan sekali pukul, sebaiknya digunakan shell script. Kira-kira shell script-nya adalah sbb :
#!/bin/sh

# file name : /root/bin/pindah_mail_ke_vol2.sh
# pindahin sebagian mail dari /var/virtualmail
# ke /vol2/virtualmail

# biar nggak repot kita ke direktori berikut dulu
#cd /vol1/virtualmail/ba.go.id
BASEDIR=/vol1/virtualmail/ba.go.id
DESTDIR=/vol2/virtualmail/ba.go.id
LOGFILE=/var/log/pindahin_email_user_ke_vol2.log
OWNER=virtualmail
BACKUPDIR=/home/amir/backupmail
echo `date` "========= script started ========" >> $LOGFILE

## Stop service postfix terlebih dahulu
/usr/local/etc/rc.d/postfix stop

####---- starting loop
####----
for foo in $@
do
echo `date` "------ $foo" >> $LOGFILE
cp -R ${BASEDIR}/${foo} ${DESTDIR}/${foo}
echo `date` "$foo copy done" >> $LOGFILE
chown -R $OWNER ${DESTDIR}/${foo}
echo `date` "$foo chown done" >> $LOGFILE
mv ${BASEDIR}/${foo} ${BACKUPDIR}/00_${foo}
echo `date` "$foo backup done" >> $LOGFILE
ln -s ${DESTDIR}/${foo} ${BASEDIR}/${foo}
echo `date` "$foo link done" >> $LOGFILE
done
####----
####---- ending loop

## Start service postfix lagi
/usr/local/etc/rc.d/postfix start

echo `date` "========= script end ========" >> $LOGFILE
Misal, akan memindahkan mailbox "abasit". Contoh cara menjalankan script ini adalah

[root@s4] ~ # cd bin
[root@s4] ~/bin # ./pindahin_mail_ke_vol2.sh abasit
postfix/postfix-script: stopping the Postfix mail system
postfix/postfix-script: starting the Postfix mail system
[root@s4] ~/bin #


Jika ingin memindahkan lebih dari satu user, misal si anam, anim dan anum sekaligus
[root@s4] ~/bin # ./pindahin_mail_ke_vol2.sh anam anim anum
postfix/postfix-script: stopping the Postfix mail system
postfix/postfix-script: starting the Postfix mail system
[root@s4] ~/bin #


Jika salah menuliskan user yang akan dipindah, akan muncul pesan kesalahan, misal salah menuliskan nama yusfida. Seharusnya yurfida.
[root@s4] ~/bin # ./pindahin_mail_ke_vol2.sh yusfida
postfix/postfix-script: stopping the Postfix mail system
cp: /vol1/virtualmail/ba.go.id/yusfida: No such file or directory
chown: /vol2/virtualmail/ba.go.id/yusfida: No such file or directory
mv: rename /vol1/virtualmail/ba.go.id/yusfida to /home/amir/backupmail/00_yusfida: No such file or directory
postfix/postfix-script: starting the Postfix mail system
[root@s4] ~/bin #


Karena proses ini akan menghentika postfix, maka proses penerimaan dan pengiriman mail akan terhenti. Untuk itu eksekusi script ini sebaiknya dilakukan pada saat user tidak ada yang aktif, misal di tengah malam. Untuk mengetahui ada tidaknya user yang aktif, bisa menggunakan tool tertentu.

Jika postfix sedang stop, saat mengirim email akan muncul pesan :
ERROR:
Connection refused
Server replied: 61 Can't open SMTP stream.

Kecepatan proses pemindahan ini sekitar 100 MB per menit. Untuk melihat ukuran folder, bisa gunakan perintah baris :
[root@4] ~/bin # du -d 1 -h /vol1/virtualmail/ba.go.id/yayuk
2.0K /vol1/virtualmail/ba.go.id/yayuk/tmp
1.9M /vol1/virtualmail/ba.go.id/yayuk/new
96M /vol1/virtualmail/ba.go.id/yayuk/cur
152M /vol1/virtualmail/ba.go.id/yayuk/.Trash
4.0K /vol1/virtualmail/ba.go.id/yayuk/courierimapkeywords
18K /vol1/virtualmail/ba.go.id/yayuk/.Drafts
87M /vol1/virtualmail/ba.go.id/yayuk/.Sent
528K /vol1/virtualmail/ba.go.id/yayuk/.Spam
338M /vol1/virtualmail/ba.go.id/yayuk
[root@s4] ~/bin #


Tampak ukuran mailbox user yayuk adalah 338 MB.

Tuesday, July 20, 2010

Tambah Hard Disk di HP ProLiant DL380G4

Urusan tambah hard disk di server HP ProLiant DL380G4 bisa menjadi rumit jika prosedurnya tidak difahami. Sebelum menjalankan prosedur, yakinkan bahwa hard disk yang akan ditambahkan adalah hard disk jenis SCSI. Jenis persisnya adalah HP Compaq 300 GB ULTRA320 SCSI 10K RPM dengan P/N 350964-B22. Namun tidak tertutup kemungkinan untuk menambahkan hard disk jenis yang sama namun dengan ukuran lain, misalnya ukuran 72 GB atau 146 GB. Kebetulan server menggunakan sistem operasi FreeBSD 6.1.
Langkah-langkah yang dilakukan

1. Matikan server

# shutdown -h now

Tunggu beberapa saat hingga shutdown sempurna.

2. Pasang hard disk pada bay, perhatikan nomor bay. Ikuti urutan nomornya

3. Lakukan Start-Up. Sebelum proses start-up masuk ke dalam sistem operasi, hentikan proses booting untuk melakukan pengenalan hard disk.

4. Tekan F8 ketika ada pilihan untuk melakukan konfigurasi hard disk SCSI hingga muncul Main Menu yang berisi "Create Logical Drive", "View Logical Drive", dan "Delete Logical Drive".

5. Sebaiknya pilih "View Logical Drive" lalu catat "Available Logical Drives". Ini hanya untuk melakukan dokumentasi sebelum proses dijalankan.

6. Setelah selesai melihat Logical Drive yang tersedia, silahkan pilih "Create Logical Drive". Sehingga akan muncul "Available Physical Drives". Tekan <enter> untuk membuat sebuah Logical Drive. Sehingga muncul jendela "
 
You have selected a logical drive with a total
data size of 279.4 GB and RAID 0 Fault tolerance.

Press  to save configuration
Press  to cancel

7. Tekan F8 untuk menyimpan perubahan dan tunggu proses penyimpanan konfigurasi selesai.

8. Coba pilih lagi menu "View Logical Drive" dan catat kembali "Available Logical Drives". Bandingkan dengan catatan sebelumnya.




Selanjutnya adalah proses :
  1. Pemberian label dengan perintah baris "sysinstall"
  2. Pembuatan folder terkait dengan label tersebut
  3. Melakukan mount
  4. Mengecek hasil mount dengan perintah baris "df"
Hasil tampilan dengan perintah baris "df" :
 
# df
Filesystem  1K-blocks      Used     Avail Capacity  Mounted on
/dev/da0s1a  10154158   1316260   8025566    14%    /
devfs               1         1         0   100%    /dev
/dev/da0s2g 176093910  71207682  90798716    44%    /home
/dev/da0s2f   1012974     37582    894356     4%    /tmp
/dev/da0s1d  43661490  11569668  28598904    29%    /usr
/dev/da0s2d  40622796   8004212  29368762    21%    /var
/dev/da0s2e  10154158   8337042   1004784    89%    /var/log
/dev/da1s1d 283743762 246040998  15003264    94%    /var/virtualmail
devfs               1         1         0   100%    /var/named/dev
/dev/da2s1d 283743762      2652 261041610     0%    /vol2

Tampak bahwa /dev/da2s1d sudah muncul. Sebaiknya sebelum hard disk ditambah, bisa melakukan perintah ini untuk sekedar mengetahui keadaan sebelum dan sesudah proses penambahan hard disk.

Selamat mencoba.

Sunday, July 18, 2010

My Servers

Ada banyak server di bawah kewenangan Bidang Sistem dan Jaringan Komputer. Ada mail, mail2, web, nhc, repo, proxy (setiap kawasan), digilib, NAS (ftp), nms, cctv1, cctv2, IP BrikerBox, DEC Alpha. Karena pengadaannya bergantung dana yang diterima, tidak bisa diharapkan semua server memiliki spesifikasi yang optimal dan tinggi. Spesifikasi disesuaikan dengan alokasi dana yang ada. Mudah-mudahan di lain waktu ada dana untuk menambah peripheral.
Spesisikasi server mail1 (th 2006):
  1. HP ProLiant DL380 G4-735
  2. Intel Xeon 3.0 GHz dengan cache 2 MB
  3. 1 GB DDR2-400 dengan ECC Reg
  4. Dual Channel U320 SCSI Card
  5. 24x CD-ROM
  6. VGA 8 MB
  7. 2x GbE NIC
  8. 6x HotSwap Drive Cage
  9. 6 slot memory, terpakai 2 slot (RAM bawaan dan RAM tambahan)
  10. Rackmount 2U
  11. S/N : SGH636X3KW
  12. PID : 378735-371
  13. iLO Pass : 9BBB73Z0
Peripheral yang sudah ditambahkan :
  1. 1 x RAM ditambah 1 GB DDR2-400 ECC Reg, sehingga menjadi 2 GB. Kemungkinan jenis memori ini adalah HP 2GB (2X1GB) PC2-3200 400Mhz DDR2 SDRAM ECC Reg dengan P/N 343056-B21 seharga US$ 360,00. P/N ini nanti akan di cross check dengan hasil pemotretan Subbid Sistem Komputer. Ternyata S/C : 460674009FH dan P/N : 345113-851.
  2. 2 x HP Compaq 300 GB ULTRA320 SCSI 10K RPM P/N 350964-B22
  3. 1 x HP Compaq 300 GB ULTRA320 SCSI 10K RPM P/N 350964-B22 ditambah pada 20 Juli 2010 Jam 12.00
  4. Rencana akan ditambahkan 8 GB RAM, yaitu HP 8GB (2X4GB) PC2-3200 400Mhz DDR2 SDRAM ECC Reg dengan P/N 404122-B21 seharga US$ 1.100,00. Informasi klik di sini.
Yang tertera pada hard disk :
300 GB 10000 RPM
WIDE ULTRA320 SCSI
HP MODEL BD3008A4C6
HP P/N: 360205-023
ST3300007LC

Yang tertera pada Memori :
1GB 1RX4 PC2-3200R-333-12-C0
1GB, DDR2, 400, CL3, ECC, REG
PN : 345113-851
S/C : 460674009FH

Kalau mau tambah memori ke 8GB, menurut obengbintang.com, pilihannya adalah :
Memory For HP Prolinat G4 Series (ML, DL, BL series)
404122-B21, HP 8GB (2X4GB) PC2-3200 400Mhz DDR2 SDRAM ECC Reg, $ 1.100
348106-B21, HP 8GB (2X4GB) PC2-3200 400Mhz DDR2 SDRAM ECC Reg, $ 860

Memory For HP Prolinat G3/G4 Series (ML, DL, BL series)
395409-B21, HP 8GB (2x4GB) PC2700 333Mhz DDR SDRAM ECC Reg., $ 1.585

Apabila asumsinya adalah memori yang digunakan PC3200, bukan PC2700, maka akan ada dua jenis, yaitu dengan P/N 404122-B21 dan P/N 348106-B21. Kira-kira mana yang cocok dengan HP ProLiant DL380 G4?

Spesisikasi server mail2 (th 2008):
  1. HP ProLiant DL380G5-526
  2. Processor type : Intel® Xeon® E5405 Quad Core Processor 2 Ghz
  3. Processor speed : 2 Ghz
  4. Number of processors : 1 processor
  5. Internal cache : 12 MB (2 x 6 MB) Level 2 cache
  6. Standard memory : 2 GB (FDD2-667 ECC
  7. Hard disk controller : HP Smart Array E200/64MB Controller (RAID 0/1/1+0)
  8. Optical drives : DVD+R/RW
  9. VGA Card : ATI 16 MB
  10. Interface : 2 x GbE
  11. Size : Rackmount 2 U
Peripheral yang sudah ditambahkan :
  1. 1 x HP 146GB 3G SAS (Serial Attached SCSI) 10K SFF (2.5-inch) P/N 418367-B21
  2. 1 x HP 300GB 3G SAS (Serial Attached SCSI) 10K SFF (2.5-inch) P/N 492620-B21
Lihat :
  1. http://www.digi.co.id/
  2. http://obengbintang.com/
  3. http://www.bhinneka.com/
  4. http://www.prodigi.co.id/
  5. http://h18000.www1.hp.com/
  6. http://www.multipro.co.id/
  7. http://www.productsdb.com/
  8. http://perangkat-keras-komputer.tokobagus.com/