<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>Marslert.com</title>
	
	<link>http://marslert.com/blog</link>
	<description>Walking at Mars</description>
	<lastBuildDate>Fri, 24 Apr 2009 17:55:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/marslert" type="application/rss+xml" /><item>
		<title>Manually start wireless – Ubuntu</title>
		<link>http://marslert.com/blog/2009/04/25/manually-start-wireless-ubuntu/</link>
		<comments>http://marslert.com/blog/2009/04/25/manually-start-wireless-ubuntu/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 17:55:51 +0000</pubDate>
		<dc:creator>Marslert</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://marslert.com/blog/?p=145</guid>
		<description><![CDATA[Should you hit a problem on failure starting wireless lan automatically after booting up your ubuntu, execute below command to start your wireless Lan.
sudo ifconfig wlan0 up
]]></description>
			<content:encoded><![CDATA[<p>Should you hit a problem on failure starting wireless lan automatically after booting up your ubuntu, execute below command to start your wireless Lan.</p>
<blockquote><p>sudo ifconfig wlan0 up</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://marslert.com/blog/2009/04/25/manually-start-wireless-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configure MSSQL 2005 Database Mail</title>
		<link>http://marslert.com/blog/2009/03/16/configure-mssql-2005-database-mail/</link>
		<comments>http://marslert.com/blog/2009/03/16/configure-mssql-2005-database-mail/#comments</comments>
		<pubDate>Mon, 16 Mar 2009 15:32:29 +0000</pubDate>
		<dc:creator>Marslert</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[MSSQL 2005]]></category>

		<guid isPermaLink="false">http://marslert.com/blog/?p=127</guid>
		<description><![CDATA[Due to I am working at a hosting company, coping with Linux and Windows server issues are my daily routine job. I have to keep update myself, learning new stuff. Even my blog share more about Linux stuff, but I will share anything relate to Windows if I ever learn about it.
So, I am going [...]]]></description>
			<content:encoded><![CDATA[<p>Due to I am working at a hosting company, coping with Linux and Windows server issues are my daily routine job. I have to keep update myself, learning new stuff. Even my blog share more about Linux stuff, but I will share anything relate to Windows if I ever learn about it.</p>
<p>So, I am going to discuss about configuring MSSQL 2005 database mail in this topic. It is actually a function in MSSQL 2005 configured for sending email. However, MSSQL database mail function will connect to the configured mail relay service for relaying mail.</p>
<p><span id="more-127"></span></p>
<p><strong>Configuration Steps of Database Mail (<em>Log in via Windows Authentication mode</em>)<br />
</strong></p>
<p><img class="size-full wp-image-128 alignnone" title="database-mail-in-object-explorer" src="http://marslert.com/blog/wp-content/uploads/2009/03/database-mail-in-object-explorer.jpg" alt="database-mail-in-object-explorer" width="237" height="287" /></p>
<p>Yeah&#8230; Pictures tell thousand of words.</p>
<p><img class="size-full wp-image-129 alignnone" title="1" src="http://marslert.com/blog/wp-content/uploads/2009/03/1.jpg" alt="1" width="298" height="173" /></p>
<p>Choose <strong><em>Set up Database Mail</em></strong> in <strong>Database Mail Configuration Wizard</strong></p>
<p><img class="size-full wp-image-133 alignnone" title="21" src="http://marslert.com/blog/wp-content/uploads/2009/03/21.jpg" alt="21" width="660" height="546" /></p>
<p>A message saying <strong>Database Mail feature is not available</strong> will be prompted. Click <strong>Yes</strong> to enable it.</p>
<p><img class="size-full wp-image-131 alignnone" title="3" src="http://marslert.com/blog/wp-content/uploads/2009/03/3.jpg" alt="3" width="610" height="122" /></p>
<p>Create a new <strong>Database Mail</strong> profile</p>
<p><img class="size-full wp-image-134 alignnone" title="41" src="http://marslert.com/blog/wp-content/uploads/2009/03/41.jpg" alt="41" width="663" height="548" /></p>
<p>At the next wizard page, entering the SMTP relay server information. You could use IIS SMTP, mail server, etc.</p>
<p><img class="size-full wp-image-135 alignnone" title="5" src="http://marslert.com/blog/wp-content/uploads/2009/03/5.jpg" alt="5" width="587" height="506" /></p>
<p><strong>Managing Profile Security</strong></p>
<p><img class="size-full wp-image-136 alignnone" title="6" src="http://marslert.com/blog/wp-content/uploads/2009/03/6.jpg" alt="6" width="660" height="554" /></p>
<p>The profile can be either Public or Private. Assiging to Public means every users can use this profile. A private profile is accessible by specific users or roles only.</p>
<p><strong>Configuring System parameters </strong>- Place for configuring the Database Mail parameters</p>
<p><img class="size-full wp-image-137 alignnone" title="7" src="http://marslert.com/blog/wp-content/uploads/2009/03/7.jpg" alt="7" width="660" height="554" /></p>
<p>Click Next to complete the configuring.</p>
<p>After finish, open a Query screen and entering below sql command to test the Database Mail function.</p>
<blockquote><p>EXEC msdb.dbo.sp_send_dbmail @profile_name = &#8216;DBMailProfile&#8217;, @recipients = &#8216;recipient@domain.com&#8217;, @body = &#8216;This is a sample email&#8217;, @subject = &#8216;Subject: Database Mail&#8217;</p></blockquote>
<p>Can always use <strong>View Database Mail Log</strong> function to check the sending process.</p>
<p><img class="size-full wp-image-138 alignnone" title="8" src="http://marslert.com/blog/wp-content/uploads/2009/03/8.jpg" alt="8" width="323" height="106" /></p>
<p>Note : Above SQL query is executable by sa user only. How if a specific users that need to execute this query? To allow specific user uses above created profile for sending email, this user must be a <strong>user</strong> in msdb database and a <strong>member</strong> of the <em><strong>DatabaseMailUserRole</strong></em> database role in msdb database. Once this permission has been granted, execute below sql query</p>
<blockquote><p>EXEC msdb.dbo.sp_addrolemember @rolename = &#8216;DatabaseMailUserRole&#8217;<br />
,@membername = &#8216;&lt;user or role name&gt;&#8217;;<br />
GO</p></blockquote>
<p>Done. This particular user can log in SQL Server Management Studio to execute MSSQL 2005 Database Mail sql command.</p>
<p>Enjoy reading.</p>
]]></content:encoded>
			<wfw:commentRss>http://marslert.com/blog/2009/03/16/configure-mssql-2005-database-mail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing vmware problem</title>
		<link>http://marslert.com/blog/2009/03/05/installing-vmware-problem/</link>
		<comments>http://marslert.com/blog/2009/03/05/installing-vmware-problem/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 16:00:06 +0000</pubDate>
		<dc:creator>Marslert</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://marslert.com/blog/?p=122</guid>
		<description><![CDATA[Numerous problem might happen when installing Vmware-Server in your Ubuntu system.
As mine after finish installing, some errors occurred when executed vmware
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4&#8242; not found (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0&#8242; not found (required by /usr/lib/libstdc++.so.6)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4&#8242; not found (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0&#8242; not found (required by /usr/lib/libstdc++.so.6)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version [...]]]></description>
			<content:encoded><![CDATA[<p>Numerous problem might happen when installing Vmware-Server in your Ubuntu system.</p>
<p>As mine after finish installing, some errors occurred when executed vmware</p>
<blockquote><p>/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4&#8242; not found (required by /usr/lib/libcairo.so.2)<br />
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0&#8242; not found (required by /usr/lib/libstdc++.so.6)<br />
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4&#8242; not found (required by /usr/lib/libcairo.so.2)<br />
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0&#8242; not found (required by /usr/lib/libstdc++.so.6)<br />
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4&#8242; not found (required by /usr/lib/libcairo.so.2)<br />
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0&#8242; not found (required by /usr/lib/libstdc++.so.6)</p></blockquote>
<p>It was fixed by just simply executing below commands</p>
<blockquote><p>sudo cp /usr/lib/libpng12.so.0 /usr/lib/vmware/lib/libpng12.so.0/</p>
<p>sudo cp /usr/lib/gcc/i486-linux-gnu/4.2.3/libgcc_s.so /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1</p></blockquote>
<p> <img src='http://marslert.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://marslert.com/blog/2009/03/05/installing-vmware-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open winmail.dat in Ubuntu</title>
		<link>http://marslert.com/blog/2009/02/25/open-winmaildat-in-ubuntu/</link>
		<comments>http://marslert.com/blog/2009/02/25/open-winmaildat-in-ubuntu/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 16:20:39 +0000</pubDate>
		<dc:creator>Marslert</dc:creator>
				<category><![CDATA[Mail]]></category>
		<category><![CDATA[Thunderbird]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://marslert.com/blog/?p=119</guid>
		<description><![CDATA[I know that I will have some hard time when using Ubuntu after conversion from Windows   Yeah. It hit me today when I want to read a mail with winmail.dat attachment.
After some research, I learned to install tnef. Once tnef has been installed, execute tnef winmail.dat . A rar file will be output [...]]]></description>
			<content:encoded><![CDATA[<p>I know that I will have some hard time when using Ubuntu after conversion from Windows <img src='http://marslert.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Yeah. It hit me today when I want to read a mail with winmail.dat attachment.</p>
<p>After some research, I learned to install <strong>tnef</strong>. Once <strong>tnef</strong> has been installed, execute <strong>tnef winmail.dat</strong> . A rar file will be output to the directory that consists winmail.dat . Thats it, extract the rar file to find the content inside winmail.dat .</p>
<p>Original guide from http://blog.andrewbeacock.com/2007/07/opening-winmaildat-tnef-files-in.html .</p>
]]></content:encoded>
			<wfw:commentRss>http://marslert.com/blog/2009/02/25/open-winmaildat-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vlc + avi + srt not displayed</title>
		<link>http://marslert.com/blog/2009/02/19/vlc-avi-srt-not-displayed/</link>
		<comments>http://marslert.com/blog/2009/02/19/vlc-avi-srt-not-displayed/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 13:49:15 +0000</pubDate>
		<dc:creator>Marslert</dc:creator>
				<category><![CDATA[Movie]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://marslert.com/blog/?p=117</guid>
		<description><![CDATA[Sharing of the day.
Keep wondering why my subtitle (srt) cant be displayed when I watch my avi movie with VLC. Though it was not compatible in Ubuntu whereby I was using XP last time which displayed well. Ah Hah. I got the luck solving the problem by edting a file /usr/share/applications/vlc.desktop .
Just need to edit [...]]]></description>
			<content:encoded><![CDATA[<p>Sharing of the day.</p>
<p>Keep wondering why my subtitle (srt) cant be displayed when I watch my avi movie with VLC. Though it was not compatible in Ubuntu whereby I was using XP last time which displayed well. Ah Hah. I got the luck solving the problem by edting a file /usr/share/applications/vlc.desktop .</p>
<p>Just need to edit vlc.desktop with su privileges and replace %U for Exec=vlc with %m .</p>
<p>Here we go, double click your avi file and the subtitle will be displaying well.</p>
<p>Without editing this file, you actually can get this problem done by drag the avi file straight into opened VLC. Kinda annoying. Why dont try this way to save the trouble. <img src='http://marslert.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://marslert.com/blog/2009/02/19/vlc-avi-srt-not-displayed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MPD error: problems getting a response from “localhost” on port 6600 : Connection refused</title>
		<link>http://marslert.com/blog/2009/02/16/mpd-error-problems-getting-a-response-from-localhost-on-port-6600-connection-refused/</link>
		<comments>http://marslert.com/blog/2009/02/16/mpd-error-problems-getting-a-response-from-localhost-on-port-6600-connection-refused/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 14:34:22 +0000</pubDate>
		<dc:creator>Marslert</dc:creator>
				<category><![CDATA[Ubuntu stuff]]></category>
		<category><![CDATA[conky]]></category>

		<guid isPermaLink="false">http://marslert.com/blog/?p=115</guid>
		<description><![CDATA[Additional sharing for conky part which I shared at http://marslert.com/blog/2007/10/02/conky/ .
I was trying to install conky to monitor my laptop process as I found that my firefox keep hogging. The installation is pretty simple and straight forward as any ubuntu users knew  
Unfortunately, I got problem for this installation whereby some MPD error was [...]]]></description>
			<content:encoded><![CDATA[<p>Additional sharing for conky part which I shared at http://marslert.com/blog/2007/10/02/conky/ .</p>
<p>I was trying to install conky to monitor my laptop process as I found that my firefox keep hogging. The installation is pretty simple and straight forward as any ubuntu users knew <img src='http://marslert.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Unfortunately, I got problem for this installation whereby some MPD error was throwing after I executed conky.</p>
<blockquote><p>$ conky<br />
Conky: desktop window (12000c1) is subwindow of root window (59)<br />
Conky: window type &#8211; override<br />
Conky: drawing to created window (3400001)<br />
Conky: drawing to double buffer<br />
Conky: MPD error: problems getting a response from &#8220;localhost&#8221; on port 6600 : Connection refused</p>
<p>Conky: MPD error: problems getting a response from &#8220;localhost&#8221; on port 6600 : Connection refused</p>
<p>Conky: MPD error: problems getting a response from &#8220;localhost&#8221; on port 6600 : Connection refused</p>
<p>Conky: MPD error: problems getting a response from &#8220;localhost&#8221; on port 6600 : Connection refused</p></blockquote>
<p>Even though MPD configuration is commented in conky configuration, the error is still throwing. Hmmm, what shall do? Lets install MPD through Synaptic Package Manager to solve problem. Yeah. my conky is rocking now <img src='http://marslert.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://marslert.com/blog/2009/02/16/mpd-error-problems-getting-a-response-from-localhost-on-port-6600-connection-refused/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>apt-get update</title>
		<link>http://marslert.com/blog/2009/02/16/apt-get-update/</link>
		<comments>http://marslert.com/blog/2009/02/16/apt-get-update/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 13:24:19 +0000</pubDate>
		<dc:creator>Marslert</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[apt-get]]></category>

		<guid isPermaLink="false">http://marslert.com/blog/?p=112</guid>
		<description><![CDATA[Sometime, you will get GPG error when running apt-get update after adding some unofficial supported list to your Ubuntu list.
W: GPG error: http://ppa.launchpad.net intrepid Release: The following signatures couldn&#8217;t be verified because the public key is not available: NO_PUBKEY 28A8205077558DD0
After researching around, found a fix for this kind of situation.
Type in,
gpg &#8211;keyserver keyserver.ubuntu.com &#8211;recv 247D1CFF
However, [...]]]></description>
			<content:encoded><![CDATA[<p>Sometime, you will get GPG error when running apt-get update after adding some unofficial supported list to your Ubuntu list.</p>
<blockquote><p>W: GPG error: <a href="http://ppa.launchpad.net/" target="_blank">http://ppa.launchpad.net</a> intrepid Release: The following signatures couldn&#8217;t be verified because the public key is not available: NO_PUBKEY 28A8205077558DD0</p></blockquote>
<p>After researching around, found a fix for this kind of situation.</p>
<p>Type in,</p>
<blockquote><p>gpg &#8211;keyserver keyserver.ubuntu.com &#8211;recv 247D1CFF</p></blockquote>
<p>However, you need to replace 247D1CFF with your NO_PUBKEY-key last eight digits from the error-message to import the key. In my case, I replace 247D1CFF with 77558DD0.</p>
<p>After that, add the key to the software source with below command,</p>
<blockquote><p>gpg &#8211;export &#8211;armor 247D1CFF | sudo apt-key add -</p></blockquote>
<p>Again, replace 247D1CFF with your NO_PUBKEY-key last eight digits from the error-message.</p>
<p>You should see some OK message for this 2 command. Then, try running apt-get update and it will be fine.</p>
]]></content:encoded>
			<wfw:commentRss>http://marslert.com/blog/2009/02/16/apt-get-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ERROR 1045 (28000): Access denied for user ‘root’@'localhost’ (using password: NO)</title>
		<link>http://marslert.com/blog/2009/01/12/error-1045-28000-access-denied-for-user-rootlocalhost-using-password-no/</link>
		<comments>http://marslert.com/blog/2009/01/12/error-1045-28000-access-denied-for-user-rootlocalhost-using-password-no/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 18:03:24 +0000</pubDate>
		<dc:creator>Marslert</dc:creator>
				<category><![CDATA[LAMP]]></category>

		<guid isPermaLink="false">http://marslert.com/blog/?p=95</guid>
		<description><![CDATA[# mysql
ERROR 1045 (28000): Access denied for user &#8216;root&#8217;@'localhost&#8217; (using password: NO)
Create a file .my.cnf in /root .
Insert below detail to .my.cnf
[client]
user=root
pass=mysql root password
]]></description>
			<content:encoded><![CDATA[<p># mysql<br />
ERROR 1045 (28000): Access denied for user &#8216;root&#8217;@'localhost&#8217; (using password: NO)</p>
<p>Create a file .my.cnf in /root .</p>
<p>Insert below detail to .my.cnf</p>
<blockquote><p>[client]<br />
user=root<br />
pass=mysql root password</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://marslert.com/blog/2009/01/12/error-1045-28000-access-denied-for-user-rootlocalhost-using-password-no/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>MySQL command</title>
		<link>http://marslert.com/blog/2009/01/12/mysql-command/</link>
		<comments>http://marslert.com/blog/2009/01/12/mysql-command/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 17:58:28 +0000</pubDate>
		<dc:creator>Marslert</dc:creator>
				<category><![CDATA[LAMP]]></category>

		<guid isPermaLink="false">http://marslert.com/blog/?p=92</guid>
		<description><![CDATA[Create mysql user with password :
# mysql
# create user wpuser identified by &#8216;wppass&#8217;;
Note : wpuser is the mysql username and follow by wppass is the mysql user password.
Grant privileges to mysql db :
# grant all privileges on wordpress.* to &#8216;wpuser&#8217;@'localhost&#8217; identified by &#8216;wppass&#8217;;
Check privileges :
show grants for &#8216;wpuser&#8217;@'localhost&#8217;;
+&#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;&#8212;&#8212;&#8211;+
&#124; Grants for wpuser@localhost                                                          &#124;
+&#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;&#8212;&#8212;&#8211;+
&#124; GRANT USAGE ON [...]]]></description>
			<content:encoded><![CDATA[<p>Create mysql user with password :</p>
<blockquote><p># mysql</p></blockquote>
<blockquote><p># create user wpuser identified by &#8216;wppass&#8217;;</p></blockquote>
<p>Note : wpuser is the mysql username and follow by wppass is the mysql user password.</p>
<p>Grant privileges to mysql db :</p>
<blockquote><p># grant all privileges on wordpress.* to &#8216;wpuser&#8217;@'localhost&#8217; identified by &#8216;wppass&#8217;;</p></blockquote>
<p>Check privileges :</p>
<blockquote><p>show grants for &#8216;wpuser&#8217;@'localhost&#8217;;<br />
+&#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;&#8212;&#8212;&#8211;+<br />
| Grants for wpuser@localhost                                                          |<br />
+&#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;&#8212;&#8212;&#8211;+<br />
| GRANT USAGE ON *.* TO &#8216;wpuser&#8217;@'localhost&#8217; IDENTIFIED BY PASSWORD &#8216;7171e928058581f3&#8242; |<br />
| GRANT ALL PRIVILEGES ON `wordpress`.* TO &#8216;wpuser&#8217;@'localhost&#8217;                        |<br />
+&#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;&#8212;&#8212;&#8211;+<br />
2 rows in set (0.01 sec)</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://marslert.com/blog/2009/01/12/mysql-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cannot run apxs</title>
		<link>http://marslert.com/blog/2009/01/12/cannot-run-apxs/</link>
		<comments>http://marslert.com/blog/2009/01/12/cannot-run-apxs/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 17:53:57 +0000</pubDate>
		<dc:creator>Marslert</dc:creator>
				<category><![CDATA[LAMP]]></category>

		<guid isPermaLink="false">http://marslert.com/blog/?p=90</guid>
		<description><![CDATA[The error faced when compiling PHP module to Apache2.
Sorry, I cannot run apxs.  Possible reasons follow:
1. Perl is not installed
2. apxs was not found. Try to pass the path using &#8211;with-apxs2=/path/to/apxs
3. Apache was not built using &#8211;enable-so (the apxs usage page is displayed)
The output of /usr/local/apache/bin/apxs follows:
./configure: /usr/local/apache/bin/apxs: /replace/with/path/to/perl/interpreter: bad interpreter: No such file or [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>The error faced when compiling PHP module to Apache2.</p>
<p>Sorry, I cannot run apxs.  Possible reasons follow:</p>
<p>1. Perl is not installed<br />
2. apxs was not found. Try to pass the path using &#8211;with-apxs2=/path/to/apxs<br />
3. Apache was not built using &#8211;enable-so (the apxs usage page is displayed)</p>
<p>The output of /usr/local/apache/bin/apxs follows:<br />
./configure: /usr/local/apache/bin/apxs: /replace/with/path/to/perl/interpreter: bad interpreter: No such file or directory<br />
configure: error: Aborting</p></blockquote>
<p>Replace first line of /usr/local/apache/bin/apxs from,</p>
<blockquote><p>#!/replace/with/path/to/perl/interpreter</p></blockquote>
<p>with</p>
<blockquote><p>#!/usr/bin/perl -w</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://marslert.com/blog/2009/01/12/cannot-run-apxs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>chkconfig</title>
		<link>http://marslert.com/blog/2009/01/12/chkconfig/</link>
		<comments>http://marslert.com/blog/2009/01/12/chkconfig/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 17:50:05 +0000</pubDate>
		<dc:creator>Marslert</dc:creator>
				<category><![CDATA[LAMP]]></category>

		<guid isPermaLink="false">http://marslert.com/blog/?p=85</guid>
		<description><![CDATA[Learn some chkconfig command today. This command is used to maintain the /etc/rc[0-6].d directory hierarchy.
First of all, lets understand and differentiate some of the /etc/rc[0-6].d .
rc1.d &#62;&#62;&#62; Single user mode
rc2.d &#62;&#62;&#62; Custom user mode
rc3.d &#62;&#62;&#62;Multiple user mode with networking availability
rc4.d &#62;&#62;&#62; Custom user mode
rc5.d &#62;&#62;&#62; Multiple user mode with networking availability that has GUI mode [...]]]></description>
			<content:encoded><![CDATA[<p>Learn some chkconfig command today. This command is used to maintain the /etc/rc[0-6].d directory hierarchy.</p>
<p>First of all, lets understand and differentiate some of the /etc/rc[0-6].d .</p>
<p>rc1.d &gt;&gt;&gt; Single user mode</p>
<p>rc2.d &gt;&gt;&gt; Custom user mode</p>
<p>rc3.d &gt;&gt;&gt;Multiple user mode with networking availability</p>
<p>rc4.d &gt;&gt;&gt; Custom user mode</p>
<p>rc5.d &gt;&gt;&gt; Multiple user mode with networking availability that has GUI mode (xlogin)</p>
<p># chkconfig &#8211;list<br />
haldaemon       0:off   1:off   2:off   3:on    4:on    5:on    6:off<br />
httpd           0:off   1:off   2:off   3:on    4:off   5:off   6:off<br />
ip6tables       0:off   1:off   2:on    3:on    4:on    5:on    6:off<br />
iptables        0:off   1:off   2:on    3:on    4:on    5:on    6:off<br />
kudzu           0:off   1:off   2:off   3:on    4:on    5:on    6:off<br />
lvm2-monitor    0:off   1:on    2:on    3:on    4:on    5:on    6:off<br />
mcstrans        0:off   1:off   2:on    3:on    4:on    5:on    6:off<br />
messagebus      0:off   1:off   2:off   3:on    4:on    5:on    6:off<br />
multipathd      0:off   1:off   2:off   3:off   4:off   5:off   6:off<br />
mysqld          0:off   1:off   2:off   3:off    4:off   5:off   6:off<br />
netconsole      0:off   1:off   2:off   3:off   4:off   5:off   6:off<br />
netfs           0:off   1:off   2:off   3:on    4:on    5:on    6:off<br />
netplugd        0:off   1:off   2:off   3:off   4:off   5:off   6:off<br />
network         0:off   1:off   2:on    3:on    4:on    5:on    6:off<br />
rdisc           0:off   1:off   2:off   3:off   4:off   5:off   6:off<br />
restorecond     0:off   1:off   2:on    3:on    4:on    5:on    6:off<br />
sshd            0:off   1:off   2:on    3:on    4:on    5:on    6:off<br />
syslog          0:off   1:off   2:on    3:on    4:on    5:on    6:off</p>
<p>Now, mysqld service was set to off for rc3.d . We are going to On it in rc3.d level with below command.</p>
<blockquote><p># chkconfig &#8211;levels 3 mysqld on</p></blockquote>
<p>Will see S64mysqld in /etc/rc3.d in my case. I see K36mysqld when levels 3 was off in my case.</p>
]]></content:encoded>
			<wfw:commentRss>http://marslert.com/blog/2009/01/12/chkconfig/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Manually install pureftp</title>
		<link>http://marslert.com/blog/2009/01/12/manually-install-pureftp/</link>
		<comments>http://marslert.com/blog/2009/01/12/manually-install-pureftp/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 17:30:44 +0000</pubDate>
		<dc:creator>Marslert</dc:creator>
				<category><![CDATA[LAMP]]></category>

		<guid isPermaLink="false">http://marslert.com/blog/?p=80</guid>
		<description><![CDATA[Before install pureftp, I am going to show how to manually create a linux user, linux group and assign the user to grou[.
Add user:
# useradd ftpuser
Check user:
# less /etc/passwd
ftpuser:x:500:500::/home/ftpuser:/bin/bash
Add group:
# groupadd ftpgroup
Check group:
# less /etc/group
ftpgroup:x:500:
Assign user to group:
# vi /etc/group
change ftpgroup:x:500: to ftpgroup:x:500:ftpuser
Install pureftp:

Download pureftp installation file from ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/ .
Extract the installation file at any [...]]]></description>
			<content:encoded><![CDATA[<p>Before install pureftp, I am going to show how to manually create a linux user, linux group and assign the user to grou[.</p>
<p>Add user:</p>
<blockquote><p># useradd ftpuser</p></blockquote>
<p>Check user:</p>
<blockquote><p># less /etc/passwd</p>
<p>ftpuser:x:500:500::/home/ftpuser:/bin/bash</p></blockquote>
<p>Add group:</p>
<blockquote><p># groupadd ftpgroup</p></blockquote>
<p>Check group:</p>
<blockquote><p># less /etc/group</p>
<p>ftpgroup:x:500:</p></blockquote>
<p>Assign user to group:</p>
<blockquote><p># vi /etc/group</p>
<p>change ftpgroup:x:500: to ftpgroup:x:500:ftpuser</p></blockquote>
<p>Install pureftp:</p>
<ol>
<li>Download pureftp installation file from ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/ .</li>
<li>Extract the installation file at any directory.</li>
<li>Run ./configure &#8211;with-everything &#8211;with-paranoidmsg &#8211;without-capabilities -with-virtualchroot</li>
<li>Run make &amp; make install</li>
<li>Done</li>
</ol>
<p>Copy pureftp configuration to /etc :</p>
<blockquote><p># cp pure-ftpd-1.0.21/configuration-file/pure-ftpd.conf /etc</p></blockquote>
<p>Copy pureftp startup script to /usr/local/sbin/ :</p>
<blockquote><p># cp pure-ftpd-1.0.21/configuration-file/pure-config.pl /usr/local/sbin/</p></blockquote>
<p>Create a ftp user :</p>
<blockquote><p># pure-pw useradd test -u ftpuser -d /home/directoryname</p></blockquote>
<ul>
<li>useradd &gt; option of pure-pw</li>
<li>test &gt; the ftp username</li>
<li>-u &gt; linux username</li>
<li>ftpuser &gt; the linux user that created</li>
<li>-d &gt; path to the upload directory</li>
<li>/home/directoryname &gt; path name</li>
</ul>
<p>Show ftp user detail :</p>
<blockquote><p># pure-pw show test</p></blockquote>
<p>Output :</p>
<blockquote><p>Login              : test<br />
Password           : $1$h8ZLTun0$iYCeCgrYfMz0BrbLC/6Ca1<br />
UID                : 500 (ftpuser)<br />
GID                : 500 (ftpgroup)<br />
Directory          : /home/directory/./<br />
Full name          :<br />
Download bandwidth : 0 Kb (unlimited)<br />
Upload   bandwidth : 0 Kb (unlimited)<br />
Max files          : 0 (unlimited)<br />
Max size           : 0 Mb (unlimited)<br />
Ratio              : 0:0 (unlimited:unlimited)<br />
Allowed local  IPs :<br />
Denied  local  IPs :<br />
Allowed client IPs :<br />
Denied  client IPs :<br />
Time restrictions  : 0000-0000 (unlimited)<br />
Max sim sessions   : 0 (unlimited)</p></blockquote>
<p>Check ftp user option :</p>
<blockquote><p># pure-pw usermod test -h</p></blockquote>
<p>Ftp user option normally stored in /etc/pureftpd.passwd . You will something like below when open this file.</p>
<blockquote><p>test:$1$vrb6.MK0$/shIogHo4RVvQXr8bJSBe/:500:500::/home/directory/::::::::::::</p></blockquote>
<p>Generate ftp database :</p>
<blockquote><p># pure-pw mkdb</p></blockquote>
<p>The ftp database file will be created at /etc and named pureftpd.pdb .</p>
<p>Un-comment PureDB &amp; AltLog varialble that store in /etc/pure-ftpd.conf .</p>
<p>Now, we can start the ftp service</p>
<blockquote><p># /usr/local/sbin/pure-config.pl /etc/pure-ftpd.conf</p></blockquote>
<p>Done !!! Pureftp is installed. May try to connect to the ftp service via ftp client or ftp command.</p>
]]></content:encoded>
			<wfw:commentRss>http://marslert.com/blog/2009/01/12/manually-install-pureftp/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>dhclient eth0</title>
		<link>http://marslert.com/blog/2008/12/18/dhclient-eth0/</link>
		<comments>http://marslert.com/blog/2008/12/18/dhclient-eth0/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 16:57:47 +0000</pubDate>
		<dc:creator>Marslert</dc:creator>
				<category><![CDATA[Ubuntu stuff]]></category>

		<guid isPermaLink="false">http://marslert.com/blog/?p=77</guid>
		<description><![CDATA[A sweet command learned from a senior for retrieving a new IP from a bridged or NAT network.
Useful when working in some virtual OS to retrieve IP.
Even you can kill the process of dhclient if there is problem for retrieving new IP.
First of all, run
ps aux &#124; grep dhclient
to grab the PID and kill it. [...]]]></description>
			<content:encoded><![CDATA[<p>A sweet command learned from a senior for retrieving a new IP from a bridged or NAT network.</p>
<p>Useful when working in some virtual OS to retrieve IP.</p>
<p>Even you can kill the process of dhclient if there is problem for retrieving new IP.</p>
<p>First of all, run</p>
<blockquote><p>ps aux | grep dhclient</p></blockquote>
<p>to grab the PID and kill it. After that, execute again dhclient eth0.</p>
]]></content:encoded>
			<wfw:commentRss>http://marslert.com/blog/2008/12/18/dhclient-eth0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cannot restore segment prot after reloc: Permission denied</title>
		<link>http://marslert.com/blog/2008/12/18/cannot-restore-segment-prot-after-reloc-permission-denied/</link>
		<comments>http://marslert.com/blog/2008/12/18/cannot-restore-segment-prot-after-reloc-permission-denied/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 16:53:36 +0000</pubDate>
		<dc:creator>Marslert</dc:creator>
				<category><![CDATA[LAMP]]></category>

		<guid isPermaLink="false">http://marslert.com/blog/?p=75</guid>
		<description><![CDATA[Met this problem when I was compiling PHP5 for my testing virtual centos. Gotto temporary disable it by executing command,
/usr/sbin/setenforce 0
]]></description>
			<content:encoded><![CDATA[<p>Met this problem when I was compiling PHP5 for my testing virtual centos. Gotto temporary disable it by executing command,</p>
<blockquote><p>/usr/sbin/setenforce 0</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://marslert.com/blog/2008/12/18/cannot-restore-segment-prot-after-reloc-permission-denied/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Select the default Ubuntu Display Manager</title>
		<link>http://marslert.com/blog/2008/12/18/select-the-default-ubuntu-display-manager/</link>
		<comments>http://marslert.com/blog/2008/12/18/select-the-default-ubuntu-display-manager/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 16:49:59 +0000</pubDate>
		<dc:creator>Marslert</dc:creator>
				<category><![CDATA[Ubuntu stuff]]></category>

		<guid isPermaLink="false">http://marslert.com/blog/?p=73</guid>
		<description><![CDATA[If you have one day installed any other Display Manager to your Ubuntu, set it as default DM and do not know how to revert the original DM &#62; GNOME, you should execute below command which will solve your problem
sudo dpkg-reconfigure gdm
I experienced this caused I installed KDE to my system  
]]></description>
			<content:encoded><![CDATA[<p>If you have one day installed any other Display Manager to your Ubuntu, set it as default DM and do not know how to revert the original DM &gt; GNOME, you should execute below command which will solve your problem</p>
<blockquote><p>sudo dpkg-reconfigure gdm</p></blockquote>
<p>I experienced this caused I installed KDE to my system <img src='http://marslert.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://marslert.com/blog/2008/12/18/select-the-default-ubuntu-display-manager/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80</title>
		<link>http://marslert.com/blog/2008/11/30/98address-already-in-use-make_sock-could-not-bind-to-address-000080/</link>
		<comments>http://marslert.com/blog/2008/11/30/98address-already-in-use-make_sock-could-not-bind-to-address-000080/#comments</comments>
		<pubDate>Sun, 30 Nov 2008 10:25:22 +0000</pubDate>
		<dc:creator>Marslert</dc:creator>
				<category><![CDATA[LAMP]]></category>

		<guid isPermaLink="false">http://marslert.com/blog/?p=69</guid>
		<description><![CDATA[The problem happened when I could not start the Apache service when the production server was overloading.
root@servername [~]# service httpd start
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Lets run the netstat to check the Apache process is hook up with which other process.
root@servername [~]# [...]]]></description>
			<content:encoded><![CDATA[<p>The problem happened when I could not start the Apache service when the production server was overloading.</p>
<blockquote><p>root@servername [~]# service httpd start</p>
<p>(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80</p>
<p>no listening sockets available, shutting down</p>
<p>Unable to open logs</p></blockquote>
<p>Lets run the netstat to check the Apache process is hook up with which other process.</p>
<blockquote><p>root@servername [~]# netstat -lnp | grep &#8216;0.0.0.0:80&#8242;</p>
<p>tcp        0      0 0.0.0.0:80                  0.0.0.0:*                   LISTEN      22666/exim</p></blockquote>
<p>Next, run the ps command to check above listening process</p>
<blockquote><p>root@servername [~]# ps 22666</p>
<p>PID TTY      STAT   TIME COMMAND</p>
<p>22666 ?        S&lt;s    0:00 /usr/sbin/exim -Mc 1L5ryZ-0005tZ-T0</p></blockquote>
<p>GotYa. Is confirmed that Apache process could not stop due to Exim process.</p>
<p>Run the service reboot command to Exim service. Give a shoot by restarting Exim and then start Apache will wake up your Apache service.</p>
<p>Note : This is an example situation which it does not really relates to Exim process. It could be other process. Do check with netstat command and you will find out.</p>
<p> </p>
<blockquote><p> </p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://marslert.com/blog/2008/11/30/98address-already-in-use-make_sock-could-not-bind-to-address-000080/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HELM Version 3.2.18 File Manager problem</title>
		<link>http://marslert.com/blog/2008/11/19/helm-version-3218-file-manager-problem/</link>
		<comments>http://marslert.com/blog/2008/11/19/helm-version-3218-file-manager-problem/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 13:42:53 +0000</pubDate>
		<dc:creator>Marslert</dc:creator>
				<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://marslert.com/blog/?p=67</guid>
		<description><![CDATA[Problem occur when you cant see any files/folders of your website under HELM3 File Manager.
Solution : Enable Server Services
Description : Supports file, print, and named-pipe sharing over the network for this computer. If this service is stopped, these functions will be unavailable. If this service is disabled, any services that explicitly depend on it will [...]]]></description>
			<content:encoded><![CDATA[<p>Problem occur when you cant see any files/folders of your website under HELM3 File Manager.</p>
<p>Solution : Enable <strong>Server </strong>Services</p>
<p>Description : Supports file, print, and named-pipe sharing over the network for this computer. If this service is stopped, these functions will be unavailable. If this service is disabled, any services that explicitly depend on it will fail to start.</p>
]]></content:encoded>
			<wfw:commentRss>http://marslert.com/blog/2008/11/19/helm-version-3218-file-manager-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The request filtering module is configured to deny a request that contains a double escape sequence</title>
		<link>http://marslert.com/blog/2008/09/11/double-escape-sequence/</link>
		<comments>http://marslert.com/blog/2008/09/11/double-escape-sequence/#comments</comments>
		<pubDate>Thu, 11 Sep 2008 04:51:21 +0000</pubDate>
		<dc:creator>Marslert</dc:creator>
				<category><![CDATA[IIS]]></category>

		<guid isPermaLink="false">http://marslert.com/blog/?p=61</guid>
		<description><![CDATA[It happened when trying to surf a directory under IIS7 environment that contains special character symbol and return you HTTP 404.11-Not Found error.
Example Url : http://localhost/directory/A+B+C/filename.html
 
By default, IIS 7.0 rejects URLs that contain a double escape sequence.
WorkAround
1. Open web.config and add

&#60;system.webServer&#62;
		&#60;security&#62;
			&#60;requestFiltering allowDoubleEscaping="True"/&#62;
		&#60;/security&#62;
	&#60;/system.webServer&#62;
&#60;/configuration&#62;

2. Save



]]></description>
			<content:encoded><![CDATA[<p><span>It happened when trying to surf a directory under IIS7 environment that contains special character symbol and return you HTTP 404.11-Not Found error.</span></p>
<blockquote><p>Example Url : http://localhost/directory/A+B+C/filename.html<br />
 </p></blockquote>
<p>By default, IIS 7.0 rejects URLs that contain a double escape sequence.</p>
<p>WorkAround</p>
<p>1. Open web.config and add</p>
<blockquote>
<pre class="code">&lt;system.webServer&gt;
		&lt;security&gt;
			&lt;requestFiltering allowDoubleEscaping="True"/&gt;
		&lt;/security&gt;
	&lt;/system.webServer&gt;
&lt;/configuration&gt;</pre>
</blockquote>
<p>2. Save</p>
<p><img class="alignnone size-medium wp-image-64" title="iis-issue" src="http://marslert.com/blog/wp-content/uploads/2008/09/iis-issue-300x34.png" alt="" width="300" height="34" /></p>
<p><span style="color: #0000ee; text-decoration: underline;"><br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://marslert.com/blog/2008/09/11/double-escape-sequence/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>I’m back</title>
		<link>http://marslert.com/blog/2008/09/11/im-back/</link>
		<comments>http://marslert.com/blog/2008/09/11/im-back/#comments</comments>
		<pubDate>Thu, 11 Sep 2008 04:36:37 +0000</pubDate>
		<dc:creator>Marslert</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://marslert.com/blog/?p=57</guid>
		<description><![CDATA[I&#8217;m just awake from a long Zzzzz.
Now, I&#8217;m back to post, reply, view blog. Gzeee.
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m just awake from a long Zzzzz.</p>
<p>Now, I&#8217;m back to post, reply, view blog. Gzeee.</p>
]]></content:encoded>
			<wfw:commentRss>http://marslert.com/blog/2008/09/11/im-back/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>/home/virtfs/Cpanelusername</title>
		<link>http://marslert.com/blog/2008/01/23/homevirtfscpanelusername/</link>
		<comments>http://marslert.com/blog/2008/01/23/homevirtfscpanelusername/#comments</comments>
		<pubDate>Wed, 23 Jan 2008 10:55:39 +0000</pubDate>
		<dc:creator>Marslert</dc:creator>
				<category><![CDATA[LAMP]]></category>

		<guid isPermaLink="false">http://marslert.com/blog/?p=53</guid>
		<description><![CDATA[Today, I&#8217;m going to share my experience related to title.
Above path is actually the Jailshell configuration path created by WHM when a Cpanel user was granted with shell access.
Note : Do not delete any data inside /home/virtfs/Cpanelusername as it can screw up your Cpanel server.
Reason : The /home/virtfs/ is created for user with Jailshell. Virtfs [...]]]></description>
			<content:encoded><![CDATA[<p>Today, I&#8217;m going to share my experience related to title.</p>
<p>Above path is actually the Jailshell configuration path created by WHM when a Cpanel user was granted with shell access.</p>
<p>Note : Do not delete any data inside /home/virtfs/Cpanelusername as it can screw up your Cpanel server.</p>
<p>Reason : The /home/virtfs/ is created for user with Jailshell. Virtfs is hardlinked to some system files. By delete the data inside /home/virtfs/, you delete the actual system file they&#8217;re linked to. This is going to be bad and screw up your system file and delete other important data such as Mysql database. So, beware on this.<br />
Shall you need to remove any shell access from any cpanel user, just navigate to <strong>WHM &gt;&gt; Manage Shell Access</strong> and disable Jailed Shell for users.</p>
<p>For your information, when we check the disk size for /home/virtfs/Cpanelusername. You will see some disk size. Imagine if there is few more cpanel user granted with Jailshell, there will few more directories create at /home/virtfs/. You will find there is more disk space after du -sh those directories. But don&#8217;t worry as it will not consume your actual server diskspace. Some advice which is /home/virtfs need to excluded from backup system.</p>
<p>Additionally, always be careful when run command &#8216;rm -rf *&#8217;. It will delete all the file with option of recursive and force. Need more information, visit <a href="http://linux.about.com/od/commands/l/blcmdl1_rm.htm">here</a>.</p>
<p>Hope this sharing could help someone to avoid causing error.</p>
]]></content:encoded>
			<wfw:commentRss>http://marslert.com/blog/2008/01/23/homevirtfscpanelusername/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
