<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Catatan kerja</title>
	<atom:link href="http://aderahman.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://aderahman.wordpress.com</link>
	<description>Database beberapa permasalahan yang terjadi di tempat kerja</description>
	<lastBuildDate>Wed, 12 Nov 2008 09:39:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='aderahman.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Catatan kerja</title>
		<link>http://aderahman.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://aderahman.wordpress.com/osd.xml" title="Catatan kerja" />
	<atom:link rel='hub' href='http://aderahman.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Killing Oracle Session</title>
		<link>http://aderahman.wordpress.com/2008/11/12/killing-oracle-session/</link>
		<comments>http://aderahman.wordpress.com/2008/11/12/killing-oracle-session/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 09:39:18 +0000</pubDate>
		<dc:creator>aderahman</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://aderahman.wordpress.com/?p=66</guid>
		<description><![CDATA[The SQL*Plus Approach Sessions can be killed from within oracle using the ALTER SYSTEM KILL SESSION syntax. First identify the offending session as follows: SELECT s.sid, s.serial#, s.osuser, s.program FROM v$session s; SID SERIAL# OSUSER PROGRAM ---------- ---------- ------------------------------ --------------- 1 1 SYSTEM ORACLE.EXE 2 1 SYSTEM ORACLE.EXE 3 1 SYSTEM ORACLE.EXE 4 1 SYSTEM [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aderahman.wordpress.com&amp;blog=5310591&amp;post=66&amp;subd=aderahman&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>The SQL*Plus Approach</h2>
<p>Sessions can be killed from within oracle using the <code>ALTER SYSTEM KILL SESSION</code> syntax.</p>
<p>First identify the offending session as follows:</p>
<blockquote>
<pre>SELECT s.sid,
       s.serial#,
       s.osuser,
       s.program
FROM   v$session s;

       SID    SERIAL# OSUSER                         PROGRAM
---------- ---------- ------------------------------ ---------------
         1          1 SYSTEM                         ORACLE.EXE
         2          1 SYSTEM                         ORACLE.EXE
         3          1 SYSTEM                         ORACLE.EXE
         4          1 SYSTEM                         ORACLE.EXE
         5          1 SYSTEM                         ORACLE.EXE
         6          1 SYSTEM                         ORACLE.EXE
        20         60 SYSTEM                         DBSNMP.EXE
        43      11215 USER1                          SQLPLUSW.EXE
        33       5337 USER2                          SQLPLUSW.EXE</pre>
</blockquote>
<p>The <code>SID</code> and <code>SERIAL#</code> values of the relevant session can then be substituted into the following statement:</p>
<blockquote>
<pre>SQL&gt; ALTER SYSTEM KILL SESSION 'sid,serial#';</pre>
</blockquote>
<p>In some situations the Oracle.exe is not able to kill the session immediately. In these cases the session will be &#8220;marked for kill&#8221;. It will then be killed as soon as possible.</p>
<p>Issuing the <code>ALTER SYSTEM KILL SESSION</code> command is the only safe way to kill an Oracle session. If the marked session persists for some time you may consider killing the process at the operating system level, as explained below. Killing OS processes is dangerous and can lead to instance failures, so do this at your own peril.</p>
<p>It is possible to force the kill by adding the <code>IMMEDIATE</code> keyword:</p>
<blockquote>
<pre>SQL&gt; ALTER SYSTEM KILL SESSION 'sid,serial#' IMMEDIATE;</pre>
</blockquote>
<p>This should prevent you ever needing to use the <code>orakill.exe</code> in Windows, or the <code>kill</code> command in UNIX/Linux.</p>
<h2>The NT Approach</h2>
<p>To kill the session via the NT operating system, first identify the session as follows:</p>
<blockquote>
<pre>SELECT s.sid,
       p.spid,
       s.osuser,
       s.program
FROM   v$process p,
       v$session s
WHERE  p.addr = s.paddr;

       SID SPID      OSUSER                         PROGRAM
---------- --------- ------------------------------ ---------------
         1 310       SYSTEM                         ORACLE.EXE
         2 300       SYSTEM                         ORACLE.EXE
         3 309       SYSTEM                         ORACLE.EXE
         4 299       SYSTEM                         ORACLE.EXE
         5 302       SYSTEM                         ORACLE.EXE
         6 350       SYSTEM                         ORACLE.EXE
        20 412       SYSTEM                         DBSNMP.EXE
        43 410       USER1                          SQLPLUSW.EXE
        33 364       USER2                          SQLPLUSW.EXE</pre>
</blockquote>
<p>The <code>SID</code> and <code>SPID</code> values of the relevant session can then be substituted into the following command issued from the command line:</p>
<blockquote>
<pre>C:&gt; orakill ORACLE_SID spid</pre>
</blockquote>
<p>The session thread should be killed immediately and all resources released.</p>
<h2>The UNIX Approach</h2>
<p>To kill the session via the UNIX operating system, first identify the session in the same way as the NT approach, then  substitute the relevant <code>SPID</code> into the following command:</p>
<blockquote>
<pre>% kill -9 spid</pre>
</blockquote>
<p>If in doubt check that the <code>SPID</code> matches the UNIX <code>PROCESSID</code> shown using:</p>
<blockquote>
<pre>% ps -ef | grep ora</pre>
</blockquote>
<p>The session thread should be killed immediately and all resources released.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aderahman.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aderahman.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/aderahman.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/aderahman.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/aderahman.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/aderahman.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/aderahman.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/aderahman.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/aderahman.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/aderahman.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/aderahman.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/aderahman.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/aderahman.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/aderahman.wordpress.com/66/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aderahman.wordpress.com&amp;blog=5310591&amp;post=66&amp;subd=aderahman&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://aderahman.wordpress.com/2008/11/12/killing-oracle-session/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/162d52295b0e6b2afdb794928bf8a181?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">abu  joko</media:title>
		</media:content>
	</item>
		<item>
		<title>Windows XP BOOT ERRORS &amp; Fixes:</title>
		<link>http://aderahman.wordpress.com/2008/11/06/windows-xp-boot-errors-fixes/</link>
		<comments>http://aderahman.wordpress.com/2008/11/06/windows-xp-boot-errors-fixes/#comments</comments>
		<pubDate>Thu, 06 Nov 2008 03:50:13 +0000</pubDate>
		<dc:creator>aderahman</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://aderahman.wordpress.com/?p=63</guid>
		<description><![CDATA[1.Hal.dll missing or corrupt. If you get an error regarding a missing or corrupt hal.dll file, it might simply be the BOOT.INI file on the root of the C: drive that is misconfigured 1.Insert and boot from your WindowsXP CD. 2.At the first R=Repair option, press the R key 3.Press the number that corresponds to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aderahman.wordpress.com&amp;blog=5310591&amp;post=63&amp;subd=aderahman&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>1.<strong>Hal.dll missing or corrupt</strong>.</p>
<p>If you get an error regarding a missing or corrupt hal.dll file, it might simply be the BOOT.INI file on the root of the C: drive that is misconfigured<br />
1.Insert and boot from your WindowsXP CD.<br />
2.At the first R=Repair option, press the R key<br />
3.Press the number that corresponds to the correct location for the installation of Windows you want to repair.<br />
Typically this will be #1<br />
4.Type bootcfg /list to show the current entries in the BOOT.INI file<br />
5.Type bootcfg /rebuild to repair it<br />
6 Take out the CD ROM and type exit<br />
OR<br />
Better solution: This seems to always work<br />
expand x:\i386\hal.dl_ y:\windows\system32\     X= cd rom drive letter</p>
<p>2.<strong>Corrupt or missing WINDOWS\SYSTEM32\CONFIG</strong></p>
<p>If you get the error:<br />
Windows could not start because the following files is missing or corrupt<br />
\WINDOWS\SYSTEM32\CONFIG\SYSTEM or \WINDOWS\SYSTEM32\CONFIG\SOFTWARE<br />
1.Insert and boot from your Windows XP CD.<br />
2.At the first R=Repair option, press the R key<br />
3.Press the number that corresponds to the correct location for the installation of Windows you want to repair.<br />
Typically this will be #1<br />
4.Enter in the administrator password when requested<br />
5.cd \windows\system32\config<br />
6.Depending on which section was corrupted:<br />
ren software software.bad or ren system system.bad<br />
7.Depending on which section was corrupted<br />
copy \windows\repair\system<br />
copy \windows\repair\software<br />
8.Take out the CD ROM and type exit</p>
<p>3. <strong>NTOSKRNL not found</strong><br />
If you get an error that NTOSKRNL not found:<br />
1.Insert and boot from your WindowsXP CD.<br />
2.At the first R=Repair option, press the R key<br />
3.Press the number that corresponds to the correct location for the installation of Windows you want to repair.<br />
Typically this will be #1<br />
4.Change to the drive that has the CD ROM.<br />
5.CD i386<br />
6.expand ntkrnlmp.ex_ C:\Windows\System32\ntoskrnl.exe<br />
7.If WindowsXP is installed in a different location, just make the necessary change to C:\Windows<br />
8Take out the CD ROM and type exit</p>
<p>4. <strong>NTLDR NOT FOUND DURING BOOTUP</strong></p>
<p>If you have FAT32 partitions, it is much simpler than with NTFS. Just boot with a Win98 floppy and copy the NTLDR or NTDETECT.COM files from the i386 directory to the root of the C:\ drive.<br />
For NTFS:<br />
1.Insert and boot from your Windows XP CD.<br />
2.At the first R=Repair option, press the R key<br />
3.Press the number that corresponds to the correct location for the installation of Windows you want to repair. Typically this will be #1<br />
4.Enter in the administrator password when requested<br />
5.Enter in the following commands (X: is replaced by the actual drive letter that is assigned to the CD ROM drive)<br />
COPY X:\i386\NTLDR C\:<br />
COPY X:\i386\NTDETECT.COM C:\<br />
6.Take out the CD and type exit</p>
<p>5. <strong>Isapnp.sys error message at startup:</strong></p>
<p>To replace the Isapnp.sys file in Windows XP, follow these steps:1. Start the computer from the Windows XP CD-ROM.<br />
2. At the Welcome to Setup screen, press R to start Recovery Console.<br />
3. If you have a dual-boot or a multiple-boot computer, type the number that corresponds to your Windows XP installation when you are prompted to select the Windows installation to log on to, and then press ENTER.<br />
4. When you are prompted for the Administrator password, type the password, and then press ENTER.<br />
Note If the administrator password is blank, just press ENTER.<br />
5. At the C:\Windows prompt, type the following command, and then press ENTER:<br />
ren c:\windows\system32\drivers\isapnp.sys isapnp.old<br />
Note The steps in this article assume that you installed Windows XP to the C: drive. The actual location of your Windows installation may vary.<br />
6. At the C:\Windows prompt, type the following command, and then press ENTER:<br />
expand cd-romdrive:\i386\isapnp.sy_ c:\windows\system32\drivers\isapnp.sys<br />
For example, type:<br />
expand d:\i386\isapnp.sy_ c:\windows\system32\drivers<br />
7. After the file is successfully expanded, type exit, and then press ENTER to exit Recovery Console.<br />
8. Restart the computer.</p>
<p>6. <strong>ntfs.sys missing or corrupt error message</strong>:</p>
<p>To resolve this problem do the followings:-<br />
1] Boot  computer with the Windows XP CD-ROM in the CD-ROM drive.<br />
2] To repair a Windows XP installation using Recovery Console, press R.<br />
3] At the command prompt, type the following commands:-</p>
<p>cd \windows\system32\drivers [Press the ENTER Key]<br />
ren ntfs.sys ntfs.old [Press the ENTER Key]</p>
<p>If the ntfs.sys file is there and corrupt it will rename it. If it is not there then it was missing.</p>
<p>4]At the command prompt, type the following command, and then press ENTER:<br />
copy X:\i386\ntfs.sys drive:\windows\system32\drivers [Where X=CD-ROM Drive]</p>
<p>5]Remove the Windows XP CD from CD-ROM drive, type quit, and then<br />
press ENTER to quit the Recovery Console.</p>
<p>6. Restart the system.</p>
<p>7. <strong>Windows XP Will Not Start</strong></p>
<p>System files may be corrupted.</p>
<p>1.Start the Operating System from the CD-ROM<br />
When the computer starts from the CD, the system checks your hardware and then prompts you to select one of the following options:<br />
2.To set up Windows XP now, press ENTER.<br />
3.To repair a Windows XP installation using Recovery Console, press R.<br />
To quit Setup without installing Windows XP, press F3.<br />
4.Press ENTER.<br />
5.Press F8 to accept the Licensing Agreement.<br />
A box lists your current Windows XP installation, and then the system prompts you to select one of the following options:<br />
6.To repair the selected Windows XP installation, press R.<br />
To continue installing a fresh copy of Windows XP without repairing, press ESC.<br />
7.Press R to start the automatic repair process.<br />
Note: After repairing Windows XP, you may need re-download all updates.</p>
<p>8. <strong>Error message: Unmountable boot volume</strong></p>
<p>When booting up to Windows XP you may get an error that reads: Unmountable Boot Volume.</p>
<p>This is probably because your boot.ini file is messed up. Here is a possible remedy:<br />
1. Start Windows XP with the Windows XP CD in your CD/DVD drive.<br />
Once you see the &#8220;Welcome to setup&#8221; message, press the letter &#8216;R&#8217; on your keyboard to enter the Recovery Console.<br />
2. Select the Windows installation to be repaired (you will need to know the administrator password.<br />
3. You will then get a DOS prompt. from here, type: chkdsk /p  [Enter]<br />
4. When that is done type: fixboot  [Enter]<br />
5. Type: Y at the next prompt  [Enter]<br />
6. Then type: exit  [Enter]<br />
The system will now reboot into Windows.<br />
If for some reason that didn&#8217;t work, you can boot to the recovery console (example above).<br />
Type: &#8220;chkdsk /r&#8221;  [Enter]<br />
When done type: exit  [Enter].<br />
This takes a bit longer, but the system should boot back into Windows.<br />
If none of these work do a repair, follow the directions from previous solution.# 7</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aderahman.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aderahman.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/aderahman.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/aderahman.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/aderahman.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/aderahman.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/aderahman.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/aderahman.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/aderahman.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/aderahman.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/aderahman.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/aderahman.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/aderahman.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/aderahman.wordpress.com/63/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aderahman.wordpress.com&amp;blog=5310591&amp;post=63&amp;subd=aderahman&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://aderahman.wordpress.com/2008/11/06/windows-xp-boot-errors-fixes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/162d52295b0e6b2afdb794928bf8a181?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">abu  joko</media:title>
		</media:content>
	</item>
		<item>
		<title>Sites</title>
		<link>http://aderahman.wordpress.com/2008/11/06/sites/</link>
		<comments>http://aderahman.wordpress.com/2008/11/06/sites/#comments</comments>
		<pubDate>Thu, 06 Nov 2008 03:48:35 +0000</pubDate>
		<dc:creator>aderahman</dc:creator>
				<category><![CDATA[Other]]></category>

		<guid isPermaLink="false">http://aderahman.wordpress.com/?p=47</guid>
		<description><![CDATA[Study http://www.adp-gmbh.ch/ora/sql/ http://www.praetoriate.com/oracle_tips.htm http://www.sadikhov.com ftp://194.44.214.3/pub/e-books/ http://www.xpressionsz.com/ http://yourbooklib.com/ http://www.4shared.com/ http://katz.cd/ IOS http://www.sadikhov.com/forum/index.php?showtopic=134556 Jobs and Career http://www.gulftalent.com/home/index.php<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aderahman.wordpress.com&amp;blog=5310591&amp;post=47&amp;subd=aderahman&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Study </strong></p>
<p>http://www.adp-gmbh.ch/ora/sql/</p>
<p>http://www.praetoriate.com/oracle_tips.htm</p>
<p>http://www.sadikhov.com</p>
<p>ftp://194.44.214.3/pub/e-books/</p>
<p>http://www.xpressionsz.com/</p>
<p>http://yourbooklib.com/</p>
<p>http://www.4shared.com/</p>
<p>http://katz.cd/</p>
<p><strong>IOS </strong></p>
<p>http://www.sadikhov.com/forum/index.php?showtopic=134556<strong><br />
</strong></p>
<p><strong>Jobs and Career</strong></p>
<p>http://www.gulftalent.com/home/index.php</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aderahman.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aderahman.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/aderahman.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/aderahman.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/aderahman.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/aderahman.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/aderahman.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/aderahman.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/aderahman.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/aderahman.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/aderahman.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/aderahman.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/aderahman.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/aderahman.wordpress.com/47/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aderahman.wordpress.com&amp;blog=5310591&amp;post=47&amp;subd=aderahman&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://aderahman.wordpress.com/2008/11/06/sites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/162d52295b0e6b2afdb794928bf8a181?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">abu  joko</media:title>
		</media:content>
	</item>
		<item>
		<title>K3b, The CD/DVD Creator for Linux</title>
		<link>http://aderahman.wordpress.com/2008/10/30/k3b-the-cddvd-creator-for-linux/</link>
		<comments>http://aderahman.wordpress.com/2008/10/30/k3b-the-cddvd-creator-for-linux/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 07:58:50 +0000</pubDate>
		<dc:creator>aderahman</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://aderahman.wordpress.com/?p=57</guid>
		<description><![CDATA[Source and Installation procedure http://k3b.plainblack.com/<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aderahman.wordpress.com&amp;blog=5310591&amp;post=57&amp;subd=aderahman&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Source and Installation procedure</p>
<p>http://k3b.plainblack.com/</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aderahman.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aderahman.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/aderahman.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/aderahman.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/aderahman.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/aderahman.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/aderahman.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/aderahman.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/aderahman.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/aderahman.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/aderahman.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/aderahman.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/aderahman.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/aderahman.wordpress.com/57/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aderahman.wordpress.com&amp;blog=5310591&amp;post=57&amp;subd=aderahman&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://aderahman.wordpress.com/2008/10/30/k3b-the-cddvd-creator-for-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/162d52295b0e6b2afdb794928bf8a181?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">abu  joko</media:title>
		</media:content>
	</item>
		<item>
		<title>Make an ISO Image on Linux</title>
		<link>http://aderahman.wordpress.com/2008/10/30/make-an-iso-image-on-linux/</link>
		<comments>http://aderahman.wordpress.com/2008/10/30/make-an-iso-image-on-linux/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 07:40:44 +0000</pubDate>
		<dc:creator>aderahman</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://aderahman.wordpress.com/?p=53</guid>
		<description><![CDATA[To make an ISO from your CD/DVD, place the media in your drive but do not mount it. If it automounts, unmount it. dd if=/dev/dvd of=dvd.iso # for dvd dd if=/dev/cdrom of=cd.iso # for cdrom dd if=/dev/scd0 of=cd.iso # if cdrom is scsi To make an ISO from files on your hard drive, create a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aderahman.wordpress.com&amp;blog=5310591&amp;post=53&amp;subd=aderahman&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To make an ISO from your CD/DVD, place the media in your drive but do not mount it. If it automounts, unmount it.</p>
<p>dd if=/dev/dvd of=dvd.iso    # for dvd<br />
dd if=/dev/cdrom of=cd.iso   # for cdrom<br />
dd if=/dev/scd0 of=cd.iso    # if cdrom is scsi</p>
<p>To make an ISO from files on your hard drive, create a directory which holds the files you want. Then use the mkisofs command.</p>
<p>mkisofs -o /tmp/cd.iso /tmp/directory/</p>
<p>This results in a file called cd.iso in folder /tmp which contains all the files and directories in /tmp/directory/.</p>
<p>For more info, see the man pages for mkisofs, losetup, and dd, or see the CD-Writing-HOWTO at <a href="http://www.tldp.org/">http://www.tldp.org</a>.</p>
<p>If you want to create ISO images from a CD and you&#8217;re using Windows, <a href="http://sources.redhat.com/cygwin/">Cygwin</a> has a dd command that will work. Since dd is not specific to CDs, it will also create disk images of floppies, hard drives, zip drives, etc.</p>
<p>For the Windows users, here are some other suggestions:</p>
<p>WinISO ~ <a href="http://www.winiso.com/">http://www.winiso.com</a></p>
<p>VaporCD ~ <a href="http://vaporcd.sourceforge.net/">http://vaporcd.sourceforge.net</a> ~ &#8220;You can create ISOs from CD and mount them as &#8216;virtual&#8217; CD drives. Works flawlessly with games and other CD based software.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aderahman.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aderahman.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/aderahman.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/aderahman.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/aderahman.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/aderahman.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/aderahman.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/aderahman.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/aderahman.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/aderahman.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/aderahman.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/aderahman.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/aderahman.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/aderahman.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aderahman.wordpress.com&amp;blog=5310591&amp;post=53&amp;subd=aderahman&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://aderahman.wordpress.com/2008/10/30/make-an-iso-image-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/162d52295b0e6b2afdb794928bf8a181?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">abu  joko</media:title>
		</media:content>
	</item>
		<item>
		<title>Configuring samba on Solaris 9</title>
		<link>http://aderahman.wordpress.com/2008/10/29/configuring-samba-on-solaris-9/</link>
		<comments>http://aderahman.wordpress.com/2008/10/29/configuring-samba-on-solaris-9/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 06:31:35 +0000</pubDate>
		<dc:creator>aderahman</dc:creator>
				<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://aderahman.wordpress.com/?p=42</guid>
		<description><![CDATA[I learn how to configure samba using SWAT . It’s quite simple anf easier. first of all , you need to download samba package from samba.org or sunfreeware.com Then install the samba on the Solaris: pkgadd -d /gdm002/ade/samba_3.0_25.ab.spacr9.pkg If you want to remove the samba from the solaris, pkgrm SMCsamba If you want to know [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aderahman.wordpress.com&amp;blog=5310591&amp;post=42&amp;subd=aderahman&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class="entry">
<div class="snap_preview">
<p>I learn how to configure samba using SWAT . It’s quite simple anf easier.</p>
<p>first of all , you need to download samba package from samba.org or sunfreeware.com</p>
<p>Then install the samba on the Solaris:</p>
<p>pkgadd -d /gdm002/ade/samba_3.0_25.ab.spacr9.pkg</p>
<p>If you want to remove the samba from the solaris,</p>
<p>pkgrm SMCsamba</p>
<p>If you want to know what package installed related with samba :</p>
<p>pkginfo -a | grep samba</p>
<p>How to check what version of samba is using :</p>
<pre>root# <strong>/usr/sfw/sbin/smbd -V</strong>
Version 3.0.21b</pre>
<p>Configuring Samba server and  how to connect via  SWAT and Netbios</p>
<p>Edit /etc/services and make the following changes.</p>
<p>Immediately after the line which reads:</p>
<pre>	sunrpc		111/tcp		rpcbind</pre>
<p>insert the two lines:</p>
<pre>	netbios-ns      137/udp		# Samba nmbd
	netbios-ssn     139/tcp		# Samba smbd</pre>
<p>and, after the line which reads:</p>
<pre>	ldaps		636/udp		# LDAP protocol over TLS/SSL (was sldap)</pre>
<p>insert the line:</p>
<pre>	swat 		901/tcp		# Samba swat</pre>
<p>Now edit /etc/inetd.conf and add the following three lines to the end of the file:</p>
<pre>	netbios-ssn	stream	tcp	nowait	root	/usr/local/samba/bin/smbd smbd
	netbios-ns	dgram	udp	wait	root	/usr/local/samba/bin/nmbd nmbd
	swat		stream	tcp	nowait.400	root	/usr/local/samba/bin/swat swat</pre>
<p>If you have TCP wrappers installed , the three lines to be added should read:</p>
<pre>	netbios-ssn	stream	tcp	nowait	root	/usr/sbin/tcpd /usr/local/samba/bin/smbd smbd
	netbios-ns	dgram	udp	wait	root	/usr/sbin/tcpd /usr/local/samba/bin/nmbd nmbd
	swat		stream	tcp	nowait.400	root	/usr/sbin/tcpd /usr/local/samba/bin/swat swat</pre>
<p>Tell the inetd daemon to re-read its configuration file:</p>
<pre>	# pkill -HUP inetd</pre>
<p>and Samba is installed and working.</p>
<p>Using SWAT to configure Samba  on Solaris 9 :</p>
<p>testing : open browser then open http://localhost:901 or you can connect remotly by using hostname or IP address , for example :</p>
<p>http://163.184.169.159:901</p>
<p>Configure Samba :</p>
<p>Find the smb.conf , it is placed under directory /usr/local/samba/lib/smb.conf or /etc/samba/lib/smb.conf or /etc/sfw/lib/smb.conf</p>
<p>Create a basic configuration file containing the following lines:</p>
<pre>	# Global parameters
		workgroup = <em>HOME</em>
		security = Share
		hosts allow = localhost, <em>local-machine-name</em>, <em>192.168.1</em>.
		hosts deny = All
	[root]
		path = /
		comment = Solaris root
		guest ok = Yes
		read only = Yes
	[share]
		path = /share
		comment = Solaris share
		guest ok = Yes
		read only = No</pre>
<p>Note that “# Global parameters”, “[root]” and “[share]” should be positioned at the start of their lines and all other lines should be prefixed with a tab character.</p>
<p>In this file, replace <em>HOME</em> with the name of your Windows workgroup or domain. On a Windows 95 or 98 system, this is the “Workgroup” name set on the Identification tab in Start -&gt; Settings -&gt; Control Panel -&gt; Network. On NT 4, this name is found in the same place but is called the “Domain”.</p>
<p>Also, replace <em>local-machine-name</em> with the name of your Solaris system so  that it can connect to the swat Web server described later, and replace  <em>192.168.1</em> with the first three components of the IP addresses used on your local network. The range 192.168.1.1 to 192.168.1.254 is reserved for private use and is a good choice to use for a local network. Note the presence of a dot after the partial IP address in the configuration file.</p>
<p>The effect of this basic configuration file is to allow access to your Solaris system from Windows machines on the local network only (those with IP addresses starting <em>192.168.1</em>) and a password is not required to browse the Solaris system. The root file system is shared but is read-only and the /share directory is shared with both read and write access. Incoming connections to the Solaris system have a User and Group identity (uid and gid) of the “nobody” user by default</p>
<p>For more detail, you can see on this page http://www.oregontechsupport.com/samba/</p></div>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aderahman.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aderahman.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/aderahman.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/aderahman.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/aderahman.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/aderahman.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/aderahman.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/aderahman.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/aderahman.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/aderahman.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/aderahman.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/aderahman.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/aderahman.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/aderahman.wordpress.com/42/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aderahman.wordpress.com&amp;blog=5310591&amp;post=42&amp;subd=aderahman&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://aderahman.wordpress.com/2008/10/29/configuring-samba-on-solaris-9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/162d52295b0e6b2afdb794928bf8a181?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">abu  joko</media:title>
		</media:content>
	</item>
		<item>
		<title>Change Hostid Solaris 8</title>
		<link>http://aderahman.wordpress.com/2008/10/29/change-hostid-solaris-8/</link>
		<comments>http://aderahman.wordpress.com/2008/10/29/change-hostid-solaris-8/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 04:59:23 +0000</pubDate>
		<dc:creator>aderahman</dc:creator>
				<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://aderahman.wordpress.com/?p=38</guid>
		<description><![CDATA[You may need to change the hostid for licensing issues when moving a software from one machine to another one. Here is the procedure: 1. Download hid_solaris2 binary from http://yenigul.net/change_hostid If you want to compile the code yourself you can download it from http://yenigul.net/change_hostid/hid-1.7.4.tar.gz 2. Save the original hostid to somewhere. (just for safety) # [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aderahman.wordpress.com&amp;blog=5310591&amp;post=38&amp;subd=aderahman&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class="entry">
<div class="snap_preview">
<p>You may need to change the hostid for licensing issues<br />
when moving a software from one machine to another one.</p>
<p>Here is the procedure:</p>
<p>1. Download hid_solaris2 binary from http://yenigul.net/change_hostid<br />
If you want to compile the code yourself you can download it from http://yenigul.net/change_hostid/hid-1.7.4.tar.gz</p>
<p>2. Save the original hostid to somewhere. (just for safety)</p>
<p># hostid &gt;/etc/hostid_orig</p>
<p>3. set permission of hid_solaris2 as 755<br />
# chmod 755 /var/hid_solaris2<br />
(I assume that hid_solaris2 is under /var/ directory)</p>
<p>4.To set new hostid (i.e 84abe39d) issue the following command</p>
<p># /var/hid_solaris2 84abe39d |sh</p>
<p>physmem 2e694<br />
hw_serial:      0×32323130      =       0×32323235<br />
hw_serial+4:    0×39313931      =       0×38353734<br />
hw_serial+8:    0×36390000      =       0×33370000</p>
<p>5. new hostid will be active until next reboot. To enable it again at startup add this command to<br />
solaris startup scripts.</p></div>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aderahman.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aderahman.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/aderahman.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/aderahman.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/aderahman.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/aderahman.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/aderahman.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/aderahman.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/aderahman.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/aderahman.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/aderahman.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/aderahman.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/aderahman.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/aderahman.wordpress.com/38/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aderahman.wordpress.com&amp;blog=5310591&amp;post=38&amp;subd=aderahman&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://aderahman.wordpress.com/2008/10/29/change-hostid-solaris-8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/162d52295b0e6b2afdb794928bf8a181?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">abu  joko</media:title>
		</media:content>
	</item>
		<item>
		<title>Solaris Root Password Recovery</title>
		<link>http://aderahman.wordpress.com/2008/10/29/solaris-root-password-recovery/</link>
		<comments>http://aderahman.wordpress.com/2008/10/29/solaris-root-password-recovery/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 04:58:44 +0000</pubDate>
		<dc:creator>aderahman</dc:creator>
				<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://aderahman.wordpress.com/?p=35</guid>
		<description><![CDATA[You need to have physical access to the machine’s console. Note the root partition; Solaris uses /dev/dsk/c0t0d0s0 on the Ultra5/10 and Blade 100 /dev/dsk/c0t1d0s0 for Blade 1000. Press the STOP and A keys simultaneously, or, on an ASCII terminal or emulator, send a &#60;BREAK&#62;) to halt the operating system, if it’s running. Boot single-user from [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aderahman.wordpress.com&amp;blog=5310591&amp;post=35&amp;subd=aderahman&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class="entry">
<div class="snap_preview">
<p>You need to have physical access to the machine’s console.</p>
<p>Note the root partition;</p>
<p>Solaris uses</p>
<ul>
<li>/dev/dsk/c0t0d0s0 on the Ultra5/10 and Blade 100</li>
<li> /dev/dsk/c0t1d0s0 for Blade 1000.</li>
</ul>
<p><!---box   --></p>
<div>
<table id="table19" border="1" width="9" align="right">
<tbody>
<tr>
<td><!-- google_ad_client = "pub-4031247137266443"; google_ad_width = 300; google_ad_height = 250; google_ad_format = "300x250_as"; google_ad_type = "text_image"; google_ad_channel = ""; google_color_border = "336699"; google_color_bg = "FFFFFF"; google_color_link = "0000FF"; google_color_text = "000000"; google_color_url = "008000"; //--></td>
</tr>
</tbody>
</table>
</div>
<p>Press the STOP and A keys simultaneously, or, on an ASCII terminal or emulator, send a &lt;BREAK&gt;) to halt the operating system, if it’s running.</p>
<p>Boot single-user from CD-ROM (boot cdrom -s) or network install/jumpstart server (boot net -s). For CD media use the CD-ROM labeled “Installation”. I prom pssword is set you need to know it</p>
<p>Mount the root partition on “/a”. “/a” is an empty mount point that exists at this stage of the installation procedure. For example:</p>
<blockquote><p><span style="color:#0000ff;">#mount /dev/dsk/c0t0d0s0 /a</span></p></blockquote>
<p>If the mount command fails and since “/a” always exists, then you either typed in the wrong device, OR the system is seeing the root partition as something else.</p>
<p>Do a “ls /tmp/dev/dsk” and see what is there. “c0t6″ things are the CD-ROM, what is left is what one needs to try. On a Blade 1000/2000, choose /dev/dsk/c1t1d0s0, and execute: #mount /dev/dsk/c1t1d0s0 /a</p>
<p>Set your terminal type so you can use a full-screen editor, such as vi. You can skip this step if you know how to use “ex” or “vi” from open mode.</p>
<ul>
<li>If you’re on a sun console, type “TERM=sun; export TERM”;</li>
<li>If you are using an ascii terminal or terminal emulator on a PC for your console, set TERM to the terminal type for example: TERM=vt100; export TERM.</li>
</ul>
<p>Edit the passwd file, /a/etc/shadow (or perhaps in older versions, /etc/passwd) and remove the encrypted password entry for root.</p>
<p>Type: “cd /; then “umount /a”</p>
<p>Reboot as normal in single-user mode (”boot -s”). The root account will not have a password. Give it a new one using the passwd command. PROM passwords: Naturally, you may not want anyone with physical access to the machine to be able to do the above to erase the root password. Suns have a security password mechanism in the PROM which can be set (this is turned off by default). The man page for the eeprom command describes this feature.</p>
<p>If security-mode is set to “command”, the machine only be booted without the prom password from the default device (i.e. booting from CD-ROM or install server will require the prom password). Changing the root password in this case requires moving the default device (e.g. the boot disk) to a different SCSI target (or equivalent), and replacing it with a similarly bootable device for which the root password is known. If security-mode is set to full, the machine cannot be booted without the prom password, even from the default device; defeating this requires replacing the NVRAM on the motherboard. “Full” security has its drawbacks — if, during normal operations, the machine is power-cycled (e.g. by a power outage) or halted (e.g. by STOP-A), it cannot reboot without the intervention of someone who knows the prom password.</p></div>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aderahman.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aderahman.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/aderahman.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/aderahman.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/aderahman.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/aderahman.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/aderahman.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/aderahman.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/aderahman.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/aderahman.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/aderahman.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/aderahman.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/aderahman.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/aderahman.wordpress.com/35/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aderahman.wordpress.com&amp;blog=5310591&amp;post=35&amp;subd=aderahman&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://aderahman.wordpress.com/2008/10/29/solaris-root-password-recovery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/162d52295b0e6b2afdb794928bf8a181?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">abu  joko</media:title>
		</media:content>
	</item>
		<item>
		<title>Moving or renaming Datafile, Logfile and Controlfile</title>
		<link>http://aderahman.wordpress.com/2008/10/28/moving-or-renaming-datafile-logfile-and-controlfile/</link>
		<comments>http://aderahman.wordpress.com/2008/10/28/moving-or-renaming-datafile-logfile-and-controlfile/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 04:25:43 +0000</pubDate>
		<dc:creator>aderahman</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://aderahman.wordpress.com/?p=32</guid>
		<description><![CDATA[Moving Datafile : Check the datafiles on your database : SQL &#62; select name from v$datafile; There are 3 ways to move or rename datafiles : 1. while the Instance is Mounted When using the ALTER DATABASE method to move datafiles, the datafile is moved after the instance is shut down. Opening the Database % [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aderahman.wordpress.com&amp;blog=5310591&amp;post=32&amp;subd=aderahman&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class="entry">
<div class="snap_preview">
<p><strong>Moving Datafile :</strong></p>
<p>Check the datafiles on your database :</p>
<p>SQL &gt; select name from v$datafile;</p>
<p>There are 3 ways to move or rename datafiles :</p>
<p><strong>1. while the Instance is Mounted</strong></p>
<p>When using the ALTER DATABASE method to move datafiles, the datafile is moved after the instance is shut down.</p>
<p>Opening the Database</p>
<p>% sqlplus “/ as sysdba”</p>
<p>SQL&gt; shutdown immediate</p>
<p>SQL&gt; !mv /u05/app/oradata/ORA920/indx01.dbf  /u06/app/oradata/ORA920/indx01.dbf</p>
<p>SQL&gt; startup mount</p>
<p>SQL&gt; alter database rename file ‘/u05/app/oradata/ORA920/indx01.dbf’ to ‘/u06/app/oradata/ORA920/indx01.dbf’;</p>
<p>Do not disconnect after this step. Stay logged in<br />
and proceed to open the database!</p>
<p>SQL&gt; alter database open;</p>
<p>SQL&gt; exit</p>
<p><strong>2.  while the Instance is Open</strong></p>
<p>When using the ALTER TABLESPACE method to move datafiles, the datafile is moved while the instance is running.</p>
<p>NOTE: This method can only be used for non-SYSTEM tablespaces. It also cannot be used for tablespaces that contain active ROLLBACK segments or TEMPORARY segments.</p>
<p>% sqlplus “/ as sysdba”</p>
<p>SQL&gt; alter tablespace INDX offline;</p>
<p>SQL&gt; !mv /u05/app/oradata/ORA920/indx01.dbf /u06/app/oradata/ORA920/indx01.dbf</p>
<p>SQL&gt; alter tablespace INDX<br />
2 rename datafile ‘/u05/app/oradata/ORA920/indx01.dbf’ to ‘/u06/app/oradata/ORA920/indx01.dbf’;</p>
<p>Do not disconnect after this step. Stay logged in<br />
and proceed to bring the tablespace back online!</p>
<p>SQL&gt; alter tablespace INDX online;</p>
<p>SQL&gt; exit</p>
<p><strong>Moving Online Redo Log Files</strong></p>
<p>% sqlplus “/ as sysdba”</p>
<p>SQL&gt; shutdown immediate</p>
<p>SQL&gt; !mv /u06/app/oradata/ORA920/redo_g03a.log /u03/app/oradata/ORA920/redo_g03a.log<br />
SQL&gt; !mv /u06/app/oradata/ORA920/redo_g03b.log /u04/app/oradata/ORA920/redo_g03b.log<br />
SQL&gt; !mv /u06/app/oradata/ORA920/redo_g03c.log /u05/app/oradata/ORA920/redo_g03c.log</p>
<p>SQL&gt; startup mount</p>
<p>SQL&gt; alter database rename file ‘/u06/app/oradata/ORA920/redo_g03a.log’ to ‘/u03/app/oradata/ORA920/redo_g03a.log’;<br />
SQL&gt; alter database rename file ‘/u06/app/oradata/ORA920/redo_g03b.log’ to ‘/u04/app/oradata/ORA920/redo_g03b.log’;<br />
SQL&gt; alter database rename file ‘/u06/app/oradata/ORA920/redo_g03c.log’ to ‘/u05/app/oradata/ORA920/redo_g03c.log’;</p>
<p>Do not disconnect after this step. Stay logged in<br />
and proceed to open the database!</p>
<p>SQL&gt; alter database open;</p>
<p>SQL&gt; exit</p>
<p><strong>Moving Control File </strong></p>
<p>Moving Control Files</p>
<p>The following method can be used to move or rename a control file(s). A summary of the steps involved follows:</p>
<p>Shutdown the Instance<br />
Move the Control File<br />
Edit the init.ora<br />
Startup the Instance</p>
<p>% sqlplus “/ as sysdba”</p>
<p>SQL&gt; shutdown immediate</p>
<p>SQL&gt; !mv /u06/app/oradata/ORA920/control01.ctl /u03/app/oradata/ORA920/control01.ctl<br />
SQL&gt; !mv /u06/app/oradata/ORA920/control02.ctl /u04/app/oradata/ORA920/control02.ctl<br />
SQL&gt; !mv /u06/app/oradata/ORA920/control03.ctl /u05/app/oradata/ORA920/control03.ctl</p>
<p>Within the init.ora file, there will be an entry for the<br />
“control_files” parameter. Edit this entry to reflect the change(s)<br />
made to the physical control file(s) moved in the previous example.</p>
<p>…<br />
control_files = (/u03/app/oradata/ORA920/control01.ctl,<br />
/u04/app/oradata/ORA920/control02.ctl,<br />
/u05/app/oradata/ORA920/control03.ctl)<br />
…</p>
<p>SQL&gt; startup open</p>
<p>SQL&gt; exit</p></div>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aderahman.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aderahman.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/aderahman.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/aderahman.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/aderahman.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/aderahman.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/aderahman.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/aderahman.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/aderahman.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/aderahman.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/aderahman.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/aderahman.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/aderahman.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/aderahman.wordpress.com/32/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aderahman.wordpress.com&amp;blog=5310591&amp;post=32&amp;subd=aderahman&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://aderahman.wordpress.com/2008/10/28/moving-or-renaming-datafile-logfile-and-controlfile/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/162d52295b0e6b2afdb794928bf8a181?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">abu  joko</media:title>
		</media:content>
	</item>
		<item>
		<title>When and How to Recreate the Controlfile</title>
		<link>http://aderahman.wordpress.com/2008/10/28/when-and-how-to-recreate-the-controlfile/</link>
		<comments>http://aderahman.wordpress.com/2008/10/28/when-and-how-to-recreate-the-controlfile/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 04:24:43 +0000</pubDate>
		<dc:creator>aderahman</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://aderahman.wordpress.com/?p=29</guid>
		<description><![CDATA[When to Create Controlfile No one should not create control file until he is not suppose to do it. You should only need to recreate your control file under very special circumstances: 1)All current copies of the control file have been lost or are corrupted. 2)You need to change a &#8220;hard&#8221; database parameter such as [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aderahman.wordpress.com&amp;blog=5310591&amp;post=29&amp;subd=aderahman&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-weight:bold;"><span style="text-decoration:underline;">When to Create Controlfile</span></span><br />
No one should not create control file until he is not suppose to do it. You should only need to recreate your control file under very special circumstances:</p>
<p>1)All current copies of the control file have been lost or are corrupted.</p>
<p>2)You need to change a &#8220;hard&#8221; database parameter such as MAXDATAFILES, MAXLOGFILES, MAXLOGHISTORY, etc. Though after 10.2g it is handled by database.</p>
<p>3)You are restoring a backup in which the control file is corrupted or missing.</p>
<p>4)If you are moving your database to another machine which is running the same operating system but the location of the datafiles, logfiles is not the same.</p>
<p><span style="font-weight:bold;"><span style="text-decoration:underline;">How I will create a new control file:<br />
</span> </span></p>
<p>In this case I may have to face two scenarios.</p>
<p><span style="font-weight:bold;">Scenario 1:CREATING A NEW CONTROL FILE FROM THE EXISTING CONTROL FILE:<br />
&#8212;&#8212;&#8212;&#8212;&#8211;</span></p>
<p>1.Create a control file trace<br />
<span style="font-weight:bold;"> SQL&gt; conn / as sysdba<br />
SQL&gt;startup mount;<br />
SQL&gt;alter database backup controlfile to trace as &#8216;file.txt&#8217;;</span></p>
<p>2.Modify the trace file &#8216;file.txt&#8217; and change the required parameter in it.</p>
<p>3.Shutdown the database. <span style="font-weight:bold;">shutdown immediate;</span></p>
<p>4.Take a full database backup.</p>
<p>5.Rename/move the existing database controlfiles to a backup.</p>
<p>6.Create the new controlfile.</p>
<p>7.Take backup of full database.</p>
<p>CREATING A NEW CONTROL FILE WITHOUT AN EXISTING CONTROL FILE:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
1. Take a full backup of the database, including all datafiles and redo log files.</p>
<p>2.Do a startup nomount.</p>
<p>3.Issue the create controlfile statement.</p>
<p>4. Perform media recovery on the database. recover database.</p>
<p>5.Open the database. Alter database open.</p>
<p>6. At the first opportunity, shut the database down and take a full cold backup.</p>
<p>Here is one script of how you can create a new controlfile.<br />
<span style="font-weight:bold;"><br />
STARTUP NOMOUNT</span></p>
<p>CREATE CONTROLFILE REUSE DATABASE &#8220;database_name_here&#8221; NORESETLOGS NOARCHIVELOG<br />
MAXLOGFILES 32<br />
MAXLOGMEMBERS 2<br />
MAXDATAFILES 32<br />
MAXINSTANCES 1<br />
MAXLOGHISTORY 449<br />
LOGFILE<br />
GROUP 1 &#8216;path of redo log member here&#8217;  SIZE 500K,<br />
GROUP 2 &#8216;path of redo log member here&#8217;  SIZE 500K<br />
DATAFILE<br />
&#8216;list of datafile name here&#8217;,<br />
&#8216;/path/oracle/dbs/data.dbf&#8217;,<br />
&#8216;/path/oracle/dbs/data02.f&#8217;,<br />
&#8216;/path/oracle/dbs/arju02.dbf&#8217;,<br />
&#8216;/path/oracle/dbs/arju.dbf<br />
CHARACTER SET WE8DEC</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/aderahman.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/aderahman.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/aderahman.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/aderahman.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/aderahman.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/aderahman.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/aderahman.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/aderahman.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/aderahman.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/aderahman.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/aderahman.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/aderahman.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/aderahman.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/aderahman.wordpress.com/29/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=aderahman.wordpress.com&amp;blog=5310591&amp;post=29&amp;subd=aderahman&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://aderahman.wordpress.com/2008/10/28/when-and-how-to-recreate-the-controlfile/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/162d52295b0e6b2afdb794928bf8a181?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">abu  joko</media:title>
		</media:content>
	</item>
	</channel>
</rss>
