<?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>Otak Krowak</title>
	<atom:link href="http://otakkrowak.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://otakkrowak.wordpress.com</link>
	<description>----anotherblacksideofmine----</description>
	<lastBuildDate>Mon, 08 Aug 2011 22:58:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='otakkrowak.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Otak Krowak</title>
		<link>http://otakkrowak.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://otakkrowak.wordpress.com/osd.xml" title="Otak Krowak" />
	<atom:link rel='hub' href='http://otakkrowak.wordpress.com/?pushpress=hub'/>
		<item>
		<title>The BusinessObjects Enterprise (BO) XI R2 SP2 Installation</title>
		<link>http://otakkrowak.wordpress.com/2011/04/26/the-businessobjects-enterprise-bo-xi-r2-sp2-installation/</link>
		<comments>http://otakkrowak.wordpress.com/2011/04/26/the-businessobjects-enterprise-bo-xi-r2-sp2-installation/#comments</comments>
		<pubDate>Tue, 26 Apr 2011 06:18:49 +0000</pubDate>
		<dc:creator>duniamascha</dc:creator>
				<category><![CDATA[Install Aplikasi]]></category>

		<guid isPermaLink="false">http://otakkrowak.wordpress.com/?p=50</guid>
		<description><![CDATA[Installation Preparation 1. Siapkan schema untuk repository BO: CREATE TABLESPACE bodev_data datafile &#8216;/oradata/datafile/ODBO/bodev.dbf&#8217; size 100M autoextend on next 10M; create user bodev identified by bodev234 DEFAULT TABLESPACE bodev_data; 2. Masukkan export variable ke dalam file .bash_profile : export PATH=/apps/oracle/product/10.2/bin:$PATH export ORACLE_HOME=/apps/oracle/product/10.2 export ORACLE_SID=ODBO export LD_LIBRARY_PATH=/apps/oracle/product/10.2/lib32:$LD_LIBRARY_PATH 3. Masukkan local ke dalam file .bash_profile : export LANG=en_US.UTF-8 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=otakkrowak.wordpress.com&amp;blog=2749444&amp;post=50&amp;subd=otakkrowak&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Installation Preparation</strong></p>
<p>1. Siapkan schema untuk repository BO:</p>
<blockquote><p>CREATE TABLESPACE bodev_data datafile &#8216;/oradata/datafile/ODBO/bodev.dbf&#8217; size 100M autoextend on next 10M;<br />
create user bodev identified by bodev234 DEFAULT TABLESPACE bodev_data;</p></blockquote>
<p>2. Masukkan export variable ke dalam file .bash_profile :</p>
<blockquote><p><em>export PATH=/apps/oracle/product/10.2/bin:$PATH</em><br />
<em>export ORACLE_HOME=/apps/oracle/product/10.2</em><br />
<em>export ORACLE_SID=ODBO</em><br />
<em>export LD_LIBRARY_PATH=/apps/oracle/product/10.2/lib32:$LD_LIBRARY_PATH</em></p></blockquote>
<p>3. Masukkan local ke dalam file .bash_profile :</p>
<blockquote><p><em>export LANG=en_US.UTF-8</em><br />
<em> export LC_ALL=en_US.UTF-8</em></p></blockquote>
<p>4. Cek locale :</p>
<blockquote><p>201 #&gt; locale<br />
<em>LANG=UTF-8</em><br />
<em> LC_CTYPE=&#8221;en_US.UTF-8&#8243;</em><br />
<em> LC_NUMERIC=&#8221;en_US.UTF-8&#8243;</em><br />
<em> LC_TIME=&#8221;en_US.UTF-8&#8243;</em><br />
<em> LC_COLLATE=&#8221;en_US.UTF-8&#8243;</em><br />
<em> LC_MONETARY=&#8221;en_US.UTF-8&#8243;</em><br />
<em> LC_MESSAGES=&#8221;en_US.UTF-8&#8243;</em><br />
<em> LC_ALL=en_US.UTF-8</em></p></blockquote>
<p>Kalau source dicopy langsung dari CD, beri privileges untuk execution :</p>
<blockquote><p><em>di atas dir BO :</em><br />
<em> chmod -R +x *</em></p></blockquote>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
<strong>Installation Process</strong></p>
<p>Destination Installation Machince: 10.2.117.124<br />
Source BO terdiri dari 3 DISK :<br />
·    DISK_1<br />
·    DISK_2<br />
·    DISK_3<br />
Steps of Installation BO:<br />
1.    Masuk ke DISK_1, dan jalankan installasi</p>
<blockquote><p><em>329 #&gt; cd DISK1</em><br />
<em> 330 #&gt; ./install.sh</em><br />
<em> Checking for recommended patches&#8230;</em><br />
<em> Patch checking complete</em></p></blockquote>
<p>2.    Pemilihan bahasa installasi: 2. English<br />
3.    Persetujuan lisensi, BUSINESS OBJECTS LICENSE AGREEMENT.<br />
4.    Pemilihan Mode Installasi</p>
<blockquote><p><em>a   -   New installation</em><br />
<em> b   -   Update a previous installation</em></p></blockquote>
<p>5.    Enter Product Keycode</p>
<blockquote><p><em>note : Untuk install aplikasi DashBoard Managemen, contreng dan masukkan Product Keycode Performance Management</em></p></blockquote>
<p>6.    Enter Installation Directory: /apps/bo<br />
7.    Pemilihan Mode Installasi</p>
<blockquote><p><em>a   -   User &#8211; Hanya akan menginstall BO sebagai User</em><br />
<em> b   -   System &#8211; BO akan di shutdown/startup otomatis</em></p></blockquote>
<p>8.    Pemilihan database untuk repository :</p>
<blockquote><p><em>a   -   Use an existing database (Oracle/DB2/Sybase/MySQL)</em><br />
<em> b   -   Install MySQL</em><br />
<em> note : Untuk contoh digunakan DB Oracle &#8211; pilih option 1</em></p></blockquote>
<p>9.    Pemilihan type database untuk repository cms : Oracle<br />
10.    Enter the information for your new cms repository configuration</p>
<blockquote><p><em>Oracle TNSNAME :</em><br />
<em> User ID :</em><br />
<em> Password :</em><br />
<em> Local Name server : (nama hostname)</em><br />
<em> CMS Port Number : (default 6400)</em></p></blockquote>
<p>11.    Pemilihan Install Auditing database : No<br />
12.    Pemilihan re-initialized database repository : Yes<br />
13.    Pemilihan penggunaan existing Java App server atau install Tomcat :</p>
<blockquote><p><em>a   -   Install Tomcat (JDK will be installed)</em><br />
<em> b   -   Use an existing Java Application server</em></p></blockquote>
<p>14.    Configure the Appache Tomcat 4.1.30:</p>
<blockquote><p><em>Receive HTTP requests :</em><br />
<em> [     ] Defaults to 8080</em><br />
<em> Redirect jsp requests :</em><br />
<em> [     ] Defaults to 8443</em><br />
<em> Shutdown hook :</em><br />
<em> [     ] Defaults to 8005</em></p></blockquote>
<p>15.    Proses Installasi :</p>
<blockquote><p><em>| 100% |%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%|</em></p>
<p><em>Performing Configuration.</em><br />
<em> Performing post-install steps&#8230;</em><br />
<em> ./zip23x-sol.tar.gz:     60.1% &#8212; replaced with ./zip23x-sol.tar</em><br />
<em> ./unz532x-41x.tar.gz:    65.7% &#8212; replaced with ./unz532x-41x.tar</em><br />
<em> tomcat.tar.gz:   74.9%</em><br />
<em> jdk.tar.gz:      52.3%</em><br />
<em> Creating symlinks&#8230;</em><br />
<em> Symlink creation completed.</em><br />
<em> Creating system initialization scripts&#8230;</em><br />
<em> Please login as root and run /apps/bo/bobje/init/setupinit.sh in order to setup the init scripts.</em><br />
<em> Setting up configuration files in /apps/bo/bobje/data/.bobj</em><br />
<em> Now initializing components&#8230;</em><br />
<em> Initialization of components completed.</em><br />
<em> Updating configuration entries&#8230;</em><br />
<em> Now updating entries&#8230;</em><br />
<em> Now launching all servers&#8230;</em><br />
<em> XvfbDaemon: You have another XvfbDaemon running</em><br />
<em> Starting all servers&#8230;</em><br />
<em> Starting cms&#8230;</em><br />
<em> Starting pageserver&#8230;</em><br />
<em> Starting cacheserver&#8230;</em><br />
<em> Starting input&#8230;</em><br />
<em> Starting output&#8230;</em><br />
<em> Starting deskijobserver&#8230;</em><br />
<em> Starting destjobserver&#8230;</em><br />
<em> Starting lovjobserver&#8230;</em><br />
<em> Starting reportjobserver&#8230;</em><br />
<em> Starting programjobserver&#8230;</em><br />
<em> Starting webijobserver&#8230;</em><br />
<em> Starting eventserver&#8230;</em><br />
<em> Starting ras&#8230;</em><br />
<em> Starting webi&#8230;</em><br />
<em> Starting ConnectionServer&#8230;</em><br />
<em> Starting fccacheserver&#8230;</em><br />
<em> Starting fcprocserver&#8230;</em><br />
<em> Now enabling all servers&#8230;</em><br />
<em> Creating session manager&#8230;</em><br />
<em> Logging onto CMS&#8230;</em><br />
<em> Creating infostore&#8230;</em><br />
<em> Sending query to get all server objects on the local machine&#8230;</em><br />
<em> Checking server status&#8230;</em><br />
<em> reportdapp2.cms.aps has been enabled.</em><br />
<em> Output.reportdapp2.fileserver has been enabled.</em><br />
<em> reportdapp2.Desktop_IntelligenceJobServer.jobserver has been enabled.</em><br />
<em> reportdapp2.pageserver.pageserver has been enabled.</em><br />
<em> reportdapp2.eventserver.eventserver has been enabled.</em><br />
<em> reportdapp2.ListOfValuesJobServer.jobserver has been enabled.</em><br />
<em> reportdapp2.programjobserver.jobserver has been enabled.</em><br />
<em> reportdapp2.reportjobserver.jobserver has been enabled.</em><br />
<em> reportdapp2.ConnectionServer.CsContainer has been enabled.</em><br />
<em> reportdapp2.cacheserver.cacheserver has been enabled.</em><br />
<em> reportdapp2.Web_IntelligenceJobServer.jobserver has been enabled.</em><br />
<em> reportdapp2.destjobserver.jobserver has been enabled.</em><br />
<em> reportdapp2.Web_IntelligenceReportServer.webiserver has been enabled.</em><br />
<em> Input.reportdapp2.fileserver has been enabled.</em><br />
<em> reportdapp2.Desktop_IntelligenceReportServer.dpsprocFullClient has been enabled.</em><br />
<em> reportdapp2.Desktop_IntelligenceCacheServer.dpscacheFullClient has been enabled.</em><br />
<em> reportdapp2.ras.rptappserver has been enabled.</em><br />
<em> Committing changes to infostore&#8230;</em><br />
<em> Creating session manager&#8230;</em><br />
<em> Logging onto CMS&#8230;</em><br />
<em> Creating infostore&#8230;</em><br />
<em> Sending query to get all server objects on the local machine&#8230;</em><br />
<em> Checking server status&#8230;</em><br />
<em> reportdapp2.pageserver.pageserver has been enabled.</em><br />
<em> Committing changes to infostore&#8230;</em><br />
<em> Creating session manager&#8230;</em><br />
<em> Logging onto CMS&#8230;</em><br />
<em> Creating infostore&#8230;</em><br />
<em> Sending query to get all server objects on the local machine&#8230;</em><br />
<em> Checking server status&#8230;</em><br />
<em> reportdapp2.ras.rptappserver has been enabled.</em><br />
<em> Committing changes to infostore&#8230;</em><br />
<em> Preparing WAR files for deployment&#8230;</em><br />
<em> Deploying WAR files&#8230;</em><br />
<em> Starting Tomcat now&#8230;</em><br />
<em> Using CATALINA_BASE:   /apps/bo/bobje/tomcat</em><br />
<em> Using CATALINA_HOME:   /apps/bo/bobje/tomcat</em><br />
<em> Using CATALINA_TMPDIR: /apps/bo/bobje/tomcat/temp</em><br />
<em> Using JAVA_HOME:       /apps/bo/bobje/jdk</em><br />
<em> Setup finished.</em></p></blockquote>
<p>16.    Pemberitahuan warning error (hal ini terjadi bila file warning dibuang ke file tmp :</p>
<blockquote><p><em>Errors occurring during install:</em></p>
<p><em>/export/home/boadmin/Source/BO/DISK_1/pkg/fav00000.tar.gz:      74.7%</em><br />
<em> /export/home/boadmin/Source/BO/DISK_1/pkg/con00000.tar.gz:      13.9%</em><br />
<em> /export/home/boadmin/Source/BO/DISK_1/pkg/con00018.tar.gz:      84.2%</em><br />
<em> /export/home/boadmin/Source/BO/DISK_1/pkg/eve00000.tar.gz:      76.0%</em><br />
<em> /export/home/boadmin/Source/BO/DISK_1/pkg/cdz00019.tar.gz:      67.4%</em><br />
<em> /export/home/boadmin/Source/BO/DISK_1/pkg/ast00005.tar.gz:      30.3%</em><br />
<em> /export/home/boadmin/Source/BO/DISK_1/pkg/boe00001.tar.gz:      67.0%</em><br />
<em> /export/home/boadmin/Source/BO/DISK_1/pkg/cdz00023.tar.gz:      64.9%</em><br />
<em> /export/home/boadmin/Source/BO/DISK_1/pkg/adh00002.tar.gz:       2.9%</em><br />
<em> /export/home/boadmin/Source/BO/DISK_1/pkg/cdz00003.tar.gz:      62.3%</em><br />
<em> /export/home/boadmin/Source/BO/DISK_1/pkg/ca_00013.tar.gz:      94.5%</em><br />
<em> /export/home/boadmin/Source/BO/DISK_1/pkg/ca_00017.tar.gz:      85.7%</em><br />
<em> /export/home/boadmin/Source/BO/DISK_1/pkg/ca_00025.tar.gz:      84.2%</em><br />
<em> /export/home/boadmin/Source/BO/DISK_1/pkg/ca_00005.tar.gz:      79.1%</em><br />
<em> /export/home/boadmin/Source/BO/DISK_1/pkg/cdz00005.tar.gz:      67.8%</em><br />
<em> /export/home/boadmin/Source/BO/DISK_1/pkg/ca_00019.tar.gz:      85.2%</em><br />
<em> /export/home/boadmin/Source/BO/DISK_1/pkg/cos00000.tar.gz:      73.6%</em><br />
<em> /export/home/boadmin/Source/BO/DISK_1/pkg/ca_00046.tar.gz:      82.2%</em><br />
<em> /export/home/boadmin/Source/BO/DISK_1/pkg/bus00000.tar.gz:      67.2%</em><br />
<em> /export/home/boadmin/Source/BO/DISK_1/pkg/crc00001.tar.gz:      16.4%</em><br />
<em> /export/home/boadmin/Source/BO/DISK_1/pkg/cdz00010.tar.gz:      68.8%</em><br />
<em> /export/home/boadmin/Source/BO/DISK_1/pkg/ca_00037.tar.gz:      80.9%</em><br />
<em> /export/home/boadmin/Source/BO/DISK_1/pkg/cdz00002.tar.gz:      86.0%</em><br />
<em> /export/home/boadmin/Source/BO/DISK_1/pkg/cdz00008.tar.gz:      70.0%</em><br />
<em> /export/home/boadmin/Source/BO/DISK_1/pkg/cdz00012.tar.gz:      64.7%</em><br />
<em> /export/home/boadmin/Source/BO/DISK_1/pkg/ca_00024.tar.gz:      90.0%</em><br />
<em> /export/home/boadmin/Source/BO/DISK_1/pkg/web00000.tar.gz:      78.2%</em><br />
<em> /export/home/boadmin/Source/BO/DISK_1/pkg/per00000.tar.gz:      76.4%</em><br />
<em> /export/home/boadmin/Source/BO/DISK_1/pkg/pdf00000.tar.gz:      75.7%</em><br />
<em> /export/home/boadmin/Source/BO/DISK_1/pkg/ca_00001.tar.gz:      77.8%</em><br />
<em> /export/home/boadmin/Source/BO/DISK_1/pkg/ca_00035.tar.gz:      88.8%</em><br />
<em> /export/home/boadmin/Source/BO/DISK_1/pkg/cdz00004.tar.gz:      64.7%</em><br />
<em> /export/home/boadmin/Source/BO/DISK_1/pkg/cew00000.tar.gz:      24.3%</em><br />
<em> /export/home/boadmin/Source/BO/DISK_1/pkg/ful00003.tar.gz:      75.1%</em><br />
<em> /export/home/boadmin/Source/BO/DISK_1/pkg/adh00001.tar.gz:      90.7%</em><br />
<em> /export/home/boadmin/Source/BO/DISK_1/pkg/ca_00032.tar.gz:      90.6%</em></p></blockquote>
<p>17.    Pemberitahuan proses install selesai</p>
<blockquote><p><em>Thank you for using Business Objects products..</em><br />
<em> Exiting&#8230;</em></p></blockquote>
<p>18.    Cek hasil installasi :</p>
<blockquote><p><em>a   -   Web CMS</em><br />
<em>b   -   Web Admin</em></p></blockquote>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Note :</p>
<p>1.    Command untuk start BO</p>
<blockquote><p><em>cd /app/bo/bobje/</em><br />
<em> ./tomcatstartup.sh</em><br />
<em> ./ccm.sh -start all</em></p></blockquote>
<p>2.    Command untuk stop BO</p>
<blockquote><p><em>cd /app/bo/bobje/</em><br />
<em> ./tomcatshutdown.sh</em><br />
<em> ./ccm.sh -stop all</em></p></blockquote>
<p>3.    Command untuk uninstall BO</p>
<blockquote><p><em>cd /app/bo/bobje/</em><br />
<em> ./uninstallBOBJE.sh</em><br />
<em> Running this script will uninstall BusinessObjects Enterprise.</em><br />
<em> Are you sure you would like to proceed?</em><br />
<em> [no(1)/yes(0)]</em><br />
<em> Stopping all&#8230;</em><br />
<em> Now removing Tomcat.  May take a couple minutes&#8230;</em><br />
<em> Using CATALINA_BASE:   /apps/bo/bobje/tomcat</em><br />
<em> Using CATALINA_HOME:   /apps/bo/bobje/tomcat</em><br />
<em> Using CATALINA_TMPDIR: /apps/bo/bobje/tomcat/temp</em></p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/otakkrowak.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/otakkrowak.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/otakkrowak.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/otakkrowak.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/otakkrowak.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/otakkrowak.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/otakkrowak.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/otakkrowak.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/otakkrowak.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/otakkrowak.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/otakkrowak.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/otakkrowak.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/otakkrowak.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/otakkrowak.wordpress.com/50/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=otakkrowak.wordpress.com&amp;blog=2749444&amp;post=50&amp;subd=otakkrowak&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://otakkrowak.wordpress.com/2011/04/26/the-businessobjects-enterprise-bo-xi-r2-sp2-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/941cb96eea620ba4edae05f01864385a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">duniamascha</media:title>
		</media:content>
	</item>
		<item>
		<title>Oracle Application Express Installation Steps</title>
		<link>http://otakkrowak.wordpress.com/2011/04/26/install-oracle-apex/</link>
		<comments>http://otakkrowak.wordpress.com/2011/04/26/install-oracle-apex/#comments</comments>
		<pubDate>Tue, 26 Apr 2011 05:00:05 +0000</pubDate>
		<dc:creator>duniamascha</dc:creator>
				<category><![CDATA[Install Aplikasi]]></category>

		<guid isPermaLink="false">http://otakkrowak.wordpress.com/?p=44</guid>
		<description><![CDATA[1. install oracle database (min, ora 10.0.3) &#8230;&#8230;&#8230;&#8230;.. 2. create tablespace : CREATE TABLESPACE APEX_DATA datafile &#8216;/app/oradata/x4500/APEX_DATA.dbf&#8217; size 300M autoextend on next 25M; CREATE TABLESPACE APEX_FILES datafile &#8216;/app/oradata/x4500/APEX_FILES.dbf&#8217; size 300M autoextend on next 25M; CREATE SMALLFILE TEMPORARY TABLESPACE APEX_TEMP datafile &#8216;/app/oradata/x4500/APEX_TEMP.dbf&#8217; size 300M autoextend on next 25M; &#8212;- jalankan di sqlplus : EXEC DBMS_XDB.SETHTTPPORT(0); 3. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=otakkrowak.wordpress.com&amp;blog=2749444&amp;post=44&amp;subd=otakkrowak&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>1. install oracle database (min, ora 10.0.3) &#8230;&#8230;&#8230;&#8230;..</p>
<p>2. create tablespace :</p>
<blockquote><p>CREATE TABLESPACE APEX_DATA<br />
datafile &#8216;/app/oradata/x4500/APEX_DATA.dbf&#8217; size 300M autoextend on next 25M;<br />
CREATE TABLESPACE APEX_FILES<br />
datafile &#8216;/app/oradata/x4500/APEX_FILES.dbf&#8217; size 300M autoextend on next 25M;<br />
CREATE SMALLFILE TEMPORARY TABLESPACE APEX_TEMP<br />
datafile &#8216;/app/oradata/x4500/APEX_TEMP.dbf&#8217; size 300M autoextend on next 25M;</p></blockquote>
<p>&#8212;- jalankan di sqlplus :</p>
<blockquote><p>EXEC DBMS_XDB.SETHTTPPORT(0);</p></blockquote>
<p>3. check oracle text requirement :</p>
<blockquote><p>-bash-3.00$ cd /app/oracle2/apex/<br />
&#8212; unlock dulu usernya :<br />
ALTER USER ctxsys ACCOUNT UNLOCK<br />
-bash-3.00$ sqlplus /nolog</p>
<p>SQL*Plus: Release 10.2.0.4.0 &#8211; Production on Fri Aug 13 09:51:39 2010</p>
<p>Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.</p>
<p>SQL&gt; connect ctxsys<br />
Enter password:<br />
Connected.<br />
SQL&gt; @/app/oracle/product/10.2.0/ctx/admin/defaults/drdefus.sql</p></blockquote>
<p>4. instal apex</p>
<blockquote><p>masuk ke folder apex<br />
sqlplus &#8220;/as sysdba&#8221;<br />
@apexins tbs_data tbs_file tbs_temp /i/</p></blockquote>
<p>5. ganti password</p>
<blockquote><p>masuk ke folder apex<br />
sqlplus &#8220;/as sysdba&#8221;<br />
@apxchpwd</p></blockquote>
<blockquote><p>&#8212;&gt; restart aplikasi<br />
database<br />
listener<br />
httpserver<br />
&#8212;&#8211;</p></blockquote>
<blockquote><p>SELECT par_value FROM ctxsys.ctx_parameters WHERE par_name = &#8216;FILE_ACCESS_<br />
ROLE&#8217;;<br />
CREATE ROLE APEX_URL_DATASTORE_ROLE;<br />
GRANT APEX_URL_DATASTORE_ROLE to APEX_040000;<br />
EXEC ctxsys.ctx_adm.set_parameter(&#8216;file_access_role&#8217;, &#8216;APEX_URL_DATASTORE_<br />
ROLE&#8217;);</p>
<p>ALTER USER APEX_PUBLIC_USER ACCOUNT UNLOCK</p>
<p>ALTER USER APEX_PUBLIC_USER IDENTIFIED BY manager247;</p></blockquote>
<p>&#8212;&#8211;</p>
<blockquote><p>SELECT VALUE FROM v$parameter WHERE NAME = &#8216;job_queue_processes&#8217;<br />
ALTER SYSTEM SET JOB_QUEUE_PROCESSES = &lt;number&gt; &lt;&#8212; pake 20</p></blockquote>
<p>Copying the Images Directory in a New Installation</p>
<blockquote><p>cp -rf $ORACLE_HOME/apex/images ORACLE_HTTPSERVER_HOME/Apache</p></blockquote>
<p>Editing the dads.conf File</p>
<blockquote><p>vi ORACLE_HTTPSERVER_HOME/Apache/modplsql/conf/dads.conf<br />
&lt;Location /pls/apex&gt;<br />
Order deny,allow<br />
PlsqlDocumentPath docs<br />
AllowOverride None<br />
PlsqlDocumentProcedure wwv_flow_file_mgr.process_download<br />
PlsqlDatabaseConnectString host:port:service_name ServiceNameFormat &lt;&#8212;- edit<br />
PlsqlNLSLanguage AMERICAN_AMERICA.AL32UTF8<br />
PlsqlAuthenticationMode Basic<br />
SetHandler pls_handler<br />
PlsqlDocumentTablename wwv_flow_file_objects$<br />
PlsqlDatabaseUsername APEX_PUBLIC_USER<br />
PlsqlDefaultPage apex<br />
PlsqlDatabasePassword apex_public_user_password &lt;&#8212;- edit<br />
PlsqlRequestValidationFunction wwv_flow_epg_include_modules.authorize<br />
Allow from all<br />
&lt;/Location&gt;</p></blockquote>
<p>edit httpd.conf</p>
<blockquote><p>Alias /i/ &#8220;ORACLE_HTTPSERVER_HOME/Apache/images/&#8221;</p></blockquote>
<p>restart httpserver</p>
<p>open</p>
<blockquote><p>http://10.1.80.36:7777/pls/apex/apex_admin</p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/otakkrowak.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/otakkrowak.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/otakkrowak.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/otakkrowak.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/otakkrowak.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/otakkrowak.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/otakkrowak.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/otakkrowak.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/otakkrowak.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/otakkrowak.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/otakkrowak.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/otakkrowak.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/otakkrowak.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/otakkrowak.wordpress.com/44/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=otakkrowak.wordpress.com&amp;blog=2749444&amp;post=44&amp;subd=otakkrowak&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://otakkrowak.wordpress.com/2011/04/26/install-oracle-apex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/941cb96eea620ba4edae05f01864385a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">duniamascha</media:title>
		</media:content>
	</item>
		<item>
		<title>MySQL Cluster : Errors faced while importing data</title>
		<link>http://otakkrowak.wordpress.com/2010/10/13/mysql-cluster-errors-faced-while-importing-data/</link>
		<comments>http://otakkrowak.wordpress.com/2010/10/13/mysql-cluster-errors-faced-while-importing-data/#comments</comments>
		<pubDate>Wed, 13 Oct 2010 03:29:19 +0000</pubDate>
		<dc:creator>duniamascha</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://otakkrowak.wordpress.com/?p=30</guid>
		<description><![CDATA[Here is the list of errors I have faced while importing a 25G .sql file into my cluster setup. This is a test setup and to get maximum RAM availability, I have 3 data nodes and 1 Management node with replication factor of 1. The solutions provided are the ones which helped me. 1. ERROR [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=otakkrowak.wordpress.com&amp;blog=2749444&amp;post=30&amp;subd=otakkrowak&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here is the list of errors I have faced while importing a 25G .sql file into my cluster setup.</p>
<p>This is a test setup and to get maximum RAM availability, I have 3 data nodes and 1 Management node with replication factor of 1. The solutions provided are the ones which helped me.</p>
<p><strong>1. ERROR 1297 (HY000) at line 1872:</strong> Got temporary error 410 &#8216;REDO log files overloaded, consult online manual (decrease TimeBetweenLocalCheckpoints, and|or incre&#8217; from NDBCLUSTER</p>
<blockquote><p>Solution : Modify / Add parameter TimeBetweenLocalCheckpoints in your config.ini.<br />
Default value = 20<br />
Changed it to TimeBetweenLocalCheckpoints =6<br />
Setting TimeBetweenLocalCheckpoints to 6 or less means that local checkpoints will be executed continuously without pause, independent of the cluster&#8217;s workload.</p></blockquote>
<p><strong>2. ERROR 1297 (HY000) at line 1443: </strong>Got temporary error 1220 &#8216;REDO log files overloaded, consult online manual (increase FragmentLogFileSize)&#8217; from NDBCLUSTER</p>
<blockquote><p>Solution: Modify / Add parameter FragmentLogFileSize in your config.ini.<br />
Default value = 16M<br />
Changed it to FragmentLogFileSize=256M<br />
Setting this parameter allows you to control directly the size of the redo log files. This can be useful in situations when MySQL Cluster is operating under a high load and it is unable to close fragment log files quickly enough before attempting to open new ones. Increasing the size of the fragment log files gives the cluster more time before having to open each new fragment log file.</p></blockquote>
<p><strong>3. ERROR 1297 (HY000) at line 1826:</strong> Got temporary error 1221 &#8216;REDO buffers overloaded, consult online manual (increase RedoBuffer)&#8217; from NDBCLUSTER</p>
<blockquote><p>Solution: Modify / Add parameter RedoBuffer in your config.ini.<br />
Default value = 8M<br />
Changed5 it to RedoBuffer=128M<br />
All update activities also need to be logged. The REDO log makes it possible to replay these updates whenever the system is restarted. RedoBuffer sets the size of the buffer in which REDO log is written.</p></blockquote>
<p><strong>4. ERROR 1297 (HY000) at line 7064: </strong>Got temporary error 233 &#8216;Out of operation records in transaction coordinator (increase MaxNoOfConcurrentOperations)&#8217; from NDBCLUSTER</p>
<blockquote><p>Solution: Modify / Add parameter MaxNoOfConcurrentOperations in your config.ini<br />
Default value=32K<br />
Changed it to MaxNoOfConcurrentOperations=1M<br />
It is a good idea to adjust the value of this parameter according to the size and number of transactions.</p></blockquote>
<p><strong>5. ERROR 1114 (HY000) at line 8820: </strong>The table &#8216;table_1&#8242; is full</p>
<blockquote><p>Solution: Modify the parameter DataMemory in your config.ini<br />
Default value: 80M<br />
Changed it to DataMemory=14G<br />
This parameter defines the amount of space (in bytes) available for storing database records. The entire amount specified by this value is allocated in memory., so it is extremely important that the machine has sufficient physical memory to accommodate it.<br />
The memory allocated by DataMemory is used to store both the actual records and indexes. There is a 16-byte overhead on each record; an additional amount for each record is incurred because it is stored in a 32KB page with 128 byte page overhead. There is also a small amount of wastage per page due to the fact that each record is stored in only one page.</p></blockquote>
<p><strong>6. ERROR 1205 (HY000) at line 10208:</strong> Lock wait timeout exceeded; try restarting transaction</p>
<blockquote><p>Solution: Add / modify the parameter TransactionDeadlockDetectionTimeout in config.ini<br />
Default value = 1200 milliseconds<br />
Changed the value to TransactionDeadlockDetectionTimeout=15000<br />
The timeout parameter states how long the transaction coordinator waits for the query execution by another node before aborting the transaction and is important for both node failure handling and deadlock detection.</p></blockquote>
<p><strong>7. ERROR 1118 (42000) at line 661: </strong>Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8052. You have to change some columns to TEXT or BLOBs</p>
<blockquote><p>Solution: This error is generally due to the know limitation in MySQL Cluster 5.1.<br />
&#8220;The maximum permitted size of any one row is 8KB.&#8221; .<br />
The work around for this is modify the table schema so that large varchar values are changed to text</p></blockquote>
<p><strong>8. ERROR 1005 (HY000): </strong>Can&#8217;t create table &#8216;DB1.Table_5&#8242; (errno: 136)</p>
<blockquote><p>Solution: Errno: 136 refers to index file being full. Parameter that can be modified here is MaxNoOfOrderedIndexes.<br />
Default Value=128. Change it to something higher based on the size mentioned by running ndb_size.pl. In my case it is 263.</p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/otakkrowak.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/otakkrowak.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/otakkrowak.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/otakkrowak.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/otakkrowak.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/otakkrowak.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/otakkrowak.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/otakkrowak.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/otakkrowak.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/otakkrowak.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/otakkrowak.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/otakkrowak.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/otakkrowak.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/otakkrowak.wordpress.com/30/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=otakkrowak.wordpress.com&amp;blog=2749444&amp;post=30&amp;subd=otakkrowak&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://otakkrowak.wordpress.com/2010/10/13/mysql-cluster-errors-faced-while-importing-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/941cb96eea620ba4edae05f01864385a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">duniamascha</media:title>
		</media:content>
	</item>
		<item>
		<title>Unix Commands Reference</title>
		<link>http://otakkrowak.wordpress.com/2009/05/12/unix-commands-reference/</link>
		<comments>http://otakkrowak.wordpress.com/2009/05/12/unix-commands-reference/#comments</comments>
		<pubDate>Tue, 12 May 2009 04:41:29 +0000</pubDate>
		<dc:creator>duniamascha</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://otakkrowak.wordpress.com/?p=26</guid>
		<description><![CDATA[Unix commands are the first thing needed by a unix  sysadmin  who are  starting to work in unix operating system . Unix operating systems  comes with online manual  system which can be used to see the command details , syntax options and examples on while working on a unix  system. Unix manual can be accessed [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=otakkrowak.wordpress.com&amp;blog=2749444&amp;post=26&amp;subd=otakkrowak&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<table id="AutoNumber1" style="border-collapse:collapse;height:1105px;" border="1" cellspacing="1" cellpadding="2" width="100%">
<tbody>
<tr>
<td colspan="2" width="66%" height="26" valign="top"><strong>Unix commands</strong> are the first thing needed by a unix  sysadmin  who are  starting to work in unix operating system . Unix operating systems  comes with online manual  system which can be used to see the command details , syntax options and examples on while working on a unix  system. Unix manual can be accessed using man &lt;command name&gt; and it requires the man package   installed and MANPATH  set to man  directories. The manual page directories may differ in different unix operating systems and  man package may not be installed in all systems .</p>
<p>Following are a few of the most popular and useful commands used in unix operating system</td>
</tr>
<tr>
<td colspan="2" width="66%" height="26" valign="top" bgcolor="#808080"><strong><span style="font-family:Verdana;">wildcard characters</span></strong></td>
</tr>
<tr>
<td width="26%" height="26" valign="top" bgcolor="#FFFFFF"><strong><span style="font-family:Verdana;font-size:medium;">*</span></strong></td>
<td width="40%" height="26" valign="top" bgcolor="#FFFFFF">
<dl><span style="font-size:x-small;">
<dt><span style="font-family:Verdana;">The * wildcard character substitutes for one or more characters in a filename. For instance, to list all the files in your directory that end with .c, enter the command</span></dt>
<dt><span style="font-family:Verdana;">ls *.c</span></dt>
<p></span></dl>
</td>
</tr>
<tr>
<td width="26%" height="26" valign="top" bgcolor="#FFFFFF"><strong><span style="font-family:Verdana;font-size:medium;">?</span></strong></td>
<td width="40%" height="26" valign="top" bgcolor="#FFFFFF">
<dl><span style="font-size:x-small;">
<dt><span style="font-family:Verdana;">? (question mark) serves as  wildcard character for any <em>one</em> character in a filename. For instance, if you have files named </span><tt><span style="font-family:Verdana;">prog1, prog2, prog3</span></tt><span style="font-family:Verdana;">, and</span><tt><span style="font-family:Verdana;">prog3 </span></tt><span style="font-family:Verdana;"> in your directory, the Unix command:</span></dt>
<dt><span style="font-family:Verdana;"><br />
ls prog?</span></dt>
<p></span></dl>
</td>
</tr>
<tr>
<td colspan="2" width="66%" height="26" valign="top" bgcolor="#808080"><span style="font-family:Verdana;color:#ffffff;font-size:medium;"><strong>dir</strong></span></td>
</tr>
<tr>
<td width="13%" height="18" valign="top"><strong><span style="font-family:Verdana;font-size:x-small;">Change</span></strong></td>
<td width="53%" height="18" valign="top"><span style="font-family:Verdana;font-size:x-small;"><strong>cd dir </strong> Change to directory d</span></td>
</tr>
<tr>
<td width="13%" height="17" valign="top"><strong><span style="font-family:Verdana;font-size:x-small;">Make</span></strong></td>
<td width="53%" height="17" valign="top"><span style="font-family:Verdana;font-size:x-small;"><strong>mkdir dir </strong> Create new directory d</span></td>
</tr>
<tr>
<td width="13%" height="14" valign="top"><strong><span style="font-family:Verdana;font-size:x-small;">Move</span></strong></td>
<td width="53%" height="14" valign="top"><span style="font-family:Verdana;font-size:x-small;"><strong>mv dir1 dir2 </strong>Rename directory d1 as d2</span></td>
</tr>
<tr>
<td width="13%" height="16" valign="top"><strong><span style="font-family:Verdana;font-size:x-small;">Remove</span></strong></td>
<td width="53%" height="16" valign="top"><span style="font-family:Verdana;font-size:x-small;"><strong>rmdir dir </strong>Remove directory d</span></td>
</tr>
<tr>
<td width="12%" height="26" bgcolor="#808080"><strong><span style="font-family:Verdana;">file</span></strong></td>
<td width="52%" height="26" bgcolor="#808080"></td>
</tr>
<tr>
<td width="12%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">list , no details only names</span></strong></td>
<td width="52%" height="19"><span style="font-family:Verdana;font-size:x-small;"><strong>ls</strong> <strong>filename</strong> , filename with wildcard character/s. </span></td>
</tr>
<tr>
<td width="12%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">list , details</span></strong></td>
<td width="52%" height="19"><span style="font-family:Verdana;font-size:x-small;"><strong>ls -1 </strong> <strong>filename</strong> , filename with wildcard character/s. </span></td>
</tr>
<tr>
<td width="12%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">move  to directory</span></strong></td>
<td width="52%" height="19"><span style="font-family:Verdana;font-size:x-small;"><strong>mv filename    dirname </strong> (wildcard character/s supported)</span></td>
</tr>
<tr>
<td width="12%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">copy file to other/current  directory</span></strong></td>
<td width="52%" height="19"><span style="font-family:Verdana;font-size:x-small;"><strong>cp file  directory/newfile </strong> or <strong>cp directory/oldfile  .</strong></span></td>
</tr>
<tr>
<td width="12%" height="13"><strong><span style="font-family:Verdana;font-size:x-small;">Delete the file</span></strong></td>
<td width="52%" height="13"><span style="font-family:Verdana;font-size:x-small;"><strong>rm  file </strong> , <strong> rm -rf  directory </strong>- Recursively remove files &amp; directly without any warning.</span></td>
</tr>
<tr>
<td width="12%" height="1" valign="top"><strong><span style="font-family:Verdana;font-size:x-small;">file</span></strong></td>
<td width="52%" height="1" valign="top"><span style="font-family:Verdana;font-size:x-small;"><strong>file  filename </strong> , file command tries to determine the file type , text , executable etc after comparing the values in /etc/magic .</span></td>
</tr>
<tr>
<td width="18%" height="26" bgcolor="#808080"><strong><span style="font-family:Verdana;color:#ffffff;font-size:medium;">File </span><span style="font-family:Verdana;color:#ffffff;font-size:x-small;">edit/create/view</span></strong></td>
<td width="45%" height="26" bgcolor="#808080"></td>
</tr>
<tr>
<td width="18%" height="19"><span style="font-family:Verdana;font-size:x-small;"><strong>vi </strong>- vi  full screen editor </span></td>
<td width="45%" height="19"><span style="font-family:Verdana;font-size:x-small;"><strong>vi  filename </strong> , Opens a existing file or creates</span></td>
</tr>
<tr>
<td width="18%" height="19"><span style="font-family:Verdana;font-size:x-small;"><strong>ed </strong>- Line Text editor</span></td>
<td width="45%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">ed  filename</span></strong></td>
</tr>
<tr>
<td width="18%" height="19"><span style="font-family:Verdana;font-size:x-small;"><strong>count</strong> &#8211; Line, word, &amp; char</span></td>
<td width="45%" height="19"><span style="font-family:Verdana;font-size:x-small;"><strong>wc  filename</strong></span></td>
</tr>
<tr>
<td width="18%" height="19"><span style="font-family:Verdana;font-size:x-small;"><strong>Text content display </strong>- List contents of file at once</span></td>
<td width="45%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">cat  filename</span></strong></td>
</tr>
<tr>
<td width="18%" height="19"><span style="font-family:Verdana;font-size:x-small;"><strong>Text content display by screen : </strong>List contents of file  screen by screen </span></td>
<td width="45%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">more  filename</span></strong></td>
</tr>
<tr>
<td width="18%" height="19"><span style="font-family:Verdana;font-size:x-small;"><strong>Concatenate &#8211; </strong>file1 &amp; file2 into file3</span></td>
<td width="45%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">cat file1 file2 &gt;file3 </span></strong></td>
</tr>
<tr>
<td colspan="2" width="100%" height="26" bgcolor="#808080"><strong><span style="font-family:Verdana;">File operation</span></strong></td>
</tr>
<tr>
<td width="12%" height="19"><span style="font-family:Verdana;font-size:x-small;">Change <strong>read/write/execute mode</strong>of fil</span></td>
<td width="53%" height="19"><span style="font-family:Verdana;font-size:x-small;"><strong>chmod mode file</strong> </span></td>
</tr>
<tr>
<td width="12%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">chown</span></strong></td>
<td width="53%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">chown [-R] [-h] owner[:group] file</span></strong></td>
</tr>
<tr>
<td width="12%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">move (rename )  file</span></strong></td>
<td width="53%" height="19"><span style="font-family:Verdana;font-size:x-small;"><strong>mv file1  file2 </strong> Rename file file1 as file2</span></td>
</tr>
<tr>
<td width="12%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">Remove</span></strong></td>
<td width="53%" height="19"><span style="font-family:Verdana;font-size:x-small;"><strong>rm file </strong>Delete (remove) file f</span></td>
</tr>
<tr>
<td width="12%" height="19"><span style="font-family:Verdana;font-size:x-small;"><strong>Compare </strong>two files</span></td>
<td width="53%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">cmp file1 file2 </span></strong></td>
</tr>
<tr>
<td width="12%" height="19"><span style="font-family:Verdana;font-size:x-small;"><strong>Copy </strong>file file1 into file2</span></td>
<td width="53%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">cp file1 file2 </span></strong></td>
</tr>
<tr>
<td width="12%" height="19"><span style="font-family:Verdana;font-size:x-small;"><strong>Sort </strong>Alphabetically</span></td>
<td width="53%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">sort file</span></strong></td>
</tr>
<tr>
<td width="12%" height="19"><span style="font-family:Verdana;font-size:x-small;"><strong>Sort </strong>Numerically</span></td>
<td width="53%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">sort -n file</span></strong></td>
</tr>
<tr>
<td width="12%" height="17"><span style="font-family:Verdana;font-size:x-small;"><strong>Split </strong>f into n-line pieces</span></td>
<td width="53%" height="17"><strong><span style="font-family:Verdana;font-size:x-small;">split  [-n]  f</span></strong></td>
</tr>
<tr>
<td width="12%" height="19"><span style="font-family:Verdana;font-size:x-small;"><strong>match </strong><em>pattern</em></span></td>
<td width="53%" height="19"><span style="font-family:Verdana;font-size:x-small;"><strong>grep <em>pattern</em> file </strong> Outputs lines that</span></td>
</tr>
<tr>
<td width="12%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">Lists file differences</span></strong></td>
<td width="53%" height="19"><span style="font-family:Verdana;font-size:x-small;"><strong>diff file1 file2 </strong> </span></td>
</tr>
<tr>
<td width="12%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">head f Output beginning of file</span></strong></td>
<td width="53%" height="19"><strong>head  file</strong></td>
</tr>
<tr>
<td width="12%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">Output end of file</span></strong></td>
<td width="53%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">tail file</span></strong></td>
</tr>
<tr>
<td colspan="2" width="100%" height="26" bgcolor="#808080"><strong><span style="font-family:Verdana;">PROCESS</span></strong></td>
</tr>
<tr>
<td width="12%" height="19"><span style="font-family:Verdana;font-size:x-small;"><strong>Suspend </strong>current process</span></td>
<td width="47%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">CTRL/z * </span></strong></td>
</tr>
<tr>
<td width="12%" height="19"><span style="font-family:Verdana;font-size:x-small;"><strong>Interrupt</strong> processes</span></td>
<td width="47%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">CTRL/c * </span></strong></td>
</tr>
<tr>
<td width="12%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">Stop screen scrolling</span></strong></td>
<td width="47%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">CTRL/s * </span></strong></td>
</tr>
<tr>
<td width="12%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">Resume screen scrolling</span></strong></td>
<td width="47%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">CTRL/q * </span></strong></td>
</tr>
<tr>
<td width="12%" height="19"><span style="font-family:Verdana;font-size:x-small;"><strong>Sleep</strong> for n seconds</span></td>
<td width="47%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">sleep n </span></strong></td>
</tr>
<tr>
<td width="12%" height="19"><span style="font-family:Verdana;font-size:x-small;"><strong>Print</strong> list of jobs</span></td>
<td width="47%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">jobs</span></strong></td>
</tr>
<tr>
<td width="12%" height="19"><span style="font-family:Verdana;font-size:x-small;"><strong>Kill</strong> job n</span></td>
<td width="47%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">kill % </span></strong></td>
</tr>
<tr>
<td width="12%" height="19"><span style="font-family:Verdana;font-size:x-small;"><strong>Remove</strong> process n</span></td>
<td width="47%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">kill  -9 n </span></strong></td>
</tr>
<tr>
<td width="12%" height="19"><span style="font-family:Verdana;font-size:x-small;"><strong>status</strong> process status stats</span></td>
<td width="47%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">ps </span></strong></td>
</tr>
<tr>
<td width="12%" height="19"><span style="font-family:Verdana;font-size:x-small;"><strong>Resume</strong> background job n</span></td>
<td width="47%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">bg  [%n] </span></strong></td>
</tr>
<tr>
<td width="12%" height="19"><span style="font-family:Verdana;font-size:x-small;"><strong>Resume</strong> foreground job n</span></td>
<td width="47%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">fg  [%n] </span></strong></td>
</tr>
<tr>
<td width="12%" height="16" valign="top"><span style="font-family:Verdana;font-size:x-small;"><strong>Exit</strong> from shell</span></td>
<td width="47%" height="16" valign="top"><strong><span style="font-family:Verdana;font-size:x-small;">exit </span></strong></td>
</tr>
<tr>
<td width="12%" height="26" bgcolor="#808080"><strong><span style="font-family:Verdana;">User admin</span></strong></td>
<td width="47%" height="26" bgcolor="#808080"></td>
</tr>
<tr>
<td width="12%" height="4" valign="top"><strong>add a new user login</strong> to the system</td>
<td width="47%" height="4" valign="top"><strong># useradd -u 655 -g 20 -d /home/ttes testlogin  loginname</strong>
<dl>
<dt><span style="font-size:medium;">-u</span> is userid , if not specified system takes highest available .</dt>
<dt><span style="font-size:medium;">-g</span> group id should be existing in /etc/group , if not specified other or user is assigned.</dt>
<dt><span style="font-size:medium;">-d</span> home directory , default is to use <em>user </em>as the directory name under the home directory.</dt>
<dt>loginname &#8211; new login name to be created .</dt>
</dl>
<p><strong>#useradd testlogin</strong> will create a user by the name &#8216;testlogin&#8217; with all default values .</td>
</tr>
<tr>
<td width="12%" height="4"><span style="font-family:Verdana;font-size:x-small;"><strong>password</strong> Change</span></td>
<td width="47%" height="4"><strong><span style="font-family:Verdana;font-size:x-small;">passwd  &lt;user&gt;</span></strong></td>
</tr>
<tr>
<td width="12%" height="15"><span style="font-family:Verdana;font-size:x-small;"><strong>alias </strong>(csh/tcsh) &#8211; Create command</span></td>
<td width="47%" height="15"><strong><span style="font-family:Verdana;font-size:x-small;">alias name1 name2 </span></strong></td>
</tr>
<tr>
<td width="12%" height="10"><span style="font-family:Verdana;font-size:x-small;"><strong>alias </strong>(ksh/bash) &#8211; Create alias command</span></td>
<td width="47%" height="10"><strong><span style="font-family:Verdana;font-size:x-small;">alias name1=&#8221;name2&#8243; </span></strong></td>
</tr>
<tr>
<td width="12%" height="7"><span style="font-family:Verdana;font-size:x-small;"><strong>alias</strong> &#8211; Remove alias </span></td>
<td width="47%" height="7"><strong><span style="font-family:Verdana;font-size:x-small;">unalias name1[na2...]</span></strong></td>
</tr>
<tr>
<td width="13%" height="26" bgcolor="#808080"><strong><span style="font-family:Verdana;">printer</span></strong></td>
<td width="50%" height="26" bgcolor="#808080"></td>
</tr>
<tr>
<td width="13%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;"> Output file f to line printer</span></strong></td>
<td width="50%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">lp -d printer file </span></strong></td>
</tr>
<tr>
<td width="13%" height="19"></td>
<td width="50%" height="19"></td>
</tr>
<tr>
<td width="14%" height="26" bgcolor="#808080"><strong><span style="font-family:Verdana;">System  Status</span></strong></td>
<td width="50%" height="26" bgcolor="#808080"></td>
</tr>
<tr>
<td width="14%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">Display disk quota</span></strong></td>
<td width="50%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">quota </span></strong></td>
</tr>
<tr>
<td width="14%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">Print date &amp; time</span></strong></td>
<td width="50%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">date </span></strong></td>
</tr>
<tr>
<td width="14%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">List logged in users</span></strong></td>
<td width="50%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">who </span></strong></td>
</tr>
<tr>
<td width="14%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">Display current user</span></strong></td>
<td width="50%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">whoami </span></strong></td>
</tr>
<tr>
<td width="14%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">Output user information</span></strong></td>
<td width="50%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">finger  [username] </span></strong></td>
</tr>
<tr>
<td width="14%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">Display recent commands</span></strong></td>
<td width="50%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">history</span></strong></td>
</tr>
<tr>
<td width="14%" height="19" bgcolor="#808080"><strong><span style="font-family:Verdana;color:#ffffff;font-size:medium;">Environment Variable</span></strong></td>
<td width="50%" height="19" bgcolor="#808080"></td>
</tr>
<tr>
<td width="14%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">set</span></strong></td>
<td width="50%" height="19"><span style="font-family:Verdana;font-size:x-small;"><strong>set</strong> command alone displays the environment variables, it is used to set options in<strong> ksh </strong> like<strong> set -o vi </strong></span></td>
</tr>
<tr>
<td width="14%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">export</span></strong></td>
<td width="50%" height="19"><strong>export variable </strong>,  export  makes variable visible in sub shells.</td>
</tr>
<tr>
<td width="12%" height="6"><span style="font-family:Verdana;font-size:x-small;"><strong>Set environment  variable</strong> (csh/tcsh)  to value v</span></td>
<td width="47%" height="6"><strong><span style="font-family:Verdana;font-size:x-small;">sentenv name v</span></strong></td>
</tr>
<tr>
<td width="12%" height="8" valign="top"><span style="font-family:Verdana;font-size:x-small;"><strong>Set environment  variable</strong> (ksh/bash)  to value v</span></td>
<td width="47%" height="8"><span style="font-family:Verdana;font-size:x-small;"><strong>export name=v </strong> example :  <strong>export TERM=vt100</strong></span></td>
</tr>
<tr>
<td width="14%" height="19" bgcolor="#808080"><strong><span style="font-family:Verdana;">Connectivity</span></strong></td>
<td width="50%" height="19" bgcolor="#808080"></td>
</tr>
<tr>
<td width="14%" height="19" valign="top"><strong>Connecting to a  remote host</strong></td>
<td width="50%" height="19" valign="top"><strong>$telnet hostname/ip address </strong> or <strong> $telnet</strong><span style="font-family:Verdana;font-size:x-small;">Telnet brings up the login prompt of remote host and  expects you to enter your user name &amp; password .Without argument it enters command mode (telnet&gt;) and accepts command listed by ? at telnet&gt; prompt.<br />
Communication is not encrypted between two hosts.</span></td>
</tr>
<tr>
<td width="14%" height="19" valign="top"><strong>Securely connecting to a remote host</strong></td>
<td width="50%" height="19" valign="top">
<dl>
<dt><strong><span style="font-family:Verdana;font-size:x-small;">ssh  username@hostname  or ssh -l username hostname</span></strong></dt>
<dt><span style="font-family:Verdana;font-size:x-small;">Depending on ssh setting for your account you may or may not be asked a password to login. Your login/passwd will be same login password as you would use with telnet connection.</span></dt>
<dt><span style="font-family:Verdana;font-size:x-small;">Communication is encrypted between two hosts so if someone intercepts your communication he will not be able to use it.</span></dt>
</dl>
</td>
</tr>
<tr>
<td width="14%" height="19" valign="top"><strong><span style="font-family:Verdana;font-size:x-small;">Copy files from/to remote host</span></strong></td>
<td width="50%" height="19">
<dl>
<dt><strong><span style="font-family:Verdana;font-size:x-small;">ftp hostname</span></strong></dt>
<dt><span style="font-family:Verdana;font-size:x-small;">ftp expects you to enter  your username/passwd or if it is ftp only account it will require ftp account password .</span></dt>
<dt><span style="font-family:Verdana;font-size:x-small;">put , mput (</span><span style="font-family:Verdana;"><strong>m</strong></span><span style="font-family:Verdana;font-size:x-small;">ultiple</span><span style="font-family:Verdana;"><strong>put</strong><span style="font-size:x-small;">) command is used to transfer files to remote host.</span></span></dt>
<dt><span style="font-family:Verdana;font-size:x-small;">get , mget (</span><span style="font-family:Verdana;"><strong>m</strong></span><span style="font-family:Verdana;font-size:x-small;">ultiple</span><span style="font-family:Verdana;"><strong>put</strong></span><span style="font-family:Verdana;font-size:x-small;">) command is used to transfer files from remote host.</span></dt>
<dt><span style="font-family:Verdana;font-size:x-small;">ftp allows some limited number of commands to be executed at ftp&gt; prompt &amp; summary of ftp command can be found by using ? at ftp&gt;  prompt</span></dt>
</dl>
</td>
</tr>
<tr>
<td width="14%" height="19"><strong><span style="font-family:Verdana;font-size:x-small;">Securely copy files from/to remote host</span></strong></td>
<td width="50%" height="19" valign="top"><span style="font-family:Verdana;font-size:x-small;"><strong>sftp username@hostname:</strong><em>remotefile  localfile </em></span><span style="font-family:Verdana;font-size:x-small;">Communication is encrypted between two hosts.</span></td>
</tr>
<tr>
<td width="14%" height="19" valign="top"><strong><span style="font-family:Verdana;font-size:x-small;">Test the tcp/ip  connectivity between two hosts</span></strong></td>
<td width="50%" height="19">
<dl>
<dt><strong><span style="font-family:Verdana;font-size:x-small;">ping hostname</span></strong></dt>
<dt><span style="font-family:Verdana;font-size:x-small;">If you can ping a host the host is reachable from the machine that you are using .</span></dt>
<dt><span style="font-family:Verdana;font-size:x-small;">Router/firewall configuration may prevent ping to succeed .</span></dt>
</dl>
</td>
</tr>
<tr>
<td width="14%" height="19" bgcolor="#808080"><strong><span style="font-family:Verdana;">Backup and  Restore</span></strong></td>
<td width="50%" height="19" bgcolor="#808080"></td>
</tr>
<tr>
<td width="14%" height="5" valign="top"><strong><span style="font-family:Verdana;font-size:x-small;">backup and restore using tar , TApeaRchive</span></strong></td>
<td width="50%" height="5">
<dl>
<dt><span style="font-family:Verdana;font-size:x-small;"><strong>tar tvf filename.tar</strong> &#8212;  <em><strong>View</strong></em> the table of content of a tar archive</span></dt>
<dt><span style="font-family:Verdana;font-size:x-small;"><strong>tar xvf filename.tar </strong> &#8212; <em><strong>Extract</strong></em> content of a tar archive</span></dt>
<dt><span style="font-family:Verdana;font-size:x-small;"><strong>tar cvf filename.tar</strong> <strong>file1 file2  file3</strong> &#8212; <em><strong>Create</strong></em> a tar archive called filename.tar using file1, file2,file3 .</span></dt>
<dt>tar can&#8217;t copy the special files , device files .Not suitable for taking root backup.</dt>
</dl>
</td>
</tr>
<tr>
<td width="14%" height="1" valign="top"><span style="font-family:Verdana;font-size:x-small;"><strong>backup and restore using cpio  , C</strong>o<strong>p</strong>y<strong>I</strong>nput<strong>O</strong>utput</span></td>
<td width="50%" height="1" valign="top">
<dl>
<dt>cpio is mostly used in conjunction with other commands to generate a list of files to be copied :<span style="font-family:Verdana;font-size:x-small;"><br />
<strong>#ls | cpio -o &gt; /dev/rmt/c0t0d0</strong> &#8212; Copy the contents of a directory into a tape archive:<br />
<strong>#find . -depth -print | cpio -pd newdir &#8212; </strong>copy entire directory to other place:<br />
<strong>#find . -cpio /dev/rmt/c0t0d0 &#8212; </strong>Copy files in current directory to a tape</span></dt>
<dt>cpio can copy special files and hence useful in taking root backup containing device file.</dt>
</dl>
</td>
</tr>
<tr>
<td colspan="2" width="64%" height="1" valign="top" bgcolor="#808080"><strong><span style="font-family:Verdana;">Find files  , directories</span></strong></td>
</tr>
<tr>
<td width="14%" height="19" valign="top"><strong><span style="font-family:Verdana;font-size:x-small;">find  files , directories</span></strong></td>
<td width="50%" height="19" valign="top">
<dl>
<dt><span style="font-family:Verdana;font-size:x-small;">Find  command is used to find the files , directories and to run commands on the list of files thus generated .By default, find does not follow symbolic links.</span></dt>
<dd> </dd>
<dt><span style="font-family:Verdana;font-size:x-small;"><strong>find . -name *.log -print </strong> &#8212; Simple find to list log files</span></dt>
<dt><span style="font-family:Verdana;font-size:x-small;"><strong>find . -name &#8216;*.log&#8217; -exec rm  {} \;</strong> &#8212; Simple find to find log files and delete them .</span></dt>
<dt><span style="font-family:Verdana;font-size:x-small;">find accepts a long list of options to find the files based on different parameters such as create time , modified time , of certain size etc. Please refer to man find for more option.</span></dt>
</dl>
</td>
</tr>
</tbody>
</table>
<dt><strong><span style="font-family:Verdana;font-size:xx-small;"> </span></strong></dt>
<h3><a name="8.0 Next Steps"></a></h3>
<p><span style="font-family:'Times New Roman';"><span style="font-family:'Times New Roman';font-size:small;">Unix commands forms the building blocks of unix administartion and are needed for administration or simply work in unix environment . </span><span style="font-size:small;"> If  you are learning unix or are working in unix environment it will be worthwhile that you have good system administration books which can help you to explore full potential of your working environment.</span></span></p>
<p>Following <span style="font-family:'Times New Roman';font-size:small;">books available for online buying from Amazon.com . You should have following two books in your bookshelf  for ready reference  if you are involved in Unix system administration  . </span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/otakkrowak.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/otakkrowak.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/otakkrowak.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/otakkrowak.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/otakkrowak.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/otakkrowak.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/otakkrowak.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/otakkrowak.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/otakkrowak.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/otakkrowak.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/otakkrowak.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/otakkrowak.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/otakkrowak.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/otakkrowak.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=otakkrowak.wordpress.com&amp;blog=2749444&amp;post=26&amp;subd=otakkrowak&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://otakkrowak.wordpress.com/2009/05/12/unix-commands-reference/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/941cb96eea620ba4edae05f01864385a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">duniamascha</media:title>
		</media:content>
	</item>
		<item>
		<title>Crontab &#8211; Quick reference (Setting up cronjobs in Unix and Solaris)</title>
		<link>http://otakkrowak.wordpress.com/2009/05/12/crontab-quick-reference-setting-up-cronjobs-in-unix-and-solaris/</link>
		<comments>http://otakkrowak.wordpress.com/2009/05/12/crontab-quick-reference-setting-up-cronjobs-in-unix-and-solaris/#comments</comments>
		<pubDate>Tue, 12 May 2009 04:31:22 +0000</pubDate>
		<dc:creator>duniamascha</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://otakkrowak.wordpress.com/?p=20</guid>
		<description><![CDATA[laris utility that allows tasks to be automatically run in the background at regular intervals by the cron daemon. These tasks are often termed as cron jobs in unix , solaris. Crontab (CRON TABle) is a file which contains the schedule of cron entries to be run and at specified times. 1. Crontab ____________ You [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=otakkrowak.wordpress.com&amp;blog=2749444&amp;post=20&amp;subd=otakkrowak&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>laris utility that allows tasks to be automatically run in the background at regular intervals by the cron daemon. These tasks are often termed as cron jobs in unix , solaris.<br />
Crontab (CRON TABle) is a file which contains the schedule of cron entries to be run and at specified times.</p>
<dl>
<dt><span style="font-family:'Times New Roman';font-size:small;"><strong>1. Crontab</strong> <strong><a name="Restrictions"></a><br />
</strong>____________<br />
You can execute crontab if your name appears in the file /usr/lib/cron/cron.allow. If that file does not exist, you can use<br />
crontab if your name does not appear in the file /usr/lib/cron/cron.deny.<br />
If only cron.deny exists and is empty, all users can use crontab. If neither file exists, only the root user can use crontab. The allow/deny files consist of one user name per line.</span></dt>
<p><span style="font-family:'Times New Roman';font-size:small;"><br />
<strong>2.</strong> <strong>Crontab</strong> <strong><a name="Commands"></a></strong><br />
__________<br />
<span style="font-weight:400;">export EDITOR=vi ;to specify a editor to open crontab file.</span></span></p>
<p>crontab -e     Edit your crontab file, or create one if it doesn&#8217;t already exist.<br />
crontab -l      Display your crontab file.<br />
crontab -r      Remove your crontab file.<br />
crontab -v      Display the last time you edited your crontab file. (This option is only available on a few systems.)</p>
<p><span style="font-family:'Times New Roman';font-size:small;"><strong>3. <a name="Crontab file"></a></strong><br />
___________<br />
<strong>Crontab</strong> <strong>syntax :-</strong><br />
A crontab file has five fields for specifying day , date and time  followed by the command to be run at that interval.</span></p>
<table id="AutoNumber1" style="border-collapse:collapse;" border="0" cellspacing="7" cellpadding="0" width="79%" bgcolor="#DBDBDB">
<tbody>
<tr>
<td width="100%"><span style="font-family:'Times New Roman';font-size:small;">*     *   *   *    *  command to be executed<br />
-     -    -    -    -<br />
|     |     |     |     |<br />
|     |     |     |     +&#8212;&#8211; day of week (0 &#8211; 6) (Sunday=0)<br />
|     |     |     +&#8212;&#8212;- month (1 &#8211; 12)<br />
|     |     +&#8212;&#8212;&#8212; day of month (1 &#8211; 31)<br />
|     +&#8212;&#8212;&#8212;&#8211; hour (0 &#8211; 23)<br />
+&#8212;&#8212;&#8212;&#8212;- min (0 &#8211; 59)<br />
</span></td>
</tr>
</tbody>
</table>
<p><span style="font-family:'Times New Roman';font-size:small;">* in the value field above means all legal values as in braces for that column.<br />
The value column can have a * or a list of elements separated by commas. An element is either a number in the ranges shown above or two numbers in the range separated by a hyphen (meaning an inclusive range).</span></p>
<p><strong>Note</strong>: The specification of days can be made in two fields: month day and weekday. If both are specified in an entry, they are cumulative meaning both of the entries will get executed .</p>
<p><span style="font-family:'Times New Roman';font-size:small;"><strong>4. Crontab</strong> <strong><a name="Example"></a></strong><br />
_______<br />
<span style="font-weight:400;"><br />
A line in crontab file like below  removes the tmp files from /home/someuser/tmp each day at 6:30 PM.</span></span></p>
<p><span style="font-weight:400;"><span style="font-family:'Times New Roman';font-size:small;">30     18     *     *     *         rm /home/someuser/tmp/*</span></span></p>
<p><span style="font-family:'Times New Roman';font-size:small;">Changing the parameter values as below will cause this command to run at different time schedule below :</span></p>
<table style="height:127px;" border="1" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td width="8%" height="13" align="center" bgcolor="#808080"><span style="font-family:Verdana;color:#ffffff;font-size:xx-small;">min</span></td>
<td width="9%" height="13" align="center" bgcolor="#808080"><span style="font-family:Verdana;color:#ffffff;font-size:xx-small;">hour</span></td>
<td width="9%" height="13" align="center" bgcolor="#808080"><span style="font-family:Verdana;color:#ffffff;font-size:xx-small;">day/month</span></td>
<td width="13%" height="13" align="center" bgcolor="#808080"><span style="font-family:Verdana;color:#ffffff;font-size:xx-small;">month</span></td>
<td width="9%" height="13" align="center" bgcolor="#808080"><span style="font-family:Verdana;color:#ffffff;font-size:xx-small;">day/week</span></td>
<td width="66%" height="13" align="left" valign="top" bgcolor="#808080"><span style="font-family:Verdana;color:#ffffff;font-size:xx-small;"> Execution time</span></td>
</tr>
<tr>
<td width="8%" height="38" align="center" bgcolor="#FFFFFF"><span style="font-family:'Times New Roman';font-size:small;">30</span></td>
<td width="9%" height="38" align="center" bgcolor="#FFFFFF"><span style="font-family:'Times New Roman';font-size:small;">0</span></td>
<td width="9%" height="38" align="center" bgcolor="#FFFFFF"><span style="font-family:'Times New Roman';font-size:small;">1</span></td>
<td width="13%" height="38" align="center" bgcolor="#FFFFFF"><span style="font-family:'Times New Roman';font-size:small;">1,6,12</span></td>
<td width="9%" height="38" align="center" bgcolor="#FFFFFF"><span style="font-family:'Times New Roman';font-size:small;">*</span></td>
<td width="66%" height="38" align="left" valign="top" bgcolor="#FFFFFF"><span style="font-family:Verdana;font-size:xx-small;">&#8211; 00:30 Hrs  on 1st of Jan, June &amp; Dec.</span></td>
</tr>
<tr>
<td colspan="6" width="114%" height="1" align="center" bgcolor="#DBDBDB">
<p align="left"><span style="font-family:Verdana;color:#dbdbdb;font-size:xx-small;">:</span></p>
</td>
</tr>
<tr>
<td width="8%" height="38" align="center" bgcolor="#FFFFFF"><span style="font-family:'Times New Roman';font-size:small;">0</span></td>
<td width="9%" height="38" align="center" bgcolor="#FFFFFF"><span style="font-family:'Times New Roman';font-size:small;">20</span></td>
<td width="9%" height="38" align="center" bgcolor="#FFFFFF"><span style="font-family:'Times New Roman';font-size:small;">*</span></td>
<td width="13%" height="38" align="center" bgcolor="#FFFFFF"><span style="font-family:'Times New Roman';font-size:small;">10</span></td>
<td width="9%" height="38" align="center" bgcolor="#FFFFFF"><span style="font-family:'Times New Roman';font-size:small;">1-5</span></td>
<td width="66%" height="38" align="left" valign="top" bgcolor="#FFFFFF"><span style="font-family:'Times New Roman';font-size:small;">&#8211;8.00 PM every weekday (Mon-Fri) only in Oct.</span></td>
</tr>
<tr>
<td colspan="6" width="114%" height="2" align="center" bgcolor="#DBDBDB">
<p align="left"><span style="font-family:Verdana;color:#dbdbdb;font-size:xx-small;">:</span></p>
</td>
</tr>
<tr>
<td width="8%" height="38" align="center" bgcolor="#FFFFFF"><span style="font-family:'Times New Roman';font-size:small;">0</span></td>
<td width="9%" height="38" align="center" bgcolor="#FFFFFF"><span style="font-family:'Times New Roman';font-size:small;">0</span></td>
<td width="9%" height="38" align="center" bgcolor="#FFFFFF"><span style="font-family:'Times New Roman';font-size:small;">1,10,15</span></td>
<td width="13%" height="38" align="center" bgcolor="#FFFFFF"><span style="font-family:'Times New Roman';font-size:small;">*</span></td>
<td width="9%" height="38" align="center" bgcolor="#FFFFFF"><span style="font-family:'Times New Roman';font-size:small;">*</span></td>
<td width="66%" height="38" align="left" valign="top" bgcolor="#FFFFFF"><span style="font-family:'Times New Roman';font-size:small;">&#8211; midnight on 1st ,10th &amp; 15th of month</span></td>
</tr>
<tr>
<td colspan="6" width="114%" height="2" align="center" bgcolor="#DBDBDB">
<p align="left"><span style="font-family:Verdana;color:#dbdbdb;font-size:xx-small;">:</span></p>
</td>
</tr>
<tr>
<td width="8%" height="38" align="center" bgcolor="#FFFFFF"><span style="font-family:'Times New Roman';font-size:small;">5,10</span></td>
<td width="9%" height="38" align="center" bgcolor="#FFFFFF"><span style="font-family:'Times New Roman';font-size:small;">0</span></td>
<td width="9%" height="38" align="center" bgcolor="#FFFFFF"><span style="font-family:'Times New Roman';font-size:small;">10</span></td>
<td width="13%" height="38" align="center" bgcolor="#FFFFFF"><span style="font-family:'Times New Roman';font-size:small;">*</span></td>
<td width="9%" height="38" align="center" bgcolor="#FFFFFF"><span style="font-family:'Times New Roman';font-size:small;">1</span></td>
<td width="66%" height="38" align="left" valign="top" bgcolor="#FFFFFF"><span style="font-family:'Times New Roman';font-size:small;">&#8211; At 12.05,12.10 every Monday &amp; on 10th of every month</span></td>
</tr>
<tr>
<td colspan="6" width="114%" height="1" bgcolor="#DBDBDB"><span style="font-family:Verdana;color:#dbdbdb;font-size:xx-small;">:</span></td>
</tr>
</tbody>
</table>
<p><span style="font-family:'Times New Roman';font-size:small;"><strong>Note :</strong> If you inadvertently enter the crontab command with no argument(s), do not attempt to get out with Control-d. This removes all entries in your crontab file. Instead, exit with Control-c.</span></p>
<p><span style="font-family:'Times New Roman';font-size:small;"><strong>5. Crontab</strong> <strong><a name="Environment"></a></strong><br />
___________<br />
cron invokes the command from the user&#8217;s HOME directory with the shell, (/usr/bin/sh).<br />
cron supplies a default environment for every shell, defining:<br />
HOME=user&#8217;s-home-directory<br />
LOGNAME=user&#8217;s-login-id<br />
PATH=/usr/bin:/usr/sbin:.<br />
SHELL=/usr/bin/sh</span></p>
<p>Users who desire to have their .profile executed must explicitly do so in the crontab entry or in a script called by the entry.</p>
<p><strong>6.</strong> <strong><a name="Disable Email"></a><br />
</strong>____________</p>
<p><span style="font-family:'Times New Roman';font-size:small;">By default cron jobs sends a email to the user account executing the cronjob. If this is not needed put the following command At the end of the cron job line .</span></p>
<p>&gt;/dev/null 2&gt;&amp;1</p>
<h3><span style="font-family:'Times New Roman';font-size:small;"><br />
7. <a name="Generate log file"></a><br />
________________</span></h3>
<p><span style="font-family:'Times New Roman';font-size:small;">To collect the cron execution execution log in a file :</span></p>
<p>30 18  *    *   *    rm /home/someuser/tmp/* &gt; /home/someuser/cronlogs/clean_tmp_dir.log</p>
</dl>
<h3><a name="8.0 Next Steps"></a></h3>
<p><span style="font-family:'Times New Roman';"><span style="font-family:'Times New Roman';font-size:small;">This  article  covered  a significant aspect of system administration of setting up cronjobs . Unix administration involves lots of different tasks and some of these tasks are covered in this website  but still there are many areas not covered here .</span></span></p>
<p>Following <span style="font-family:'Times New Roman';font-size:small;">books available for online buying from Amazon.com . You should have following two books in your bookshelf  for ready reference  if you are involved in Unix system administration  . </span></p>
<p><a href="http://www.amazon.com/exec/obidos/redirect?link_code=ur2&amp;camp=1789&amp;tag=adminschoicecom&amp;creative=9325&amp;path=external-search%3Fsearch-type=ss%26keyword=0596003439%26index=blended">Essential System Administration, Third Edition</a><img style="border-style:none!important;margin:0;" src="http://www.assoc-amazon.com/e/ir?t=adminschoicecom&amp;l=ur2&amp;o=1" border="0" alt="" /><span style="font-family:'Times New Roman';font-size:small;"><strong> by by Æleen Frisch<br />
</strong><a href="http://www.amazon.com/exec/obidos/redirect?link_code=ur2&amp;camp=1789&amp;tag=adminschoicecom&amp;creative=9325&amp;path=external-search%3Fsearch-type=ss%26keyword=0130342874%26index=blended">Solaris Operating Environment Boot Camp </a><img style="border-style:none!important;margin:0;" src="http://www.assoc-amazon.com/e/ir?t=adminschoicecom&amp;l=ur2&amp;o=1" border="0" alt="" /><strong><img style="border-style:none!important;margin:0;" src="http://www.assoc-amazon.com/e/ir?t=adminschoicecom&amp;l=ur2&amp;o=1" border="0" alt="" /> <span class="small">by David Rhodes, Dominic Butler</span></strong></span><span style="font-family:'Times New Roman';font-size:small;">If you already own these books the amazon display panel below shows some of the best-selling books for System Administration  and you can choose the book here or visit my other website for more selection of best selling unix system administration books by following this link &#8211; .<a href="http://besttechbooks.com/amz/unix_admin1.html"><strong>Unix system administration books at besttechbooks.com</strong></a><strong> </strong>,from Amazon.com.</span></p>
<p><span style="font-family:'Times New Roman';font-size:small;">You can show your appreciation by  buying the books for yourself and encouraging the  friends to buy  using amazon links below or anywhere at <a href="http://www.adminschoice.com/"><strong>adminschoice.com </strong></a> or <a href="http://www.besttechbooks.com/"><strong>besttechbooks.com</strong></a> . Thanks for your appreciation in advance.</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/otakkrowak.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/otakkrowak.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/otakkrowak.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/otakkrowak.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/otakkrowak.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/otakkrowak.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/otakkrowak.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/otakkrowak.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/otakkrowak.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/otakkrowak.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/otakkrowak.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/otakkrowak.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/otakkrowak.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/otakkrowak.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=otakkrowak.wordpress.com&amp;blog=2749444&amp;post=20&amp;subd=otakkrowak&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://otakkrowak.wordpress.com/2009/05/12/crontab-quick-reference-setting-up-cronjobs-in-unix-and-solaris/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/941cb96eea620ba4edae05f01864385a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">duniamascha</media:title>
		</media:content>

		<media:content url="http://www.assoc-amazon.com/e/ir?t=adminschoicecom&#38;l=ur2&#38;o=1" medium="image" />

		<media:content url="http://www.assoc-amazon.com/e/ir?t=adminschoicecom&#38;l=ur2&#38;o=1" medium="image" />

		<media:content url="http://www.assoc-amazon.com/e/ir?t=adminschoicecom&#38;l=ur2&#38;o=1" medium="image" />
	</item>
		<item>
		<title>How to .gz and .tar.gz</title>
		<link>http://otakkrowak.wordpress.com/2009/04/23/how-to-gz-and-targz/</link>
		<comments>http://otakkrowak.wordpress.com/2009/04/23/how-to-gz-and-targz/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 09:51:04 +0000</pubDate>
		<dc:creator>duniamascha</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://otakkrowak.wordpress.com/2009/04/23/how-to-gz-and-targz/</guid>
		<description><![CDATA[How to .gz Compress .gz file gzip exim_mainlog.1 Uncompress .gz file gzip -d exim_mainlog.1.gz How to .tar.gz Make a .tar.gz from a folder tar czf folder.tar.gz folder tar czf filename.tar.gz folder put a file into a folder Extract .tar.gz file gunzip -c filename.tar.gz tar -zxvf filename.tar.gz Extract a single file from .tar.gz gunzip -c /path/to/folder/filename.tar.gz [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=otakkrowak.wordpress.com&amp;blog=2749444&amp;post=18&amp;subd=otakkrowak&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>How to .gz</p>
<p>Compress .gz file<br />
gzip exim_mainlog.1</p>
<p>Uncompress .gz file<br />
gzip -d exim_mainlog.1.gz</p>
<p>How to .tar.gz</p>
<p>Make a .tar.gz from a folder<br />
tar czf folder.tar.gz folder<br />
tar czf filename.tar.gz folder<br />
put a file into a folder</p>
<p>Extract .tar.gz file<br />
gunzip -c filename.tar.gz<br />
tar -zxvf filename.tar.gz</p>
<p>Extract a single file from .tar.gz<br />
gunzip -c /path/to/folder/filename.tar.gz | tar -xvf &#8211; path/within/archive/filename.php</p>
<p>View a list of files in .tar.gz archive<br />
gunzip -c /path/to/folder/filename.tar.gz | tar -tvf -</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/otakkrowak.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/otakkrowak.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/otakkrowak.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/otakkrowak.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/otakkrowak.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/otakkrowak.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/otakkrowak.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/otakkrowak.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/otakkrowak.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/otakkrowak.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/otakkrowak.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/otakkrowak.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/otakkrowak.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/otakkrowak.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=otakkrowak.wordpress.com&amp;blog=2749444&amp;post=18&amp;subd=otakkrowak&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://otakkrowak.wordpress.com/2009/04/23/how-to-gz-and-targz/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/941cb96eea620ba4edae05f01864385a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">duniamascha</media:title>
		</media:content>
	</item>
		<item>
		<title>The Configuration File Now Needs A Secret Passphrase ( blowfish_secret )</title>
		<link>http://otakkrowak.wordpress.com/2009/03/17/the-configuration-file-now-needs-a-secret-passphrase-blowfish_secret/</link>
		<comments>http://otakkrowak.wordpress.com/2009/03/17/the-configuration-file-now-needs-a-secret-passphrase-blowfish_secret/#comments</comments>
		<pubDate>Tue, 17 Mar 2009 02:50:52 +0000</pubDate>
		<dc:creator>duniamascha</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://otakkrowak.wordpress.com/?p=12</guid>
		<description><![CDATA[When installing phpMyAdmin to manage your MySQL database there are a couple of things you need to completed. You may receive some of the following errors if you do not complete all of the necessary prerequisites but all are easy to resolve. The first error you will probably run into is: ERROR: The configuration file [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=otakkrowak.wordpress.com&amp;blog=2749444&amp;post=12&amp;subd=otakkrowak&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When installing phpMyAdmin to manage your MySQL database there are a couple of things you need to completed. You may receive some of the following errors if you do not complete all of the necessary prerequisites but all are easy to resolve.</p>
<p>The first error you will probably run into is:<br />
ERROR: The configuration file now needs a secret passphrase (blowfish_secret)</p>
<p>This can be resolved by copying the sample configuration file to the correct name and making a small modification to it. From the phpMyAdmin directory do the following.</p>
<pre>cp -p config.sample.inc.php config.inc.php</pre>
<p>You will then need to edit the file with your favorite editor (mine being vi) and add a blowfish_secret phrase to line 17 like the below.</p>
<p>$cfg['blowfish_secret'] = &#8216;BLOWFISH PASSWORD HERE&#8217;; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */</p>
<p>After you do this visit your-url/phpadmin-directory where if you don’t have mcrypt and mbstrong installed you will see two more errors. There are easy to resolve by following the directions below.</p>
<p>ERROR: Cannot load mcrypt extension. Please check your PHP configuration.<br />
This is easily resolved by installing php-mcrypt using the bellow command on CentOS.</p>
<pre>yum install php-mcrypt
===================================================================
<span style="font-family:Georgia;line-height:19px;white-space:normal;font-size:13px;">bwt yg make windows =</span>

http://files.edin.dk/php/win32/mcrypt/

1. put libmcrypt.dll in windows system32 folder
2. make sure php_mcrypt.dll is in php extension directory
3. make sure php.ini directive extension_dir points to the right path
4. uncomment ;extension=php_mcrypt.dll from php.ini
5. restart webserver (kalo perlu ajja) ... thats it, should work now</pre>
<p>ERROR: The mbstring PHP extension was not found and you seem to be using a multibyte charset. Without the mbstring extension phpMyAdmin is unable to split strings correctly and it may result in unexpected results.<br />
This error may not be seen until logging into phpMyAdmin but is also easily resolved by installing mbstring using the below command.</p>
<pre>yum install php-mbstring</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/otakkrowak.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/otakkrowak.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/otakkrowak.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/otakkrowak.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/otakkrowak.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/otakkrowak.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/otakkrowak.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/otakkrowak.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/otakkrowak.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/otakkrowak.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/otakkrowak.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/otakkrowak.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/otakkrowak.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/otakkrowak.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=otakkrowak.wordpress.com&amp;blog=2749444&amp;post=12&amp;subd=otakkrowak&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://otakkrowak.wordpress.com/2009/03/17/the-configuration-file-now-needs-a-secret-passphrase-blowfish_secret/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/941cb96eea620ba4edae05f01864385a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">duniamascha</media:title>
		</media:content>
	</item>
		<item>
		<title>Copy MySQL database from one server to another remote server</title>
		<link>http://otakkrowak.wordpress.com/2009/01/29/copy-mysql-database-from-one-server-to-another-remote-server/</link>
		<comments>http://otakkrowak.wordpress.com/2009/01/29/copy-mysql-database-from-one-server-to-another-remote-server/#comments</comments>
		<pubDate>Thu, 29 Jan 2009 04:14:28 +0000</pubDate>
		<dc:creator>duniamascha</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://otakkrowak.wordpress.com/?p=10</guid>
		<description><![CDATA[Usually you run mysqldump to create database copy: $ mysqldump -u user -p db-name &#62; db-name.out Copy db-name.out file using sftp/ssh to remote MySQL server: $ scp db-name.out user@remote.box.com:/backup Restore database at remote server (login over ssh): $ mysql -u user -p db-name &#60; db-name.out How do I copy a MySQL database from one computer/server [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=otakkrowak.wordpress.com&amp;blog=2749444&amp;post=10&amp;subd=otakkrowak&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Usually you run mysqldump to create database copy:</p>
<blockquote><p><strong>$ mysqldump -u user -p db-name &gt; db-name.out</strong></p></blockquote>
<p>Copy db-name.out file using sftp/ssh to remote MySQL server:</p>
<blockquote><p><strong>$ scp db-name.out user@remote.box.com:/backup</strong></p></blockquote>
<p>Restore database at remote server (login over ssh):</p>
<blockquote><p><strong>$ mysql -u user -p db-name &lt; db-name.out</strong></p></blockquote>
<h3>How do I copy a MySQL database from one computer/server to another?</h3>
<p>Short answer is you can copy database from one computer/server to another using ssh or mysql client.</p>
<p>You can run all the above 3 commands in one pass using mysqldump and mysql commands (insecure method, use only if you are using VPN or trust your network):</p>
<blockquote><p><code>$ mysqldump db-name | mysql -h remote.box.com db-name</code>
</p></blockquote>
<p>Use ssh if you don&#8217;t have direct access to remote mysql server (secure method):</p>
<blockquote><p><code>$ mysqldump db-name | ssh user@remote.box.com mysql db-name</code>
</p></blockquote>
<p>You can just copy table called foo to remote database (and remote mysql server  remote.box.com) called bar using same syntax:</p>
<blockquote><p><code>$ mysqldump db-name foo | ssh user@remote.box.com mysql bar</code></p></blockquote>
<p>This will not just save your time but you can impress your friend too <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> . Almost all commands can be run using pipes under UNIX/Linux oses.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/otakkrowak.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/otakkrowak.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/otakkrowak.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/otakkrowak.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/otakkrowak.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/otakkrowak.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/otakkrowak.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/otakkrowak.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/otakkrowak.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/otakkrowak.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/otakkrowak.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/otakkrowak.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/otakkrowak.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/otakkrowak.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=otakkrowak.wordpress.com&amp;blog=2749444&amp;post=10&amp;subd=otakkrowak&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://otakkrowak.wordpress.com/2009/01/29/copy-mysql-database-from-one-server-to-another-remote-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/941cb96eea620ba4edae05f01864385a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">duniamascha</media:title>
		</media:content>
	</item>
		<item>
		<title>How to uninstall DB2 server</title>
		<link>http://otakkrowak.wordpress.com/2008/12/04/how-to-uninstall-db2-server/</link>
		<comments>http://otakkrowak.wordpress.com/2008/12/04/how-to-uninstall-db2-server/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 01:52:41 +0000</pubDate>
		<dc:creator>duniamascha</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://otakkrowak.wordpress.com/?p=6</guid>
		<description><![CDATA[It’s quite easy to uninstall DB2 server. You must only follow those steps: Stopping the DB2 administration server Log in as the DB2 administration server owner Stop the DB2 administration server by entering the db2admin stop command. Remove the DAS by entering the following command: DB2DIR/instance/dasdrop Stopping all DB2 instances Log in as a user [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=otakkrowak.wordpress.com&amp;blog=2749444&amp;post=6&amp;subd=otakkrowak&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It’s quite easy to uninstall DB2 server. You must only follow those steps:</p>
<ol>
<li>Stopping the DB2 administration server
<ul>
<li>Log in as the DB2 administration server owner</li>
<li> Stop the DB2 administration server by entering the <strong>db2admin stop</strong> command.</li>
<li>Remove the DAS by entering the following command: <strong>DB2DIR/instance/dasdrop</strong></li>
</ul>
</li>
<li>Stopping all DB2 instances
<ul>
<li>Log in as a user with root authority</li>
<li>To obtain a list of the names of all DB2 instances associated with your current DB2 copy, enter the following command: <strong>DB2DIR/bin/db2ilist</strong>, where DB2DIR is e.g. /opt/IBM/db2/V8.1</li>
<li>Log out</li>
<li>Log back in as the owner of the instance you want to stop</li>
<li>Stop the DB2 database manager by entering the <strong>db2stop force</strong> command</li>
<li>Confirm that the instance is stopped by entering the <strong>db2 terminate</strong> command</li>
<li>Repeat these steps for each instance</li>
</ul>
</li>
<li>Removing DB2 instances
<ul>
<li>Log in as a user with root authority</li>
<li>Remove the instance by entering the following command: <strong>DB2DIR/instance/db2idrop <em>InstName</em><br />
</strong>, where DB2DIR is e.g. /opt/IBM/db2/V8.1</li>
<li>Repeat these steps for each instance</li>
</ul>
</li>
<li>Removing DB2 products using the db2_deinstall
<ul>
<li>Log in as a user with root authority</li>
<li>Run the <strong>db2_deinstall -a</strong> command from the DB2DIR/install, where DB2DIR is e.g. /opt/IBM/db2/V8.1</li>
</ul>
</li>
</ol>
<ul> Note: The <strong>db2idrop</strong> command removes the instance entry from the list of instances and removes the <em>INSTHOME/sqllib</em> directory, where <em>INSTHOME</em> is the home directory of the instance and where InstName is the login name of the instance. If you are storing any files in /sqllib directory, these files will be removed by this action. If you still need these files, you must make a copy of them before dropping the instance.</ul>
<p>Sources: www.ibm.com</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/otakkrowak.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/otakkrowak.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/otakkrowak.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/otakkrowak.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/otakkrowak.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/otakkrowak.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/otakkrowak.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/otakkrowak.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/otakkrowak.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/otakkrowak.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/otakkrowak.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/otakkrowak.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/otakkrowak.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/otakkrowak.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=otakkrowak.wordpress.com&amp;blog=2749444&amp;post=6&amp;subd=otakkrowak&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://otakkrowak.wordpress.com/2008/12/04/how-to-uninstall-db2-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/941cb96eea620ba4edae05f01864385a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">duniamascha</media:title>
		</media:content>
	</item>
		<item>
		<title>Cognos Oracle Content Store Creation</title>
		<link>http://otakkrowak.wordpress.com/2008/12/01/cognos-oracle-content-store-creation/</link>
		<comments>http://otakkrowak.wordpress.com/2008/12/01/cognos-oracle-content-store-creation/#comments</comments>
		<pubDate>Mon, 01 Dec 2008 04:15:42 +0000</pubDate>
		<dc:creator>duniamascha</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://otakkrowak.wordpress.com/?p=4</guid>
		<description><![CDATA[Cognos Oracle Content Store Creation Cognos &#8220;Quick&#8221; Start Installation and Configuration Guide transcript Error: Cognos Configuration error creating new data store Database connection failed Content Manager failed to start because it could not load driver &#8220;oracle.jdbc.driver.OracleDriver&#8221; This went away when I copied classes12.jar from ORACLE_HOME\jdbc\lib to c8_location\webapps\p2pd\WEB-INF\lib Error: Cognos Configuration error creating new data store [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=otakkrowak.wordpress.com&amp;blog=2749444&amp;post=4&amp;subd=otakkrowak&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3 class="post-title entry-title"><a href="http://sortitious.blogspot.com/2008/03/cognos-oracle-jdbc-driver-installation.html">Cognos Oracle Content Store Creation</a></h3>
<p>Cognos &#8220;Quick&#8221; Start Installation and Configuration Guide transcript</p>
<p><strong>Error: Cognos Configuration error creating new data store </strong></p>
<p><span style="font-family:courier new;">Database connection failed<br />
Content Manager failed to start because it could not load driver &#8220;oracle.jdbc.driver.OracleDriver&#8221;<br />
</span><br />
This went away when I copied classes12.jar from ORACLE_HOME\jdbc\lib to c8_location\webapps\p2pd\WEB-INF\lib</p>
<p><strong>Error: Cognos Configuration error creating new data store #2<br />
</strong><br />
<span style="font-family:courier new;">Content Manager is unable to initialize the content store by using the initialization file &#8220;C:\Program Files\cognos\c8\configuration\schemas\content\oracle\dbInitTest_oracle.sql&#8221;</span></p>
<p>It appears the Schema user has insufficient privileges. I have given the following:</p>
<p>Roles</p>
<ul>
<li>Connect</li>
</ul>
<p>System Privileges</p>
<ul>
<li>Alter any procedure, sequence, table, trigger</li>
<li>Create any procedure, sequence, table, trigger, view</li>
<li>Delete any table</li>
<li>Drop any procedure, sequence, table, trigger, view</li>
<li>Insert any table</li>
<li>Update any table</li>
</ul>
<p>When I execute the script in SqlPlus the error is <span style="font-family:courier new;">ORA-01950: no privileges on tablespace &#8216;X&#8217;.</span> Apparently this means no quota has been allocated for this user.</p>
<p>I attempted to grant unlimited quota on all tablespaces but got an error <span style="font-family:courier new;">ORA-30041: Cannot grant quota on the tablespace.</span> I forgot that the temp table space doesn&#8217;t have a quota, so I was a bit more specific in my selection.</p>
<p><strong>Error: Cognos Configuration error creating new data store #3</strong></p>
<p><span style="font-family:courier new;">Content Manager cannot start because the database character set for the content store is not supported. Before you restart Content Manager, you may need to recreate the content store database or clean it using dbClean_*.sql.</span></p>
<p>Following the instructions regarding character set, I found NLS_NCHAR_CHARACTERSET = AL16UTF16. Unfortunately this doesn&#8217;t appear to be sufficient. <span style="font-family:courier new;">SELECT NLS_CHARACTERSET FROM NLS_DATABASE_PARAMETERS</span> returned WE8MSWIN1252. Some guidance on changing character set is that it&#8217;s safest to <a href="http://forums.databasejournal.com/archive/index.php/t-40481.html">export-create new db-import</a>.</p>
<p>My steps for export are:</p>
<ul>
<li>Bring up Database Control</li>
<li>Select Maintenance tab</li>
<li>Select Export to Export Files</li>
<li>Select Database and enter OS admin user and password</li>
<li>(Create the export folder before doing the next step)</li>
<li>Create Directory Object, enter name and folder path and select OK</li>
<li>Select the name of the newly created dir object from Directory Object dropdown and select Next</li>
<li>Select the dir object again and select Next</li>
<li>Enter a job name and description and select Next</li>
<li>Select Submit</li>
</ul>
<p>The job kicked off but produced some errors saying it couldn&#8217;t find the export directory object. Makes no sense to me, I thought I would just try and sneak on by.</p>
<p>I created a new instance with Database Configuration Assistant using character set AL32UTF8 and tried to import the export files into it but I hit a lot of errors.</p>
<p>I decided to use a separate instance just for Cognos. Phew, I could finally connect ok to the Content Database.</p>
<p><strong>Cognos 8 Cryptographic Services</strong></p>
<p>Copied c8_location\bin\jre\version\lib\ext\bcprov-jdk13-125.jar to java_home\lib\ext. I have no idea if this has to be done but I did it anyway.</p>
<p><strong>Starting the Service</strong></p>
<p>Selected Root node in Cognos Configuration and Action:Test. All came back good except mail server which I don&#8217;t care about for the moment. Selected Action:Start which was also successful.</p>
<p><strong>Getting the web server to respond</strong></p>
<p>Created virtual directory for cognos8 at c8_location\. Worked through the IE settings and browsed to <a href="http://localhost/cognos8">http://localhost/cognos8</a>. 404 Page not found. Trawled around on web and found that I could Allow All Unknown CGI Extensions in IIS Web Extensions. This time I got 403 Not authorised to view this page.</p>
<p>Figured out that I didn&#8217;t read the instructions correctly &#8211; there are 2 nested virtual directories.</p>
<ul>
<li>cognos8 points to c8_location\webcontent</li>
<li>cgi-bin points to c8_location\cgi-bin. Created by right-clicking the previously created cognos8 virtual directory</li>
</ul>
<p>At last it works! The Framework Manager install was straightforward after this.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/otakkrowak.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/otakkrowak.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/otakkrowak.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/otakkrowak.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/otakkrowak.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/otakkrowak.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/otakkrowak.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/otakkrowak.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/otakkrowak.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/otakkrowak.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/otakkrowak.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/otakkrowak.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/otakkrowak.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/otakkrowak.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=otakkrowak.wordpress.com&amp;blog=2749444&amp;post=4&amp;subd=otakkrowak&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://otakkrowak.wordpress.com/2008/12/01/cognos-oracle-content-store-creation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/941cb96eea620ba4edae05f01864385a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">duniamascha</media:title>
		</media:content>
	</item>
	</channel>
</rss>
