mysql : Got error 127 from storage engine

Posted on October 24th, 2008 by id_provoke.
Categories: Linux.

Duh.. udah sore di telp pula dari client.. katanya a** monitoringnya gajalan, selidik punya selidik ternyata mysql keluarin error “Got error 127 from storage engine” gw pikir cuma tablenya aja yang rusak, so tinggal repair table aja. Tapi setelah dijalanin lagi applikasinya masih tetap mysqlnya keluarin error “Got error 127 from storage engine” dan akhirnya mendapatkan jawabannya kalo mysql default rowsnya terbatas. So harus ditambahin.. Caranya sbb:

(more…)

no comments yet.

Renaming a NIC on SUSE and openSUSE

Posted on August 27th, 2008 by id_provoke.
Categories: Linux, Orat-oret.

Problem:

Say you have installed two NICs in your system e.g. eth0 and eth1 and sometime later you removed one of the nics from your machine, say, eth0.

Now you want to access the remaining nic, eth1, as eth0, or you want to simply name the existing nic (i.e. eth1) as eth0.

Solution:

(more…)

no comments yet.

Group Mapping MS Windows and UNIX

Posted on August 21st, 2008 by id_provoke.
Categories: Uncategorized.

As usual I’m allways visite my blog to read the manual from samba, because i had always got the problem from samba. So i wrote the documentation, I know I will have to come back here to find it hehehe :D

The following steps describe how to make Samba PDC users members of the Domain Admins group.

1. Create a UNIX group (usually in /etc/group); let’s call it domadm.
2. Add to this group the users that must be “Administrators”. For example, if you want joe, john, and mary to be administrators, your entry in /etc/group will look like this:

ntadmin:x:502:henry,flubber

3. Map this domadm group to the “Domain Admins” group by executing the command:

# net groupmap add ntgroup=”Domain Admins” unixgroup=ntadmin rid=512 type=d

The quotes around “Domain Admins” are necessary due to the space in the group name. Also make sure to leave no white space surrounding the equal character (=).

(more…)

no comments yet.

Convert Firefox 3 cookies.sqlite to cookies.txt

Posted on July 16th, 2008 by id_provoke.
Categories: Uncategorized.

Now at firefox 3 does not user cookies.txt, they are use cookies.sqlite, if you use wget or curl command to download with cookies, may you must convert cookies.sqlite to cookies.txt, just copy and paste this scipt, and the script will be convert your cookies.sqlite to cookies.txt.

#!/usr/bin/python

import sqlite3 as db
import sys

cookiedb = ‘/home/henry/.mozilla/firefox/pj8×7vu3.default/cookies.sqlite’
targetfile = ‘/home/henry/kuki-.txt’

what = sys.argv[1]
connection = db.connect(cookiedb)
cursor = connection.cursor()
contents = “host, path, isSecure, expiry, name, value”

cursor.execute(”SELECT ” +contents+ ” FROM moz_cookies WHERE host LIKE ‘%” +what+ “%’”)

file = open(targetfile, ‘w’)
index = 0
for row in cursor.fetchall():
file.write(”%s\tTRUE\t%s\t%s\t%d\t%s\t%s\n” % (row[0], row[1],
str(bool(row[2])).upper(), row[3], str(row[4]), str(row[5])))
index += 1

print “Gesucht nach: %s” % what
print “Exportiert: %d” % index

file.close()
connection.close()

save this script as export-firefox-cookies.py and run with command

./export-firefox-cookies.py rapidshare

Source : http://blog.schlunzen.org/2008/06/19/firefox-3-und-cookiestxt/

no comments yet.

Bash For loop Example

Posted on July 15th, 2008 by id_provoke.
Categories: Linux, Orat-oret.

I’m always forgetting the syntax to make “for” loops in Bash. Anyhow, I know I will have to come back here to find it, so I thought I would write put up this quick example with the hope that it will be useful to others as well.

for i in $(seq 1 100); do echo -n “file${i} “; touch file${i} 2>&1; done

The the above for loop will create 100 files (called file1, file2, etc.).

another for loop exampe

(more…)

no comments yet.

Vega4 - Life Is Beautiful

Posted on June 25th, 2008 by id_provoke.
Categories: Music.

Vega4 - Life Is Beautiful

Audio clip: Adobe Flash Player (version 6 or above) is required to play this audio clip. You also need to have JavaScript enabled in your browser.

Life is beautiful
We love until we die

When you run into my arms
We steal a perfect moment
Let the monsters see you smile
Let them see you smile
And do i hold you too tightly
When will the hurt kick in

Life is beautiful
But it’s complicated
We barely make it
We don’t need to understand
There are miracles
Miracles

Your life is beautiful
Our hearts they beat and break
When you run away from harm
Will you run back into my arms
Like you did when you were young
Will you come back to me
And i will hold you tightly
When the hurting kicks in

Life is beautiful
But it’s complicated
We barely make it
We don’t need to understand
There are miracles
Miracles

Stand where you are
We let all these moments pass us by

It’s amazing where i’m standing
There’s a lot left we can give

This is ours just for a moment
There’s a lot left we can give

It’s amazing where i’m standing
There’s a lot left we can give

This is ours just for a moment
There’s a lot left we can give

no comments yet.

Install CVS Server on openSUSE 11

Posted on June 24th, 2008 by id_provoke.
Categories: Linux, Orat-oret.

CVS adalah Concurrent Versions System. Fungsi dari CVS sendiri adalah untuk mencatat perubahan pada sebuah file, biasanya lebih sering digunakan untuk mencatat sebuah project development yang mencatat perubahan-perubahan pada file-filenya.

Install CVS di openSUSE 11

# zypper in cvs
Reading installed packages…
The following NEW package is going to be installed:
cvs

Overall download size: 368.0 K. After the operation, additional 872.0 K will be used.
Continue? [YES/no]: yes
Downloading package cvs-1.12.12-126.1.i586 (1/1), 368.0 K (872.0 K unpacked)
Downloading: cvs-1.12.12-126.1.i586.rpm [done (11.0 K/s)]
Installing: cvs-1.12.12-126.1 [done]

(more…)

2 comments.

openSUSE 11 (IIX)

Posted on June 20th, 2008 by id_provoke.
Categories: Linux.

Buat penggemar distro opensuse kemaren tanggal 19 Juni 2008 telah release opensuse versi 11.

Untuk para linuxer yang hanya mempunya benwit internasional pas2an dan link IIX nya kenceng bisa mendapatkan CD dan di DVD nya dengan mendownload link di bawah ini:

Versi openSUSE-11(i386) CD berupa liveCD :

* GNOME LiveCD MD5SUM c9d2c31ef7a1429d1abbb0cbd3ba505b

* KDE LiveCD MD5SUM 83b1a04f18d6782cfe0407edadac377f

Versi openSUSE-11 (i386) DVD

* openSUSE-DVD MD5SUM ed6a5b3feb668866df812b1c2aed9d7f

no comments yet.

Kisah Lagu Gaby “Tinggal Kenangan” Download MP3

Posted on June 19th, 2008 by id_provoke.
Categories: Music, Orat-oret.

Versi Piano

Audio clip: Adobe Flash Player (version 6 or above) is required to play this audio clip. You also need to have JavaScript enabled in your browser.

Versi Gitar

Audio clip: Adobe Flash Player (version 6 or above) is required to play this audio clip. You also need to have JavaScript enabled in your browser.

Pernah ada rasa cinta

antara kita kini tinggal kenangan

Ingin kulupakan

semua tentang dirimu

Namun tak lagi kan seperti dirimu

oh bintangku

Jauh kau pergi meninggalkan diriku

disini aku merindukan dirimu

kini ku coba mencari penggantimu

namun tak lagi kan seperti dirimu

oh kekasih”

Lagu ini lagi heboh di tv, mulai dari infowtaiment sampe ke warung-warung pojokan (halaaah..)yang membahas siapa yang punya lagu ini. Ya nry (kosa kata baru nry = henry) sih gak peduli lagu ini siapa yang ngarang pokoknya nih lagu enak di denger bagi yang mau download mp3 gaby linknya ada di bawah.

(more…)

3 comments.

Mplayer dan Mencoder tips trik

Posted on June 16th, 2008 by id_provoke.
Categories: Linux.

Buat pencinta linux dan yang sering nonton di linux terutama menggunakan mplayer berikut tips dan triknya:

## MPLAYER

Q: Bila bermasalah dengan subtitile font terliha terlalu besar

(more…)

1 comment.