<?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/"
	>

<channel>
	<title>servertechz.com</title>
	<atom:link href="http://servertechz.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://servertechz.com</link>
	<description></description>
	<lastBuildDate>Thu, 15 Mar 2012 11:04:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Unable to switch accounts from reseller cpanel + error Login attempt failed</title>
		<link>http://servertechz.com/linux/whmcpanel/unable-to-switch-accounts-from-reseller-cpanel-error-login-attempt-failed/</link>
		<comments>http://servertechz.com/linux/whmcpanel/unable-to-switch-accounts-from-reseller-cpanel-error-login-attempt-failed/#comments</comments>
		<pubDate>Thu, 15 Mar 2012 08:55:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[whm/cpanel]]></category>
		<category><![CDATA[/var/cpanel/suspended]]></category>
		<category><![CDATA[/var/cpanel/users]]></category>
		<category><![CDATA[domain shows suspended page + but not really suspended]]></category>
		<category><![CDATA[Login attempt failed reseller account]]></category>
		<category><![CDATA[reseller cpanel + switch accounts]]></category>
		<category><![CDATA[switching accounts + Login attempt failed]]></category>
		<category><![CDATA[unable to switch accounts from reseller cpanel + error Login attempt failed]]></category>

		<guid isPermaLink="false">http://servertechz.com/?p=295</guid>
		<description><![CDATA[Recently I faced an issue, a reseller is unable to switch accounts from his main cpanel account. He can switch to some accounts without any issue. However getting Login attempt failed screen  when trying with some accounts. I have checked the ownership and all but all seems fine. Googling doesn;t help much.Atlast I found what [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I faced an issue, a reseller is unable to switch accounts from his main cpanel account. He can switch to some accounts without any issue. However getting Login attempt failed screen  when trying with some accounts. I have checked the ownership and all but all seems fine. Googling doesn;t help much.Atlast I found what the issue is.</p>
<p><a href="http://servertechz.com/wp-content/uploads/2012/03/cpanel1.jpg"><img class="size-medium wp-image-298 alignnone" title="reseller switching accounts not works" src="http://servertechz.com/wp-content/uploads/2012/03/cpanel1-300x133.jpg" alt="" width="300" height="133" /></a></p>
<p>Check if the user is present in</p>
<pre class="brush:plain">/var/cpanel/suspended</pre>
<p>if the user is listed there move it to somewhere else.</p>
<pre class="brush:plain">vi  /var/cpanel/users/username</pre>
<p>check for the entry <em><strong>suspend=1</strong></em> if its there comment or delete it.</p>
<p>Goto the reseller cpanel and try to switch account, it will work. Also try the same if you have encountered an issue with account suspension.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://servertechz.com/linux/whmcpanel/unable-to-switch-accounts-from-reseller-cpanel-error-login-attempt-failed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change wordpress admin password from mysql command line</title>
		<link>http://servertechz.com/linux/change-wordpress-admin-password-from-mysql-command-line/</link>
		<comments>http://servertechz.com/linux/change-wordpress-admin-password-from-mysql-command-line/#comments</comments>
		<pubDate>Sat, 03 Mar 2012 10:58:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mysql]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[Change wordpress password from mysql command line]]></category>
		<category><![CDATA[forget the admin password for wordpress]]></category>
		<category><![CDATA[reset wordpress admin password]]></category>
		<category><![CDATA[UPDATE (wp_users) SET user_pass]]></category>
		<category><![CDATA[wordpress admin password + linux]]></category>
		<category><![CDATA[wordpress admin password + mysql command line]]></category>

		<guid isPermaLink="false">http://servertechz.com/?p=303</guid>
		<description><![CDATA[If you forget the wordpress login password we can reset it in many ways. My favourite way is to change it from mysql command line. Follow the below steps to change it. 1. mysql -u root -p (login to mysql) 2. mysql&#62; show databases; 3. use wp-database; (your wordpress database) 4. mysql&#62; show tables; You [...]]]></description>
			<content:encoded><![CDATA[<p>If you forget the wordpress login password we can reset it in many ways. My favourite way is to change it from mysql command line. Follow the below steps to change it.</p>
<pre class="brush:plain">1. mysql -u root -p (login to mysql)</pre>
<pre class="brush:plain">2. mysql&gt; show databases;</pre>
<pre class="brush:plain">3. use wp-database; (your wordpress database)</pre>
<pre class="brush:plain">4. mysql&gt; show tables;</pre>
<p>You can see a table wp_users which contains all the user details. Use the below command to see the details of it.</p>
<pre class="brush:plain">5.  mysql&gt; describe wp_users;</pre>
<pre class="brush:plain">6. mysql&gt; SELECT ID, user_login, user_pass FROM wp_users;</pre>
<p>It will display all the details of the users.</p>
<p>+&#8212;-+&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+<br />
| ID | user_login | user_pass                          |<br />
+&#8212;-+&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+<br />
|  1 | admin      | $P$BJvA.ZCJYfueDfJ1BRjcae6.3QHglB/ |<br />
+&#8212;-+&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+</p>
<pre class="brush:plain">7.mysql&gt; UPDATE (wp_users) SET user_pass="specify the new pasword in MD5 format" WHERE ID = (specify the id of the user which we need to change the password);</pre>
<p>use any MD5 creator site to make the password in md5 format. For example,</p>
<p><em><strong>mysql&gt; UPDATE (wp_users) SET user_pass=&#8221;21232f297a57a5a743894a0e4a801fc3&#8243; WHERE ID = (1);</strong></em></p>
<p>&nbsp;</p>
<p>If you have the recent version of mysql, it can create the md5 password itself.</p>
<p><strong>&#8220;UPDATE (wp_users) SET user_pass = MD5(&#8216;&#8221;(new-password)&#8221;&#8216;) WHERE ID = (1)&#8221;</strong></p>
<p>Thats it. You have successfully changed the password.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://servertechz.com/linux/change-wordpress-admin-password-from-mysql-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exim useful commands</title>
		<link>http://servertechz.com/linux/exim/283/</link>
		<comments>http://servertechz.com/linux/exim/283/#comments</comments>
		<pubDate>Thu, 01 Mar 2012 18:03:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Exim]]></category>
		<category><![CDATA[count exim mail queue]]></category>
		<category><![CDATA[exim commands]]></category>
		<category><![CDATA[exim commands linux]]></category>
		<category><![CDATA[exim linux commands]]></category>
		<category><![CDATA[exim mail queue commands]]></category>
		<category><![CDATA[Exim useful commands]]></category>
		<category><![CDATA[exiqgrep commands]]></category>
		<category><![CDATA[freeze exim mail]]></category>
		<category><![CDATA[manage exim mail queue]]></category>
		<category><![CDATA[remove a particular mail from exim queue]]></category>

		<guid isPermaLink="false">http://servertechz.com/?p=283</guid>
		<description><![CDATA[Exim is a very common MTA ( Mail Transfer Agent) used worldwide. There are so many inbuilt exim commands which are helpful for the admins to take care of the mail issues. Below I am pasting some useful commands which I have been using. Number of mails in the queue # exim -bpc  Details of [...]]]></description>
			<content:encoded><![CDATA[<p>Exim is a very common MTA ( Mail Transfer Agent) used worldwide. There are so many inbuilt exim commands which are helpful for the admins to take care of the mail issues. Below I am pasting some useful commands which I have been using.</p>
<p>Number of mails in the queue</p>
<pre class="brush:plain"># exim -bpc</pre>
<pre><span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px; white-space: normal;"> Details of the messages in the queue (time queued, size, message-id, sender, recipient)</span></pre>
<div>
<pre class="brush:plain"># exim -bp</pre>
<pre>Summary of messages in the queue (count, volume, oldest, newest, domain, and totals)</pre>
<pre class="brush:plain"># exim -bp | exiqsumm</pre>
<pre>See what exim is doing currently</pre>
<pre class="brush:plain"># exiwhat</pre>
<pre>Exim's configuration settings</pre>
<pre class="brush:plain"># exim -bP</pre>
<pre><strong>Exiqgrep</strong></pre>
<pre>Search the queue for messages <strong>from</strong> a specific sender</pre>
<pre class="brush:plain"># exiqgrep -f user@domain</pre>
<pre>Search the queue for messages <strong>for a</strong> specific recipient/domain</pre>
<pre class="brush:plain"># exiqgrep -r user@domain</pre>
<p>List the message older than specified number of seconds</p>
<pre class="brush:plain"># exiqgrep -o 3600</pre>
<pre>List the messages that are younger than the specified number of seconds</pre>
<pre class="brush:plain"># exiqgrep -y 3600</pre>
<pre><strong>Queue management</strong></pre>
<pre>Start a queue run</pre>
<pre class="brush:plain"># exim -q -v</pre>
<pre>Start a queue run for just local deliveries</pre>
<pre class="brush:plain"># exim -ql -v</pre>
<pre>Remove a message from the queue</pre>
<pre class="brush:plain"># exim -Mrm &lt;message-id&gt;</pre>
<pre>Freeze a message</pre>
<pre class="brush:plain"># exim -Mf &lt;message-id&gt;</pre>
<pre>Thaw a message</pre>
<pre class="brush:plain"># exim -Mt &lt;message-id&gt;</pre>
<pre>Deliver a message, whether it's frozen or not, whether the retry time has been reached or not</pre>
<pre class="brush:plain"># exim -M &lt;message-id&gt;</pre>
<pre>Deliver a message, but only if the retry time has been reached</pre>
<pre class="brush:plain"># exim -Mc &lt;message-id&gt;</pre>
<pre>Remove all frozen messages</pre>
<pre class="brush:plain"># exiqgrep -z -i | xargs exim -Mrm</pre>
<pre>Remove all messages older than specified seconds(eg:5days)</pre>
<pre class="brush:plain"># exiqgrep -o 432000 -i | xargs exim -Mrm</pre>
<pre>Freeze all queued mail from a given sender</pre>
<pre class="brush:plain"># exiqgrep -i -f user@example.com | xargs exim -Mf</pre>
<pre>View a message's headers</pre>
<pre class="brush:plain"># exim -Mvh message-id</pre>
<pre>View a message's body</pre>
<pre class="brush:plain"># exim -Mvb &lt;message-id&gt;</pre>
<pre>View a message's logs</pre>
<pre class="brush:plain"># exim -Mvl &lt;message-id&gt;</pre>
<pre>Add a recipient to a message</pre>
<pre class="brush:plain"># exim -Mar &lt;message-id&gt; mail@domain</pre>
<pre>Edit the sender of a message</pre>
<pre class="brush:plain">#exim -Mes &lt;message-id&gt; mail@domain</pre>
<pre></pre>
</div>
<pre></pre>
<pre></pre>
<pre></pre>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://servertechz.com/linux/exim/283/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clamav scan commands and examples</title>
		<link>http://servertechz.com/linux/clamav-scan-commands-and-examples/</link>
		<comments>http://servertechz.com/linux/clamav-scan-commands-and-examples/#comments</comments>
		<pubDate>Tue, 28 Feb 2012 13:49:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[clamav]]></category>
		<category><![CDATA[clamav + linux server examples]]></category>
		<category><![CDATA[clamav + scan commands]]></category>
		<category><![CDATA[clamav scan + linux servers]]></category>
		<category><![CDATA[Clamav scan commands and examples]]></category>
		<category><![CDATA[delete virus using clamav]]></category>
		<category><![CDATA[scan a directory using clamscan]]></category>
		<category><![CDATA[what is clamav]]></category>

		<guid isPermaLink="false">http://servertechz.com/?p=278</guid>
		<description><![CDATA[Clamav is a free anti virus software which is able to detect many types of malicious software, including viruses on the servers. One of its main uses is on mail servers as a server-side email virus scanner. Below is some useful clamav commands. clamscan -r path-to-dir It will scan directories all directories and sub directories [...]]]></description>
			<content:encoded><![CDATA[<p>Clamav is a free anti virus software which is able to detect many types of malicious software, including viruses on the servers. One of its main uses is on mail servers as a server-side email virus scanner. Below is some useful clamav commands.</p>
<pre class="brush:plain">clamscan -r path-to-dir</pre>
<p>It will scan directories all directories and sub directories recursively..</p>
<pre class="brush:plain">clamav -ril /home/user/clamav.log</pre>
<p>It will scan the user home directory and output the results to the specified file.<br />
-i option is used to report only the infected files.</p>
<p>Another example</p>
<pre class="brush:plain">clamscan -ir / -l cscanreport</pre>
<p>It will scan the entire server (/) and will create an output file cscanreport in the present directory.<br />
<span id="more-278"></span><br />
Some more useful options</p>
<pre class="brush:plain">-h, --help Print help information and exit.
-V, --version Print version number and exit.
-v, --verbose Be verbose.
-l FILE, --log=FILE Save scan report to FILE.
-f FILE, --file-list=FILE Scan files listed line by line in FILE.
-r, --recursive Scan directories recursively. All the subdirectories in the given directory will be scanned.
These options can be used multiple times.
-i, --infected Only print infected files.
--remove[=yes/no(*)] Remove infected files. Be careful.
--move=DIRECTORY Move infected files into DIRECTORY. Directory must be writable for the '' user or unprivileged user running clamscan.
--copy=DIRECTORY Copy infected files into DIRECTORY. Directory must be writable for the '' user or unprivileged user running clamscan.</pre>
<p>When scan completes it will show a simiar output as shown below</p>
<p>&#8212;&#8212;&#8212;&#8211; SCAN SUMMARY &#8212;&#8212;&#8212;&#8211;<br />
Known viruses: 159855<br />
Engine version: 0.91.2<br />
Scanned directories: 1437<br />
Scanned files: 8836<br />
Infected files: 0<br />
Data scanned: 464.83 MB<br />
Time: 103.678 sec (1 m 43 s)</p>
]]></content:encoded>
			<wfw:commentRss>http://servertechz.com/linux/clamav-scan-commands-and-examples/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Majento domain showing error: There has been an error processing your request</title>
		<link>http://servertechz.com/linux/majento/majento-domain-showing-error-there-has-been-an-error-processing-your-request/</link>
		<comments>http://servertechz.com/linux/majento/majento-domain-showing-error-there-has-been-an-error-processing-your-request/#comments</comments>
		<pubDate>Tue, 21 Feb 2012 16:14:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Majento]]></category>
		<category><![CDATA[local.xml.sample]]></category>
		<category><![CDATA[local.xml.sample + majento]]></category>
		<category><![CDATA[majento + domain error]]></category>
		<category><![CDATA[majento + there has been an error]]></category>
		<category><![CDATA[Majento domain showing error: There has been an error processing your request]]></category>
		<category><![CDATA[There has been an error processing your request]]></category>

		<guid isPermaLink="false">http://servertechz.com/?p=275</guid>
		<description><![CDATA[If you encountered the above error while loading the domain, you will not get any correct logs or something from the server. All you need to do is go to the  root directory where majento is installed and find the file named local.xml.sample in the errors directory and rename it to /local.xml . Then load [...]]]></description>
			<content:encoded><![CDATA[<p>If you encountered the above error while loading the domain, you will not get any correct logs or something from the server. All you need to do is go to the  root directory where majento is installed and find the file named local.xml.sample in the errors directory and rename it to /local.xml . Then load the load domain again then you can see what exactly the issue is.</p>
]]></content:encoded>
			<wfw:commentRss>http://servertechz.com/linux/majento/majento-domain-showing-error-there-has-been-an-error-processing-your-request/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updating/ Installing wordpress plugins asking for FTP details</title>
		<link>http://servertechz.com/linux/wordpress/updating-installing-wordpress-plugins-asking-for-ftp-details/</link>
		<comments>http://servertechz.com/linux/wordpress/updating-installing-wordpress-plugins-asking-for-ftp-details/#comments</comments>
		<pubDate>Mon, 20 Feb 2012 09:54:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[stop asking ftp details + wordpress]]></category>
		<category><![CDATA[unable to install wordpress plugins]]></category>
		<category><![CDATA[Updating/ Installing wordpress plugins asking for FTP details]]></category>
		<category><![CDATA[wordpress plugins asking for ftp details]]></category>

		<guid isPermaLink="false">http://servertechz.com/?p=272</guid>
		<description><![CDATA[Sometimes updating/installing plugins from wordpress will ask for the FTP details. Even if we provide the details it won&#8217;t work.  To fix this issue you just need to enter the ftp details to wp-config.php file and it will never asks again. Go to the root directory where word press is installed and open wp-config,php vi wp-config.php and [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes updating/installing plugins from wordpress will ask for the FTP details. Even if we provide the details it won&#8217;t work.  To fix this issue you just need to enter the ftp details to wp-config.php file and it will never asks again.</p>
<p>Go to the root directory where word press is installed and open wp-config,php</p>
<pre class="brush:plain">vi wp-config.php</pre>
<p>and add the below details to it</p>
<pre class="brush:plain">/*** FTP login settings ***/
define("FTP_HOST", "localhost");
define("FTP_USER", "yourftpusername");
define("FTP_PASS", "yourftppassword");</pre>
<p>replace it with the original values and put it somewhere after the mysql username/password block.</p>
<p>I got a post while searching in internet which explains why we need to make these changes. Refer the below link for more details.</p>
<p>http://goo.gl/s9Fc1</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://servertechz.com/linux/wordpress/updating-installing-wordpress-plugins-asking-for-ftp-details/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Direct admin important back end files</title>
		<link>http://servertechz.com/linux/direct-admin/direct-admin-important-back-end-files/</link>
		<comments>http://servertechz.com/linux/direct-admin/direct-admin-important-back-end-files/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 03:45:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Direct admin]]></category>
		<category><![CDATA[direct admin]]></category>
		<category><![CDATA[direct admin + backend files]]></category>
		<category><![CDATA[direct admin httpd.conf backend file location]]></category>
		<category><![CDATA[Direct admin important back end files]]></category>
		<category><![CDATA[directadmin conf files]]></category>
		<category><![CDATA[directadmin conf files + backend]]></category>

		<guid isPermaLink="false">http://servertechz.com/?p=269</guid>
		<description><![CDATA[CONF FILES /etc/httpd/conf/httpd.conf LOG FILES /var/log/httpd/error.log START/STOP /usr/local/etc/rc.d/httpd start/stop Scripts /usr/local/directadmin/scripts/ DNS:- ——— CONF FILE /var/named/etc/namedb/named.conf DB FILES /etc/namedb/domain.db START/STOP /usr/local/etc/rc.d/named start/stop MAIL:- ——– CONF FILE /etc/exim.conf LOG FILES /var/log/exim/ START/STOP /usr/local/etc/rc.d/exim start/stop MAIL DIRECTORY /var/spool/virtual/ EMAIL PASSWORD: /etc/virtual/acrilicos.com/passwd Domain specific Mail settings: /etc/virtual/acrilicos.com DATABASE:- —————– MYSQL PASSWORD: /usr/local/directadmin/conf/mysql.conf CONF FILE /etc/my.cnf DATABASE PATH /usr/local/mysql/data/ [...]]]></description>
			<content:encoded><![CDATA[<p>CONF FILES /etc/httpd/conf/httpd.conf<br />
LOG FILES /var/log/httpd/error.log<br />
START/STOP /usr/local/etc/rc.d/httpd start/stop<br />
Scripts /usr/local/directadmin/scripts/</p>
<p>DNS:-<br />
———<br />
CONF FILE /var/named/etc/namedb/named.conf<br />
DB FILES /etc/namedb/domain.db<br />
START/STOP /usr/local/etc/rc.d/named start/stop</p>
<p>MAIL:-<br />
——–<br />
CONF FILE /etc/exim.conf<br />
LOG FILES /var/log/exim/<br />
START/STOP /usr/local/etc/rc.d/exim start/stop<br />
MAIL DIRECTORY /var/spool/virtual/</p>
<p>EMAIL PASSWORD: /etc/virtual/acrilicos.com/passwd<br />
Domain specific Mail settings: /etc/virtual/acrilicos.com</p>
<p>DATABASE:-<br />
—————–</p>
<p>MYSQL PASSWORD: /usr/local/directadmin/conf/mysql.conf</p>
<p>CONF FILE /etc/my.cnf<br />
DATABASE PATH /usr/local/mysql/data/<br />
START/STOP /usr/local/etc/rc.d/mysqld start/stop</p>
<p>FTP:-<br />
——-<br />
CONF FILE /etc/proftpd.conf<br />
START/STOP /usr/local/etc/rc.d/proftpd start/stop</p>
<p>DOMAINS<br />
————————-<br />
/etc/virtual/domains<br />
/etc/virtual/domainowners<br />
Email Alias: /etc/virtual/acrilicos.com/aliases<br />
Email QUota: /etc/virtual/acrilicos.com/quota<br />
/etc/virtual/acrilicos.com/autoresponder.conf<br />
Email account password: /etc/virtual/acrilicos.com/passwd<br />
/etc/virtual/acrilicos.com/filter</p>
<p>/etc/httpd/conf/extra/directadmin-vhosts.conf<br />
emailspoolvirtual=/var/spool/virtual<br />
emailvirtual=/etc/virtual</p>
<p>ftpconfig=/etc/proftpd.conf<br />
ftppasswd=/etc/proftpd.passwd<br />
ftpvhosts=/etc/proftpd.vhosts.conf</p>
<p>mysqlconf=/usr/local/directadmin/conf/mysql.conf<br />
namedconfig=/etc/named.conf<br />
nameddir=/var/named<br />
templates=/usr/local/directadmin/data/templates</p>
]]></content:encoded>
			<wfw:commentRss>http://servertechz.com/linux/direct-admin/direct-admin-important-back-end-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unable to start directadmin + &#8216;directadmin dead but pid file exists&#8217;</title>
		<link>http://servertechz.com/uncategorized/unable-to-start-directadmin-directadmin-dead-but-pid-file-exists/</link>
		<comments>http://servertechz.com/uncategorized/unable-to-start-directadmin-directadmin-dead-but-pid-file-exists/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 09:59:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[directadmin + centos]]></category>
		<category><![CDATA[directadmin + directadmin dead but pid file exists]]></category>
		<category><![CDATA[directadmin dead but pid file exists]]></category>
		<category><![CDATA[directadmin error log]]></category>
		<category><![CDATA[directadmin pid dead]]></category>
		<category><![CDATA[directadmin starting issue]]></category>
		<category><![CDATA[Unable to start directadmin + 'directadmin dead but pid file exists']]></category>

		<guid isPermaLink="false">http://servertechz.com/?p=265</guid>
		<description><![CDATA[Have you ever encountered the below issue with directadmin. If we tried to restart directadmin it will not lsit any error but if you check the status you will see the below error. /etc/init.d/directadmin status directadmin dead but pid file exists You can view the detailed error log by using the below command tail /var/log/directadmin/error.log Check the [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever encountered the below issue with directadmin. If we tried to restart directadmin it will not lsit any error but if you check the status you will see the below error.</p>
<pre class="brush:plain">/etc/init.d/directadmin status
directadmin dead but pid file exists</pre>
<pre>You can view the detailed error log by using the below command</pre>
<pre class="brush:plain">tail /var/log/directadmin/error.log</pre>
<pre class="brush:plain">Check the value of your ethernet_dev=eth0 setting in your /usr/local/directadmin/conf/directadmin.conf file and the output of /sbin/ifconfig&lt;br&gt;

2010:07:10-12:44:01: ioctl can’t find the server’s ip address for eth0 : No such device
2010:07:10-12:44:02: The ip of this machine () does not match the ip in the license file.&lt;br&gt;
Check the value of your ethernet_dev=eth0 setting in your /usr/local/directadmin/conf/directadmin.conf file and the output of /sbin/ifconfig&lt;br&gt;

2010:07:10-12:44:11: ioctl can’t find the server’s ip address for eth0 : No such device
2010:07:10-12:44:12: The ip of this machine () does not match the ip in the license file.&lt;br&gt;
Check the value of your ethernet_dev=eth0 setting in your /usr/local/directadmin/conf/directadmin.conf file and the output of /sbin/ifconfig&lt;br&gt;</pre>
<pre>Then find out where the main IP is located, using the command ifconfig. If the main ip venet0:0 then edit</pre>
<pre class="brush:plain">vi /usr/local/directadmin/conf/directadmin.conf</pre>
<pre>and replace the ethernet_dev=eth0 by ethernet_dev=venet0:0.</pre>
<pre>If the entries are not already there just add ethernet_dev=venet0:0 and then restart direct admin. Thats it!!!</pre>
<pre></pre>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://servertechz.com/uncategorized/unable-to-start-directadmin-directadmin-dead-but-pid-file-exists/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Block specific file extensions using .htaccess</title>
		<link>http://servertechz.com/linux/htaccess/block-specific-file-extensions-using-htaccess/</link>
		<comments>http://servertechz.com/linux/htaccess/block-specific-file-extensions-using-htaccess/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 08:52:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[htaccess]]></category>
		<category><![CDATA[.htaccess block rules]]></category>
		<category><![CDATA[block files using .htaccess]]></category>
		<category><![CDATA[block img files]]></category>
		<category><![CDATA[Block specific file extensions using .htaccess]]></category>

		<guid isPermaLink="false">http://servertechz.com/?p=257</guid>
		<description><![CDATA[Some times you need to block visitor access to specific file types that is not being used in web server.You can make that possible by using .htaccess.Look at the example given below. First of all open .htaccess file in public_html folder(if it is not there just create one). Add the below lines to it. &#60;Files [...]]]></description>
			<content:encoded><![CDATA[<p>Some times you need to block visitor access to specific file types that is not being used in web server.You can make that possible by using .htaccess.Look at the example given below. First of all open .htaccess file in public_html folder(if it is not there just create one). Add the below lines to it.</p>
<p><strong><code>&lt;Files ~ "\.jpg$"&gt;<br />
Order allow,deny<br />
Deny from all<br />
&lt;/Files&gt;</code></strong></p>
<p>The above .htaccess will block the files with extension .jpg . If you want to block multiple file extensions seperate them as follows.</p>
<p><strong><code>&lt;Files ~ "\.(jpg|inc|3gp|sh)$"&gt;<br />
Order allow,deny<br />
Deny from all<br />
&lt;/Files&gt;</code></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://servertechz.com/linux/htaccess/block-specific-file-extensions-using-htaccess/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Transfer wordpress blog to another server</title>
		<link>http://servertechz.com/linux/transfer-wordpress-blog-to-another-server/</link>
		<comments>http://servertechz.com/linux/transfer-wordpress-blog-to-another-server/#comments</comments>
		<pubDate>Sat, 10 Dec 2011 16:35:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[export and import wordpress blog + new server]]></category>
		<category><![CDATA[export wordpress + old server + import + new server]]></category>
		<category><![CDATA[how to transfer wordpress blog]]></category>
		<category><![CDATA[migrate wordpress blog to a new server]]></category>
		<category><![CDATA[transfer wordpress blog from one server to another server]]></category>
		<category><![CDATA[Transfer wordpress blog to another server]]></category>
		<category><![CDATA[wordpress blog migration]]></category>
		<category><![CDATA[wordpress blog transfer]]></category>

		<guid isPermaLink="false">http://servertechz.com/?p=248</guid>
		<description><![CDATA[Follow the below steps to transfer the wordpress domain to another server. Do the following from the current server : Export WordPress Posts – Use the &#8216;Export&#8217; option under the Manage tab in your WordPress dashboard. Save the file in your hard drive so that you can use it later. Download wp-content Folder – You [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #000000;">Follow the below steps to transfer the wordpress domain to another server. </span></p>
<p><span style="color: #000000;"><strong>Do the following from the current server :</strong></span></p>
<p><span style="color: #000000;"><strong></strong> <span style="text-decoration: underline;"><strong>Export WordPress Post</strong></span>s – Use the &#8216;Export&#8217; option under the Manage tab in your WordPress dashboard. Save the file in your hard drive so that you can use it later.</span></p>
<p><span style="color: #000000;"> <span style="text-decoration: underline;"><strong>Download wp-content Folder</strong></span> – You need FTP access to your account to do this. This folder contains all of your existing plugins, themes, uploads and pictures. Also download favicon and Robots.txt i you have. </span></p>
<p><span style="color: #000000;"><span style="text-decoration: underline;"><strong>Sub Domains and Sub Directories</strong></span> – I you have set up any sub domains or sub directories for your domain you should download these files from them as well. <strong> </strong></span></p>
<p><span style="color: #000000;"><strong>Do the following from the new server :</strong> </span></p>
<p><span style="color: #000000;"><span style="text-decoration: underline;"><strong>Install WordPress</strong></span> – Install wordpress from cpanel(use softaculous or fantastico or install manually).</span></p>
<p><span style="color: #000000;"> <span style="text-decoration: underline;"><strong>Upload wp-content Folder</strong></span> – FTP os scp the downloaded wp-content folder to new server and replace the exisitng folder(wordpress installtion will make a same folder). </span></p>
<p><span style="color: #000000;"><span style="text-decoration: underline;"><strong>Import All WordPress Posts</strong></span> – Now its time to import the posts. You can usethe Import option under the Manage tab. Browse and upload file exported from the old server. Repeat the same step for sub domains and sub directories – Upload and setup your sub domains and sub directories using the same steps above.</span></p>
<p><span style="color: #000000;"> <strong>Verify:</strong> Verify all the settings are correct in the new wordpress as well. Check your themes and activated plugins and other settings are same as that of old domain. Update URL’s Plugin (optional) Install this plugin and simply enter your old domain URL and the new one. It will go through all of your old posts and update the domain part of the URL with the new one, and it only takes a matter of seconds. Domain Move Troubleshooting:</span></p>
]]></content:encoded>
			<wfw:commentRss>http://servertechz.com/linux/transfer-wordpress-blog-to-another-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

