Clear Digi_PortServer_TS16′s buffer using Scheduler on Solaris 10

24 September 2012 Leave a comment


Description : Digi PortServer TS16 always hang after operating for hours, and need to hot-restarted.
Analysis of Problem : We assume device hang because of buffer over flow.
Solution : Create script with specific function (login to the device, clear all buffer, logout) and execute automagicaly with cron scheduler.

Figure 1. Digi PortServer TS16 connect to Solaris box via UTP Cable

Read more…

Catatan Shell Script

3 September 2012 Leave a comment

Filename Wildcards

The following characters are interpreted by the shell as filename wildcards, and any word containing them is replaced by a sorted list of all the matching files.

Wildcards may be used in the directory parts of a pathname as well as the filename part. If no files match the wildcard, it is left unchanged. Wildcards are not full regular expressions. Sed, grep, awk etc. work with more flexible (and more complex) string matching operators.

Match zero or more characters.
Match any single character
Match any single character from the bracketed set. A range of characters can be specified with [ - ]
Match any single character NOT in the bracketed set. Read more…

Categories: bash scripting

Kill Zombie Process on Solaris 10 (or another *nix family)

30 August 2012 Leave a comment

    Requirement :

  1. Paham konsep Operating System secara umum.
  2. Paham konsep “process” pada unix family, utamanya Solaris.
  3. Terbiasa menggunakan OS Solaris10.
  4. Mau membaca & mencoba tulisan ini :D

Attention :

Tulisan ini adalah pengalaman pribadi saya, kalaupun bisa menjadi tips bagi pembaca sekalian ya alhamdulillah, tapi klo systemnya menjadi error saya tidak bersedia untuk dikejar-kejar. Read more…

Create SVN Server and Browsing Repository from WebServer (https)

12 May 2012 9 comments

Salah satu kegunaan SVN (subversion) adalah untuk mempermudah programmer dalam me-manage source code yang dibuatnya. SVN membantu kita utk melakukan update source code, rollback to specific version, membuat branch, dll.
Tutorial ini menjelaskan step-by-step proses instalasi SVN server, serta browsing melalui web server (https) pada webserver apache. Pada dasarnya tanpa membuat koneksi https kita juga sdh bisa mem-browsing isi SVN server melalui web server tetapi pada disini sengaja saya gunakan HTTPS karena kita menggunakan web-based authentikasi, yang tentunya username & password yg ada tidak kita harapkan untuk di-sniff oleh kawan2 kita yg cukup “pintar”. :)
Read more…

Hopfs GPS Simulator using Lazarus-Freepascal

25 April 2012 Leave a comment

This simulator is follow-up from previous shell-scripting simulator.
Why? Because previous simulator not satisfy me :D The baudrate is not setting-able in jpnevulator.
Because of that, I decide to create another simulator using lazarus. Read more…

Categories: Uncategorized

Portsnap error when fetching metadata

25 April 2012 5 comments


root@documentation:/home/lqman# portsnap fetch
Looking up mirrors... 4 mirrors found.
Fetching snapshot tag from done.
Fetching snapshot metadata... done.
Updating from Tue Apr 10 14:26:36 WIT 2012 to Thu Apr 19 13:29:51 WIT 2012.
Fetching 4 metadata patches. done.
Applying metadata patches... done.
Fetching 4 metadata files... /usr/sbin/portsnap: cannot open 67a31f4d7c38f9a89afb15b40a7bd893cbfdffb4f14703f84d8b6f747084f87e.gz: No such file or directory
metadata is corrupt

Read more…

Sending data to serial port simultaneusly using jpnevulator

31 March 2012 7 comments

This solution comes when we facing trouble on solaris10 at remote site, whenever the machine read data from GPS using usb2serial cable, core-dump is always happen.

Before we go to the site (medan) we must simulate & solve problem at our office.

Laptop CQ-42 Read more…


Get every new post delivered to your Inbox.